LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 02-03-2010, 03:44 AM   #1
TheR_
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?


by
TheR
 
Old 02-03-2010, 01:33 PM   #2
kschmitt
Member
 
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.
 
  


Reply

Tags
lvm


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 09:12 AM
LVM question sang_froid Linux - General 2 03-10-2009 10:25 AM
LVM question tom.bokman@mcwa.com Linux - Server 3 02-20-2008 02:19 PM
Question about LVM Torr Linux - General 1 05-28-2006 07:36 AM
question about LVM an2ny_18 Linux - Software 3 03-12-2006 04:35 AM


All times are GMT -5. The time now is 03:35 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 Google+: linuxquestions
Open Source Consulting | Domain Registration