tech-kern archive

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

Re: LVM and 4K sectors



bsiegert%netbsd.org@localhost (Benny Siegert) writes:

># lvm pvs
>  PV         VG   Fmt  Attr PSize   PFree
>  /dev/rdk4       lvm2 --   465.75g 465.75g
>  /dev/rsd1a vg0  lvm2 a-   931.51g 100.20g

>The number of sectors is correct but it assumes that they are 512 bytes.

The LVM tools do not support correctly nonstandard sector sizes.


>How safe will my data be on this? Is it a terrible idea to mix two
>disks in a VG if one of them has 512-byte sectors and one 4K sectors?

The device mapper (kernel driver) will merge sizes so that the resulting
volume uses the larger of both sector sizes. No idea wether the LVM tools
can handle this.


-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index