Tagged Questions
3
votes
2answers
53 views
How to safely replace a not-yet-failed disk in a Linux RAID5 array?
I have a software RAID5 array (Linux md) on 4 disks.
I would like to replace one of the disks with a new one, without putting the array in a degraded state, and if possible, online. How would that ...
3
votes
3answers
135 views
lost superblock in md raid
Issue on Red Hat Linux 5.
Due to some miscommunication two LUNs in our environment were enlarged from 1.2 TB to 1.7 TB.
Now, after a reboot, mdadm does not find the superblocks to build the array ...
3
votes
2answers
139 views
How do I recover files from a single degraded mdadm raid1 drive? “not enough to start the array”
Given a single raid1 drive in degraded/rebuilding state, can it be force mounted?
If the drive was not in rebuilding state I'd be fine with the first command:
# mdadm --verbose --assemble /dev/md8 ...
2
votes
0answers
96 views
Disable RAID auto detect at runtime
In Linux, I'm partitioning two disks for RAID1 with fdisk. The first disk partitioning succedes, but the second fail because the raid starts automatically and occupy also the second disk (why? it ...
2
votes
2answers
113 views
How does mdraid resync work?
I have two drives in a mirror (linux sw raid/mdadm); one drive somehow left the mirror in the past and its content is now several days old. At this moment, I'm using degraded mirror (with one drive ...
2
votes
2answers
137 views
Unable to rename a RAID device: stuck with /dev/md126
I had a fully working server.
I booted with SystemRescueCD, without writing anything. I didn't even mounted a partition. Then rebooted the server.
The server no longer boot correctly because some ...
4
votes
0answers
124 views
How do I recover a broken software RAID5 array?
Ack, I think I screwed up bad. I had a power failure on a RAID5 array which caused the metadata to be inconsistent between drives.
I followed the advice here except a case of fat fingers caused me to ...
4
votes
1answer
699 views
RAID 10 can not be started
I have a RAID 10 array managed with mdadm which has failed . The symptom was that X has crashed and I was unable to logon from the terminal. I have restarted the computer and /dev/md1 did not start.
...
7
votes
2answers
895 views
Grow/resize RAID when upgrading visible size of disks
I originally created a software RAID using a controller that could only address 2TB per disk. The disks are 3 TB disks. It worked fine, but only used the first 2TB of each disk.
I have now changed ...
3
votes
3answers
4k views
Grub2 RAID /boot
I'm using Gentoo on my HomeServer. My HDDs are raid1 mirrored with mdadm.
My problem is how to boot the /boot partition correct?
/dev/md1 consists of /dev/sdc2 & /dev/sdd2 mounted on /boot
In ...
4
votes
1answer
6k views
mdadm raid1 and what chunksize (or blocksize) on 4k drives?
I want to use two 3 TB drives in a mdadm raid1 setup (using Debian Sequeeze).
The drives use 4k hardware sectors instead of the traditional 512 byte ones.
I am a bit confused because on the one hand ...
5
votes
1answer
1k views
mdadm Raid5 gives spares missing events
I succesfully builded up a raid5 array on debian testing (Wheezy). As the manpages and further tell, the array would be created as an out of sync array with just a new spare injected to be repaired.
...
6
votes
2answers
1k views
Will the system make sure that mdadm is sync-ed before completing a reboot?
This is a follow up to my crazy mdadm problem. I'm trying to figure out what might have caused sda to get out of sync in the first place. The only thing I can think of is that I had just run a bunch ...
3
votes
1answer
914 views
installing grub 2 on mdadm, which device?
when installing grub(2) to mdadm devices are you supposed to install it to /dev/sdX or /dev/mdX?
2
votes
1answer
306 views
Drive was unable to assemble into the array
I ran
mdadm -A /dev/md0 /dev/sda1 /dev/sdb1
Only /dev/sdb1 was loaded into the array though. I have a few more arrays on the same two drives too. Each time the partition on sda failed. dmesg told ...
4
votes
2answers
2k views
what is commit=0 for ext4? does mdadm not support it?
I see this in my dmesg log
EXT4-fs (md1): re-mounted. Opts: commit=0
EXT4-fs (md2): re-mounted. Opts: commit=0
EXT4-fs (md3): re-mounted. Opts: commit=0
I think that means that dealloc is disabled? ...