Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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).
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.