12
/dev/rdsk/c0t0d0s0.
2.3 Backup and Restore of Disk Unit
When backing up a disk unit, use the dd(1M) command. The following describes how to back up a disk unit
to a tape device using the dd(1M) command. The backup records physical properties such as disk space and
a number of cylinders, so it is only possible to restore to a disk having the same physical properties. The
prtvtoc(1M) command displays the physical properties as " Dimensions."
# prtvtoc XXXX <Return>
Specify the slice 2 of character special disk (/dev/rdsk/...) to be backed up such as "/dev/rdsk/c0t0d0s2"
with the format(1M) command.
2.3.1 Backup of Disk Unit
In the backup of a disk unit, the Solaris OS is booted from the Solaris 10 CD1 or Solaris 10 DVD. After
backing up, reboot the system.
1. Boot the Solaris OS from the CD in single-user mode.
ok boot cdrom -s <Return>
2. Back up the disk unit with the dd(1M) command.
Example: Backup to the "/dev/rmt/0."
# dd if=XXXX of=/dev/rmt/0 bs=64k <Return>
Specify the character special disk name (/dev/rdsk/c0t0d0s2) to be backed up such as "/dev/rdsk/..." with
the dd(1M) command. In this case, you must specify the "s2" as the entire disk.
2.3.2 Restore of Disk Unit
In the restore of a disk unit, the Solaris OS is booted from the Solaris 10 CD1 or Solaris 10 DVD. After
restoring, reboot the system.
1. Boot the Solaris OS from the CD in single-user mode.
ok boot cdrom -s <Return>
2. Restore the disk unit with the dd(1M) command.
Example: Restore from the "/dev/rmt/0."
# dd if=/dev/rmt/0 of=XXXX bs=64k <Return>
Specify the character special disk name (/dev/rdsk/c0t0d0s2) to be backed up such as "/dev/rdsk/..." with
the dd(1M) command. In this case, you must specify the "s2" as the entire disk.