[mythtv-users] Requesting help regarding mythtv.org
LVM documentation
Robert Kulagowski
bob at smalltime.com
Mon Dec 22 11:43:35 EST 2003
> # vgcreate --name VGforMyth -s 64 /dev/hda5
>
> # vgcreate --name VGforMyth -s 64m /dev/hda5
> vgcreate: unrecognized option `--name'
>
> I took a guess and ran
>
> # vgcreate VGforMyth -s 64m /dev/hda5
> vgcreate -- INFO: maximum logical volume size is 2
> Terabyte
> vgcreate -- doing automatic backup of volume group
> "VGforMyth"
> vgcreate -- volume group "VGforMyth" successfully
> created and activated
Yes, that's a doc bug. I'll update the HOWTO.
> I then considered the -- to be comments in the
> documentation so
No, that's wrong. The -- is a parameter seperator.
> # lvcreate video 750 VGforMyth
> lvcreate -- please enter either option -l or -L
>
> Didn't work. Next attempt
> # lvcreate --name video --size 750 VGforMyth
> lvcreate -- only 11 free physical extents in volume
> group "VGforMyth"
Yes, because 11 * 64MB (which was specified in the vgcreate line) is
704, which is pretty close to the "approx 700MB" you said in your
message. You don't have 750MB, you you've got 704MB.
> Running vgdisplay kicked back the following:
> # vgdisplay
<snip>
> Total PE 11
> Alloc PE / Size 0 / 0
> Does anyone have any tips or suggestions to get me
> through this process?
vgdisplay confirms that you have 11 total PE's, so make sure when you
create the LVM you use that.
# lvcreate -l 11 VGforMyth -n video
(You could also re-run the example lvcreate, but use the correct size)
More information about the mythtv-users
mailing list