Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This 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.


  Search this Thread
Old 03-23-2009, 11:47 AM   #1
LQ Newbie
Registered: Mar 2009
Posts: 3

Rep: Reputation: 0
Unhappy 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.

Old 03-23-2009, 11:51 AM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,805
Blog Entries: 14

Rep: Reputation: 1069Reputation: 1069Reputation: 1069Reputation: 1069Reputation: 1069Reputation: 1069Reputation: 1069Reputation: 1069
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.
Old 03-23-2009, 11:59 AM   #3
Registered: Mar 2009
Location: Hong Kong
Distribution: Fedora
Posts: 184

Rep: Reputation: 41
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).
Old 03-23-2009, 12:06 PM   #4
LQ Newbie
Registered: Mar 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Thxs men ... Thxs
Old 03-23-2009, 05:12 PM   #5
LQ Newbie
Registered: Mar 2009
Posts: 3

Original Poster
Rep: Reputation: 0
I resolve the problem reboot my system.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Fedora LVM volume group & Physical Volume resize problem gabeyg Fedora 1 05-14-2008 11:26 AM
LVM: How to create logical (physical) volume with extent sie 32 Mb consistgd Linux - Software 4 11-14-2006 05:03 PM
LVM -creating physical volume satimis Linux - General 2 08-10-2006 01:44 AM
LVM Physical Volume Lucky_Sevin Linux - Software 2 01-10-2006 10:44 AM
want to convert LVM physical volume to ext3 or vfs nikhil_damu Fedora 2 12-14-2005 11:16 PM

All times are GMT -5. The time now is 01:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration