[prev in list] [next in list] [prev in thread] [next in thread]
List: evms-devel
Subject: [Evms-devel] How to Activate Dirty Degraded RAID5 ?
From: "m9230" <m9230 () cn ! ee ! ccu ! edu ! tw>
Date: 2006-08-28 8:22:56
Message-ID: 20060828080032.M65504 () cn ! ee ! ccu ! edu ! tw
[Download RAW message or body]
Hi
I have some questions about the degraded RAID5.
Any help is appreciated, thanks.
Setup: FC5 kernel 2.6.15, EVMS V 2.5.5
1. Create RAID5 by sda, sdb, sdc, sdd:
create: Region, MDRaid5RegMgr={}, sda, sdb, sdc, sdd
create: Volume, md/md0, Name=volume1
mkfs: XFS={}, /dev/evms/volume1
Mount: /dev/evms/volume1, /mnt
2. Shutdown and remove index 3 disk
(The Resyncing Process is not finished yet)
3. Run evms_activate, it says cannot start dirty degraded array:
MDRaid5RegMgr: RAID5 array md/md0 is missing the member with RAID index 3.
The array is running in degrade mode.
MDRaid5RegMgr: Region md/md0 is currently in degraded mode. To bring it
back to normal state, add 1 new spare device to replace the faulty or
missing device
.
md: md0: raid array is not clean -- starting background reconstruction
raid5: device sda operational as raid disk 2
raid5: device sdb operational as raid disk 1
raid5: device sdc operational as raid disk 0
raid5: cannot start dirty degraded array for md0
RAID5 conf printout:
--- rd:4 wd:3 fd:1
disk 0, o:1, dev:sdc
disk 1, o:1, dev:sdb
disk 2, o:1, dev:sda
raid5: failed to run raid set md0
md: pers->run() failed ...
md: array md0 already has disks!
md: array md0 already has disks!
md: array md0 already has disks!
4. Is this normal (Remove disk while Resyncing not completed)?
If this is normal, is there anyway to activate Dirty Degraded RAID5 ?
5. I tried to activate this RAID5 but failed:
#mdadm -S /dev/md0
#mdadm -Af /dev/md0 /dev/sda /dev/sdb /dev/sdc
mdadm: failed to RUN_ARRAY /dev/md0: Input/output error
# cat /proc/mdstat
Personalities : [raid5] [raid4]
md0 : inactive sdc[0] sda[2] sdb[1]
898643328 blocks
unused devices: <none>
#mdadm -D /dev/md0
/dev/md0:
Version : 00.90.03
Creation Time : Mon Aug 28 17:08:01 2006
Raid Level : raid5
Device Size : 78150656 (74.53 GiB 80.03 GB)
Raid Devices : 4
Total Devices : 3
Preferred Minor : 0
Persistence : Superblock is persistent
Update Time : Mon Aug 28 17:11:16 2006
State : active, degraded
Active Devices : 3
Working Devices : 3
Failed Devices : 0
Spare Devices : 0
Layout : left-asymmetric
Chunk Size : 32K
UUID : 4fef7e3e:4786c391:4a87195a:57904cb5
Events : 0.4
Number Major Minor RaidDevice State
0 8 32 0 active sync /dev/sdc
1 8 16 1 active sync /dev/sdb
2 8 0 2 active sync /dev/sda
0 0 0 0 removed
--
Best Regards
Michael Yao
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Evms-devel mailing list
Evms-devel@lists.sourceforge.net
To subscribe/unsubscribe, please visit:
https://lists.sourceforge.net/lists/listinfo/evms-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic