[linux-lvm] shrink lvm without harddisk ?
Heinz J . Mauelshagen
mauelshagen at sistina.com
Mon Oct 22 02:44:02 UTC 2001
On Sun, Oct 21, 2001 at 06:42:48PM +0200, FEJF wrote:
> hi,
> i've got a harddisk that crashed... (again :( ) - and so i can't even xs the
> lvm anymore... i want to ask if there's a way to mount the lvm with one
> harddisk missing (of corse there will be dataloss - but i think loosing only
> 40gigs is better than loosing the whole lvm...) ?
Well, this only makes sense if there is LV(s) which don't have *any* PEs
alocated on the crashed disk. If not so you'ld end up in an filesystem mess
(assuming that the LV(s) contain(s) filesystems) anyway, because fs metadata
and data will be missing.
If you still want to go for it you need a replacement drive, vgcfgrestore
the LVM metadata to it and restart LVM.
In order to avoid such problems you might consider to go for soft/hard RAID
as PV storage.
> fejf
>
> --
> Backups are usefull. Most often when you don't have one ;)
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen at Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
More information about the linux-lvm
mailing list