Re: LVM with YaST
- From: Chris Cox <ccox_nopenotthis@xxxxxxxxxxx>
- Date: Mon, 30 Oct 2006 12:13:15 -0600
houghi wrote:
Stephen Chadfield wrote:
houghi <houghi@xxxxxxxxxxxxxxxxxx> wrote:
I am experimenting a bit with LVM on my 10.0 system. Now wha I did wasIt won't automatically expand the size of any partitions contained
fist have just one partion on one drive in LVM. That one is backup and
is 123GB large. /dev/hdf3
Now I wanted to add another 37GB from another drive and partition. That
is /dev/hde2. When I look in YaST, I see the colume group systen, the
Size is 151.6GB and that looks just great.
However when I do a `df -h`, I get :
/dev/mapper/system-LVM
123G 111G 12G 91% /media/backup
So why does it not see the extra space?
within a volume group.
So how do I add extra volume to LVM?
After you have added the extra partition/disk to the volume group,
you can extend the logical volume and then you have to resize
the underlying filesytem.
Not sure about doing all of that via YaST, but easily done
from the command line... something like the following...
pvceate /dev/sdb7
vgextend system /dev/hde2
lvextend -L +37G /dev/system/LVM
(note.. you might not get all 37G, might choose +36G or +35G)
resize_reiserfs /dev/system/LVM
Adding new disks/partitions to a volume group simply adds
space to the pool from which logical volumes use. You can
then create new logical volumes or extend existing ones. Just
adding drive space to the volume group does NOT affect
the existing logical volumes.. you have to tell it what to
do with the extra volume group space.
.
- Follow-Ups:
- Re: LVM with YaST
- From: houghi
- Re: LVM with YaST
- References:
- LVM with YaST
- From: houghi
- Re: LVM with YaST
- From: Stephen Chadfield
- Re: LVM with YaST
- From: houghi
- LVM with YaST
- Prev by Date: Re: LVM with YaST
- Next by Date: Re: LVM with YaST
- Previous by thread: Re: LVM with YaST
- Next by thread: Re: LVM with YaST
- Index(es):
Relevant Pages
|