Commands for mounting the optical drive and iso to the aix system
Source: Internet
Author: User
Commands for mounting the optical drive and iso to the aix system 1. create a folder for loading the optical drive # mkdir/cdrom2. mount the/dev/cdo optical drive device to/cdrom in the format of the cdrfs file system. under the folder # mount-rvcdrfs/dev/cd0/cdrom3, view the files in the optical drive # ls... commands for mounting the optical drive and iso to the aix system 1. create a folder for loading the optical drive # mkdir/cdrom2. mount the/dev/cdo optical drive device to/cdrom in the format of the cdrfs file system. under the folder # mount-rv cdrfs/dev/cd0/cdrom 3. View files in the optical drive # ls/cdrom4, and unmount the optical drive # unmount/cdrom. if the file cannot be detached, use # fuser-kxcu. /cdrom command to enable all users to exit using this optical drive device and then use the unmount command 5. the optical drive # lssrc-s cdromd // view the cdromd service # start Src-s cdromd // start the cdromd service # cdeject // pop up the optical drive ---------------------------------------------- The following is a logical volume attached to iso method 11, which is the same or larger than the ISO image. 2. add and edit the logical volume entry in the/etc/filesystems file and set vfs to cdrfs for example: # vi/etc/filesystems/isocd: dev =/dev/isocd vfs = cdrfs mount = false options = ro account = false or crfs-v cdrfs-p ro-d/dev/isolv-m/isodir3) create a mount point mkdir/iosdir4 for this LV) run the dd command to copy the iso images to the LV # dd if =/var/tmp/hacmp5.5.iso of =/dev/isolv bs = 2048 k 5) like mount CD-ROM mount/isolv # mount-rv cdrfs/dev/isolv/isodir method 2 mount: loopmount-I/tmp/ha55patch/hacmp5.5.iso-o "-V cdrfs-o ro"-m/tmp/testloopmount-I/tmp/tsm/TSM_AIX_AC_5.5.ISO-o "-V cdrfs- note the following when o ro "-m/tmp/testloopmount-I/TSM_AIX_Client_5.5.ISO-o"-V cdrfs-o ro "-m/tmp/testunmount: # fuser-cuk/mnt/test # unmount/mnt/test
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.