public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* RE: [gentoo-user] Gentoo LVM Newbie Question
@ 2006-02-23 20:58 CR Little
  2006-02-23 21:36 ` Boyd Stephen Smith Jr.
  0 siblings, 1 reply; 32+ messages in thread
From: CR Little @ 2006-02-23 20:58 UTC (permalink / raw
  To: gentoo-user

I'm using ext3

-----Original Message-----
From: Boyd Stephen Smith Jr. [mailto:bss03@volumehost.com] 
Sent: Thursday, February 23, 2006 2:41 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Gentoo LVM Newbie Question

On Thursday 23 February 2006 14:22, "CR Little"
<crlittle@sourcelink.com> 
wrote about '[gentoo-user] Gentoo LVM Newbie Question':
> I'm having a problem with LVM.
>
> I setup a volume group it had 5.91G in Free PE/Size now states 0/0
> I have a logical volume inside that I tried to extend
> It now states 10.91 GB for LV Size. This lv is mounted to /home when I
> ran lvextend -L+5.91G /dev/vg/home it extended the lv but when you run
> df-h it doesn't show an increased size.
>
> /dev/mapper/vg-home   5.0G  1.6G  3.2G  33% /home
>
> Apparently I missed a step and can't find any information on how to
fix
> this. Doesn't it need to know how to format and add the LV extention?

That's an easy one.  But an easy thing to miss, especially if you are
new.

df reports the free space on the /filesystem/
lvextend changes the size of the /block device/

Now that your block device is bigger, you need to extend the filesystem
to 
use that new space.

What filesystem are you using?

Also, in the future, I believe EVMS can do this all with one command and

there is a nice ncurses interface.

-- 
Boyd Stephen Smith Jr.
bss03@volumehost.com
ICQ: 514984 YM/AIM: DaTwinkDaddy
-- 
gentoo-user@gentoo.org mailing list




This message contains information from SourceLink - Madison 
which may be confidential and privileged.  If you are not an 
intended recipient, please refrain from any disclosure, copying, 
distribution, or use of this information and note that such 
actions are prohibited.  If you have received this transmission 
in error, please notify by email crlittle@sourcelink.com.


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 32+ messages in thread
* RE: [gentoo-user] Gentoo LVM Newbie Question
@ 2006-02-24 14:40 CR Little
  0 siblings, 0 replies; 32+ messages in thread
From: CR Little @ 2006-02-24 14:40 UTC (permalink / raw
  To: gentoo-user

Worked! Thanks!


-----Original Message-----
From: Boyd Stephen Smith Jr. [mailto:bss03@volumehost.com] 
Sent: Thursday, February 23, 2006 5:57 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Gentoo LVM Newbie Question

On Thursday 23 February 2006 17:29, "CR Little"
<crlittle@sourcelink.com> 
wrote about 'RE: [gentoo-user] Gentoo LVM Newbie Question':
> Apparently when I created my first drive pv. I missed something as
well
>
> I have /dev/sda8-14 which are not set allocatable
> I ran pvchange and got the following results.
> pvchange -x y /dev/sda8 /dev/sda9 /dev/sda10 /dev/sda11 /dev/sda12
> /dev/sda13 /dev/sda14
>   Allocatability not supported by orphan lvm2 format PV /dev/sda8
>   Allocatability not supported by orphan lvm2 format PV /dev/sda9
>   Allocatability not supported by orphan lvm2 format PV /dev/sda10
>   Allocatability not supported by orphan lvm2 format PV /dev/sda11
>   Allocatability not supported by orphan lvm2 format PV /dev/sda12
>   Allocatability not supported by orphan lvm2 format PV /dev/sda13
>   Allocatability not supported by orphan lvm2 format PV /dev/sda14
>   0 physical volumes changed / 7 physical volumes not changed
>
> Any help in getting these partitions to allocate would help. It's
about
> 130Gigs of space.

They are orphans, meaning not in a volume group, so they can't be 
allocatable.  (Space is always allocated out of a volume group.)

You probably want to vgextend vg /dev/sda[89] /dev/sda1[0-4] before your

pvchange command.

-- 
Boyd Stephen Smith Jr.
bss03@volumehost.com
ICQ: 514984 YM/AIM: DaTwinkDaddy
-- 
gentoo-user@gentoo.org mailing list




This message contains information from SourceLink - Madison 
which may be confidential and privileged.  If you are not an 
intended recipient, please refrain from any disclosure, copying, 
distribution, or use of this information and note that such 
actions are prohibited.  If you have received this transmission 
in error, please notify by email crlittle@sourcelink.com.


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 32+ messages in thread
* RE: [gentoo-user] Gentoo LVM Newbie Question
@ 2006-02-23 23:29 CR Little
  2006-02-23 23:57 ` Boyd Stephen Smith Jr.
  0 siblings, 1 reply; 32+ messages in thread
From: CR Little @ 2006-02-23 23:29 UTC (permalink / raw
  To: gentoo-user

Apparently when I created my first drive pv. I missed something as well

I have /dev/sda8-14 which are not set allocatable

--- NEW Physical volume ---
  PV Name               /dev/sda14
  VG Name
  PV Size               8.93 GB
  Allocatable           NO
  PE Size (KByte)       0
  Total PE              0
  Free PE               0
  Allocated PE          0
  PV UUID               6Rw2Qm-V9ah-BlsX-Dl2V-vDSk-K5Fl-K8Jun3

I ran pvchange and got the following results.
pvchange -x y /dev/sda8 /dev/sda9 /dev/sda10 /dev/sda11 /dev/sda12
/dev/sda13 /dev/sda14
  Allocatability not supported by orphan lvm2 format PV /dev/sda8
  Allocatability not supported by orphan lvm2 format PV /dev/sda9
  Allocatability not supported by orphan lvm2 format PV /dev/sda10
  Allocatability not supported by orphan lvm2 format PV /dev/sda11
  Allocatability not supported by orphan lvm2 format PV /dev/sda12
  Allocatability not supported by orphan lvm2 format PV /dev/sda13
  Allocatability not supported by orphan lvm2 format PV /dev/sda14
  0 physical volumes changed / 7 physical volumes not changed

Any help in getting these partitions to allocate would help. It's about
130Gigs of space.


-----Original Message-----
From: Boyd Stephen Smith Jr. [mailto:bss03@volumehost.com] 
Sent: Thursday, February 23, 2006 4:35 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Gentoo LVM Newbie Question

On Thursday 23 February 2006 15:59, John Jolet <john@jolet.net> wrote
about 
'Re: [gentoo-user] Gentoo LVM Newbie Question':
> Remember, the fs cannot be mounted when you extend it.

LOL!

-- 
Boyd Stephen Smith Jr.
bss03@volumehost.com
ICQ: 514984 YM/AIM: DaTwinkDaddy
-- 
gentoo-user@gentoo.org mailing list




This message contains information from SourceLink - Madison 
which may be confidential and privileged.  If you are not an 
intended recipient, please refrain from any disclosure, copying, 
distribution, or use of this information and note that such 
actions are prohibited.  If you have received this transmission 
in error, please notify by email crlittle@sourcelink.com.


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 32+ messages in thread
* RE: [gentoo-user] Gentoo LVM Newbie Question
@ 2006-02-23 21:41 CR Little
  0 siblings, 0 replies; 32+ messages in thread
From: CR Little @ 2006-02-23 21:41 UTC (permalink / raw
  To: gentoo-user

The unmount/ resize2fs /dev/vg/home worked thanks!/
-----Original Message-----
From: Boyd Stephen Smith Jr. [mailto:bss03@volumehost.com] 
Sent: Thursday, February 23, 2006 3:36 PM
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Gentoo LVM Newbie Question

On Thursday 23 February 2006 14:58, "CR Little"
<crlittle@sourcelink.com> 
wrote about 'RE: [gentoo-user] Gentoo LVM Newbie Question':
> I'm using ext3

A: Because it reverses the logical progression of the conversation.
Q: Why shouldn't I top post?

Aaaaaaaanyway, in your case, you've got two options:
1) Search around like crazy for a ext2/3 online resizer -- I'm pretty
sure 
there's one available, but I don't have it on my system -- and use it.
2) unmount the filesystem, resize2fs /dev/vg/home, and mount the 
filesystem.

<troll subtype="filesystem"/>
Downtime sucks, in the future choose a real filesystem, like reiserfs.
</troll>

;)

-- 
Boyd Stephen Smith Jr.
bss03@volumehost.com
ICQ: 514984 YM/AIM: DaTwinkDaddy
-- 
gentoo-user@gentoo.org mailing list




This message contains information from SourceLink - Madison 
which may be confidential and privileged.  If you are not an 
intended recipient, please refrain from any disclosure, copying, 
distribution, or use of this information and note that such 
actions are prohibited.  If you have received this transmission 
in error, please notify by email crlittle@sourcelink.com.


-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 32+ messages in thread
* [gentoo-user] Gentoo LVM Newbie Question
@ 2006-02-23 20:22 CR Little
  2006-02-23 20:41 ` Boyd Stephen Smith Jr.
                   ` (3 more replies)
  0 siblings, 4 replies; 32+ messages in thread
From: CR Little @ 2006-02-23 20:22 UTC (permalink / raw
  To: gentoo-user

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

I'm having a problem with LVM. 

 

I setup a volume group it had 5.91G in Free PE/Size now states 0/0

  --- Volume group ---

  VG Name               vg

  System ID

  Format                lvm2

  Metadata Areas        3

  Metadata Sequence No  9

  VG Access             read/write

  VG Status             resizable

  MAX LV                0

  Cur LV                5

  Open LV               5

  Max PV                0

  Cur PV                3

  Act PV                3

  VG Size               55.91 GB

  PE Size               4.00 MB

  Total PE              14313

  Alloc PE / Size       14313 / 55.91 GB

  Free  PE / Size       0 / 0

  VG UUID               6615f4-SY2U-Ur67-mW3K-6BcT-7eJD-gH9Cqi

 

I have a logical volume inside that I tried to extend

  --- Logical volume ---

  LV Name                /dev/vg/home

  VG Name                vg

  LV UUID                vx9591-nXtD-0Yj6-F0ah-TjcH-5jEq-BGFIze

  LV Write Access        read/write

  LV Status              available

  # open                 1

  LV Size                10.91 GB

  Current LE             2793

  Segments               3

  Allocation             inherit

  Read ahead sectors     0

  Block device           253:1

 

It now states 10.91 GB for LV Size. This lv is mounted to /home when I
ran lvextend -L+5.91G /dev/vg/home it extended the lv but when you run
df-h it doesn't show an increased size.

 

/dev/mapper/vg-home   5.0G  1.6G  3.2G  33% /home

 

Apparently I missed a step and can't find any information on how to fix
this. Doesn't it need to know how to format and add the LV extention?

Help would be great.

 

Thanks.


This message contains information from SourceLink - Madison 
which may be confidential and privileged.  If you are not an 
intended recipient, please refrain from any disclosure, copying, 
distribution, or use of this information and note that such 
actions are prohibited.  If you have received this transmission 
in error, please notify by email crlittle@sourcelink.com.



[-- Attachment #2: Type: text/html, Size: 11828 bytes --]

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

end of thread, other threads:[~2006-02-28 14:02 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-23 20:58 [gentoo-user] Gentoo LVM Newbie Question CR Little
2006-02-23 21:36 ` Boyd Stephen Smith Jr.
  -- strict thread matches above, loose matches on Subject: below --
2006-02-24 14:40 CR Little
2006-02-23 23:29 CR Little
2006-02-23 23:57 ` Boyd Stephen Smith Jr.
2006-02-23 21:41 CR Little
2006-02-23 20:22 CR Little
2006-02-23 20:41 ` Boyd Stephen Smith Jr.
2006-02-23 20:59 ` Alexander Skwar
2006-02-23 21:15 ` Qv6
2006-02-23 21:59 ` John Jolet
2006-02-23 22:35   ` Boyd Stephen Smith Jr.
2006-02-24  6:03   ` Alexander Skwar
2006-02-25  3:35     ` Zac Slade
2006-02-25  4:13       ` John Jolet
2006-02-25  4:32         ` Zac Slade
2006-02-25  5:14           ` John Jolet
2006-02-25  6:52             ` Alexander Skwar
2006-02-25  6:44         ` Alexander Skwar
2006-02-25  6:43       ` Alexander Skwar
2006-02-25 11:24         ` Holly Bostick
2006-02-25 12:21           ` Alexander Skwar
2006-02-25  7:55       ` Jarry
2006-02-25 10:26         ` Alexander Skwar
2006-02-25 10:44           ` Jarry
2006-02-25 11:11             ` Alexander Skwar
2006-02-27  6:48             ` Dirk Heinrichs
2006-02-28  5:01               ` Zac Slade
2006-02-28  9:03                 ` Dirk Heinrichs
2006-02-28  9:23                   ` Zac Slade
2006-02-28  9:29                 ` Boyd Stephen Smith Jr.
2006-02-28 13:53                   ` Dirk Heinrichs

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