SUMMARY: IO problem with a cloned disk

From: John A. Vaccaro <J.A.Vaccaro_at_herts.ac.uk>
Date: Thu, 03 Feb 2000 10:38:37 +0000

Thanks to those who replied. The problem is now solved. I recloned the disk
and the new clone was error free. For the record my original question was:

>I have just cloned a disk (containing advfs) using dd for use as a boot
disk
>in another machine. This part went well. I put the cloned disk into the
>other machine and adjusted the /etc/fdmns links and the /etc/fstab entries.
>Running bcheckrc (or mount -a) to mount the file systems works ok for the
>root domain and the swap partition. But fails for the usr domain. I get
>the error message:
> usr_domain#usr on /usr: IO error
>I have checked the file domain with advscan and it looks ok. Any ideas
what
>I should do next?

Following suggestions I tried manual mounting the disk with
  mount -t advfs usr_domain#usr /usr
and got the same IO error message. I also tried
  /sbin/advfs/vfile 0 3 /dev/rrz16h > log
to check that I can read from one of the unmounted volumes. The file
produced (log) is the same size as that produced from the original disk. So
the usr_domain appeared to be accessible.

I regenerated the /etc/fdmns links with
   advscan -a -r
to be sure that I hadn't made an mistake there. But I still get the IO
error when I try to mount usr_domain.

I then tried
   scu -f /dev/rrz16c
with the option verify media and found no errors.

I put the drive back into the original machine and tried to mount it. It
again gave the IO error message. Finally I recloned it:
  disklabel -z /dev/rrz4c
  dd if=/dev/rrz0c of=/dev/rrz4c bs=512
The new clone was error free and I had no trouble mounting it!

Thanks to:
  Nikola Milutinovic
  alan_at_nabeth.cxo.dec.com
  Dr Thomas P. Blinn

Regards

John Vaccaro
Email: J.A.Vaccaro_at_herts.ac.uk
Received on Thu Feb 03 2000 - 10:48:56 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT