LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 03-23-2009, 12:47 PM   #1
msanguino
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.

thxz.
 
Old 03-23-2009, 12:51 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,024
Blog Entries: 5

Rep: Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789Reputation: 789
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, 12:59 PM   #3
reptiler
Member
 
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, 01:06 PM   #4
msanguino
LQ Newbie
 
Registered: Mar 2009
Posts: 3

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

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


Reply


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 12:26 PM
LVM: How to create logical (physical) volume with extent sie 32 Mb consistgd Linux - Software 4 11-14-2006 06:03 PM
LVM -creating physical volume satimis Linux - General 2 08-10-2006 02:44 AM
LVM Physical Volume Lucky_Sevin Linux - Software 2 01-10-2006 11:44 AM
want to convert LVM physical volume to ext3 or vfs nikhil_damu Fedora 2 12-15-2005 12:16 AM


All times are GMT -5. The time now is 08:52 AM.

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