[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] snapshot safetynet?



On Tue, 19 Feb 2002, Steve Wray wrote:

> Ok, heres a thought;
> Resizing filesystems is a risky operation,
> by and large, especially shrinking them.
> 
> So I had the thought;
> Take a snapshot of the filesystem to shrink,
> use fs tools and lvm tools to shrink it,
> if it goes wrong, restore the snapshot!

I'vd done something similar. I use a patch to enable writes on snapshots.
Once I had to shrink a root filesytem on LVM. I created an writeable
snapshot, rebooted with the snapshot as root filesystem. Thisway the real 
root fs wasn't mounted and I could shrink it without problems.

> 
> Will it work tho? I'm wondering it lvreduce
> will get confused about the snapshot or if
> the snapshot system will cope with such a huge
> change...
No problem. But I use a patched LVM to allow writeable snapshots.

> 
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm sistina com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
> 

---
 Anselm Kruis                                 Tel. +49 (0)89-356386-74
 science + computing ag		              FAX  +49 (0)89-356386-37
 Ingolstädter Str. 22             mailto: A Kruis science-computing de
 D-80807 München                 WWW: http://www.science-computing.de/

**********************************************************************
***     CeBIT 2002                                                 ***
***     Besuchen Sie uns auf der CeBIT vom 13.-20.03.2002          ***
***     auf dem Messegelände in Hannover, Halle 11                 ***
**********************************************************************




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]