14
- Disk Setup
/dev/sd0a on / type ffs (local)
/dev/sd0h on /usr type ffs (local)
In this example, the root (/) filesystem resides physically on sd0a which indicates SCSI fixed disk 0, partition a.
The /usr filesystem resides on sd0h, which indicates SCSI fixed disk 0, partition h.
Another example of a more advanced mount table might be:
#
mount
/dev/sd0a on / type ffs (local)
/dev/sd0d on /var type ffs (local)
/dev/sd0e on /home type ffs (local)
/dev/sd0h on /usr type ffs (local)
In
this more advanced example, the root (/) filesystem resides physically on sd0a. The /var
filesystem resides on
sd0d, the /home filesystem on sd0e and finally /usr on sd0h.
To backup your machine you will need to feed dump the name of each fixed disk partition. Here is an example of
the commands needed to backup the simpler mount table listed above:
#
/sbin/dump -0au -f /dev/nrst0 /dev/rsd0a
#
/sbin/dump -0au -f /dev/nrst0 /dev/rsd0h
#
mt -f /dev/rst0 rewind
For the more
advanced mount table example, you would use something similar to:
#
/sbin/dump -0au -f /dev/nrst0 /dev/rsd0a
#
/sbin/dump -0au -f /dev/nrst0 /dev/rsd0d
#
/sbin/dump -0au -f /dev/nrst0 /dev/rsd0e
#
/sbin/dump -0au -f /dev/nrst0 /dev/rsd0h
#
mt -f /dev/rst0 rewind
You
can review the
dump(8)
man page to learn exactly what each command line switch does. Here is a brief
description of the parameters used above:
●
Do'stlaringiz bilan baham: