Avaya Media Processing Server 500 Hardware Installation And Maintenance page 166

Table of Contents

Advertisement

Maintenance
AVAILABLE DISK SELECTIONS:
0 c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
1 c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
If the system disk and backup disk are not the same type, then do not use dd. Instead use tar as
described in the section, "Entire drive backup using tar".
1. Halt all applications and go into single user mode. Run the reconfigure boot command to
ensure that all device files are created for the currently attached disks.
# halt ok> boot -rs
2. Execute the dd command using slice slice2 to copy the entire disk. The if (input file) is the
system drive and the of (output file) is the backup drive. The dd command takes time to
complete, especially if the drive size is large. The number of records in and out vary
depending on drive size.
# dd if=/dev/rdsk/c1t0d0s2 of=/dev/rdsk/c1t1d0s2 bs=512k 17518+1 records in 17518+1
records out
3. Check the backed up file system.
# fsck /dev/rdsk/c1t1d0s2
Backing Up the Entire Drive Using tar
tar archives files from one file system to another. It does not remove files from the destination file
system that no longer exist in the source file system. Use the newfs command on the backup slice
to remove the entire contents to prepare for a new tar backup. All mounted slices can be tarred the
same way, except the root file system. Root contains mounted slices, which must be excluded
during the tar.
1. Terminate any applications using files you want to back up.
2. Use the format command to see the partition table sizes for the system and backup disks.
Make sure the backup disk is formatted and partitioned the same size as the system disk.
For each slice formatted, except the swap slice, execute newfs to create a mountable ufs.
Use newfs to initialize and delete existing contents on the backup slice.
# newfs /dev/rdsk/c1t1d0s0
Do not execute newfs on the backup swap slice, which is usually slice 1.
3. Use the df command to verify where the slices are mounted.
# df -k
Filesystem
/dev/dsk/c1t0d0s0 481561
/dev/dsk/c1t0d0s6 3008366 1596927 1351272 55%
/proc
fd
mnttab
/dev/dsk/c1t0d0s4 963076
swap
/dev/dsk/c1t0d0s5 11878657 6181095 5578776 53%
As shown in the preceding sample, you can back up slices 0, 6, 4, and 5. Ignore file
systems, such as proc, fd, mnttab, and swap that are temporary memory locations valid
during the boot. If Swap is part of slice1, it does not need to be backed up. Use swap -l to
Avaya Media Processing Server 500 Hardware Installation and Maintenance
166
kbytes
used
avail capacity Mounted on
304342 129063
0
0
0
0
0
0
0
0
0
324655 580637
3296408 16
3296392 1%
Comments? infodev@avaya.com
71%
/
/usr
0%
/proc
0%
/dev/fd
0%
/etc/mnttab
36%
/var
/var/run
/opt
October 2014

Advertisement

Table of Contents
loading

Table of Contents