* Re: [linux-lvm] lvextend Insufficient free space
@ 2007-01-25 9:03 Bernhard Hoelcker
0 siblings, 0 replies; 6+ messages in thread
From: Bernhard Hoelcker @ 2007-01-25 9:03 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 20302 bytes --]
On 1/11/07, David Tran <davidtt3@???> wrote:
> Thank for your help.
> My pvs:
> linux-server:/ # pvscan
> PV /dev/hdb1 VG gdata lvm2 [111.79 GB / 0 free]
> PV /dev/hde1 VG gdata lvm2 [279.46 GB / 40.00 MB free]
> PV /dev/hdf1 VG gdata lvm2 [153.38 GB / 153.38 GB free] (this is the
> new hd)
> Total: 3 [544.62 GB] / in use: 3 [544.62 GB] / in no VG: 0 [0 ]
> I think that it is enogh free space, because I add one more HD already.
> More over, vgdisplay show it has: Free PE / Size 39276 / 153.42 GB
It looks like i have the same problem:
uname -a
Linux xen0 2.6.18.2-34-xen #1 SMP Mon Nov 27 11:46:27 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux
lvm version
LVM version: 2.02.13 (2006-10-27)
Library version: 1.02.12 (2006-10-13)
Driver version: 4.7.0
--- Physical volume ---
PV Name /dev/md1
VG Name mirror
--- Volume group ---
VG Name mirror
Free PE / Size 2560 / 40,00 GB
--- Logical volume ---
LV Name /dev/mirror/data1
VG Name mirror
LV Size 78,02 GB
Segments 1
lvresize -t -l +100%FREE /dev/mirror/data1
Test mode: Metadata will NOT be updated.
Extending logical volume data1 to 118,02 GB
Insufficient free space: 7553 extents needed, but only 2560 available
I am using no striped lv. Thank you for any help,
Bernhard
============================================
Here some details:
uname -a
Linux xen0 2.6.18.2-34-xen #1 SMP Mon Nov 27 11:46:27 UTC 2006 x86_64 x86_64 x86_64 GNU/Linux
lvm version
LVM version: 2.02.13 (2006-10-27)
Library version: 1.02.12 (2006-10-13)
Driver version: 4.7.0
lvdisplay --maps
--- Logical volume ---
LV Name /dev/nomirror/xen-dom0
VG Name nomirror
LV UUID NvpDf7-yOZM-VhKM-AiY5-PR1i-CLEm-5dQELt
LV Write Access read/write
LV Status available
# open 0
LV Size 1,00 GB
Current LE 64
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:8
--- Segments ---
Logical extent 0 to 63:
Type linear
Physical volume /dev/hdc6
Physical extents 0 to 63
--- Logical volume ---
LV Name /dev/nomirror/xen-dom1
VG Name nomirror
LV UUID mps0tV-WabP-NUa9-5NXx-maSy-y6Gl-9zF46o
LV Write Access read/write
LV Status available
# open 0
LV Size 2,00 GB
Current LE 128
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:9
--- Segments ---
Logical extent 0 to 127:
Type linear
Physical volume /dev/hdc6
Physical extents 64 to 191
--- Logical volume ---
LV Name /dev/nomirror/xen-dom2
VG Name nomirror
LV UUID ZLSE2F-uDUg-aha7-dQGa-56Uh-eSBZ-DuVJud
LV Write Access read/write
LV Status available
# open 0
LV Size 2,00 GB
Current LE 128
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:10
--- Segments ---
Logical extent 0 to 127:
Type linear
Physical volume /dev/hdc6
Physical extents 192 to 319
--- Logical volume ---
LV Name /dev/xen/dom0
VG Name xen
LV UUID PKuPka-ZYLk-A05p-HRpN-0kCt-NaKT-f8uCSi
LV Write Access read/write
LV Status available
# open 1
LV Size 5,00 GB
Current LE 1280
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:3
--- Segments ---
Logical extent 0 to 1279:
Type linear
Physical volume /dev/dm-2
Physical extents 0 to 1279
--- Logical volume ---
LV Name /dev/xen/swap0
VG Name xen
LV UUID SmSAeK-5acl-34y1-xsqg-ct39-uViK-wBhu6f
LV Write Access read/write
LV Status available
# open 1
LV Size 4,50 GB
Current LE 1152
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:4
--- Segments ---
Logical extent 0 to 1151:
Type linear
Physical volume /dev/dm-2
Physical extents 1280 to 2431
--- Logical volume ---
LV Name /dev/xen/dom1_xenadmin
VG Name xen
LV UUID haSdts-9rK4-tTFr-liMc-UdnF-dshy-VF2E3c
LV Write Access read/write
LV Status available
# open 0
LV Size 10,00 GB
Current LE 2560
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:5
--- Segments ---
Logical extent 0 to 2559:
Type linear
Physical volume /dev/dm-2
Physical extents 2432 to 4991
--- Logical volume ---
LV Name /dev/xen/backup
VG Name xen
LV UUID aWiNtP-exZ3-W7ek-y39S-ZIfr-VLuU-Htl659
LV Write Access read/write
LV Status available
# open 0
LV Size 20,00 GB
Current LE 5120
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:6
--- Segments ---
Logical extent 0 to 5119:
Type linear
Physical volume /dev/dm-2
Physical extents 4992 to 10111
--- Logical volume ---
LV Name /dev/xen/data
VG Name xen
LV UUID 485oi3-VNrW-pdZm-nBUQ-wQer-iIlz-OqAbYH
LV Write Access read/write
LV Status available
# open 1
LV Size 30,00 GB
Current LE 7680
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:7
--- Segments ---
Logical extent 0 to 7679:
Type linear
Physical volume /dev/dm-2
Physical extents 10112 to 17791
--- Logical volume ---
LV Name /dev/mirror/root
VG Name mirror
LV UUID k3AhUV-knRG-Jm9h-qgyd-O81p-p5w0-Hd8Ij2
LV Write Access read/write
LV Status available
# open 0
LV Size 10,00 GB
Current LE 640
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:11
--- Segments ---
Logical extent 0 to 639:
Type linear
Physical volume /dev/md1
Physical extents 0 to 639
--- Logical volume ---
LV Name /dev/mirror/var
VG Name mirror
LV UUID 45I0C7-NKPg-IaSz-4rcm-Q2Eu-X06j-7BgL5U
LV Write Access read/write
LV Status available
# open 0
LV Size 5,00 GB
Current LE 320
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:12
--- Segments ---
Logical extent 0 to 319:
Type linear
Physical volume /dev/md1
Physical extents 640 to 959
--- Logical volume ---
LV Name /dev/mirror/usr_local
VG Name mirror
LV UUID uCC90y-R80M-OcvK-GqsK-UkMj-DBN6-RJrUUz
LV Write Access read/write
LV Status available
# open 0
LV Size 5,00 GB
Current LE 320
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:13
--- Segments ---
Logical extent 0 to 319:
Type linear
Physical volume /dev/md1
Physical extents 960 to 1279
--- Logical volume ---
LV Name /dev/mirror/tmp
VG Name mirror
LV UUID hq1Qxo-ISyb-deNQ-53XY-Sj2Y-DHas-tdvdDD
LV Write Access read/write
LV Status available
# open 0
LV Size 3,00 GB
Current LE 192
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:14
--- Segments ---
Logical extent 0 to 191:
Type linear
Physical volume /dev/md1
Physical extents 1280 to 1471
--- Logical volume ---
LV Name /dev/mirror/home
VG Name mirror
LV UUID OHheEX-yag2-eFwJ-uN7S-3gpo-52Uz-yh0ISE
LV Write Access read/write
LV Status available
# open 0
LV Size 5,00 GB
Current LE 320
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:15
--- Segments ---
Logical extent 0 to 319:
Type linear
Physical volume /dev/md1
Physical extents 1472 to 1791
--- Logical volume ---
LV Name /dev/mirror/data1
VG Name mirror
LV UUID 3AUXNd-w7ws-X0hb-nhWB-KNd2-XFF8-Nuiqig
LV Write Access read/write
LV Status available
# open 0
LV Size 78,02 GB
Current LE 4993
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:16
--- Segments ---
Logical extent 0 to 4992:
Type linear
Physical volume /dev/md1
Physical extents 1792 to 6784
pvdisplay
--- Physical volume ---
PV Name /dev/hdc6
VG Name nomirror
PV Size 37,28 GB / not usable 10,03 MB
Allocatable yes
PE Size (KByte) 16384
Total PE 2385
Free PE 2065
Allocated PE 320
PV UUID zw68YW-MKEf-gTH6-jc5g-EO2U-OhlB-oVSxq3
--- Physical volume ---
PV Name /dev/hdd6
VG Name nomirror
PV Size 37,28 GB / not usable 10,03 MB
Allocatable yes
PE Size (KByte) 16384
Total PE 2385
Free PE 2385
Allocated PE 0
PV UUID xOR6E7-4g7y-38EK-IPST-kEpd-VkKT-l9AlIg
--- Physical volume ---
PV Name /dev/dm-2
VG Name xen
PV Size 230,88 GB / not usable 1,50 MB
Allocatable yes
PE Size (KByte) 4096
Total PE 59104
Free PE 41312
Allocated PE 17792
PV UUID Q1zRYC-b2Ks-3ztt-mOLn-um8r-jYSz-zACCOk
--- Physical volume ---
PV Name /dev/md1
VG Name mirror
PV Size 146,03 GB / not usable 14,56 MB
Allocatable yes
PE Size (KByte) 16384
Total PE 9345
Free PE 2560
Allocated PE 6785
PV UUID rZEwPw-SpLS-bkAb-frgA-hmQa-dCfy-qsUZYc
vgdisplay
--- Volume group ---
VG Name nomirror
System ID
Format lvm2
Metadata Areas 2
Metadata Sequence No 14
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 0
Max PV 0
Cur PV 2
Act PV 2
VG Size 74,53 GB
PE Size 16,00 MB
Total PE 4770
Alloc PE / Size 320 / 5,00 GB
Free PE / Size 4450 / 69,53 GB
VG UUID RlRH66-9BdX-oI0I-X30z-V3fA-M09j-o2jXdf
--- Volume group ---
VG Name xen
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 7
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 5
Open LV 3
Max PV 0
Cur PV 1
Act PV 1
VG Size 230,88 GB
PE Size 4,00 MB
Total PE 59104
Alloc PE / Size 17792 / 69,50 GB
Free PE / Size 41312 / 161,38 GB
VG UUID m6DWFg-NNBX-5fbZ-b8XY-0ud5-fKLE-Rtt4bi
--- Volume group ---
VG Name mirror
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 12
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 6
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 146,02 GB
PE Size 16,00 MB
Total PE 9345
Alloc PE / Size 6785 / 106,02 GB
Free PE / Size 2560 / 40,00 GB
VG UUID IEu2nW-7tg5-iSyq-mU8Y-89Sr-yEsI-vpZu7f
lvdisplay
--- Logical volume ---
LV Name /dev/nomirror/xen-dom0
VG Name nomirror
LV UUID NvpDf7-yOZM-VhKM-AiY5-PR1i-CLEm-5dQELt
LV Write Access read/write
LV Status available
# open 0
LV Size 1,00 GB
Current LE 64
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:8
--- Logical volume ---
LV Name /dev/nomirror/xen-dom1
VG Name nomirror
LV UUID mps0tV-WabP-NUa9-5NXx-maSy-y6Gl-9zF46o
LV Write Access read/write
LV Status available
# open 0
LV Size 2,00 GB
Current LE 128
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:9
--- Logical volume ---
LV Name /dev/nomirror/xen-dom2
VG Name nomirror
LV UUID ZLSE2F-uDUg-aha7-dQGa-56Uh-eSBZ-DuVJud
LV Write Access read/write
LV Status available
# open 0
LV Size 2,00 GB
Current LE 128
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:10
--- Logical volume ---
LV Name /dev/xen/dom0
VG Name xen
LV UUID PKuPka-ZYLk-A05p-HRpN-0kCt-NaKT-f8uCSi
LV Write Access read/write
LV Status available
# open 1
LV Size 5,00 GB
Current LE 1280
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:3
--- Logical volume ---
LV Name /dev/xen/swap0
VG Name xen
LV UUID SmSAeK-5acl-34y1-xsqg-ct39-uViK-wBhu6f
LV Write Access read/write
LV Status available
# open 1
LV Size 4,50 GB
Current LE 1152
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:4
--- Logical volume ---
LV Name /dev/xen/dom1_xenadmin
VG Name xen
LV UUID haSdts-9rK4-tTFr-liMc-UdnF-dshy-VF2E3c
LV Write Access read/write
LV Status available
# open 0
LV Size 10,00 GB
Current LE 2560
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:5
--- Logical volume ---
LV Name /dev/xen/backup
VG Name xen
LV UUID aWiNtP-exZ3-W7ek-y39S-ZIfr-VLuU-Htl659
LV Write Access read/write
LV Status available
# open 0
LV Size 20,00 GB
Current LE 5120
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:6
--- Logical volume ---
LV Name /dev/xen/data
VG Name xen
LV UUID 485oi3-VNrW-pdZm-nBUQ-wQer-iIlz-OqAbYH
LV Write Access read/write
LV Status available
# open 1
LV Size 30,00 GB
Current LE 7680
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:7
--- Logical volume ---
LV Name /dev/mirror/root
VG Name mirror
LV UUID k3AhUV-knRG-Jm9h-qgyd-O81p-p5w0-Hd8Ij2
LV Write Access read/write
LV Status available
# open 0
LV Size 10,00 GB
Current LE 640
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:11
--- Logical volume ---
LV Name /dev/mirror/var
VG Name mirror
LV UUID 45I0C7-NKPg-IaSz-4rcm-Q2Eu-X06j-7BgL5U
LV Write Access read/write
LV Status available
# open 0
LV Size 5,00 GB
Current LE 320
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:12
--- Logical volume ---
LV Name /dev/mirror/usr_local
VG Name mirror
LV UUID uCC90y-R80M-OcvK-GqsK-UkMj-DBN6-RJrUUz
LV Write Access read/write
LV Status available
# open 0
LV Size 5,00 GB
Current LE 320
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:13
--- Logical volume ---
LV Name /dev/mirror/tmp
VG Name mirror
LV UUID hq1Qxo-ISyb-deNQ-53XY-Sj2Y-DHas-tdvdDD
LV Write Access read/write
LV Status available
# open 0
LV Size 3,00 GB
Current LE 192
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:14
--- Logical volume ---
LV Name /dev/mirror/home
VG Name mirror
LV UUID OHheEX-yag2-eFwJ-uN7S-3gpo-52Uz-yh0ISE
LV Write Access read/write
LV Status available
# open 0
LV Size 5,00 GB
Current LE 320
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:15
--- Logical volume ---
LV Name /dev/mirror/data1
VG Name mirror
LV UUID 3AUXNd-w7ws-X0hb-nhWB-KNd2-XFF8-Nuiqig
LV Write Access read/write
LV Status available
# open 0
LV Size 78,02 GB
Current LE 4993
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:16
lvresize -t -l +100%FREE /dev/mirror/data1
Test mode: Metadata will NOT be updated.
Extending logical volume data1 to 118,02 GB
Insufficient free space: 7553 extents needed, but only 2560 available
--
Bernhard Hölcker
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread* [linux-lvm] lvextend Insufficient free space
@ 2007-01-09 6:49 David Tran
2007-01-09 23:07 ` Dave Wysochanski
2007-01-11 1:41 ` roderick tapang
0 siblings, 2 replies; 6+ messages in thread
From: David Tran @ 2007-01-09 6:49 UTC (permalink / raw)
To: linux-lvm
[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]
Hi,
What wrong with my command line? Please help.
OR
This is a bug?
linux-server:/ # vgdisplay
--- Volume group ---
VG Name gdata
System ID
Format lvm2
Metadata Areas 3
Metadata Sequence No 5
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 3
Max PV 0
Cur PV 3
Act PV 3
VG Size 544.62 GB
PE Size 4.00 MB
Total PE 139424
Alloc PE / Size 100148 / 391.20 GB
Free PE / Size 39276 / 153.42 GB
VG UUID gROPCK-xUmS-Tk99-nTmp-S63F-otHE-9QJukD
-------------------------------------------------------------
/////// So I have 153.42 GB free space NOW
-------------------------------------------------------------
linux-server:/ # lvextend -L +100G /dev/gdata/priv
Extending logical volume priv to 177.80 GB
Insufficient free space: 45517 extents needed, but only 39276 available
Thank you.
[-- Attachment #2: Type: text/html, Size: 2696 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] lvextend Insufficient free space
2007-01-09 6:49 David Tran
@ 2007-01-09 23:07 ` Dave Wysochanski
2007-01-11 1:41 ` roderick tapang
1 sibling, 0 replies; 6+ messages in thread
From: Dave Wysochanski @ 2007-01-09 23:07 UTC (permalink / raw)
To: linux-lvm
On Mon, 2007-01-08 at 22:49 -0800, David Tran wrote:
> Hi,
> What wrong with my command line? Please help.
> OR
> This is a bug?
>
> linux-server:/ # vgdisplay
> --- Volume group ---
> VG Name gdata
> System ID
> Format lvm2
> Metadata Areas 3
> Metadata Sequence No 5
> VG Access read/write
> VG Status resizable
> MAX LV 0
> Cur LV 3
> Open LV 3
> Max PV 0
> Cur PV 3
> Act PV 3
> VG Size 544.62 GB
> PE Size 4.00 MB
> Total PE 139424
> Alloc PE / Size 100148 / 391.20 GB
> Free PE / Size 39276 / 153.42 GB
> VG UUID gROPCK-xUmS-Tk99-nTmp-S63F-otHE-9QJukD
> -------------------------------------------------------------
> /////// So I have 153.42 GB free space NOW
> -------------------------------------------------------------
> linux-server:/ # lvextend -L +100G /dev/gdata/priv
> Extending logical volume priv to 177.80 GB
> Insufficient free space: 45517 extents needed, but only 39276
> available
>
What is the output of these cmds:
uname -a; lvm version; lvdisplay --maps
It might be a bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] lvextend Insufficient free space
2007-01-09 6:49 David Tran
2007-01-09 23:07 ` Dave Wysochanski
@ 2007-01-11 1:41 ` roderick tapang
2007-01-11 7:07 ` David Tran
1 sibling, 1 reply; 6+ messages in thread
From: roderick tapang @ 2007-01-11 1:41 UTC (permalink / raw)
To: LVM general discussion and development
On 1/9/07, David Tran <davidtt3@gmail.com> wrote:
> Cur PV 3
> Act PV 3
> VG Size 544.62 GB
> PE Size 4.00 MB
> Total PE 139424
> Alloc PE / Size 100148 / 391.20 GB
> Free PE / Size 39276 / 153.42 GB
> VG UUID
> gROPCK-xUmS-Tk99-nTmp-S63F-otHE-9QJukD
> -------------------------------------------------------------
> /////// So I have 153.42 GB free space NOW
> -------------------------------------------------------------
> linux-server:/ # lvextend -L +100G /dev/gdata/priv
> Extending logical volume priv to 177.80 GB
> Insufficient free space: 45517 extents needed, but only 39276 available
is /dev/gdata/priv striped? if it is, it looks like the PVs don't have
enough PEs each to accommodate equal stripe distribution.
wha'ts the output of "pvs"?
--
roderick e. tapang, nclp
retapang at gmail dot com
(o_.' http://counter.li.org/
//\ ----------------------
V_/_ Linux User # 253842
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] lvextend Insufficient free space
2007-01-11 1:41 ` roderick tapang
@ 2007-01-11 7:07 ` David Tran
2007-01-11 8:51 ` roderick tapang
0 siblings, 1 reply; 6+ messages in thread
From: David Tran @ 2007-01-11 7:07 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 1826 bytes --]
Thank for your help.
My pvs:
linux-server:/ # pvscan
PV /dev/hdb1 VG gdata lvm2 [111.79 GB / 0 free]
PV /dev/hde1 VG gdata lvm2 [279.46 GB / 40.00 MB free]
PV /dev/hdf1 VG gdata lvm2 [153.38 GB / 153.38 GB free] (this is the
new hd)
Total: 3 [544.62 GB] / in use: 3 [544.62 GB] / in no VG: 0 [0 ]
I think that it is enogh free space, because I add one more HD already.
More over, vgdisplay show it has: Free PE / Size 39276 / 153.42 GB
Thank you.
On 1/10/07, roderick tapang <retapang@gmail.com> wrote:
>
> On 1/9/07, David Tran <davidtt3@gmail.com> wrote:
> > Cur PV 3
> > Act PV 3
> > VG Size 544.62 GB
> > PE Size 4.00 MB
> > Total PE 139424
> > Alloc PE / Size 100148 / 391.20 GB
> > Free PE / Size 39276 / 153.42 GB
> > VG UUID
> > gROPCK-xUmS-Tk99-nTmp-S63F-otHE-9QJukD
> > -------------------------------------------------------------
> > /////// So I have 153.42 GB free space NOW
> > -------------------------------------------------------------
> > linux-server:/ # lvextend -L +100G /dev/gdata/priv
> > Extending logical volume priv to 177.80 GB
> > Insufficient free space: 45517 extents needed, but only 39276
> available
>
> is /dev/gdata/priv striped? if it is, it looks like the PVs don't have
> enough PEs each to accommodate equal stripe distribution.
> wha'ts the output of "pvs"?
>
> --
> roderick e. tapang, nclp
> retapang at gmail dot com
>
> (o_.' http://counter.li.org/
> //\ ----------------------
> V_/_ Linux User # 253842
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
[-- Attachment #2: Type: text/html, Size: 3443 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [linux-lvm] lvextend Insufficient free space
2007-01-11 7:07 ` David Tran
@ 2007-01-11 8:51 ` roderick tapang
0 siblings, 0 replies; 6+ messages in thread
From: roderick tapang @ 2007-01-11 8:51 UTC (permalink / raw)
To: LVM general discussion and development
On 1/11/07, David Tran <davidtt3@gmail.com> wrote:
> Thank for your help.
> My pvs:
> linux-server:/ # pvscan
> PV /dev/hdb1 VG gdata lvm2 [111.79 GB / 0 free]
> PV /dev/hde1 VG gdata lvm2 [279.46 GB / 40.00 MB free]
> PV /dev/hdf1 VG gdata lvm2 [153.38 GB / 153.38 GB free] (this is the
> new hd)
> Total: 3 [544.62 GB] / in use: 3 [544.62 GB] / in no VG: 0 [0 ]
> I think that it is enogh free space, because I add one more HD already.
> More over, vgdisplay show it has: Free PE / Size 39276 / 153.42 GB
so /dev/gdata/priv is striped? you can check by running:
lvdisplay /dev/gdata/priv
and look for the value of Segments.
if its more than 1, it is sriped. and to resize it:
lvextend -L +100G -t -i1 /dev/gdata/priv /dev/hdf1
which will only use the free PEs from /dev/hdf1. the -t will only test
the process. if says it is ok, re-run the command w/o the "-t".
> Thank you.
>
--
roderick e. tapang, nclp
retapang at gmail dot com
(o_.' http://counter.li.org/
//\ ----------------------
V_/_ Linux User # 253842
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-01-25 9:05 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-25 9:03 [linux-lvm] lvextend Insufficient free space Bernhard Hoelcker
-- strict thread matches above, loose matches on Subject: below --
2007-01-09 6:49 David Tran
2007-01-09 23:07 ` Dave Wysochanski
2007-01-11 1:41 ` roderick tapang
2007-01-11 7:07 ` David Tran
2007-01-11 8:51 ` roderick tapang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).