[CentOS] lvm over software raid error

Jesse Waters jesse.waters at gmail.com
Thu Oct 20 16:13:06 UTC 2005

Came across a strange problem,

I have a software raid1 with LV sitting on top. When I try to mirror
an existing LV to a new LV with the tar command I get these error

mount /dev/vg00/base.centos /mnt/orig
mount /dev/vg00/test /mnt/new
cd /mnt/orig
tar cf - ./|(cd /mnt/new; tar xf - )

... File shrank by 406815 bytes; padding with zeros
... Read error at byte 49152, reading 10240 bytes: Input/output error

Do I have data corruption?
If I removed the snapshots, will the padding errors disappear?

Looked at reference to these but not sure if they apply.

OS: CentOS release 4.1 (Final)
 updated to most current 4.1 release prior to 4.2 release
2 WD 40gb hd


  ACTIVE            '/dev/vg00/lv_swap' [512.00 MB] inherit
  ACTIVE   Original '/dev/vg00/base.centos' [5.00 GB] inherit
  ACTIVE            '/dev/vg00/osprey.swap' [768.00 MB] inherit
  ACTIVE   Snapshot '/dev/vg00/osprey' [5.00 GB] inherit
  ACTIVE   Snapshot '/dev/vg00/hornet' [5.00 GB] inherit
  ACTIVE            '/dev/vg00/hornet.swap' [416.00 MB] inherit
  ACTIVE            '/dev/vg00/test' [5.00 GB] inherit

Thanks in advance,
   Jesse Waters

More information about the CentOS mailing list