Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 02-03-2010, 04:44 AM   #1
LQ Newbie
Registered: Sep 2009
Posts: 9

Rep: Reputation: 0
LVM question

I have made linux raid array, named it md1 and it can be found under /dev/md1.

I have created single partition (whole disk) of type LVM (8e) and it can be found under /dev/md1/md1p1.

When I run: pvcreate /dev/md1/md1p1
I get this message: Device /dev/md1/md1p1 not found (or ignored by filtering).

But if I run pvcreate /dev/md1
Everything went OK. I can create volume group and logical groups after that.

I haven't found anything specificaly on net, except that partition for LVM to work should be of type 8e.

Does this doesn't have to be true when we use whole disk as a VG?

Should I expect any problems since this is going to be iSCSI target disk?

Old 02-03-2010, 02:33 PM   #2
Registered: Jul 2009
Location: Chicago Suburbs
Distribution: Crux, CentOS, RHEL, Ubuntu
Posts: 96

Rep: Reputation: 23
I wouldn't expect any problems. If you did pvcreate /dev/md1, it used the whole disc as LVM, which is not only OK, but preferable.

The only reason to partition a disc before putting LVM on it is when you need a physical /boot partition, like for grub or lilo.



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
LVM Question dcellis1950 Linux - General 7 11-12-2009 10:12 AM
LVM question sang_froid Linux - General 2 03-10-2009 11:25 AM
LVM question Linux - Server 3 02-20-2008 03:19 PM
Question about LVM Torr Linux - General 1 05-28-2006 08:36 AM
question about LVM an2ny_18 Linux - Software 3 03-12-2006 05:35 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:55 PM.

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