000-221 · Question #147
Which TWO groups of actions will create a CDROM file system for device cd0 and mount this on /cdfs? (Select 2)
The correct answer is B. Define cd0 mount point as /cdfs in file /etc/cdromd.conf startsrc -s cdromd D. crfs-vcdrfs-pro-d'cd0'-mVcdfs'. A CDROM filesystem on AIX can be established either by configuring the cdromd daemon or by using the crfs command to define a cdrfs-type filesystem entry.
Question
Which TWO groups of actions will create a CDROM file system for device cd0 and mount this on /cdfs? (Select 2)
Options
- Acdutil-s-kcd0/cdfs
- BDefine cd0 mount point as /cdfs in file /etc/cdromd.conf startsrc -s cdromd
- CDefine cd0 mount point as /cdfs in /etc/filesystems as vfs type jfs2 mount /cdfs
- Dcrfs-vcdrfs-pro-d'cd0'-mVcdfs'
- Emkfs-v/cdfs/dev/cd0
How the community answered
(48 responses)- A15% (7)
- B75% (36)
- C4% (2)
- E6% (3)
Why each option
A CDROM filesystem on AIX can be established either by configuring the cdromd daemon or by using the crfs command to define a cdrfs-type filesystem entry.
cdutil is not a valid AIX command for creating or mounting CDROM filesystems.
Defining the device and mount point in /etc/cdromd.conf and starting the cdromd daemon with 'startsrc -s cdromd' is a valid method - the daemon reads the configuration and automatically mounts cd0 at /cdfs.
CDROM devices require the cdrfs filesystem type, not jfs2 - defining a CDROM device with vfs type jfs2 is incorrect and will not mount the disc.
The crfs command with '-v cdrfs' specifies the CDROM filesystem type, '-p ro' sets the required read-only permission, '-d cd0' identifies the device, and '-m /cdfs' sets the mount point - this correctly creates the filesystem definition for mounting.
The mkfs command creates journaled filesystems on writable block devices and cannot be used to define a read-only CDROM filesystem for cd0.
Concept tested: Creating and mounting AIX cdrfs CDROM filesystem
Source: https://www.ibm.com/docs/en/aix/7.2?topic=c-crfs-command
Topics
Community Discussion
No community discussion yet for this question.