beautypg.com

3 backup and restore of disk unit, 1 backup of disk unit, 2 restore of disk unit – FUJITSU PRIMEPOWER B23Q8YA-G-02-F User Manual

Page 18: 3 backup, And restore of disk unit

background image

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

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

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

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

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

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.