Problems With LVM i cant create physical Volume
I try to create to physical volume of the new disk partition's but a i can't. the produce follow this.
fdisk /dev/sdb press n to create new partition and create new primary partition , choose second partion and the default cilinder. then change type partion with t at new partion to LVM option "8e". then press p to show table partion and Device Boot Start End Blocks Id System /dev/sdb1 * 1 3750 30121843+ 83 Linux /dev/sdb2 3751 19457 126166477 8e Linux LVM But when a try create to Physical Volumen I can # pvcreate -vv /dev/sdb2 Setting global/locking_type to 1 File-based locking selected. Setting global/locking_dir to /var/lock/lvm Locking /var/lock/lvm/P_orphans WB /dev/sdb2: stat failed: No such file or directory /dev/sdb2: stat failed: No such file or directory Unlocking /var/lock/lvm/P_orphans Wiping cache of LVM-capable devices Wiping internal VG cache Locking /var/lock/lvm/P_orphans WB /dev/sdb2: stat failed: No such file or directory Device /dev/sdb2 not found (or ignored by filtering). Unlocking /var/lock/lvm/P_orphans What happend ??? when a try search this device with autocomplete i Cant ?? :C IS it posible the disc does not allow two o more partition type LVM. thxz. |
It complains "/dev/sdb2: stat failed: No such file or directory".
The first thing to do then is to "ls -l /dev/sdb2" (and even ls -l /dev/sdb*"). It may simply be that you don't have the special file of that name. This can occur if you just added the partition and and didn't reboot. |
Have the device-files actually been created after you've run fdisk?
Try this: ls /dev/sdb* Which distribution do you use? From what I remember udev should create the devices when after the partition-table is written, maybe you don't have udev (although you should have some strange or quite old distribution then). |
Thxs men ... Thxs
|
I resolve the problem reboot my system.
|
All times are GMT -5. The time now is 03:48 PM. |