Undo the LVM config, wipe out any MBR or disklabels on the drive, then pvcreate the raw disk (/dev/sdb) it should be able to handle the whole 5.4TB.
I tried this but I'll try again tonight just in case I missed something the first time.
I didn't check what pvcreate did but vgcreate after that gave me 2TB volume group. Googling around it looks like there is 2TB limit and there should be some kernel parameters to tweak but I still can't get a clear answer.
Thanks Peter
Peter Blajev wrote:
Undo the LVM config, wipe out any MBR or disklabels on the drive, then pvcreate the raw disk (/dev/sdb) it should be able to handle the whole 5.4TB.
I tried this but I'll try again tonight just in case I missed something the first time.
I didn't check what pvcreate did but vgcreate after that gave me 2TB volume group. Googling around it looks like there is 2TB limit and there should be some kernel parameters to tweak but I still can't get a clear answer.
I believe there is a 2TB limit on fdisk MBR partition tables, and if one already exists on the disk then LVM will use it.
Do,
pvremove /dev/sdX
dd if=/dev/zero of=/dev/sdX bs=512 count=63
pvcreate /dev/sdX
Do a 'pvs' to list the pv and see it's size there.
When creating a vg there may be a limit on the total # of extents per vg, so you may have to increase the extent size from 4MB to 8 or 16.
-Ross
______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
On Friday 08 February 2008, Ross S. W. Walker wrote:
Peter Blajev wrote:
...
group. Googling around it looks like there is 2TB limit and there should be some kernel parameters to tweak but I still can't get a clear answer.
Only two (types) of 2T limit exists: 1) the driver or your storage limits to 2T (not much you can do...) 2) dos partition tables can by design not be larger than 2T (use either gpt or lvm on raw /dev/sdX)
When creating a vg there may be a limit on the total # of extents per vg, so you may have to increase the extent size from 4MB to 8 or 16.
There probably is a limit but I've done 80T in one vg with default c5 PE size so you're not likely to hit that with a <10T device...
/Peter
-Ross