To Copy The Contents Of Non-Root File Systems Onto 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 Contents of Non-root File Systems onto the
New Boot Disk
1. Mount the file system onto the /mnt mount point.
This example shows the copying of the /home file system from slice 7 to the new
boot disk.
# mount /dev/dsk/c7t16d0 /mnt
2. Use the ufsdump(1M) and ufsrestore(1M) commands to copy the contents of
the file system from the temporary boot disk to the new boot disk.
# 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
#
3. Unmount the file system from the /mnt mount point.
# umount /mnt
4. Repeat
Step 1
through
contents to the new boot disk. When finished, go to
on page
32.
Step 3
as needed until you have copied all the file systems'
Installing, Connecting, and Testing the Host Bus Adapter
"To Update the vfstab File"
33

Advertisement

Table of Contents
loading

Table of Contents