|
root(/) ÈÀÏ ½Ã½ºÅÛÀÌ ¼Õ»óµÇ¾î ½Ã½ºÅÛ ºÎÆÃÀÌ ¾ÊµÇ´Â °æ¿ì backup ¹Þ¾Æ ³õÀº data¸¦ »ç¿ëÇÏ¿© ¾Æ·¡¿Í °°ÀÌ º¹±¸ ÇÒ¼ö ÀÖ´Ù.
1. ½Ã½ºÅÛÀ» down ½ÃÅ°°í OS CD¸¦ CD-ROM drive¿¡ ³Ö´Â´Ù.
2. ¾Æ·¡¿Í °°ÀÌ CDROM À» ÀÌ¿ëÇÏ¿© single-user mode·Î ºÎÆÃÇÑ´Ù
ok boot cdrom -sw
3. Bourne shell prompt(#)°¡ ³ªÅ¸³ª¸é, /·Î »ç¿ëÇÏ´ø disk device¿¡ »õ·Î¿î ÈÀÏ ½Ã½ºÅÛÀ» ¸¸µç´Ù. /·Î »ç¿ëÇÏ´ø disk device°¡ /dev/dsk/c0t3d0s0ÀÎ °æ¿ì ¾Æ·¡¿Í °°ÀÌ ÇÑ´Ù.
# newfs /dev/rdsk/c0t3d0s0
4. »õ·Î¿î root file systemÀ» fsck¸í·ÉÀ» »ç¿ëÇÏ¿© Á¡°ËÇÑ´Ù.
# fsck /dev/rdsk/c0t3d0s0
5. root file systemÀ» /a·Î mountÇÑ´Ù.
# mount /dev/dsk/c0t3d0s0 /a
6. root ÈÀÏ ½Ã½ºÅÛÀ» backup ¹Þ¾Æ³õÀº tapeÀ» tape drive¿¡ ³Ö°í ¾Æ·¡ÀÇ ¸í·ÉÀ» ½ÇÇàÇÏ¿© restoreÇÑ´Ù.
# cd /a
# ufsrestore rvf /dev/rmt/0
7. restore°¡ ³¡³ª¸é "restore symbol table"À» Áö¿ì°í »õ·Î¸¸µç root partitionÀ» unmount ÇÑ´Ù.
# rm restoresymtable
# cd /
# umount /a
8. fsck ¸í·ÉÀ» »ç¿ëÇÏ¿© »õ root partitionÀ» ´Ù½ÃÇѹø Á¡°ËÇÑ´Ù.
# fsck /dev/rdsk/c0t3d0s0
9.¾Æ·¡ÀÇ ¸í·ÉÀ» »ç¿ëÇÏ¿© bootblockÀ» ¼³Ä¡ÇÑ´Ù.
# cd /usr/platform/`uname -i`/lib/fs/ufs (Solaris 2.5 ÀÌ»ó ¹öÁ¯ÀÎ °æ¿ì)
# cd /usr/lib/fs/ufs (Solaris 2.4 ÀÌÀü ¹öÁ¯ÀÎ °æ¿ì)
# installboot bootblk /dev/rdsk/c0t3d0s0
10. ½Ã½ºÅÛÀ» Àç ºÎÆÃÇÑ´Ù.
# reboot
|