[Linux-cluster] EFI in CLVM

Randy Zagar zagar at arlut.utexas.edu
Fri Aug 12 17:17:43 UTC 2011


On Fri, Aug 12, 2011 at 10:14 AM, Paras Pradhan wrote:
> On Fri, Aug 12, 2011 at 7:39 AM, Alan Brown <ajb2 at mssl.ucl.ac.uk> wrote:
>
>> Paras pradhan wrote:
>>
>>> Hi,
>>>
>>> I have a 2199GB LUN assigned to my 3 node cluster. Since its >2TB, I 
>>> used
>>> parted to create the EFI GPT parittion. After that pvcreate and vgcreate
>>> were successfull but I get the following error when doing lvcreate.
>>>
>>>
>> If the entire LUN is a PV then you don't need to partition it.
>
>
> You mean don't use parted or any and directly proceed to pvcreate?
That's correct.  Pvcreate can be used on raw unpartitioned devices (e.g. 
pvcreate /dev/sdc).

If you try to do this on your disks, I'm pretty sure pvcreate will 
complain/abort because it detects an existing partition table...

Personally, I find GPT partition tables to be annoying... (a) because I 
have to use "parted", and (b) because they're so difficult to erase from 
a disk.

If you want to get rid of that GPT partition table, you'll have to zero 
out (dd if=/dev/zero ...) the first three blocks AND the entire last 
cylinder of your disk to obliterate all traces of it (there's a backup 
GPT partition table hiding in the last cylinder).

-RZ

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5434 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20110812/7cab655f/attachment.p7s>


More information about the Linux-cluster mailing list