【AIX 命令学习】加载与卸载文件系统!

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

上一篇:语音顶会Interspeech 论文解读|Investigation of Transformer based Spelling Correction Model for CTC-based End-to-End Mandarin Speech Recognition


下一篇:MySQL 高可用MMM架构