重庆思庄Oracle、Redhat认证学习论坛

标题: AIX下使用smit挂载光盘 [打印本页]

作者: monkeybird    时间: 2012-11-16 09:51
标题: AIX下使用smit挂载光盘

1、使用smit cdrfs命令进入光盘文件系统

# smit cdrfs
                                                     CDROM File Systems

Move cursor to desired item and press Enter.

  Add a CDROM File System
  Change / Show Characteristics of a CDROM File System
  Remove a CDROM File System

                            
F1=Help                        F2=Refresh                     F3=Cancel                      Esc+8=Image
Esc+9=Shell                  Esc+0=Exit                     Enter=Do   

 

 

2、选择Add a CDROM File System

                                             Add a CDROM File System

Type or select values in entry fields.
Press Enter AFTER making all desired changes.
 
                                                        [Entry Fields]
* DEVICE name                                          cd0                                                                  +
* MOUNT POINT                                        [/mnt]
  Mount AUTOMATICALLY at system restart?              no                                                                 +

                     
F1=Help                        F2=Refresh                     F3=Cancel                      F4=List
Esc+5=Reset                 Esc+6=Command            Esc+7=Edit                    Esc+8=Image
Esc+9=Shell                  Esc+0=Exit                     Enter=Do        

输入设备名称和挂载点,若不知道设备名称可按F4将出现以下界面:

                                                DEVICE name                                                                        
                        | Move cursor to desired item and press Enter.           |
                        |                                                                            |
                        |   cd0                                                                    |
                        |                                                                            |
                        | F1=Help                 F2=Refresh              F3=Cancel |
                        | Esc+8=Image         Esc+0=Exit              Enter=Do  |                       
                        | /=Find                   n=Find Next                             |

 

 

3、在完成第二步之后按回车键进行挂载,最后查看下面界面Command的状态检查是否挂载成功

                                                       COMMAND STATUS

Command: OK            stdout: no            stderr: no

Before command completion, additional instructions may appear below.


F1=Help                        F2=Refresh                     F3=Cancel                      Esc+6=Command
Esc+8=Image                Esc+9=Shell                    Esc+0=Exit                     /=Find
n=Find Next  

 

 

4、最后得mount命令,否则我们看不到光盘中的内容

# cd /mnt
# ls
# cd ..
# mount /mnt
#cd  /mnt
# ls
.Version      OSLEVEL       RPMS          image.data    ppc           usr
6100-05       README.aix    bosinst.data  installp      root
到此挂载成功。


作者: 郑全    时间: 2012-11-16 10:12

再用 df -g看看






欢迎光临 重庆思庄Oracle、Redhat认证学习论坛 (http://bbs.cqsztech.com/) Powered by Discuz! X3.2