[CentOS] lvm over software raid error

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

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
messages.


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.
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=152162
http://rhn.redhat.com/errata/RHSA-2005-514.html

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

/dev/md0
  /boot
  /

lvscan:
  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