Appendix
-21
B.2.4.3
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.
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.
3. Unmount the file system from the
/mnt
mount point.
4. Repeat Step 1 through Step 3 as needed until you have copied all the file systems’
contents to the new boot disk. When finished, go to Section B.2.4.2 “To Update the
vfstab
File” on page B-20.
# mount /dev/dsk/c7t16d0 /mnt
# 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
#
# umount /mnt
Содержание StorEdge X6767A
Страница 7: ...vii This page is intentionally left blank...
Страница 20: ......
Страница 24: ...6 Sun StorEdge 2G FC PCI Single Channel Network Adapter Installation Guide May 2002...
Страница 36: ...12 Sun StorEdge 2G FC PCI Single Channel Network Adapter Installation Guide May 2002...
Страница 68: ...24 Sun StorEdge 2G FC PCI Single Channel Network Adapter Installation Guide May 2002...