1. | You are the Solaris administrator for your company. You are planning on creating a PCFS file system on a local device named c0t0d0s4. Which of the following commands should you execute?
|
|
2. | You are the Solaris administrator for your network. One of your servers is not mounting a file system automatically at boot, even though it should. Which file do you check to see whether this is configured properly?
|
|
3. | You are the Solaris administrator for your company. You will be formatting a new hard disk and creating a file system on it. If you use the default options when creating the file system, which file system will be used?
|
|
4. | You are the Solaris instructor for your company. When describing file structure to a group of students, which of the following items do you tell them stores a file's name?
|
|
5. | You are the Solaris server administrator for your company. You want to create a UFS file system on a device named c0t0d0s5. Which of the following commands should you use?
|
|
6. | Which of the following are valid types of file systems supported in Solaris 9? (Choose all that apply.)
|
|
7. | You are the Solaris administrator for your company. One of your users has inserted a floppy disk into his machine, but he cannot seem to access the files on the disk. What do you tell the user to do in order to mount the floppy disk?
|
|
8. | You are the Solaris server administrator on your network. You have just created a new file system on a local hard disk. Which of the following commands can you use to verify the creation of the local file system?
|
|
9. | You are the Solaris administrator for your network. You are going to mount a new local file system on one of your servers. The file system is a UFS file system, will have logging enabled, and will be able to store files larger than 2GB in size. The mount point for the /dev/dsk/c0t3d0s2 device will be /trainers. Which of the following commands should you execute to mount this file system?
|
|
10. | You are the Solaris administrator for your network. On all your servers, you have specified a logical block size of 8KB and the default block fragment size. You are going to store a file that is 9KB in length. Which of the following accurately describes how the file is stored?
|
|
11. | You are the Solaris administrator for your company. Because one of your workstations is constantly running low on physical memory, it's required to use virtual memory. Which file system is being used when the computer accesses virtual memory?
|
|
12. | You are the Solaris administrator for your network. You are presented with the following information from an /etc/vfstab file, taken from one of your workstations:
# cat /etc/vfstab #device device mount FS fsck mount mount #to mount to fsck point type pass at boot options # fd - /dev/fd fd - no - /proc - /proc proc - no - /dev/dsk/c0t0d0s1 - - swap - no - /dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0 / ufs 1 no - /dev/dsk/c0t0d0s7 /dev/rdsk/c0t0d0s7 /files ufs 2 yes - swap - /tmp tmpfs - yes - Based on the information presented, which of the following statements are true? (Choose all that apply.)
|
|
13. | You are the Solaris administrator for your network. You need to find a list of all currently mounted file systems on one of your servers. Which file holds this information?
|
|
14. | You are the Solaris administrator for your company. Your root file system has a directory named /acctdocs, which contains three files and one subdirectory. You execute the following command:
# mount /dev/rdsk/c0t0d0s4 /acctdocs Which of the following statements is true?
|
|
15. | You are the Solaris administrator for your company. For security reasons, your company wants to disable the use of SetUID on the /app02 directory, which is the mount point for the /dev/dsk/c0t1d0s5. The file system is currently unmounted. Which command should you execute to mount the device with the required option?
|
|
16. | You are the Solaris network manager for your company. One of your developers has just had a second CD-ROM drive installed into her workstation. She is attempting to access files located on a CD-ROM in the second drive but cannot seem to locate them. Where should you tell her to look?
|
|
17. | You are the network administrator for your company. You are going to create a file system on a CD-ROM and you want that CD-ROM to work in Windows-based PCs. Which file system should you create on that CD-ROM?
|
|
18. | You are a Solaris administrator for your company. You recently unmounted two file systems to perform complete backups. Now you want to mount them as easily as possible. Another administrator suggests using the mountall command. Which of the following statements accurately describes the function of the mountall command?
|
|
19. | Which of the following types of blocks contains the size of the file system, the disk's VTOC, and the file system state flag?
|
|
20. | You are the Solaris administrator for your company. One of your network users has recently had an Iomega Zip drive installed in her machine so she can back up critical project files personally. She has inserted the Zip disk, copied the necessary files to the disk, and now needs to remove the disk from the drive. She knows that Zip drives do not have a manual eject button. Based on a default device configuration, what command do you tell her to type to eject the Zip disk?
|
|
Answers
1. | D. If you wish to create a file system that's anything other than UFS, you must use the mkfs -F command. Also, when using mkfs, like newfs, you must supply the raw disk name. Raw device names are located in the /dev/rdsk directory. |
2. | D. The /etc/vfstab (virtual file system table) file maintains a list of known file systems that are to be mounted during the boot process, or if the mountall command is issued. |
3. | B. The default file system for hard disks in Solaris 9 is the UNIX File System (UFS). UDF is used for DVD-ROMs, PCFS for floppy disks, HSFS for CD-ROMs, and NFS for distributed file systems. |
4. | D. The directory stores filenames. Inodes store critical information about files but do not store filenames. The superblock contains critical file system information, not data about individual files. Data blocks store data belonging to files, but not filenames. |
5. | A. The newfs command is used to create file systems. When using the newfs command, you need to supply the raw device name. Raw device names are located in the /dev/rdsk directory. |
6. | A, C, E. The UFS, NFS, and UDF file systems are all supported in Solaris 9. VFS and DFS are not valid file systems. FAT is technically supported in Solaris, but it's implemented as PCFS. |
7. | D. The volcheck command makes volume manager scan removable disk drives (floppy disk drives and/or Jaz and Zip drives) for new disks. After volcheck is run, the user's files should be in the /floppy directory. |
8. | C. The fsck command can be used to verify file system creation, as well as check the file system's consistency. The newfs and mkfs commands are for creating file systems. The fsdb command will debug an existing file system. |
9. | A. The -o option allows you to specify UFS-specific options such as logging and enabling large file storage. The -r option is not called for, because this would make the file system read-only. When mounting a file system, the device is listed before the mount point. Therefore, the first answer is the correct choice. |
10. | A. The file system will attempt to optimize space as much as possible. Therefore, one entire block will be used, and the rest of the file will be stored in a logical block fragment. As nice as it would be, block fragments are not allocated dynamically by the file system. They are created when the file system is created. Therefore, the last answer is incorrect. |
11. | A. When a computer uses virtual memory, the process of moving information into and out of virtual memory is called swapping. In Solaris, the swap space is part of the SWAPFS file system. TMPFS is another valid file system, but it's used for temporary file storage, not as additional memory. VMFS does not exist. |
12. | B, C. The root file system is always automatically mounted during the boot process. It has a no value for mount at boot only because the kernel mounts the file system before mountall is run to mount all other file systems. The device /dev/dsk/c0t0d0s7 has the mount point of /files. Because the fsck pass value is higher than 0 for /dev/rdsk/c0t0d0s0 and /dev/dsk/ rc0t0d0s7, they will both be automatically checked by fsck at boot. |
13. | B. The /etc/mnttab file contains information on all mounted file systems. The /etc/inittab file defines the initial boot state for the system. The /etc/vfstab file lists file systems that are to be mounted at boot. The /etc/mount file does not exist by default. |
14. | D. If you mount a file system into a directory that contains files and/or subdirectories, those files and subdirectories will not be available until the file system is unmounted. There is no permanent damage done to the existing files or subdirectories. |
15. | C. The -o option enables you to specify UFS-specific options such as disabling the use of SetUID. When mounting a file system, the device is listed before the mount point. Therefore, the third answer is the correct choice. |
16. | B. The second CD-ROM drive has the device name /cdrom/cdrom1. She could also access the second CD-ROM as /cdrom/volname if she knew the volume name of the disc in the second CD-ROM. |
17. | C. The High Sierra File System (HSFS) is an industry-standard file system for CD-ROM disks. CD-ROMs can also have UFS file systems, but UFS is not recognizable to Windows-based PCs. PCFS is for floppy disks, and UDF is for DVD-ROMs. |
18. | E. The mountall command mounts all file systems located in the /etc/vfstab file. Although it's true that mountall might happen to mount all local file systems, or even all known file systems, that doesn't have to be the case. The /etc/inittab file contains information on booting Solaris, including the default run level. The /etc/mnttab file contains a list of all currently mounted file systems. After running mountall, you could check /etc/mnttab to see whether all appropriate file systems are mounted. |
19. | B. The superblock contains the size of the file system, the disk label (Volume Table of Contents), cylinder group size, number of data blocks present, the summary data block, file system state (state flag), and the pathname of the last mount point. |
20. | A. The eject command is used to eject media from devices that do not have a manual eject button. The default device name for the first Zip drive in a computer is /rmdisk/zip0. |
|
|