Re: Adding a disk to expand an existing logical volume

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

 



On 05/19/2010 05:37 PM, kevin wrote:
> 
>> If I were you, I would not bother with partition(s). I will add the
>> whole disk to LVM.
> 
> 
> I intend for the entire disk to be used -- so I should just skip the fdisk
> step?

You can either create a partition that spans the entire disk or create
the PV directly on the whole-disk device.

Both approaches have their advantages; with a partition table you are
less likely to run into problems with (buggy) software that assumes the
disks are "unformatted" because they do not contain an MBR-format
partition table and handily initialises them for you. On the other hand
it's somewhat easier (at least with older tools) to get alignment
constraints right when creating things on the bare disk (although you
still need to make sure that the start of the data area of the PV is
aligned properly if you want to get the best performance).

Regards,
Bryn.

_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux