2
I have LVM configured on top of RAID, but I was wondering how one would do RAID on top of LVM.
Here's the scenario:
I have a RAID 6 array with 4 X 3TB drives. 1 drive failed, badblocks reported 73 bad blocks (concentrated in a roughly 400 block span).
I'd like to create a partition before and after the spot where the bad blocks are, and create a logical volume to try and add it to the array.
My questions are: 1) is this possible? 2) do I need to create a full logical volume, or can I just make it a volume group and use it? 3) what to do with extents? leave the default, or make an extent equal to the entire combined disk size?
Also, this is pretty much a WORM type situation for archival, so optimal performance isn't really important (but would be nice).
And, since I know I'm going to get an "only if you want to lose your data" reply, the data is backed up offsite nightly.
I'm actually thinking this might be over kill and simply adding the drive back with a full single partition might work. This question seems to indicate that running checkarray will have mdadm notice the bad blocks and relocate them.
– Rob – 2014-06-19T04:13:00.967