[CentOS] Need resize a partition LVM2

Thu Nov 30 14:10:06 UTC 2006
Ferdinando Santacroce <jesus_was_rasta at yahoo.it>

@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.
>
>   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20061130/9a3322dd/attachment-0005.html>