Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] disk info
@ 2003-08-06 13:58 Valentine Kouznetsov
  2003-08-06 14:11 ` Herbert Pötzl
  2003-08-11  7:36 ` Theo Van Dinter
  0 siblings, 2 replies; 6+ messages in thread
From: Valentine Kouznetsov @ 2003-08-06 13:58 UTC (permalink / raw)
  To: linux-lvm

Hi,
I'm newbie of using LVM. I'm having the following "strange" behaviour:
I can lvextend my volumes, but I cannot see the changes using df
command. Actually df output is different from LV size of lvdisplay
output. Is it known bug and/or I'm missing something.

My configuration:
RedHat 9, kernel 2.4.21 or 2.4.20-19-9 (from RedHat), lvm-1.0.3-12 (from 
RedHat 9)

I would appreciate if you cc me to vk@mail.lepp.cornell.edu

Thanks,
Valentine.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] disk info
  2003-08-06 13:58 [linux-lvm] disk info Valentine Kouznetsov
@ 2003-08-06 14:11 ` Herbert Pötzl
  2003-08-06 14:21   ` Valentine Kouznetsov
  2003-08-11  7:36 ` Theo Van Dinter
  1 sibling, 1 reply; 6+ messages in thread
From: Herbert Pötzl @ 2003-08-06 14:11 UTC (permalink / raw)
  To: Valentine Kouznetsov; +Cc: linux-lvm

On Wed, Aug 06, 2003 at 02:57:22PM -0400, Valentine Kouznetsov wrote:
> Hi,
> I'm newbie of using LVM. I'm having the following "strange" behaviour:
> I can lvextend my volumes, but I cannot see the changes using df
> command. Actually df output is different from LV size of lvdisplay
> output. Is it known bug and/or I'm missing something.

you have to resize the filesystem on the lvm lv
after you extended it ...

for ext2/ext3 this would be resize2fs ...

HTH,
Herbert

> 
> My configuration:
> RedHat 9, kernel 2.4.21 or 2.4.20-19-9 (from RedHat), lvm-1.0.3-12 (from 
> RedHat 9)
> 
> I would appreciate if you cc me to vk@mail.lepp.cornell.edu
> 
> Thanks,
> Valentine.
> 
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] disk info
  2003-08-06 14:11 ` Herbert Pötzl
@ 2003-08-06 14:21   ` Valentine Kouznetsov
  2003-08-06 14:32     ` Herbert Pötzl
  2003-08-11  7:36     ` Wiktor Wodecki
  0 siblings, 2 replies; 6+ messages in thread
From: Valentine Kouznetsov @ 2003-08-06 14:21 UTC (permalink / raw)
  To: herbert; +Cc: linux-lvm

Herbert,
thanks for tip. I've look at resize2fs, but at least for ext2/ext3 I
need to unmount my partition first. How about situation if root partion
is on LVM and I want to resize it as well.
Thanks,
V.

On Wed August 6 2003 15:10, you wrote:
> On Wed, Aug 06, 2003 at 02:57:22PM -0400, Valentine Kouznetsov wrote:
> > Hi,
> > I'm newbie of using LVM. I'm having the following "strange" behaviour:
> > I can lvextend my volumes, but I cannot see the changes using df
> > command. Actually df output is different from LV size of lvdisplay
> > output. Is it known bug and/or I'm missing something.
>
> you have to resize the filesystem on the lvm lv
> after you extended it ...
>
> for ext2/ext3 this would be resize2fs ...
>
> HTH,
> Herbert
>
> > My configuration:
> > RedHat 9, kernel 2.4.21 or 2.4.20-19-9 (from RedHat), lvm-1.0.3-12 (from
> > RedHat 9)
> >
> > I would appreciate if you cc me to vk@mail.lepp.cornell.edu
> >
> > Thanks,
> > Valentine.
> >
> >
> >
> > _______________________________________________
> > linux-lvm mailing list
> > linux-lvm@sistina.com
> > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] disk info
  2003-08-06 14:21   ` Valentine Kouznetsov
@ 2003-08-06 14:32     ` Herbert Pötzl
  2003-08-11  7:36     ` Wiktor Wodecki
  1 sibling, 0 replies; 6+ messages in thread
From: Herbert Pötzl @ 2003-08-06 14:32 UTC (permalink / raw)
  To: Valentine Kouznetsov; +Cc: linux-lvm

On Wed, Aug 06, 2003 at 03:20:06PM -0400, Valentine Kouznetsov wrote:
> Herbert,
> thanks for tip. I've look at resize2fs, but at least for ext2/ext3 I
> need to unmount my partition first. How about situation if root partion
> is on LVM and I want to resize it as well.

there are some effords to resize a fs while mounted,
but usually the procedure is the same, and you either
boot from a rescue cd/floppy or a special rescue 
partition ...

HTH,
Herbert
 

> Thanks,
> V.
> 
> On Wed August 6 2003 15:10, you wrote:
> > On Wed, Aug 06, 2003 at 02:57:22PM -0400, Valentine Kouznetsov wrote:
> > > Hi,
> > > I'm newbie of using LVM. I'm having the following "strange" behaviour:
> > > I can lvextend my volumes, but I cannot see the changes using df
> > > command. Actually df output is different from LV size of lvdisplay
> > > output. Is it known bug and/or I'm missing something.
> >
> > you have to resize the filesystem on the lvm lv
> > after you extended it ...
> >
> > for ext2/ext3 this would be resize2fs ...
> >
> > HTH,
> > Herbert
> >
> > > My configuration:
> > > RedHat 9, kernel 2.4.21 or 2.4.20-19-9 (from RedHat), lvm-1.0.3-12 (from
> > > RedHat 9)
> > >
> > > I would appreciate if you cc me to vk@mail.lepp.cornell.edu
> > >
> > > Thanks,
> > > Valentine.
> > >
> > >
> > >
> > > _______________________________________________
> > > linux-lvm mailing list
> > > linux-lvm@sistina.com
> > > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] disk info
  2003-08-06 13:58 [linux-lvm] disk info Valentine Kouznetsov
  2003-08-06 14:11 ` Herbert Pötzl
@ 2003-08-11  7:36 ` Theo Van Dinter
  1 sibling, 0 replies; 6+ messages in thread
From: Theo Van Dinter @ 2003-08-11  7:36 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 523 bytes --]

On Wed, Aug 06, 2003 at 02:57:22PM -0400, Valentine Kouznetsov wrote:
> I'm newbie of using LVM. I'm having the following "strange" behaviour:
> I can lvextend my volumes, but I cannot see the changes using df
> command. Actually df output is different from LV size of lvdisplay
> output. Is it known bug and/or I'm missing something.

It sounds like you're not extending the filesystem after you've extended
the volume.

-- 
Randomly Generated Tagline:
I'm practicing assertiveness.  Do you think that's okay?

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [linux-lvm] disk info
  2003-08-06 14:21   ` Valentine Kouznetsov
  2003-08-06 14:32     ` Herbert Pötzl
@ 2003-08-11  7:36     ` Wiktor Wodecki
  1 sibling, 0 replies; 6+ messages in thread
From: Wiktor Wodecki @ 2003-08-11  7:36 UTC (permalink / raw)
  To: linux-lvm; +Cc: herbert

[-- Attachment #1: Type: text/plain, Size: 1938 bytes --]

On Wed, Aug 06, 2003 at 03:20:06PM -0400, Valentine Kouznetsov wrote:
> Herbert,
> thanks for tip. I've look at resize2fs, but at least for ext2/ext3 I
> need to unmount my partition first. How about situation if root partion
> is on LVM and I want to resize it as well.
> Thanks,
> V.

well, in that case you need to boot of a floppy, cdrom or something else
which provides you all the tools you need. Why on the first hand did you
install root on an lvm? I for my part don't see the need. My root is
about 75 mb, with everything else (/usr, /var, /home) on seperate
partitions.

> 
> On Wed August 6 2003 15:10, you wrote:
> > On Wed, Aug 06, 2003 at 02:57:22PM -0400, Valentine Kouznetsov wrote:
> > > Hi,
> > > I'm newbie of using LVM. I'm having the following "strange" behaviour:
> > > I can lvextend my volumes, but I cannot see the changes using df
> > > command. Actually df output is different from LV size of lvdisplay
> > > output. Is it known bug and/or I'm missing something.
> >
> > you have to resize the filesystem on the lvm lv
> > after you extended it ...
> >
> > for ext2/ext3 this would be resize2fs ...
> >
> > HTH,
> > Herbert
> >
> > > My configuration:
> > > RedHat 9, kernel 2.4.21 or 2.4.20-19-9 (from RedHat), lvm-1.0.3-12 (from
> > > RedHat 9)
> > >
> > > I would appreciate if you cc me to vk@mail.lepp.cornell.edu
> > >
> > > Thanks,
> > > Valentine.
> > >
> > >
> > >
> > > _______________________________________________
> > > linux-lvm mailing list
> > > linux-lvm@sistina.com
> > > http://lists.sistina.com/mailman/listinfo/linux-lvm
> > > read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 
Regards,

Wiktor Wodecki

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-08-11  7:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-06 13:58 [linux-lvm] disk info Valentine Kouznetsov
2003-08-06 14:11 ` Herbert Pötzl
2003-08-06 14:21   ` Valentine Kouznetsov
2003-08-06 14:32     ` Herbert Pötzl
2003-08-11  7:36     ` Wiktor Wodecki
2003-08-11  7:36 ` Theo Van Dinter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox