µ±ÎÒÃÇÔÚ½øÐÐLinuxµÄϵͳ±¸·Ýʱ»áÓв»ÉÙÃüÁîÊÇÎÒÃDz»³£¼ûµÄ£¬ÔÚ±¾ÎÄÖУ¬´ó¼Ò»á¿´µ½¼¸¸ö·Ç³£ÊµÓõÄLinuxϵͳ±¸·ÝÃüÁî¡£Æäʵ×öLinuxϵͳ±¸·ÝµÄʱºòÒ²·Ö²»Í¬µÄÐÎʽ¡£
vdumpµÄ³£Ó÷½Ê½£º
1). ¶ÔÓÚÎļþÐèÒªÔÚÖ»¶Á·½Ê½Ï±¸·ÝµÄÎļþ£¬½¨Òé½øÈëµ¥Óû§£º
# inits »ò
>>>boot -fl s
2). ¶Ô²Ù×÷ϵͳ¸÷MOUNTµã½øÐб¸·Ý
3). # mount -a
# vdump -0uvf /dev/ntape/tape0_d1 /
# vdump -0uvf /dev/ntape/tape0_d1 /usr
# vdump -0uf /dev/ntape/tape0_d1 /var (Èç¹ývarÇøÊÇ×öΪµ¥¶ÀµÄÎļþ×Ó¼¯Ò²ÐèÒªµ¥¶À±¸·Ý)
-f : É豸ÎļþÃû ( ±ÈÈç DDS tape driver)
-u : ¸üÐÂ/etc/vdumpdates£¬ÓÃÓÚÔöÁ¿±¸·Ý
- v: ±¸·ÝÄÚÈÝÏêϸÁбí
- 0 : Á㼶±¸·Ý
/dev/ntape0_d1: ϵͳִÐÐÍê±Ïºó£¬´Å´øÍ£Ö¹ÔÚµ±Ç°Î»Ö㬿ɼÌÐøÍùϱ¸·Ý
/;/usr;/var : ¸÷ÎļþϵͳµÄMOUNTµã
4). ÆäËû˵Ã÷
a¡¢¸ÃÃüÁʽ¶Ôϵͳµ±Ç°mountedµÄÎļþϵͳ½øÐб¸·Ý
b¡¢±¸·Ý¼¶±ð˵Ã÷
±¸·Ý¼¶±ðÓÐ0¡«9¸ö¼¶±ð£¬Èç¹ûµ±Ç°ÏµÍ³²ÉÓÃÁ㼶±¸·Ý£¬µ±ÏÂÒ»´Î²ÉÓÃ5¼¶±¸·Ýʱ£¬ÏµÍ³½ö½«»á¶ÔÓб仯µÄÎļþ½øÐб¸·Ý¡£
ϵͳ»Ö¸´³£ÓÃÃüÁî--vrestore
»Ö¸´Õû¸ö²Ù×÷ϵͳ¸÷ÎļþϵͳµÄÄÚÈÝ£º
1). ×¼±¸¹¤×÷£º
a. ×¼±¸Ò»¸ö¿ÉÓõÄÐÂÓ²ÅÌ£¬ÈÝÁ¿´óСºÍÔÅÌ»ù±¾Ïà·û¡£
b. ×¼±¸Ò»Ì×Ó뱸·ÝϵͳÏàͬ°æ±¾µÄ°²×°¹âÅÌ
2). ÓòÙ×÷ϵͳ°²×°¹âÅÌÆô¶¯µ½°²×°½çÃ棬µ÷ÕûÐÂÓ²Å̸÷·ÖÇø´óСºó½øÈëµ¥Óû§¡£
* >>>boot dqa0 (dqa0 ΪSRMϵĹâÇýÉ豸ºÅ)
* °´Õý³£°²×°²½ÖèÑ¡×ÅOK--¡·NEXT--¡·NEXT---¡·NEXT--NEXT---NEXT-CUSTOMIZE FILE SYSSTEM LAYOUT£¨µ÷Õû·ÖÇø´óС£©--¡·QUIT OR SHELL WINDOW¡£
* ×¢Ò⣺ÔÚµ÷ÕûÐÂÓ²ÅÌ·ÖÇøʱһ¶¨ÒªÔÚÒýµ¼¿éÉÏÑ¡ÔñADVFS£¬²¢¶¨ÒåBÇøΪSWAP
3). ´´½¨²Ù×÷ϵͳµÄ¸÷Îļþϵͳ¡££¨ÈçϵͳÐÂÅÌΪ dsk0£©
mkfdmn /dev/disk/dsk0a root_temp £¨ ´´½¨ÎļþϵͳÓò£©
mkfset root_temp root £¨´´½¨Îļþ×Ó¼¯£©
mkfdmn /dev/disk/dsk0g usr_temp
mkfset usr_temp usr
mkfset usr_temp var (Ìõ¼þ£ºÔÚÔϵͳÖÐVARΪµ¥¶ÀµÄÎļþ×Ó¼¯)
×¢£ºÔڸ߼¶Îļþϵͳ´´½¨¹ý³ÌÖУ¬ÓòÃûÖ»Òª²»ºÍÔÀ´³åÍ»£¬ÃüÃûÊÇÈÎÒâµÄ¡£µ«¶ÔÎļþ×Ó¼¯ÃüÃû·½Ãæ×îºÃºÍÔÀ´Ò»Ö¡££¨ÒÔ±ÜÃâ²»±ØÒªµÄÐ޸Ť×÷£©
4). ²Ù×÷ϵͳ¸÷ÎļþϵͳµÄµÄ»Ö¸´
#mount root_temp#root /mnt
#cd /mnt
#vrestore -xvf /dev/ntape/tape0_d1 (»Ö¸´¸ÃÎļþϵͳÉÏËùÓÐÊý¾Ý)
#cd /
#umount /mnt
#mount usr_temp#usr /mnt
#cd /mnt
#vrestore -xvf /dev/ntape/tape0_d1
#cd /
#umount /mnt
#mount usr_temp#var /mnt £¨Ìõ¼þ£ºVARΪµ¥¶ÀµÄÎļþ×Ó¼¯£©
#cd /mnt
#vrestore -xvf /dev/ntape/tape0_d1
-f: É豸ÎļþÃû
-x: »Ö¸´´Å´øµ±Ç°±¸·ÝÊý¾Ý¶ÎÉϵÄËùÓÐÊý¾Ý
- v: ±¸·ÝÄÚÈÝÏêϸÁбí
5). Èç¹û»Ö¸´Ó²ÅÌÓ뱸·ÝÅÌÔÚϵͳÖÐÉ豸ÃûµÄ²»Í¬£¨È磺±¸·ÝÅÌΪdsk0,»Ö¸´ÅÌΪdsk1£©ÐèÒª×öÒÔÏÂÐ޸ģº
#mount root_temp#root /mnt
#cd /mnt/etc/fdmns
#cd root_domain
#rm *
#ln -s /dev/disk/dsk1a
#cd ..
#cd usr_domain
#rm *
#ln -s /dev/disk/dsk1g
#cd /mnt/etc
#vi sysconfigtab
½«swapdevice=/dev/disk/dsk0bÐÞ¸ÄΪswapdevice=/dev/disk/dsk1b
6). SHUTDOWNϵͳ£¬ÔÚSRMÏ£¬ÓÃÐÂÅÌÒýµ¼
»Ö¸´ÎļþϵͳÖÐijЩĿ¼»òÎļþ£º
#vrestore -if /dev/ntape/tape0_d1
(/) add vmunix genvmunix £¨ÔÚϵͳ¸ùÇø±¸·ÝÖÐÖ»»Ö¸´vmunixºÍgenvmunixÁ½¸öÎÄ ¼þ£©
£¨/£© extract (¿ªÊ¼»Ö¸´)
¶Ô¸ö±ð»òÈô¸É¸öĿ¼µ¥¶À»Ö¸´Í¬ÉÏ
²Ù×÷´Å´ø»úÐèҪעÒâµÄ¼¸¸öÎÊÌâ
´Å´ø»úÔÚ±¸·Ý¹ý³ÌÖÐÊǷֶμǼµÄ£¬ÔÚ»Ö¸´Ê±Ò»¶¨¿¼ÂÇ´Å´øµÄλÖÃÎÊÌâ¡£°´ÉÏ Êö±¸·ÝÀý×Ó£¬ÔÚÊý¾Ý´øÉÏÒ»¹²´´½¨ÁË3¶Î¶ÀÁ¢µÄÊý¾Ý±¸·ÝÐÅÏ¢£¨/;/usr;/var£©¡£ÒÔÏÂÃüÁî¿Éµ÷ÕûÊý¾Ý´øµÄλÖá£
#mt rewind (´Å´ø»ú»Ø¾í´Å´øµ½³õʼλÖÃ)
ÐèÒªµ¥¶À»Ö¸´/usrÎļþϵͳ»ò¸ö±ðÎļþÐÅÏ¢£º
#mt rewind
#mt fsf 1 ( Ìø¹ýµÚÒ»¸öÊý¾Ý±¸·Ý¶Î / )
Èç¹ûÒÔÉÏÐèÇó·¢ÉúÔÚ/varÉÏÔò£º
#mt rewind £¨Ìø¹ýÇ°Á½¸öÊý¾Ý±¸·Ý¶Î£©
#mt fsf 2
aaa0000306 ÓÚ 2014-05-01 03:09:42·¢±í:
ºÃ
cuiweixie ÓÚ 2011-03-31 22:28:59·¢±í:
¸´Ï°Ï£¡£¡£¡
rhel5 ÓÚ 2011-03-24 20:25:43·¢±í:
learning
zhoujie317 ÓÚ 2011-02-01 09:38:51·¢±í:
linuxºÃ¸´ÔÓ
laohuoji ÓÚ 2011-01-28 13:16:15·¢±í:
{:2_103:},¶¥
yandih ÓÚ 2011-01-15 12:44:16·¢±í:
ÊÕ²ØÀ²£¡
591394169 ÓÚ 2010-12-06 10:05:44·¢±í:
Linuxϵͳ±¸·ÝµÄ³£ÓÃÃüÁî½éÉÜ
lograss ÓÚ 2010-12-03 22:29:54·¢±í:
ѧϰÁË
sq101 ÓÚ 2010-11-28 23:46:36·¢±í:
Õâ¸öÖµµÃ¶¥¡£¶¥¶¥¶¥¶¥¶¥¶¥¶¥¶¥¶¥¶¥¶¥¶¥¶¥¶¥¶¥¶¥q):-s
BKZ ÓÚ 2010-11-26 14:48:57·¢±í:
ѧϰÊÕ²ØÁË
³µÔÚÐÐ ÓÚ 2010-11-11 16:59:56·¢±í:
O(¡É_¡É)OллLZ ѧϰÁË
jwywyj ÓÚ 2010-11-11 08:41:05·¢±í:
ѧϰ
kingwl88 ÓÚ 2010-11-01 16:30:22·¢±í:
Ö§³ÖÂ¥Ö÷£¬¶¥
mychengwen ÓÚ 2010-10-24 19:17:28·¢±í:
1# Dsucov
ÖµµÃѧϰ
µË®ÎÞºÛ ÓÚ 2010-10-24 02:10:37·¢±í:
ËäÈ»ÔÝʱ²»Ó㬻¹ÊÇÊÕ²ØÁË~
wuzhg888 ÓÚ 2010-10-17 10:08:43·¢±í:
ÊÜÓÃÁË£¬Ð»Ð»
nutra ÓÚ 2010-10-16 08:52:49·¢±í:
ѧϰÏÂ
wst021 ÓÚ 2010-10-16 07:22:33·¢±í:
ºÜÏêϸ£¬Ñ§Ï°Ñ§Ï°¡£