SUN PE2 Exam TIPS
in general only
o Study hardware specs on Sun Fire v20z, v210, v240, v440
o Remember ALOM commands
o Remember OBP commands
o Study Sun Fire V210, V240 and V440 (which device can remove without shut down the system and which device and remove only perform shut down)
p/s: few my collegue here certified already
[mood]
-2 posts in a day, im boring
Posted by
Syed .Z
Labels:
Unix OS Storage and Backup
/
Comments: (0)
Full System Backup on Solaris O/S
I make a reply on How-To-Do Full System Backup on ITTUTOR.NET forum. So for all sharing, i 'll post it here as a reference to others.
In this case if you want to dump root (/) ufsdump process will only dump slice0 only (/dev/dsk/c0t3d0s0 ), because other directories is in different target,slice and controller number. So for a full system backup on Solaris we must dump slice per slice using the device path name or dump using the directory name:
# ufsdump 0ucf /dev/rmt/0 / or
# ufsdump 0ucf /dev/rmt/0 /dev/rdsk/c0t3d0s0
To see the history of dumping process:
#cat /etc/dumpdates
quotes: aqustica la biorastive
I make a reply on How-To-Do Full System Backup on ITTUTOR.NET forum. So for all sharing, i 'll post it here as a reference to others.
Let say our partition info is like this :
bash-2.05# cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c0t3d0s2 - - swap - no -
/dev/dsk/c0t3d0s0 /dev/rdsk/c0t3d0s0 / ufs 1 no -
/dev/dsk/c0t4d0s0 /dev/rdsk/c0t4d0s0 /usr ufs 1 no -
/dev/dsk/c0t5d0s0 /dev/rdsk/c0t5d0s0 /var ufs 1 no -
/dev/dsk/c0t5d0s1 /dev/rdsk/c0t5d0s1 /export/home ufs 2 yes -
/dev/dsk/c0t3d0s1 /dev/rdsk/c0t3d0s1 /opt ufs 2 yes -
/dev/dsk/c0t4d0s1 /dev/rdsk/c0t4d0s1 /usr/openwin ufs 2 yes -
swap - /tmp tmpfs - yes -
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/dsk/c0t3d0s2 - - swap - no -
/dev/dsk/c0t3d0s0 /dev/rdsk/c0t3d0s0 / ufs 1 no -
/dev/dsk/c0t4d0s0 /dev/rdsk/c0t4d0s0 /usr ufs 1 no -
/dev/dsk/c0t5d0s0 /dev/rdsk/c0t5d0s0 /var ufs 1 no -
/dev/dsk/c0t5d0s1 /dev/rdsk/c0t5d0s1 /export/home ufs 2 yes -
/dev/dsk/c0t3d0s1 /dev/rdsk/c0t3d0s1 /opt ufs 2 yes -
/dev/dsk/c0t4d0s1 /dev/rdsk/c0t4d0s1 /usr/openwin ufs 2 yes -
swap - /tmp tmpfs - yes -
In this case if you want to dump root (/) ufsdump process will only dump slice0 only (/dev/dsk/c0t3d0s0 ), because other directories is in different target,slice and controller number. So for a full system backup on Solaris we must dump slice per slice using the device path name or dump using the directory name:
# ufsdump 0ucf /dev/rmt/0 / or
# ufsdump 0ucf /dev/rmt/0 /dev/rdsk/c0t3d0s0
To see the history of dumping process:
#cat /etc/dumpdates
quotes: aqustica la biorastive