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

lvreduce - no such file or directory?



Hi,

I'm trying to move some space from 'home' to 'var'.

But when I try to reduce home I get:
debian:/home/andy# lvscan
  ACTIVE            '/dev/debian/root' [276.00 MB] inherit
  ACTIVE            '/dev/debian/usr' [4.77 GB] inherit
  ACTIVE            '/dev/debian/var' [202.86 GB] inherit
  ACTIVE            '/dev/debian/swap_1' [2.59 GB] inherit
  ACTIVE            '/dev/debian/tmp' [392.00 MB] inherit
  ACTIVE            '/dev/debian/home' [221.77 GB] inherit
debian:/home/andy# lvdisplay /dev/debian/home
  --- Logical volume ---
  LV Name                /dev/debian/home
  VG Name                debian
  LV UUID                sM2dmW-LE6N-3gtt-4dkZ-IXcN-Aceo-jj4sM7
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                221.77 GB
  Current LE             56772
  Segments               1
  Allocation             inherit
  Read ahead sectors     0
  Block device           254:5

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#

Ideas?



Reply to: