HDD failure - please help!
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 1 line
Striping (like RAID0) actually makes your data *more* vulnerable (but faster).
Stuart, I just mentioned that in passing - I did NOT use striping.
Quoted 2 lines
If you wanted RAID5, your best bet on linux is the md driver. Or else a hardware RAID controller.
I don't/didn't want RAID.
Quoted 1 line
Since you don't have any details on exactly what kind of LVs you created
The default FC11 creation - whatever that may be.
Quoted 2 lines
your first step is getting a copy of the metadata. There should be a copy at the beginning of each drive.
Yes. How do I access it? None of the drives will mount. I am thinking here that I should create a special boot disk with the LVM tools on it (they are not present on the FC11 boot iso, afaik).
Quoted 2 lines
If you had a single logical volume, and you were configured as jbod (Just a Bunch of Disks)
I'm reasonably certain that's what I had.
Quoted 4 lines
then you should look back a month or so in the archives
where another user made the same mistake, but got a significant portion of his data back from the good drives. I won't repeat the steps here. (You'll need an external USB adapter, freezer, new drive to replace failed,
I looked...could you please be a bit more specific? I didn't see anything.
Quoted 1 line
Hopefully, you've learned your lesson and won't presume (or assume) next time.
Well, truly, the only thing I've learned is never to use LVM if it's going to cause me to lose data on all 5 drives when one goes down. The logic behind it's use appears to be to just make life "easier" by using one larger disk. The reality of the situation is that I don't have one large disk - I have 5 disks. If LVM can't figure out how to restore from four remaining disks (or alternatively I can't figure out how to use LVM tools to do so) then it's less than useful for me.
James
Quoted 5 lines · James
Quoted 3 lines
If you wanted RAID5, your best bet on linux is the md driver. Or else a hardware RAID controller.
I don't/didn't want RAID.
Based on your expectations, I think you *do* want at least RAID1. Raid 1 is simple to administer and understand.
Quoted 5 lines
Quoted 3 lines
your first step is getting a copy of the metadata. There should be a copy at the beginning of each drive.
Yes. How do I access it? None of the drives will mount. I am thinking here that I should create a special boot disk with the LVM tools on it (they are not present on the FC11 boot iso, afaik).
You don't mount the PVs. Use the metadata extraction tool, I don't remember the name atm.
If this was your boot filesystem, then you will need a LiveCD or new install. Since you will need a new disk anyway, I suggest you get the new disk that is *bigger* than the failing drive and install to it (but *not* overwriting the others) and leave a partition big enough to contain the PV from the failing drive. Remove the failing drive, and access it via USB - even if you have another drive slot. By taking steps to keep it as cold as possible during recovery, you can coax a few more sectors out of it.
Quoted 4 lines
Quoted 2 lines
then you should look back a month or so in the archives
I looked...could you please be a bit more specific? I didn't see anything.
This should get you started: https://www.redhat.com/archives/linux-lvm/2010-July/msg00057.html
Quoted 1 line
Well, truly, the only thing I've learned is never to use LVM if it's going to cause me to lose data on all 5 drives when one goes down. The logic behind it's use appears to be to just make life "easier"
With jbod (which you likely have), the failure scenario is exactly the same whether you have 1 disk or 5. Part of your filesystem gets trashed, and you have to use low level tools to recover what remains if you don't have backups.
What having 5 disks *does* do is make failure more likely. Suppose the probability of 1 disk *not* failing in a given year is .999 (3 sigmas). With jbod, the LV fails if *any* of the disks fail. The probability that none of them fail in a given year would then be .999^5 ~= .995. Your array is less reliable.
By using RAID, you can make the array more reliable. RAID works by using multiple copies of data so that you don't lose anything on a single drive failure.