All pastes #605077 Raw Edit

RAID STATUS

public shellscript v1 · immutable
·published 2007-07-05 22:50 UTC
rendered paste body
[root@mikamow root]# tail /proc/mdstatPersonalities : [raid1] read_ahead 1024 sectorsmd1 : active raid1 hdd3[1]      77015488 blocks [2/1] [_U]      md0 : active raid1 hda1[0] hdd1[1]      104320 blocks [2/2] [UU]      unused devices: <none>[root@mikamow root]# more /proc/mdstatPersonalities : [raid1] read_ahead 1024 sectorsmd1 : active raid1 hdd3[1]      77015488 blocks [2/1] [_U]      md0 : active raid1 hda1[0] hdd1[1]      104320 blocks [2/2] [UU]      unused devices: <none>[root@mikamow root]# df -kFilesystem           1k-blocks      Used Available Use% Mounted on/dev/md1              75806248  23612072  48343404  33% //dev/md0                101018      9108     86694  10% /bootnone                    511580         0    511580   0% /dev/shmYou have new mail in /var/spool/mail/root[root@mikamow root]# mdadm --detail /dev/md1/dev/md1:        Version : 00.90.00  Creation Time : Wed May  7 08:53:23 2003     Raid Level : raid1     Array Size : 77015488 (73.45 GiB 78.86 GB)    Device Size : 77015488 (73.45 GiB 78.86 GB)   Raid Devices : 2  Total Devices : 1Preferred Minor : 1    Persistence : Superblock is persistent    Update Time : Thu Jul  5 12:10:34 2007          State : dirty, degraded Active Devices : 1Working Devices : 1 Failed Devices : 0  Spare Devices : 0           UUID : 2c96f407:6c89c9a2:771b9191:e3795b84         Events : 0.290    Number   Major   Minor   RaidDevice State       0       0        0        0      faulty removed       1      22       67        1      active sync   /dev/hdd3You have new mail in /var/spool/mail/root[root@mikamow root]# mdadm --detail /dev/md0/dev/md0:        Version : 00.90.00  Creation Time : Wed May  7 09:08:57 2003     Raid Level : raid1     Array Size : 104320 (101.88 MiB 106.82 MB)    Device Size : 104320 (101.88 MiB 106.82 MB)   Raid Devices : 2  Total Devices : 2Preferred Minor : 0    Persistence : Superblock is persistent    Update Time : Thu Jul  5 12:10:34 2007          State : dirty Active Devices : 2Working Devices : 2 Failed Devices : 0  Spare Devices : 0           UUID : 8afcef73:6b0b8596:4ca6dd7a:b8b5c09f         Events : 0.295    Number   Major   Minor   RaidDevice State       0       3        1        0      active sync   /dev/hda1       1      22       65        1      active sync   /dev/hdd1[root@mikamow root]# lsraid -a /dev/md1[dev   9,   1] /dev/md1         2C96F407.6C89C9A2.771B9191.E3795B84 online[dev   ?,   ?] (unknown)        00000000.00000000.00000000.00000000 missing[dev  22,  67] /dev/hdd3        2C96F407.6C89C9A2.771B9191.E3795B84 good[root@mikamow root]# lsraid -a /dev/md0[dev   9,   0] /dev/md0         8AFCEF73.6B0B8596.4CA6DD7A.B8B5C09F online[dev   3,   1] /dev/hda1        8AFCEF73.6B0B8596.4CA6DD7A.B8B5C09F good[dev  22,  65] /dev/hdd1        8AFCEF73.6B0B8596.4CA6DD7A.B8B5C09F good[root@mikamow root]# more /etc/raidtab raiddev             /dev/md1raid-level                  1nr-raid-disks               2chunk-size                  64kpersistent-superblock       1nr-spare-disks              0    device          /dev/hda3    raid-disk     0    device          /dev/hdd3    raid-disk     1raiddev             /dev/md0raid-level                  1nr-raid-disks               2chunk-size                  64kpersistent-superblock       1nr-spare-disks              0    device          /dev/hda1    raid-disk     0    device          /dev/hdd1    raid-disk     1[root@mikamow root]# ls -al /dev/hdd3brw-rw----    1 root     disk      22,  67 Apr 11  2002 /dev/hdd3[root@mikamow root]# ls -al /dev/hda3brw-rw----    1 root     disk       3,   3 Apr 11  2002 /dev/hda3[root@mikamow root]# mdadm --query /dev/md1 /dev/md1: 73.45GiB raid1 2 devices, 0 spares. Use mdadm --detail for more detail./dev/md1: No md super block found, not an md component.[root@mikamow root]# mdadm --detail /dev/md1/dev/md1:        Version : 00.90.00  Creation Time : Wed May  7 08:53:23 2003     Raid Level : raid1     Array Size : 77015488 (73.45 GiB 78.86 GB)    Device Size : 77015488 (73.45 GiB 78.86 GB)   Raid Devices : 2  Total Devices : 1Preferred Minor : 1    Persistence : Superblock is persistent    Update Time : Thu Jul  5 12:10:34 2007          State : dirty, degraded Active Devices : 1Working Devices : 1 Failed Devices : 0  Spare Devices : 0           UUID : 2c96f407:6c89c9a2:771b9191:e3795b84         Events : 0.290    Number   Major   Minor   RaidDevice State       0       0        0        0      faulty removed       1      22       67        1      active sync   /dev/hdd3[root@mikamow root]# mdadm --examine /dev/hdd3/dev/hdd3:          Magic : a92b4efc        Version : 00.90.00           UUID : 2c96f407:6c89c9a2:771b9191:e3795b84  Creation Time : Wed May  7 08:53:23 2003     Raid Level : raid1    Device Size : 77015488 (73.45 GiB 78.86 GB)   Raid Devices : 2  Total Devices : 1Preferred Minor : 1    Update Time : Thu Jul  5 12:10:34 2007          State : dirty Active Devices : 1Working Devices : 1 Failed Devices : 0  Spare Devices : 0       Checksum : 26bf3f95 - correct         Events : 0.290      Number   Major   Minor   RaidDevice Statethis     1      22       67        1      active sync   /dev/hdd3   0     0       0        0        0      faulty removed   1     1      22       67        1      active sync   /dev/hdd3[root@mikamow root]# mdadm --examine /dev/hda3/dev/hda3:          Magic : a92b4efc        Version : 00.90.00           UUID : 2c96f407:6c89c9a2:771b9191:e3795b84  Creation Time : Wed May  7 08:53:23 2003     Raid Level : raid1    Device Size : 77015488 (73.45 GiB 78.86 GB)   Raid Devices : 2  Total Devices : 2Preferred Minor : 1    Update Time : Sun Jan  9 15:02:35 2005          State : dirty Active Devices : 2Working Devices : 2 Failed Devices : 0  Spare Devices : 0       Checksum : 2213b4e8 - correct         Events : 0.131      Number   Major   Minor   RaidDevice Statethis     0       3        3        0      active sync   /dev/hda3   0     0       3        3        0      active sync   /dev/hda3   1     1      22       67        1      active sync   /dev/hdd3