* [linux-lvm] resizing logical volumes
@ 2002-07-10 8:09 Ben Snyder
2002-07-10 8:32 ` Patrick Caulfield
0 siblings, 1 reply; 2+ messages in thread
From: Ben Snyder @ 2002-07-10 8:09 UTC (permalink / raw)
To: linux-lvm
OK, I asked a question here the other day that ended up being a
filesystems question, sorry, but thanks for removing my head from my
arse on that one (I knew that, really I did).
While I was asking that question, I also asked about adding existing
partitions on other devices to a logical volume/volume group.
The reply I got was this:
pvcreate /dev/device
vgextend VolGroupName /dev/device
lvextend --size +60G LogicalVolumePath
This all seemed to work just fine, in fact when I do a lvdisplay and
vgdisplay, it says 120G (which is what I expected it to be). However,
when I try to perform the e2fsadm, I get the following (and I'm not an
idiot, I'm using/seeing the actual paths here):
e2fsadm --size +20G LogicalVolumePath
e2fsadm -- new size too large for "LogicalVolumePath"
e2fsadm -- size of "LogicalVolumePath" would be invalid
I thought to myself, 'Maybe I did this already.' I was, afterall, just
starting me 1st cup of coffee. Whenever I mount the filesystem and do a
df -h, it still reports 59G, which is what I started at.
While this might still be a FS issue, I still can find nowhere else to
turn for assistance.
Thanks in advance...
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [linux-lvm] resizing logical volumes
2002-07-10 8:09 [linux-lvm] resizing logical volumes Ben Snyder
@ 2002-07-10 8:32 ` Patrick Caulfield
0 siblings, 0 replies; 2+ messages in thread
From: Patrick Caulfield @ 2002-07-10 8:32 UTC (permalink / raw)
To: linux-lvm
On Wed, Jul 10, 2002 at 09:00:51AM -0400, Ben Snyder wrote:
> OK, I asked a question here the other day that ended up being a
> filesystems question, sorry, but thanks for removing my head from my
> arse on that one (I knew that, really I did).
>
> While I was asking that question, I also asked about adding existing
> partitions on other devices to a logical volume/volume group.
>
> The reply I got was this:
>
> pvcreate /dev/device
> vgextend VolGroupName /dev/device
> lvextend --size +60G LogicalVolumePath
>
>
> This all seemed to work just fine, in fact when I do a lvdisplay and
> vgdisplay, it says 120G (which is what I expected it to be). However,
> when I try to perform the e2fsadm, I get the following (and I'm not an
> idiot, I'm using/seeing the actual paths here):
>
> e2fsadm --size +20G LogicalVolumePath
> e2fsadm -- new size too large for "LogicalVolumePath"
> e2fsadm -- size of "LogicalVolumePath" would be invalid
>
> I thought to myself, 'Maybe I did this already.' I was, afterall, just
> starting me 1st cup of coffee. Whenever I mount the filesystem and do a
> df -h, it still reports 59G, which is what I started at.
>
> While this might still be a FS issue, I still can find nowhere else to
> turn for assistance.
e2fsadm does the logical volume resize as well as the filesystem stuff - so
effectively it is trying to do the same thing twice.
What you need to do now is simply the second part of what e2fsadm does and that
is the resize2fs
patrick
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-07-10 8:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-10 8:09 [linux-lvm] resizing logical volumes Ben Snyder
2002-07-10 8:32 ` Patrick Caulfield
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.