Volume Group creation

Stephen Liu satimis at yahoo.com
Sat Aug 5 08:20:28 UTC 2006


Hi Alexander,

> What about the beginning? Did it have anything of interest?

I can't see the begining.  Screen moved too fast.


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"
* end *

I suppose the problem came from here ".... 1024 sectors."

Shall I delete everything and run;

dd if=/dev/zero of=/dev/hda bs=1024 count=1

to correct this problem first.


Besides what shall I put if I want to use the remaining space on last
LV, e.g. "lvcreate -L??? -nData VG"

Tks


B.R.
SL




More information about the ubuntu-users mailing list