[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Linux-cluster] EFI in CLVM



On Fri, Aug 12, 2011 at 10:14 AM, Paras Pradhan wrote:
On Fri, Aug 12, 2011 at 7:39 AM, Alan Brown <ajb2 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

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]