Summary

In this chapter, we ve examined how to use various commands to determine the status of devices (particularly disk devices) that are attached to the system. In addition, we looked at how to match up Solaris logical device names to physical device references, which can be difficult for newcomers.

Questions

1.  

Which of the following is a valid device name for an IDE hard drive?

  1. /pci@1f,0/pci@1,1/ide@3/dad@0,0

  2. /sbus@1f,0/SUNW,fas@2,8800000/sd@c,0

  3. /sbus@1f,0/SUNW,fas@2,8800000/ide@c,0

  4. /pci@1f,0/pci@1,1/ide@3/dad@x,x

 a. only /pci@1f,0/pci@1,1/ide@3/dad@0,0 is a valid ide drive name.

2.  

Which of the following is a valid available device selection for the format command?

  1. c1t3d0 <<SUN2.1G cyl 2733 alt 2 hd 19 sec 80>>

  2. /pci@1f,0/pci@1/scsi@1/sd@3,0

  3. /pci@1f,0/pci@1/scsi@1/sd@3,0 <<SUN2.1G cyl 2733 alt 2 hd 19 sec 80>>

  4. c1t3d0 <</pci@1f,0/pci@1/scsi@1/sd@3,0>>

 a. available device descriptions contain the disk name and label (c1t3d0 --sun2.1g cyl 2733 alt 2 hd 19 sec 80).

3.  

The /etc/path_to_inst file contains what?

  1. A list of all physical device names

  2. A list of all installed device drivers

  3. A list of mappings between device drivers and their filenames

  4. A list of mappings between physical devices and instance names

 d. the path_to_inst file contains a list of mappings between physical devices and instance names.

4.  

What error message might be displayed if a hardware device was not installed, but the kernel loaded its device driver?

  1. May 15 14:23:16 hostname genunix: [ID 723599 kern.warning] WARNING: Driver alias name conflicts with an existing driver name or alias.

  2. May 15 14:26:38 hostname smt: [ID 272566 kern.notice] device is not active (conflicts with an existing driver name or alias). Initialization of this driver cannot be completed.

  3. May 15 14:26:38 hostname smt: [ID 272566 kern.notice] device is not active. Initialization of this driver cannot be completed.

  4. May 15 14:26:38 hostname smt: [ID 272566 kern. info ] device is not active. Initialization of this driver cannot be completed.

 c. only hostname smt: [id 272566 kern.notice] device is not active. initialization of this driver cannot be completed. is valid.

5.  

What does prtconf not display?

  1. System peripherals (software nodes)

  2. System architecture type

  3. Physical memory installed

  4. Virtual memory installed

 d. prtconf does not query virtual memory.

6.  

What command would be used to create a loopback file system on /dev/rlofi/2 ?

  1. newfs /dev/rlofi/2

  2. createfs /dev/rlofi/2

  3. format /dev/rlofi/2

  4. lofiadm /dev/rlofi/2

 a. newfs is always used to create file systems in this context.

7.  

What command would be used to create a MS-DOS file system on a floppy disk?

  1. mkfs -F dos /dev/rdiskette

  2. mkfs -F pcfs /dev/rdiskette

  3. mkfs -F pcfs /dev/dsk/floppy

  4. mkfs -F dos /dev/dsk/floppy

 b. pcfs is the file system type and /dev/rdiskette is the floppy device.

8.  

What command would be used to create a new file /tmp/newfile with a 2G capacity?

  1. newfile 2g /tmp/newfile

  2. mkfile 2g /tmp/newfile

  3. makefile 2g /tmp/newfile

  4. newfs 2g /tmp/newfile

 b. the mkfile command is used to make files of a specified capacity.

9.  

What command creates a new FAT file system?

  1. mkfs_dos

  2. mkfs_fat

  3. mkfs_pcfs

  4. mkfs_cifs

 c. the mkfs_pcfs command is valid in this context.

10.  

Which of the following statements is true?

  1. tunefs tunes for both "time" and "space"

  2. tunefs tunes for "time" only

  3. tunefs tunes for "space" only

  4. tunefs tunes for "space" or "time"

 d. the tunefs command must optimize for either speed or time.

Answers

1.  

A. Only /pci@1f,0/pci@1,1/ide@3/dad@0,0 is a valid IDE drive name.

2.  

A. Available device descriptions contain the disk name and label (c1t3d0 <<SUN2.1G cyl 2733 alt 2 hd 19 sec 80).

3.  

D. The path_to_inst file contains a list of mappings between physical devices and instance names.

4.  

C. Only hostname smt: [ID 272566 kern.notice] device is not active. Initialization of this driver cannot be completed. is valid.

5.  

D. prtconf does not query virtual memory.

6.  

A. newfs is always used to create file systems in this context.

7.  

B. pcfs is the file system type and /dev/rdiskette is the floppy device.

8.  

B. The mkfile command is used to make files of a specified capacity.

9.  

C. The mkfs_pcfs command is valid in this context.

10.  

D. The tunefs command must optimize for either speed or time.

 
 
   


Sun Certified Solaris 9.0 System and Network Administrator
Sun Certified Solaris(tm) 9 System and Network Administrator All-in-One Exam Guide
ISBN: 0072225300
EAN: 2147483647
Year: 2003
Pages: 265
Authors: Paul Watters

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net