You are not logged in.

#1 2010-10-29 13:46:40

Fruity
Member
Registered: 2009-12-16
Posts: 198

[SOLVED] Extending an LVM partition

Recently did a fresh install of Arch, using encryption with LVM on top and Gnome as the desktop. Soon after I had a pop up warning on logging in about there only being 100Mb left on /usr. So I extended the /usr group by 1Gb with the command: " lvextend -L4G /dev/base/usr ", the original size was 3Gb.

So now lvscan shows me this:

[root@kaminari /etc]# lvscan
  ACTIVE            '/dev/base/tmp' [500.00 MiB] inherit
  ACTIVE            '/dev/base/var' [2.93 GiB] inherit
  ACTIVE            '/dev/base/usr' [4.00 GiB] inherit
  ACTIVE            '/dev/base/root' [1000.00 MiB] inherit
  ACTIVE            '/dev/base/home' [390.62 GiB] inherit

Great it's apparently 4Gb, but I still get this pop up warning about there being not enough room on /usr.

 [root@kaminari /etc]# df -h /usr
Filesystem            Size  Used Avail Use% Mounted on
/dev/mapper/base-usr  2.9G  2.7G   93M  97% /usr

The above shows something isnt quite right!  Where am I going wrong?

Last edited by Fruity (2010-10-29 16:18:28)

Offline

#2 2010-10-29 14:34:27

vacant
Member
From: downstairs
Registered: 2004-11-05
Posts: 816

Re: [SOLVED] Extending an LVM partition

You have extended the logical volume. Now you need to extend the filesystem.

Offline

#3 2010-10-29 16:18:48

Fruity
Member
Registered: 2009-12-16
Posts: 198

Re: [SOLVED] Extending an LVM partition

Doh, thanks smile

Offline

Board footer

Powered by FluxBB