2 Intern

 • 

1.3K Posts

May 18th, 2008 08:00

I am not sure why "alignment needs to be set with LVM2" is really needed here.

fdisk and pvcreate/lvm are two separe disk partition management tool both write information to the disks.

Interms of raw disks giving to DBA , for what they will be used.? If they meant for ASM database then an asm header information is written to disks.

19 Posts

May 21st, 2008 12:00

I opened a ticket about it with emc and after a long discussion we came to the conclusion that the only time you need to deal with this is when you use a partition table because of it's 63 block size.
I don't ever use partition tables. Instead I just take the luns, add them to VG's and then create LV's. Then I put ext3 straight onto the LV without a partition table.
Since I use the entire LV there is no need for a partition table so I don't have to worry about the offset.

1 Message

March 29th, 2010 08:00

I still dont get it. In case of LVM2 w/o partition table, does the file system (ext3) in your case starts at block 0 of the LUN? If yes, then where does the LVM2 metadata (PV signatures and such) get written? For the sake of offset/alignment discussion LVM2 metadata serves the role similar to MSDOS MBR (parition table + boot loader), doesn't it?

No Events found!

Top