[CentOS] Need resize a partition LVM2

Thu Nov 30 11:06:29 UTC 2006
Alexey Loukianov <aloukianov at lavtech.ru>

Greetings, Ferdinando.

30 ноября 2006 г., 13:54:39 you have wrote:

> Hi all..
> On my little test server I have 40GB hard disk.
> I use LVM2, with 4 partitons: /boot, /home, /usr, /var
> I set Apache to work in /var/www.
> Now I added a 30GB hard disk to extend /var.
> I regularly extended my volume group and the logical volume where /var stay.
> Now I need to umount /var to run a resize2fs to extend the /var 
> partiton, but I see ever the same message: "device is busy"
> I tried to switch to runlevel 1, but no luck.
> My var uses quota, and the fs is ext3.

> Someone can help me?
> Thank you a lot guys!

# lsof | grep '/var/'
is your friend.

-- 
Best Regards,
 Alexey Loukianov                          mailto:aloukianov at lavtech.ru

Software Development Department,
Lavtech Corp
http://mnogo.ru, http://lavtech.ru