[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] Re: [SOLVED] New lv cannot span pv's



On Tuesday 04 February 2003 21.36, Patrick Boutilier wrote:
> Does
>
> lvcreate -ntest -l1383 vgdata
>
>
> work ?
>

It did not.

wale:~ # lvcreate -ntest -l1383 vgdata
lvcreate -- not enough allocatable/free physical volume space in 
"vgdata"
lvcreate -- please check, if physical volumes are allocatable

I looked around little more and found this:

wale:~ # pvdisplay /dev/hda5
--- Physical volume ---
PV Name               /dev/hda5
VG Name               vgdata
PV Size               11.61 GB [24338412 secs] / NOT usable 3.99 MB 
[LVM: 134 KB]
PV#                   1
PV Status             available
Allocatable           NO
Cur LV                5
PE Size (KByte)       4096
Total PE              2970
Free PE               553
Allocated PE          2417
PV UUID               eQxblH-x1uS-bb9G-reYu-ocZo-QSOW-5j6QB0

I seem to have managed to turn off the allocatable status of one of the 
pv's. :-)

I changed it with "pvchange -xy /dev/hda5" and now it works.

Thanks for help.




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]