To Copy The Boot Block And Root File System Contents To The New Boot Disk - Sun Microsystems StorageTek PCI-X Enterprise Installation Manual

2 gb fc single port host bus adapter
Table of Contents

Advertisement

To Copy the Boot Block and Root File System Contents To
the New Boot Disk
1. Install the boot block on the root (/) file system of the new disk.
The following example uses the installboot(1M) command to install the boot
block. The boot block resides in the
/usr/platform/platform_name/lib/fs/ufs/bootblk directory. The example
shows invoking the uname command with the -i option between left single quotes
on the command line to specify the platform name.
# /usr/sbin/installboot /usr/platform/'uname -i'/lib/fs/ufs/bootblk \
/dev/rdsk/c7t16d0s0
For more information, see the instructions on how to install a boot block in the
Solaris system administration documentation.
2. Mount the root file system from slice 0 of the new boot disk onto the /mnt mount
point.
# mount /dev/dsk/c7t16d0s0 /mnt
3. Use the ufsdump(1M) and ufsrestore(1M) commands to copy the contents of
the root file system from the temporary boot disk to the root slice of the new boot
disk (on the /mnt mount point).
# ufsdump 0f - /dev/rdsk/c0t0d0s0 | ( cd /mnt; ufsrestore rf -)
DUMP: Writing 32 Kilobyte records
DUMP: Date of this level 0 dump: Tue 19 Feb 2002 02:44:35 PM PST
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/rdsk/c7t16d0s0 (hba2-81:/) to standard
output.
DUMP: Mapping (Pass I) [regular files]
DUMP: Mapping (Pass II) [directories]
DUMP: Estimated 1818082 blocks (887.74MB).
DUMP: Dumping (Pass III) [directories]
DUMP: Dumping (Pass IV) [regular files]
Warning: ./lost+found: File exists
DUMP: 88.77% done, finished in 0:01
DUMP: 1818046 blocks (887.72MB) on 1 volume at 1363 KB/sec
DUMP: DUMP IS DONE
#
Installing, Connecting, and Testing the Host Bus Adapter
31

Advertisement

Table of Contents
loading

Table of Contents