Hi Andy, On Sun, Oct 07, 2007 at 05:52:28PM +0100, Andy Hardy wrote: > Wesley J. Landaker wrote: > > On Sunday 07 October 2007 07:46:42 Andy Hardy wrote: > >> debian:/home/andy# lvreduce -v -r -L -50g /dev/debian/home > >> Finding volume group debian > >> Executing: fsadm check /dev/debian/home (null) > >> fsadm: execlp failed: No such file or directory > >> fsadm failed: 2 > >> debian:/home/andy# > > > > You don't give it a device, you give it a vg and lv name, so: > > > > $ lvreduce -v -r -L -50g debian/home > > I get the same error.
Indeed, both ways should work. > > But you'd better be sure you've already shrunk the *filesystem* itself, or > > you're going to lose all of your data. > > Isn't the -r (resizefs) supposed to do this? My copy of lvreduce as distributed with etch does not have this option. Try reducing the filesystem with resize2fs first, then doing lvreduce without the "-r". Cheers, Andy -- http://bitfolk.com/ -- No-nonsense VPS hosting Encrypted mail welcome - keyid 0x604DE5DB
signature.asc
Description: Digital signature