How to NFS Mount a cdrom Filesystem
来源:互联网 发布:小米台灯 知乎 编辑:程序博客网 时间:2024/05/01 22:28
Following are the steps required to mount a CD-ROM as a cdrom filesystem, export the NFS filesystem from the server and NFS mount the filesystem on the client. This document applies to AIX Versions 4.3 and above. On the server
On the client
Troubleshooting
On the server
- Check the status of portmap and the NFS daemons:
- Enter lssrc -s portmap.
- Enter lssrc -g nfs.
- If they are not active, start them by running startsrc -s portmap and then startsrc -g nfs.
- Mount the CD-ROM:
- Enter mkdir /cdrom to create a mount point, if one does not already exist.
- Load the CD into the CD-ROM drive.
- Enter smitty cdrfs.
- Select Add a CDROM File System.
- Select your device from the F4 list.
- Enter the mount point you just created for MOUNT POINT.
- If you want the filesystem to mount on a reboot, change Mount AUTOMATICALLY at system restart to yes.
NOTE: If you specify yes for Mount AUTOMATICALLY at system restart, you must have media in the CD-ROM drive when you reboot or the mount will fail. - Enter mount /cdrom.
- To add the filesystem for NFS exporting:
- Enter smitty mknfsexp.
- Enter the PATHNAME of the directory to export (for example, /cdrom).
- Change the MODE of export directory to read-only.
- Enter the HOSTS & NETGROUPS allowed client access.
- Enter HOSTS allowed root access.
- Press Enter to export the filesystem.
NOTE: If you are going to be installing on the client machine, you MUST enter the client name for HOSTS allowed root access.
- Verify that the filesystem is exported:
- Enter showmount -e and find it in the list.
On the Client
- Check the status of portmap and the NFS daemons:
- Enter lssrc -s portmap.
- Enter lssrc -g nfs.
- If they are not active, start them by running startsrc -s portmap and then startsrc -g nfs.
- Verify that the server has the filesystem exported:
- Enter showmount -e <server_name>.
NOTE: <server_name> will be the hostname of the server.
- Enter showmount -e <server_name>.
- Create the directory you will be using to access the software.
- Enter mkdir /cdrom.
- To NFS mount the filesystem on the client:
- Enter smitty mknfsmnt.
- Enter the PATHNAME of the mount point (for example, /cdrom).
- Enter the PATHNAME of the remote directory (for example, /cdrom).
- Enter the HOST where the remote directory resides.
NOTE: HOST will be the hostname of the server. - Change the MODE for this NFS file system to read-only.
- Press enter to NFS mount the filesystem.
On AIX 4.x BOS installation CD-ROMs and most LPP CD-ROMs, the install images are now located in /cdrom/usr/sys/inst.images. On some LPP CD-ROMs, the install images are located in /cdrom. To check which directory the install images are on, check for the existence of a .toc file in the directory. Once you have determined the directory with the .toc file, use the full pathname of the directory as your <input device> in SMIT when you perform your install.
Troubleshooting
Look for the following errors:
mount: 1831-011 access denied for ...If they occur, try the following suggestions:
mount: 1831-008 giving up on ...
- Make sure that the client's hostname and IP address are resolvable by the server. Also, make sure that the server's hostname and IP address are resolvable by the client. You can do so by running the following:
On the server:
host <client_hostname
>
host <client_ipaddress
>The output of these lines has to match EXACTLY.
On the client:
host <server_hostname
>
host <server_ipaddress
>The output of these lines has to match EXACTLY.
- On the client, enter netstat -in. If there is more than one network interface, make sure all IP addresses of the client are resolvable by the server. You can do this by running (on the server):
host <ipaddress
>Execute this command for each IP address listed in the netstat -in output.
- If you are still getting errors:
On the server, enter smitty rmnfsexp.
- Enter the PATHNAME of the exported directory (for example, /cdrom).
- Press Enter to remove the directory from the exports list.
- Enter umount /cdrom.
- Enter rmdir /cdrom.
- Return to step 1 of the section "On the server". If you still cannot get the CD-ROM NFS mounted, contact your AIX support center for further assistance.
- How to NFS Mount a cdrom Filesystem
- How to NFS Mount a cdrom Filesystem
- Android - How to mount NFS in emulator
- How to mount a xen image ?
- how to mount pc share via nfs for android
- How to create a filesystem on a file
- Hi3536 Mount NFS root filesystem tips
- use nfs to mount a folder from another machine
- 安装NFS ,LINUX - How To Set Up an NFS Mount on CentOS 6
- Introduction NFS, or Network File System, is a distributed filesystem protocol that allows you to m
- Install nfs filesystem to Ubuntu 9.10
- RHEL5.1 cdrom mount
- mount挂载cdrom
- yum mount cdrom
- How to programmatically clear the filesystem memory cache in C++ on a Linux system?
- fatal: Not a git repository (or any parent up to mount parent /media) Stopping at filesystem boundar
- Ubuntu 16.04 nfs mount to freebsd 10
- mount: mount to NFS server 'servtest' failed: timed out (retrying).
- javascript html radio 的 选择与取消
- qt的国际化(转)
- 测试
- [转]什么是WMI
- 硬盘文件丢失,启动报错ORA-01157
- How to NFS Mount a cdrom Filesystem
- 感人至深
- 解决FileZilla Server FTP服务器中文乱码问题
- mount 错误及 aix 文件共享
- 常用的正则表达式
- 体验了下人民搜索,写个体验报告
- dynamic_cast操作符的用法
- 在即时通讯领域可以和QQ抗争的产品(一)阿里巴巴:让人升值的即时通讯
- 关于“验证视图状态 MAC 失败”的解决方法