LinuxQuestions.org
Review your favorite Linux distribution.
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
 
LinkBack Search this Thread
Old 07-29-2010, 06:34 AM   #1
georgexd
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Rep: Reputation: 0
Problems with pvcreate to create a physical volume on RAID 1


Hi,

I am experiencing problems in creating a physical volume on RAID 1 system.

Here is what I did.

#/usr/sbin/pvcreate /dev/md0

the message reads:
"Device /dev/md0 not found (or ignored by filtering)."

The /dev/md0 has a partition type 8e for linux LVM

Can anyone enlighten me?

Thanks
 
Old 07-29-2010, 06:42 AM   #2
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 109Reputation: 109
what distor you are using?

provide some info.

Code:
fdisk -l
cat /etc/mdstat
 
Old 07-29-2010, 07:16 PM   #3
georgexd
LQ Newbie
 
Registered: Sep 2009
Posts: 6

Original Poster
Rep: Reputation: 0
I am using 64-bit REDHAT EL 5.

Below is what I get from the two suggested commands.

# fdisk -l
Disk /dev/sda: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 181930 1461248302+ fd Linux raid autodetect
/dev/sda3 181931 182401 3783307+ 8e Linux LVM

Disk /dev/sdb: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 181917 1461248271 fd Linux raid autodetect
/dev/sdb2 181918 182401 3887730 8e Linux LVM

Disk /dev/md0: 1496.3 GB, 1496318148608 bytes
2 heads, 4 sectors/track, 365312048 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Device Boot Start End Blocks Id System
/dev/md0p1 * 1 365312048 1461248190 8e Linux LVM

#cat /proc/mdstat

Personalities : [raid1]
md0 : active raid1 sdb1[1] sda2[0]
1461248192 blocks [2/2] [UU]

unused devices: <none>
 
Old 07-30-2010, 06:16 AM   #4
sem007
Member
 
Registered: Nov 2006
Distribution: RHEL, CentOS, Debian Lenny, Ubuntu
Posts: 638

Rep: Reputation: 109Reputation: 109
take a look this.

http://www.linuxquestions.org/questi...roblem-681460/
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with pvcreate to create a physical volume for RAID 1 georgexd Linux - General 1 07-29-2010 09:25 AM
Problems With LVM i cant create physical Volume msanguino Linux - Software 4 03-23-2009 06:12 PM
Fedora LVM volume group & Physical Volume resize problem gabeyg Fedora 1 05-14-2008 12:26 PM
lvm:didn't do pvcreate on partition, before adding it to volume group nocturna_gr Linux - General 3 03-11-2007 09:22 AM
LVM: How to create logical (physical) volume with extent sie 32 Mb consistgd Linux - Software 4 11-14-2006 06:03 PM


All times are GMT -5. The time now is 02:15 PM.

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