cloning a disk

From: Peter.Stern@weizmann.ac.il
Date: Thu Apr 25 2002 - 01:36:07 EDT


I used the following commands as single user to clone my system disk:
disklabel -z rz0
dd if=/dev/rrz8c of=/dev/rrz0c bs=1024k

This was a 9.1GB disk and dd took about 20-25 minutes and appeared to
be successful. Both / and /usr are AdvFS filesets. The system is
v4.0f pk#7. The new disk has the same disklabel as the system disk.

After going to multi-user I tried to mount the new disk:

# mount -t advfs -o rw root0#root /root0
root0#root on /root0: I/O error

# mount -t advfs -o rw usr0#usr /usr0
usr0#usr on /usr0: I/O error

The disks linked in /etc/fdmns:
# ls -l /etc/fdmns/root0
total 0

lrwxrwxrwx 1 root system 9 Apr 18 14:28 root0 -> /dev/rz0a
 ls -l /etc/fdmns/usr0
total 0
lrwxrwxrwx 1 root system 9 Apr 18 14:28 usr0 -> /dev/rz0g

What am I missing here?

Thanks,
Peter

Peter Stern
Chemical Physics Department
Weizmann Institute of Science
76100 Rehovot, ISRAEL

email: Peter.Stern@weizmann.ac.il
phone: 972-8-9342096
fax: 972-8-9344123



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:48:39 EDT