【AIX 命令學習】載入與解除安裝檔案系統!

liuhaimiao發表於2015-08-09

ufserver[/]#mount  --檢視系統中已安裝的檔案系統
  node       mounted        mounted over    vfs       date        options     
-------- ---------------  ---------------  ------ ------------ ---------------
         /dev/hd4         /                jfs2   Aug 18 16:58 rw,log=/dev/hd8
         /dev/hd2         /usr             jfs2   Aug 18 16:58 rw,log=/dev/hd8
         /dev/hd9var      /var             jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /dev/hd3         /tmp             jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /dev/fwdump      /var/adm/ras/platform. jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /dev/hd1         /home            jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /proc            /proc            procfs Aug 18 16:59 rw             
         /dev/hd10opt     /opt             jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /dev/db2_tag     /db2_tag         jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /dev/db2_log     /db2_log         jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /dev/db2_backup  /db2_backup      jfs2   Aug 18 16:59 rw,log=/dev/loglv00
         /dev/db2data     /db2data         jfs2   Aug 18 16:59 rw,log=/dev/loglv00
         /dev/ora10g      /ora10g          jfs2   Sep 14 15:59 rw,log=/dev/loglv00
ufserver[/]#umount /dev/ora10g  --解除安裝/dev/ora10g
ufserver[/]#mount  再次檢視。
  node       mounted        mounted over    vfs       date        options     
-------- ---------------  ---------------  ------ ------------ ---------------
         /dev/hd4         /                jfs2   Aug 18 16:58 rw,log=/dev/hd8
         /dev/hd2         /usr             jfs2   Aug 18 16:58 rw,log=/dev/hd8
         /dev/hd9var      /var             jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /dev/hd3         /tmp             jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /dev/fwdump      /var/adm/ras/platform. jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /dev/hd1         /home            jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /proc            /proc            procfs Aug 18 16:59 rw             
         /dev/hd10opt     /opt             jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /dev/db2_tag     /db2_tag         jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /dev/db2_log     /db2_log         jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /dev/db2_backup  /db2_backup      jfs2   Aug 18 16:59 rw,log=/dev/loglv00
         /dev/db2data     /db2data         jfs2   Aug 18 16:59 rw,log=/dev/loglv00
ufserver[/]#mount -o bsy /dev/ora10g ---重新載入 /dev/ora10g

使用-o bsy 引數是保證在安裝檔案系統之前沒有程式或使用者使用安裝點目錄。 
ufserver[/]#mount
  node       mounted        mounted over    vfs       date        options     
-------- ---------------  ---------------  ------ ------------ ---------------
         /dev/hd4         /                jfs2   Aug 18 16:58 rw,log=/dev/hd8
         /dev/hd2         /usr             jfs2   Aug 18 16:58 rw,log=/dev/hd8
         /dev/hd9var      /var             jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /dev/hd3         /tmp             jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /dev/fwdump      /var/adm/ras/platform. jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /dev/hd1         /home            jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /proc            /proc            procfs Aug 18 16:59 rw             
         /dev/hd10opt     /opt             jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /dev/db2_tag     /db2_tag         jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /dev/db2_log     /db2_log         jfs2   Aug 18 16:59 rw,log=/dev/hd8
         /dev/db2_backup  /db2_backup      jfs2   Aug 18 16:59 rw,log=/dev/loglv00
         /dev/db2data     /db2data         jfs2   Aug 18 16:59 rw,log=/dev/loglv00
         /dev/ora10g      /ora10g          jfs2   Sep 14 16:00 rw,bsy,log=/dev/log

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/223653/viewspace-1766058/,如需轉載,請註明出處,否則將追究法律責任。

相關文章