Tag Info

New answers tagged

1

I had a very similar problem like this. And I believe your problem is caused by the fact that your Xen-Image is ziped and yet you forgot to "insmod gzio" in your menuentry for Xen.


1

cat /proc/mdstat will give you the output you need, relatively easy to parse, because the mapped device is on the same line as its members, e.g.: $ cat /proc/mdstat Personalities : [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [linear] [multipath] md0 : active raid1 sdf2[1] sde2[0] 81854336 blocks super 1.2 [2/2] [UU] md127 : active raid0 ...


0

If you have three software RAID arrays attached to the system (md0, md1, md2), the following simple one-liner will display the drives attached to each (change the ..2 to your total number of arrays): sudo mdadm --query --detail /dev/md{0..2} | grep dev /dev/md0: 0 8 18 0 active sync /dev/sdb2 /dev/md1: 0 8 19 0 active ...


1

How should I try to start rebuild this? Depends on if you care about the data. Assuming you do, there is a guide over here. Note that RAID-5 has some issues, which were enough for me to convert most of our environment to RAID-10 or just plain mirrors. I'm not sure what /dev/md0 is, but if your root (/) filesystem is on there (or any filesystem you're ...


0

When you run the following command, the metadata=1.2 you're seeing refers to the superblock version. root@svr# mdadm --examine --scan ARRAY /dev/md/pool metadata=1.2 UUID=37b2a12f:ea73e45k:32b3efe0:90ac0b2e name=svr:pool root@svr# There's a wiki for the Linux md software, and the Version-1 (Sub-Version 1.2) superblock format are documented pretty well. ...


2

From what I have read RAID 10 should be faster than RAID 5 with the same "one-disk loss ok" redundancy. I don't agree. Let's look at reads -- here, there's no reason there should be any difference. Both let you read data from all four drives and use their full bandwidth. With RAID 5, no parity is read unless it's needed, so no difference there. Now, ...


0

I don't thing striping RAID is of any use with an SSD. Striping distrubutes work over several disk heads, but SSDs already have excellent random access.


1

As Michael points out above, the hangs and consequent unclean shutdown are the reason you are seeing your RAID rebuild. The kernel md driver rebuilds unclean arrays in order to ensure they are truly in sync, since a hang, or crash or powerloss won't guarantee which writes actually got flushed out to disk. Now, as to why sdd is getting used, the first thing ...


1

I know this is an old question, but somebody else might be searching for the same thing, so I figured I'd answer it, anyway. When booting from the rescue CD, you first have to assemble the md raid device, before you mount it: mdadm --assemble /dev/md0 /dev/first-device-of-raid1 /dev/second-device-of-raid1 Then you're going to mount the md0 device, rather ...



Top 50 recent answers are included