Bug#688757: pvmove onto disk with different sector size hazardous

Ritesh Raj Sarraf rrs at debian.org
Tue Sep 25 13:59:54 UTC 2012


On Tuesday 25 September 2012 06:15 PM, Daniel Pocock wrote:
> Package: lvm2
> Version: 2.02.95-4
> Severity: severe
>
> I have marked this `severe' because it has a high probability of
> filesystem corruption and drives with 4096 byte sectors are likely to
> become much more widespread.
>
> I recently purchased a 3TB drive and created one big 3TB partition for lvm
>
> I then used pvmove to move some filesystems from my internal drive to
> the external drive.  As a test run, I was just moving filesystems that
> were mounted but with no open files.
>
> Many errors appeared during the pvmove operation
>
> I unmounted them all and did an fsck on all of them and they are all
> clean.  Mounting them again, some fail to mount, this error is in dmesg:
>
>   error: fsblocksize 1024 too small for hardware sectorsize 4096
>
> The old disk has 512 byte sectors and the new disk has 4096 byte sectors.
>
>
Please wait for the actual response from the maintainer (Bastian).

I just was curious and wanted to ask. Irrespective of what the physical
block sizes are, currently still the logical block sizes are reported
512 bytes. Right?
In that case, I am not sure why your file system is bailing out.

-- 
Ritesh Raj Sarraf | http://people.debian.org/~rrs
Debian - The Universal Operating System


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 897 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-lvm-maintainers/attachments/20120925/1cd94f1a/attachment.pgp>


More information about the pkg-lvm-maintainers mailing list