Re: [CentOS] Need resize a partition LVM2

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



@Alexey
Thanks Alexey!
lsof now is my best friend! ;-)

@Guillermo
Well, I booted my server whit Knoppix and I solved learning better how to use LVM...
You know, this was my first time doing this kind of work on a LVM disk group.
Learning by doing is my preferred way!

@Johnny
fuser -m /var didn't tell anything, I tried to use it before ask this hel to you...

@ Robert
ext2online... I don't know there was thi tool!
Next time I'll remember...

Thanks all for the suggestions!!!

PS: now I'm syncing 30GB website, hopes goes all welll :-D

Nando



Alexey Loukianov ha scritto:
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.

  
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux