[gentoo-user] vgcreate -- no valid physical volumes in command line

2003-12-18 Thread Valmor de Almeida
Hello list,

This is the first time I am installing gentoo. In the
past I've used RH and Debian. After getting a fresh
gentoo distribution I ran into a problem right at the
beginning of the installation steps.
When using lvm to create a volume group I get:

vgcreate vg /dev/ide/host0/bus0/target0/lun0/part3
vgcreate -- no valid physical volumes in command line

some outputs of previous commands follow below.
Any help appreciated. Thanks.

--
Valmor

vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- /etc/lvmtab and /etc/lvmtab.d successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume group

pvcreate /dev/hda3
pvcreate -- physical volume /dev/hda3 successfully created

ls -l /dev/hda3
lr-xr-xr-x  1 root root 33 Dec 18 15:43 /dev/hda3 - 
ide/host0/bus0/target0/lun0/part3

pvdisplay /dev/hda3
pvdisplay -- /dev/hda3 is a new physical volume of 55.51 GB

pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- no valid physical volumes found

fdisk /dev/hda

The number of cylinders for this disk is set to 7296.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1)software that runs at boot time (e.g., old versions of LILO)
2)booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 
FIDSK)

Command: p

Disk /dev/hda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot   Start  End  Blocks  Id  System
/dev/hda1*1   13   104391  83  Linux
/dev/hda214   50   297202+ 83  Linux
/dev/hda351 7296 58203495  83  Linux


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] vgcreate -- no valid physical volumes in command line

2003-12-18 Thread Jayson Garrell
On Thu, 2003-12-18 at 14:15, Valmor de Almeida wrote:

 /dev/hda351 7296 58203495  83  Linux
^
For a LVM partition it's type need to be 8e (LVM) not 83. Change it to
8e save out in fdisk, reboot and do your lvm commands again.

Jayson Garrell


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] vgcreate -- no valid physical volumes in command line

2003-12-18 Thread Valmor de Almeida
Thanks a lot. It works.
I am impressed with the prompt response/solution; 4 minutes.

--
Valmor

= Original Message From Jayson Garrell [EMAIL PROTECTED] =
On Thu, 2003-12-18 at 14:15, Valmor de Almeida wrote:

 /dev/hda351 7296 58203495  83  Linux
^
For a LVM partition it's type need to be 8e (LVM) not 83. Change it to
8e save out in fdisk, reboot and do your lvm commands again.

Jayson Garrell


--
[EMAIL PROTECTED] mailing list


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] vgcreate -- no valid physical volumes in command line

2003-12-18 Thread Jayson Garrell
On Thu, 2003-12-18 at 14:46, Valmor de Almeida wrote:
 Thanks a lot. It works.
 I am impressed with the prompt response/solution; 4 minutes.

Glad I could help.

Jayson Garrell


--
[EMAIL PROTECTED] mailing list