#286 Issue closed: Backup hangs on parted -s

Labels: support / question

ipiera opened issue at 2013-08-01 13:44:

`Hi,

I'm trying to backup a live Centos 5.2 system which is using a HP smart array. I'm not sure why, but I can see parted running trying to access /dev/hda. I thought it should be using /dev/cciss/c0d0 so I don't know where it get /dev/hda from! The result is rear -v mkbackup just hangs!!

fdisk -l shows:

Disk /dev/cciss/c0d0: 72.8 GB, 72833679360 bytes
255 heads, 63 sectors/track, 8854 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

           Device Boot      Start         End      Blocks   Id  System
/dev/cciss/c0d0p1   *           1          13      104391   83  Linux
/dev/cciss/c0d0p2              14        2213    17671500   8e  Linux LVM
/dev/cciss/c0d0p3            2214        5253    24418800   8e  Linux LVM

Can I force rear to use /dev/cciss/c0d0 ? or is there a better solution?
Thanks

Paul

gdha commented at 2013-08-02 07:56:

Could it be that /dev/hdais your CD-ROM drive?

ipiera commented at 2013-08-02 08:30:

Yes, you are correct. How can I stop rear from trying to access?
Thank you

ipiera commented at 2013-08-02 09:48:

Looking a dmesg I can see there is a problem with ide-cd ATAPI interface with repeated access and reset. Is there a way I can configure REAR to exclude /dev/hda from the disklay creation?
Thanks again.

ide-cd: cmd 0x28 timed out
hda: DMA timeout retry
hda: timeout waiting for DMA
hda: status timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: drive not ready for command
hda: ATAPI reset complete
ide-cd: cmd 0x28 timed out
hda: irq timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: ATAPI reset complete
end_request: I/O error, dev hda, sector 0
ide-cd: cmd 0x28 timed out
hda: irq timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: ATAPI reset complete
ide-cd: cmd 0x28 timed out
hda: irq timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: ATAPI reset complete
end_request: I/O error, dev hda, sector 0
end_request: I/O error, dev fd0, sector 0
end_request: I/O error, dev fd0, sector 0
ADDRCONF(NETDEV_CHANGE): tun0: link becomes ready
ipt_tcpmss_target: bad length (52 bytes)
ide-cd: cmd 0x28 timed out
hda: irq timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: ATAPI reset complete
ide-cd: cmd 0x28 timed out
hda: irq timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: ATAPI reset complete
end_request: I/O error, dev hda, sector 0
ide-cd: cmd 0x28 timed out
hda: irq timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: ATAPI reset complete
ide-cd: cmd 0x28 timed out
hda: irq timeout: status=0xd0 { Busy }
ide: failed opcode was: unknown
hda: ATAPI reset complete

ipiera commented at 2013-08-02 11:40:

Temporarily removed hd* from /sys/block/ search . Line 242 /usr/share/rear/layout/save/GNU/Linux/20_partition_layout.sh

I want to move to new virtual hardware under hyper-v. Since the underlying hardware is very different do you have any tips?
Thanks


[Export of Github issue for rear/rear.]