[linux-lvm] ext2resize error

Andreas Dilger adilger at clusterfs.com
Tue Aug 6 16:26:02 UTC 2002


On Aug 06, 2002  15:54 -0500, Jonathan S. Polacheck wrote:
> I have a Mandrake Linux 8.1 system with a 2.4.8 kernel.  My logical volumes
> include /usr, /var and /home (not / or /boot).  I originally set up all
> lv(s) as ext3, which seemed to preclude the ext2_online patch.  My
> /dev/sys/usr lv shows 2.44 gig in lvdisplay.  My one PV shows 3616 free
> PEs.  df shows /usr to be 2,015,824 (k) and 96% utilized.  I run telinit 1
> then umount -a.  /usr unmounts.  I then run ext2resize /dev/sys/usr.  It
> returns "Your filesystem is too occupied to resize it to 16000 bytes."

Can you run "ext2resize -v -d /dev/sys/usr" and send me the output?  If
that doesn't produce anything useful, you may also need to run
"strace ext2resize /dev/sys/user" as well.  What does /proc/partitions
say about /dev/sys/usr?

Cheers, Andreas
--
Andreas Dilger
http://www-mddsp.enel.ucalgary.ca/People/adilger/
http://sourceforge.net/projects/ext2resize/





More information about the linux-lvm mailing list