Skip to contentSkip to conversation

LVM. Do i loose everything?

linux-lvm kyr 3 participants 4 messages Apr 16, 2006 – Apr 22, 2006

lore
Share & tools
lore

kyr

author
#0 lore raw

Hello,

I wound be thankful if you can answer one simple question that I
haven't found the answer in all the LVM manuals, FAQ, howtos.

I have a continuous (not stiped) VG consisting of 3 PV (Hard Disks) with one LV on EXT3.

If one hard disk fails (hardware) will i loose everything on all disks?

I thank you in advance.

#1 lore raw
Quoted 9 lines · kyr

Hello,

I wound be thankful if you can answer one simple question that I
haven't found the answer in all the LVM manuals, FAQ, howtos.

I have a continuous (not stiped) VG consisting of 3 PV (Hard Disks) with one LV on EXT3.

If one hard disk fails (hardware) will i loose everything on all disks?

depends on how u define everything. if u have 3 disk and 1 disk fail, then u lose the data bytes on that disk only. but since u run ext3 on it. ext3 will not be able to run properly with that. then u will not be able to read u file out. so u lose u "files".

try not do that with u important data.

ming

Quoted 9 lines

I thank you in advance.

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#2 lore raw
In reply to kyr
Quoted 9 lines · kyr

Hello,

I wound be thankful if you can answer one simple question that I
haven't found the answer in all the LVM manuals, FAQ, howtos.

I have a continuous (not stiped) VG consisting of 3 PV (Hard Disks) with one LV on EXT3.

If one hard disk fails (hardware) will i loose everything on all disks?

I'm far from an expert with LVM, but I think the answer is a safe No. And even further, you could possibly recover the data on the damaged drive (see
http://grover.open2space.com/node/17).

The data stored on that particular drive might become in accessible (without any recovery efforts), but the data sitting on the other drives should still be there.

I'm taking a guess based on what I saw during a data recovery process, but... It looks like the drive/partition is tagged as being part of a volume, and then the appropriate file system is applied. If this is the case, then loosing a drive should not corrupt your filesystem on the remaining drives.

I am not comfortable enough with my knowledge to say this is anywhere near authoritative. But I do hope I helped...

Shawn

#3 lore raw
Quoted 10 lines · Shawn
Quoted 9 lines · kyr

Hello,

I wound be thankful if you can answer one simple question that I
haven't found the answer in all the LVM manuals, FAQ, howtos.

I have a continuous (not stiped) VG consisting of 3 PV (Hard Disks) with one LV on EXT3.

If one hard disk fails (hardware) will i loose everything on all disks?

depends on how we define "disk fails" then.

Quoted 4 lines

I'm far from an expert with LVM, but I think the answer is a safe No. And even further, you could possibly recover the data on the damaged drive (see
http://grover.open2space.com/node/17).

if disk has some bad sectors but most other places are readable, then dd_rescue will be more than enough and follow this link should be ok. thanks for pointing out this link.

Quoted 4 lines

The data stored on that particular drive might become in accessible (without any recovery efforts), but the data sitting on the other drives should still be there.

yes, data is there.

Quoted 5 lines

I'm taking a guess based on what I saw during a data recovery process, but... It looks like the drive/partition is tagged as being part of a volume, and then the appropriate file system is applied. If this is the case, then loosing a drive should not corrupt your filesystem on the remaining drives.

if it is single file system over all 3 HDs, then will the file system runs ok? i do not think so.

Quoted 11 lines

I am not comfortable enough with my knowledge to say this is anywhere near authoritative. But I do hope I helped...

Shawn

_______________________________________________
linux-lvm mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/