Copy a Disk using dd ....Solaris
---------------------------------------------------------------------------------------
1.
Make sure that the source disk and destination
disk have the same disk geometry.
2.
Check the UFS file systems on the disk to be
copied with the fsck utility.
3.
Make sure the system is in single-user mode when
copying a disk with the dd command.
4.
Create the /reconfigure file so that the system
will recognize the destination disk to be added when it reboots, if necessary.
5.
# touch /reconfigure
6.
# init 0
7.
Attach the destination disk to the system.
8.
ok boot -s
9.
Copy the source disk to the destination disk.
10.
# dd if=/dev/rdsk/device-name of=/dev/rdsk/device-name
bs=block-size
11.
fsck /dev/rdsk/device-name
12.
# mount /dev/dsk/device-name /mnt
13.
Change to the directory where the /etc/vfstab
file is located.
14.
# cd /mnt/etc
15.
Change the ctd no’s
16.
# umount /mnt
17.
# init 0
18.
# boot diskn –s
19.
# sys-unconfig
20.
# boot disk
No comments:
Post a Comment