click below
click below
Normal Size Small Size show me how
SCSA Part I
| Question | Answer |
|---|---|
| /pci@1f,0/pci@1,1/ide@d/sd@0,0 | Full Device Path Name, can be found using dmesg or in /var/adm/messages |
| /devices/pci@1f,0/pci@1,1/ide@d/sd@0,0:<#>[,raw] | Physical Device name |
| Two methods to perform a reconfiguration reboot. | 1. touch /reconfigure; reboot, 2. reboot -- -r |
| devfsadm | automatically configures devices on a system that cannot be rebooted |
| sd0, cmdk0, hme0 | Instance names, kernel's abbreviated name for devices |
| /etc/path_to_inst | a file that maps full device path names to instance names |
| /dev/dsk contains what type of devices? | block or buffered devices |
| /dev/rdsk contains what type of devices? | character or raw devices |
| UFS | Unix File System |
| ZFS | Zetta File System |
| Virtual File Systems | SWAPFS, PROCFS, LOFS, CacheFS, TMPFS, MNTFS, CTFS, DEVFS, FDFS, OBJFS |
| SWAPFS | Swap File System |
| PROCFS | Process File System |
| LOFS | Loopback File System |
| CacheFS | Cache File System |
| TMPFS | Temporary File System |
| MNTFS | Mounted File System Table |
| CTFS | Contract File System |
| DEVFS | Device File System |
| FDFS | File Descriptor File System |
| OBJFS | Object File System |
| Slice 0 file system | Root "/" |
| Slice 1 file system | Swap |
| Slice 2 file system | Entire Disk |
| Slice 3 file system | /var |
| Slice 4 file system | unassigned |
| Slice 5 file system | /opt |
| Slice 6 file system | /usr |
| Slice 7 file system | /export/home |
| Soft (symbolic) link | Creates a pointer to another inode |
| Hard link | Shared inode with multiple names |
| command to create UFS | newfs /dev/rdsk/<instance> |
| What type of device does fsck use? | Raw/Character devices |
| What is the "-F" option to the mount command? | Specifies the file system type |
| What is the "-g" option to the mount command? | Globally mount the file system on clustered systems |
| What is the "-m" option to the mount command? | Mounts the file system without making an entry in /etc/mnttab |
| What is the "-r" option to the mount command? | Mounts file system read-only |
| What is the "-O" option to the mount command? | Overlay mount. |
| What is the "-p" option to the mount command? | Prints the list of mounted file systems in the /etc/vfstab format. |
| What is the "-v" option to the mount command? | Prints list in verbose format |
| What is the "-V" option to the mount command? | Echoes the complete command line |
| What is the "-o" option to the mount command? | Specifies fstype-specific options |
| What is the command to display processes and the associated user for files in the /home directory? | fuser -cu /home |
| What is the command to stop all processes using the /home file system? | fuser -c -k /home |
| What are the columns for the /etc/vfstab file? | 1. device to mount, 2. device to fsck, 3. mount point, 4. FS type, 5. fsck pass, 6. mount at boot, 7. mount options |
| quot -af | Display disk space used and number of files by all users on all mounted file systems |
| What is a software package? | A collection of files and directories in a defined format. |
| What is a software group? | Logical collection of software packages. |
| Package name for Minimal core metacluster? | SUNWmreq |
| Package name for Reduced network support? | SUNWCrnet |
| Package name for Core system support? | SUNWcreq |
| Package name for End-user system support? | SUNWeuser |
| Package name for Developer system support? | SUNWcprog |
| Package name for Entire distribution? | SUNWCall |
| Package name for Entire distribution plus OEM system support? | SUNWCXall |
| Solaris install methods | install-solaris: GUI, CLI, JumpStart, Upgrades; flash archive: flash archive install, WAN boot install |
| Command to start a JumpStart install | boot net - install |
| What is required to perform a WAN boot install? | 1. HTTPS must be enabled on the WAN boot server and install server, hash and encryption keys on WAN boot server and client, 3. SPARC based systems only |
| Command to change secure by default settings. | netservices [limited | open] |
| pkgadd spool directory | /var/spool/pkg |
| Install a package from a specific location | pkgadd -d <location> |
| Unistall a package | pkgrm <package name> |
| List the packages installed | pkginfo |
| What is the file that contains a record of all packages installed? | /var/sadm/install/contents |
| What does "showrev -p" do? | Shows all patches applied to a system |
| How do you show all patches applied to a system? | patchadd -p |
| How do you remove a patch? | patchrm <patch name> |
| smpatch | New Solaris 10 patch management tool. |
| What is the "-d" option to patchadd? | Do not create a backup of files to be patched. Patch cannot be removed. |
| What is the "-p" option to patchadd? | Displays a list of patches currently applied. |
| What is the "-u" option to patchadd? | Installs a patch unconditionally. |
| What is the "-B" option to patchadd? | specifies the backout directory |
| List the boot process | 1. boot PROM/POST, 2. bootblk, 3. ufsboot, 4. two part kernel, 5. /sbin/init which reads /etc/inittab, 6. svc.startd |
| two commands to determine OpenBoot version | 1. /usr/sbin/prtdiag -v, 2. prtconf -v |
| What tasks does the svc.startd process start on bootup? | 1. checks and mounts file systems, 2. configs network and devices, 3. various startup processes and system maintenance tasks, 4. executes legacy run scripts |
| OpenBoot command to show the device tree | show-devs |
| Two ways to create a device alias in NVRAM | 1. OpenBoot PROM: nvalias <alias name> <device>, 2. eeprom "nvramrc=devalias <alias name> <device>" |
| OpenBoot command "banner" displays this | platform, OpenBoot version, memory installed, serial number, mac address, host id |
| OpenBoot command to boot to single user mode | boot -s |
| Command to reinstall bootloader on x86? | installgrub -m /boot/grub/stage1 /boot/grub/stage2 /dev/rdsk/<instance> |
| OpenBoot command to boot to a milestone? | boot -m milestone <level> |
| Create an xorg.conf file | /usr/X11/bin/Xorg -configure or /usr/X11/bin/xorgconfig |
| Where are kernel modules located? | /kernel, /usr/kernel, /platform/`uname -m`/kernel, /platform/`uname -i`/kernel |
| How are parameters set in the /etc/system file? | set <module>:<variable>=<value> |
| What is the milestone equivalent to run level "S"? | milestone/single-user |
| What is the milestone equivalent to run level "2"? | milestone/multi-user |
| What is the milestone equivalent to run level "3"? | milestone/multi-user-server |
| What is the command to display all service instances in the service config repository? | svcs -a |
| Command to disable the ftp service via SMF? | svcadm disable network/ftp:default |
| What are the states available with svcadm? | enable, disable, restart, refresh, clear |
| What are the milestones that can be used at boot? | none, single-user, multi-user, multi-user-server, all |
| What is the command to shut down a system in 30 seconds without a continue prompt? | shutdown -i5 -g30 -y |
| Does the "halt" command warn users? | no, it shuts down the system immediately without warning users |
| Three user management commands? | useradd, userdel, usermod |
| Three group management commands? | groupadd, groupdel, groupmod |