tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY: IO problem with a cloned disk
@ 2000-02-03 10:38 John A. Vaccaro
  0 siblings, 0 replies; only message in thread
From: John A. Vaccaro @ 2000-02-03 10:38 UTC (permalink / raw)
  To: tru64-unix-managers

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@nabeth.cxo.dec.com
  Dr Thomas P. Blinn

Regards

John Vaccaro
Email: J.A.Vaccaro@herts.ac.uk

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-02-03 10:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-03 10:38 SUMMARY: IO problem with a cloned disk John A. Vaccaro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox