Hi All, After several months of operation, i found out that my server is working kinda odd. Here's my /proc/mdstat Personalities : [raid1] md1 : active raid1 sdb5[1] 6297344 blocks [2/1] [_U] md2 : active raid1 sdb6[1] 2104384 blocks [2/1] [_U] md3 : active raid1 sdb7[1] 68573312 blocks [2/1] [_U] md4 : active raid1 sdb8[1] 513984 blocks [2/1] [_U] md0 : active raid1 sda1[0] 104320 blocks [2/1] [U_] unused devices: <none> And this is when I use lsraid on md1 komodo:/var/log # lsraid -a /dev/md1 [dev 9, 1] /dev/md1 FB3ED8EC.9ABBA9C8.624549A1.6C0BDF9F online [dev ?, ?] (unknown) 00000000.00000000.00000000.00000000 missing [dev 8, 21] /dev/sdb5 FB3ED8EC.9ABBA9C8.624549A1.6C0BDF9F good And this is when I use lsraid on md0 [dev 9, 0] /dev/md0 855C73DB.CCF72F98.1C4FFC68.BCA47694 online [dev 8, 1] /dev/sda1 855C73DB.CCF72F98.1C4FFC68.BCA47694 good [dev ?, ?] (unknown) 00000000.00000000.00000000.00000000 missing It seems not all partition is working. In sda, only sda1 is working, and in sdb, sdb5, sdb6, sdb7 and sdb8 is working but not sdb1. I was using software raid thru Yast in first installation. My questions are, why this is happened ? Is RAID1 not working anymore, so if I remove one of the disk it will fail ? How can i resync so all disks is mirrored ? regards, -- Arie Reynaldi Zanahar reymanx at gmail.com http://www.reynaldi.or.id
On Fri, 18 Aug 2006, Arie Reynaldi Z wrote:
Hi All,
After several months of operation, i found out that my server is working kinda odd. Here's my /proc/mdstat
Personalities : [raid1] md1 : active raid1 sdb5[1] 6297344 blocks [2/1] [_U]
md2 : active raid1 sdb6[1] 2104384 blocks [2/1] [_U]
md3 : active raid1 sdb7[1] 68573312 blocks [2/1] [_U]
md4 : active raid1 sdb8[1] 513984 blocks [2/1] [_U]
md0 : active raid1 sda1[0] 104320 blocks [2/1] [U_]
unused devices: <none>
And this is when I use lsraid on md1 komodo:/var/log # lsraid -a /dev/md1 [dev 9, 1] /dev/md1 FB3ED8EC.9ABBA9C8.624549A1.6C0BDF9F online [dev ?, ?] (unknown) 00000000.00000000.00000000.00000000 missing [dev 8, 21] /dev/sdb5 FB3ED8EC.9ABBA9C8.624549A1.6C0BDF9F good
And this is when I use lsraid on md0 [dev 9, 0] /dev/md0 855C73DB.CCF72F98.1C4FFC68.BCA47694 online [dev 8, 1] /dev/sda1 855C73DB.CCF72F98.1C4FFC68.BCA47694 good [dev ?, ?] (unknown) 00000000.00000000.00000000.00000000 missing
It seems not all partition is working. In sda, only sda1 is working, and in sdb, sdb5, sdb6, sdb7 and sdb8 is working but not sdb1.
I was using software raid thru Yast in first installation. My questions are, why this is happened ? Is RAID1 not working anymore, so if I remove one of the disk it will fail ? How can i resync so all disks is mirrored ?
regards,
-- Arie Reynaldi Zanahar reymanx at gmail.com http://www.reynaldi.or.id
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
What is lsraid? $ man lsraid No manual entry for lsraid $ apt-cache search lsraid $
What is lsraid?
$ man lsraid No manual entry for lsraid $ apt-cache search lsraid $
Well... I guess it's in raidtools packages.. komodo:/var/log # rpm -qf /sbin/lsraid raidtools-1.00.3-231 -- Arie Reynaldi Zanahar reymanx at gmail.com http://www.reynaldi.or.id
raidtools have been deprecated a few years ago in favor of mdadm AFAIK, if you are using a newer kernel with an older array, have you tried looking at it with mdadm? On Fri, 18 Aug 2006, Arie Reynaldi Z wrote:
What is lsraid?
$ man lsraid No manual entry for lsraid $ apt-cache search lsraid $
Well... I guess it's in raidtools packages..
komodo:/var/log # rpm -qf /sbin/lsraid raidtools-1.00.3-231
-- Arie Reynaldi Zanahar reymanx at gmail.com http://www.reynaldi.or.id
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
raidtools have been deprecated a few years ago in favor of mdadm AFAIK, if you are using a newer kernel with an older array, have you tried looking at it with mdadm?
Yes actually, Here's output using mdadm --detail /dev/md1 komodo:/var/log # mdadm --detail /dev/md1 /dev/md1: Version : 00.90.01 Creation Time : Mon Oct 10 14:22:13 2005 Raid Level : raid1 Array Size : 6297344 (6.01 GiB 6.45 GB) Device Size : 6297344 (6.01 GiB 6.45 GB) Raid Devices : 2 Total Devices : 1 Preferred Minor : 1 Persistence : Superblock is persistent Update Time : Fri Aug 18 17:10:53 2006 State : clean, degraded Active Devices : 1 Working Devices : 1 Failed Devices : 0 Spare Devices : 0 UUID : fb3ed8ec:9abba9c8:624549a1:6c0bdf9f Events : 0.1922007 Number Major Minor RaidDevice State 0 0 0 - removed 1 8 21 1 active sync /dev/sdb5 And here's for /dev/md0 /dev/md0: Version : 00.90.01 Creation Time : Mon Oct 10 14:22:08 2005 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 : 1 Preferred Minor : 0 Persistence : Superblock is persistent Update Time : Thu Jul 13 13:49:39 2006 State : clean, degraded Active Devices : 1 Working Devices : 1 Failed Devices : 0 Spare Devices : 0 UUID : 855c73db:ccf72f98:1c4ffc68:bca47694 Events : 0.1335 Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 0 0 - removed I think my /dev/sda and /dev/sdb are working, but in sda only sda1 partition that working well, and in sdb5 - sdb8 are working but not sdb1. Any clue what's happening here ? regards, -- Arie Reynaldi Zanahar reymanx at gmail.com http://www.reynaldi.or.id
On Fri, 18 Aug 2006, Arie Reynaldi Z wrote:
raidtools have been deprecated a few years ago in favor of mdadm AFAIK, if you are using a newer kernel with an older array, have you tried looking at it with mdadm?
Yes actually, Here's output using mdadm --detail /dev/md1 komodo:/var/log # mdadm --detail /dev/md1 /dev/md1: Version : 00.90.01 Creation Time : Mon Oct 10 14:22:13 2005 Raid Level : raid1 Array Size : 6297344 (6.01 GiB 6.45 GB) Device Size : 6297344 (6.01 GiB 6.45 GB) Raid Devices : 2 Total Devices : 1 Preferred Minor : 1 Persistence : Superblock is persistent
Update Time : Fri Aug 18 17:10:53 2006 State : clean, degraded Active Devices : 1 Working Devices : 1 Failed Devices : 0 Spare Devices : 0
UUID : fb3ed8ec:9abba9c8:624549a1:6c0bdf9f Events : 0.1922007
Number Major Minor RaidDevice State 0 0 0 - removed 1 8 21 1 active sync /dev/sdb5
And here's for /dev/md0 /dev/md0: Version : 00.90.01 Creation Time : Mon Oct 10 14:22:08 2005 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 : 1 Preferred Minor : 0 Persistence : Superblock is persistent
Update Time : Thu Jul 13 13:49:39 2006 State : clean, degraded Active Devices : 1 Working Devices : 1 Failed Devices : 0 Spare Devices : 0
UUID : 855c73db:ccf72f98:1c4ffc68:bca47694 Events : 0.1335
Number Major Minor RaidDevice State 0 8 1 0 active sync /dev/sda1 1 0 0 - removed
I think my /dev/sda and /dev/sdb are working, but in sda only sda1 partition that working well, and in sdb5 - sdb8 are working but not sdb1. Any clue what's happening here ?
regards,
-- Arie Reynaldi Zanahar reymanx at gmail.com http://www.reynaldi.or.id
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Have you tried re-adding the new one? # mdadm -a /dev/md0 /dev/sdb2 # mdadm -a /dev/md1 /dev/sda5
Have you tried re-adding the new one?
# mdadm -a /dev/md0 /dev/sdb2 # mdadm -a /dev/md1 /dev/sda5
Wow.. thanks.. :-) I think it back online.. :-) more /proc/mdstat Personalities : [raid1] md1 : active raid1 sda5[2] sdb5[1] 6297344 blocks [2/1] [_U] [================>....] recovery = 81.8% (5157504/6297344) finish=0.3min speed=49109K/sec md2 : active raid1 sda6[2] sdb6[1] 2104384 blocks [2/1] [_U] resync=DELAYED md3 : active raid1 sda7[2] sdb7[1] 68573312 blocks [2/1] [_U] resync=DELAYED md4 : active raid1 sda8[0] sdb8[1] 513984 blocks [2/2] [UU] md0 : active raid1 sdb1[2] sda1[0] 104320 blocks [2/1] [U_] resync=DELAYED unused devices: <none> regards, -- Arie Reynaldi Zanahar reymanx at gmail.com http://www.reynaldi.or.id
participants (2)
-
Arie Reynaldi Z
-
Justin Piszcz