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?
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.
|All times are GMT -5. The time now is 07:36 PM.|