Re: [CentOS] Need resize a partition LVM2

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



On Thu, 2006-11-30 at 07:08 -0400, Guillermo Garron wrote:
> On 11/30/06, Ferdinando Santacroce <jesus_was_rasta@xxxxxxxx> 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.
> 
> Hi, it only comes to my mind, i am not sure this is the right way to
> do it, but have you tried with a rescue CD?

That is my thoughts too .. as /var is going to be hard to clean out
after a normal boot.

(the logs open there, the locks dir is there, etc.)

You might be able to use either:

lsof | grep var

or

fuser -m /var

But in my experience ... making all the /var stuff let go is not so
easy.



Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
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