Volume Group creation

Stephen Liu satimis at yahoo.com
Sat Aug 5 02:41:53 UTC 2006


Hi Alexander,

> > Whether tab /dev/hda2 with '8e' will be the solution, by running;
> 
> Nope. You /should/ set part. type to 8e. But you *MUST* create a
> "PV label" on the part. by running pvcreate
> 
>         pvcreate /dev/hda2
> 
> After that's done, you can "vgcreate VG /dev/hda2".

I got it done.  Tks.

# pvcreate /dev/hda2
File descriptor 3 left open
File descriptor 4 left open
File descriptor 5 left open
File descriptor 6 left open
Physical Volume "dev/hda2" Successfully
Volume group "VG Successfully created"


But unfortunately can't proceed further.

# lvcreate -L 8G -n UbuntuRoot VG
# lvcreate -L 8G -n /dev/hda2/VG/UbuntuRoot
# lvcreate -L 8G -n /dev/hda2/UbuntuRoot VG
etc. all failed.
displaying;
.....
......
OriginalLogicalVolume[Path]  [PhysicalVolumePath...]

Whether I need creating;
/dev/hda5 /  (for UbuntuRoot)
/dev/hda6 /home (for UbuntuHome)
/dev/hda7 swap
/dev/hda8 (umount) (for FC5Root)
/dev/hda9 (umount) (for FC5Home)
first.

TIA

B.R.
SL



> LVM doesn't care (much) about the part. types - it cares about
> the label. The partition type is only in so far important, as it
> allows (allowed?) Linux to automatically load the necessary modules
> and all that. Ie. it is not STRICTLY required (but it's a damn
> good idea to have a 8e part. type on a PV *G*).
> 
> Alexander Skwar
> -- 
> Too ripped.  Gotta go.
> 
> 
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> 





More information about the ubuntu-users mailing list