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

RE: [linux-lvm] How to increase/decrease space



Title: RE: [linux-lvm] How to increase/decrease space

That only increases the device size, you also need to extend the partition onto that larger device. e2fsadm will do it or you can fdisk it to the larger size. (mind you this involves deleting and recreating the partition in-memory not on disk, unless you make a mistake and do d 1 w, instead of d 1, then n p 1 <return><return><return>)

Anyhow, you really should look into extending the partition/LV itself now, depending if you partitioned or not, or used an invalid extent specification

Austin
 

-----Original Message-----
From: AdabalaP schneider com
To: LVM general discussion and development
Sent: 12/15/2004 8:15 PM
Subject: Re: [linux-lvm] How to increase/decrease space


"lvextend"  did not help.

 

My file system type is "ext3".

 

Here is output:

#df -m

...

/dev/mapper/VolGroup00-LogVol04    1985   1728   156    92%   /usr

...

 

#lvdisplay   VolGroup00/LogVol04

...

LV Size    2.45 GB

...

 

 

I did the following on /opt file system for testing, the results were
the same the filesystem did not get increased.

 

#umount /opt

#lvresize  -L +64 VolGroup00/LogVol07

#lvextend -L +64 VolGroup00/LogVol07

 

Any suggessions.

 

 

 

 
Jason Martin <jhmartin toger us>
Sent by: linux-lvm-bounces redhat com
12/15/2004 10:15 AM PST
Please respond to LVM general discussion and development

To: linux-lvm redhat com
cc:
bcc:
Subject: Re: [linux-lvm] How to increase/decrease space
 



On Wed, Dec 15, 2004 at 12:11:30PM -0600, AdabalaP schneider com wrote:
> (1) Added more space (350 meg) to /usr using the command "lvresize
-L+350".
> When i display the volume group using "lvdisplay" it shows 2.3 gb, But
when
> i use "df -m" it is still at 1.9 gb and 92% used state.
You've resized the volume but not the filesystem sitting on top
of it. Some filesystems can be resized online while others must
be unmounted. Some may not be resizable at all.

See http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html
<http://tldp.org/HOWTO/LVM-HOWTO/extendlv.html> .

-Jason Martin
--
This message is PGP/MIME signed.

_______________________________________________
linux-lvm mailing list
linux-lvm redhat com
https://www.redhat.com/mailman/listinfo/linux-lvm
<https://www.redhat.com/mailman/listinfo/linux-lvm>
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
<http://tldp.org/HOWTO/LVM-HOWTO/>

 <<C.DTF>>  <<ATT190653.txt>>


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