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

Re: lvreduce - no such file or directory?

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

But you'd better be sure you've already shrunk the *filesystem* itself, or 
you're going to lose all of your data.

Wesley J. Landaker <wjl@icecavern.net> <xmpp:wjl@icecavern.net>
OpenPGP FP: 4135 2A3B 4726 ACC5 9094  0097 F0A9 8A4C 4CD6 E3D2

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply to: