LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 11:47 AM   #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, 11:51 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 7,831
Blog Entries: 15

Rep: Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669Reputation: 1669
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
reptiler
Member
 
Registered: Mar 2009
Location: Hong Kong
Distribution: Fedora
Posts: 184

Rep: Reputation: 42
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
msanguino
LQ Newbie
 
Registered: Mar 2009
Posts: 3

Original Poster
Rep: Reputation: 0
Thxs men ... Thxs
 
Old 03-23-2009, 05: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 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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:50 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration