Re: Adding a disk to expand an existing logical volume

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

 



On Wed, May 19, 2010 at 05:28:28PM -0500, Ron Johnson wrote:
On 05/19/2010 11:24 AM, Michael Guntsche wrote:
On 2010.05.19 11:58:03 , Digimer wrote:
On 10-05-19 11:43 AM, kevin wrote:
Howdy,

(fdisk+mkfs+pvcreate+vgextend+lvextend) is the right way to go about adding

The mkfs isn't supposed to be there, just set the new drive's
partition to type '8e' (Linux LVM).
Or use the full device without any partition at all.


I wonder if this will have any adverse affects on drives with 4KB sectors?
it depends
on a disk with 4k sector, using the whole device is more likely to have
a correct alignment (0 is a multiple of 4k)

on a disk with 4k sector and the first sector shifted (some drives have
a jumper to achieve this, it might be called something like "XP
compatibility") using the whole device, or anything not aligned to
63x512byte will result in unaligned data.

afair recent kernels should expose the alignment and sector size under
/sys/block/..., (if the drive exposes that info and does not lie, that
is.) and fdisk/parted/lvm/md should correctly align data start.

On a personal note, i really despise partition tables, it is a broken
design from the early eighties, we should be able to move on. If you
must use a GPT partition, at least it has a backup block.

L.


--
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

_______________________________________________
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