Volume Group creation
Stephen Liu
satimis at yahoo.com
Sat Aug 5 09:19:18 UTC 2006
Hi Alexander,
> $command 2>&1 | less
Noted with tks.
> > Did it again omiting HD partitioning here.
> >
> > # pvcreat /dev/hda2 && vgcreate VG /dev/hda2 && \
> >> lvcreate -L8G -nUbuntuRooot VG && lvcreate -L10g -nUbuntuHome VG
> && \
> >> lvcreate -L8g -nFC5Root VG && lvcreate -L10g -nFC5Home VG && \
> >> lvcreate -L15g -nDate VG
> > /dev/hda2: Size must exceed minimum of 1024 sectors.
> > Failed to setup physical volume "/dev/hda2"
>
> Hm. Why /dev/hda2 if there are no partitions?
Oh sorry, I have the HD partitioned, /dev/hda1 and /dev/hda2, but
omitting the steps indicated there.
Retried;
# pvcreate /dev/hda2 && vgcreate VG /dev/hda2 && \
> lvcreate -L5g -nUbuntuRoot && lvcreate -L5g -nUbuntuHome && \
> lvcreate -L5g -nFC5Root && lvcreate -L5g -nFC5Home && \
> lvcreate -L10G -nData VG 2>&1 | less
File descriptor 3 left open
File descriptor 4 left open
File descriptor 5 left open
File descriptor 6 left open
cant' initialize physical volume "/dev/hda2" of volume group "VG"
without -ff
~#
Others noted with tks
B.R.
SL
More information about the ubuntu-users
mailing list