Reliability
What happens when one of several drives in a vg fails? Is the whole vg lost or only lv's that are on that pv? In the latter case, what about lv's that are only partly located on that pv?
I once observed that with a corrupted partition table, causing one pv to be lost, the whole vg didn't get detected. As I was able to reconstruct the partition table, I didn't try very hard to get the vg running without that drive.
Jan
Quorum support is a solution to deal with the activation of a VG without having all PVs available which belong to it.
This actually is usefull in case you have associated all LEs of specific LVs to available PVs and want to access those.
In real life scenarios this can't be garanteed though which leads to partitally destroyed (unusable) LV contents and in consequence to filesystem errors.
Therefore qourum is IMO not really usefull.
The tradeoff of the existing solution nevertheless is that reconstruction of the partition table and the VGDA is necessary on a replacement disk (subsystem) which takes some time :-{(
After this we almost have the same scenario as with quorum.
The difference is that no I/O errors are returned in case of accessing bad LEs.
Heinz
Quoted 10 lines · Jan Niehusmann
What happens when one of several drives in a vg fails? Is the whole vg lost or only lv's that are on that pv? In the latter case, what about lv's that are only partly located on that pv?
I once observed that with a corrupted partition table, causing one pv to be lost, the whole vg didn't get detected. As I was able to reconstruct the partition table, I didn't try very hard to get the vg running without that drive.
Jan
Signature · 9 lines
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Bartningstr. 12
64289 Darmstadt
Germany
[email protected] +49 6151 710386
FAX 710396
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-Quoted 3 lines · Michael Marxmeier
As far as i can see Quorum support looks like the saner option:
If you loose a disk and only restore the partition table and VGDA the replacement disk still mostly contains garbage (eg. not a fs).
That, and it may be usefull to be able to say: I know something is wrong, but I need some files _now_, so please give me everything you have and don't wait until I mounted and initialized a new drive.
Perhaps damaged VGs should be read only, at least by default, to prevent further damage.
I was really worried when LVM didn't start with a corrupted partition
table: The PV on that disk was actually empty (perhaps a LV on it, but no data) as I only added it to try out ext2 resizing without risking the other partitons.
Jan
Quoted 8 lines
Quorum support is a solution to deal with the activation of a VG without having all PVs available which belong to it.
This actually is usefull in case you have associated all LEs of specific LVs to available PVs and want to access those.
In real life scenarios this can't be garanteed though which leads to partitally destroyed (unusable) LV contents and in consequence to filesystem errors.
Quoted 8 lines
Therefore qourum is IMO not really usefull.
The tradeoff of the existing solution nevertheless is that reconstruction of the partition table and the VGDA is necessary on a replacement disk (subsystem) which takes some time :-{(
After this we almost have the same scenario as with quorum.
The difference is that no I/O errors are returned in case of accessing bad LEs.
As far as i can see Quorum support looks like the saner option:
If you loose a disk and only restore the partition table and VGDA the replacement disk still mostly contains garbage (eg. not a fs). So we could as well activate the VG and leave LVs with extents on offline PVs disabled?
Any reason why this might not work?
Michael
--
Michael Marxmeier Marxmeier Software AG E-Mail: [email protected] Besenbruchstrasse 9 Phone : +49 202 2431440 42285 Wuppertal, Germany Fax : +49 202 2431420 http://www.msede.com/