Interview questions: ==================== 1) Explain what RAID 10 is. 2) What is the difference between UFS and VxFS? 3) How do you display a summary of the cluster status when using Veritas Cluster Server (VCS)? 4) How would you show the hardware configuration of a Solaris machine? 5) How do you list all disks under Veritas Volume Manager (VxVM) control, and the disk groups they belong to? 6) On a F12k/F15k/F25k, what Solaris command would you use from with a domain to carry out Dynamic Reconfiguration (DR) tasks? 7) From the Openboot PROM, how would you boot a Solaris machine into single user mode? 8) How would you list the contents of the 'group' NIS map? 9) What Solaris command is used to list ethernet interface errors? 10) What is paging? Answers: ======== 1) RAID 10 - mirror pairs of disks, then striping over the mirrored pairs. Provides fast read and write performance, plus you can lose up to 50% of your available disks before suffering data loss. Only half the total disk storage is available for use. 2) UFS is a block based filesystem - disk blocks are allocated as required for a file. VxFS is an extent based filesystem - disk blocks are allocated in large sequential chunks. UFS provides better performance for random I/O, whereas VxFS provides better performance for long sequential reads/writes (ie. for databases) 3) hastatus -sum 4) /usr/platform/sun4u/sbin/prtdiag -v 5) vxdisk -o alldgs list 6) cfgadm 7) boot -s 8) ypcat group 9) 'netstat -i' or 'netstat -ni' 10) paging is copying data to or from pages of physical memory. Anyone who says 'swapping' or 'swapping out memory to disk' is in trouble.