Avaya Media Processing Server 500 Hardware Installation And Maintenance page 167

Table of Contents

Advertisement

verify the device file (/dev/ ....) swap is using. In the following example, c1t0d0s1 can be
omitted from the backup.
# swap -l
swapfile
/dev/dsk/c1t0d0s1
/opt/swap1
4. Mount the corresponding root slice from the backup drive determined in step
of
Preparing for Solaris Backup using clone.pl
# mount /dev/dsk/c1t1d0s0 /mnt
5. Create a tar exclude file that specifies the mounted file systems that are not tarred from root.
# cd / # \df | awk '{print $1}' > tarex
Escape the df with a preceding \ in case an alias is modifying the output behavior.
6. Edit the tarex exclude file to delete the line containing root. Do not exclude the preceding /.
7. Edit the tarex exclude file to contain the ./ directory prefix. The following is a sample of an
exclude file:
# cat /tarex
./usr
./proc
./dev/fd
./etc/mnttab
./mnt
./var
./var/run
./opt
8. Tar the root, excluding the mounted file systems.
# cd / # tar cvfX - tarex . | (cd /mnt; tar xfBp - )
9. Create the mount points, on the root backup slice, for the excluded directories. Determine
the directories to create from the column labeled Mounted on as shown in the following df
command output.
# df -k
Filesystem
/dev/dsk/c1t0d0s0 481561
/dev/dsk/c1t0d0s6 3008366 1596927 1351272 55% /usr
/proc
fd
mnttab
/dev/dsk/c1t0d0s4 963076
swap
/dev/dsk/c1t0d0s5 11878657 6181095 5578776 53% /opt
10. Based on the preceding list of mounted /dev/[x], run the following command to create mount
points on the backup root slice mounted on /mnt.
# mkdir -p /mnt/usr /mnt/var /mnt/opt /mnt/proc /mnt/etc/
mnttab /mnt/var/run
October 2014
dev
swaplo
blocks
136,1 16
819296
-
16
2032
kbytes
used
avail capacity Mounted on
304342 129063
0
0
0
0
0
0
0
0
0
324655 580637
3296408 16
3296392 1%
Avaya Media Processing Server 500 Hardware Installation and Maintenance
Comments? infodev@avaya.com
Alternate Solaris Backup Procedure
free
763744
2032
on page 156.
71% /
0%
/proc
0%
/dev/fd
0%
/etc/mnttab
36% /var
/var/run
4
on page 157
167

Advertisement

Table of Contents
loading

Table of Contents