cloning a disk

From: <Peter.Stern_at_weizmann.ac.il>
Date: Thu, 25 Apr 2002 08:36:07 +0300 (IDT)

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_at_weizmann.ac.il
phone: 972-8-9342096
fax: 972-8-9344123
Received on Thu Apr 25 2002 - 05:36:37 NZST

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