Solaris General Interview Preparation Guide
Download PDF

Solaris General frequently Asked Questions in various Solaris General job Interviews by interviewer. The set of Solaris General interview questions here ensures that you offer a perfect answer to the interview questions posed to you. Get preparation of Solaris General job interview

15 Solaris General Questions and Answers:

1 :: Suppose I have 20 GB free space in my file system but my inode size full. How will i increase or how will i fix this issue?

If you want to use the 20gb free space in that file system,
bring the system to single user mode and then take the
entire backup of that file system . Then format the file
system using newfs /dev/rdsk/c#t#d#s# after mount the file
system using mount command and restore the backup then you
can use the 20gb free space.

2 :: How to solve the system hung issue. found that the memory state is free, commands to check and solve the issue?

may be many zombie process are running or harware error,
ps -el is a command to check any zombie processes are
running, if is the issue then issue preap command to kill
the multiple zombie processes, if it a hardware error then
issue iostat -en command to see the hardware errors.

3 :: What is Difference between swap -l & swap -s?

To list a summary of the system’s virtual swap space :

# swap -s

To list the details of the system’s physical swap areas:

# swap -l

4 :: What is VTS?

VTS stands for Validation and Test Suite which is used to
run tests on any Sun Supported hardware and hardware
components and report the health status from which the
faulty devices ca be identified. In order to do this the VTS
package needs to be installed.

5 :: How to view shared memory statistics?

The path to see the shared memory

/usr/sbin/sysdef | grep SHMMAX

6 :: What are the run levels that are used in solaris10?

single-user
multi-user
multi-user-server
network
name-services
sysconfig
devices

7 :: In Solaris 10 nfs4 version is using ..in that any new daemons are available or not?

nfsd; statd; lockd; mountd; for server
and for clients are statd; and lockd

8 :: How to mount the FLOPPY & CD-ROM?

for CD-ROM-default mount point is /cdrom/cdrom0, ro for
read only
#mount -F hsfs -o ro <dev name> <mount point>
example:
#mount -F hsfs -o ro /dev/dsk/c0t1d0s0 /cdrom/cdrom0

for DVD-ROM-default mount point is /cdrom/cdrom0, ro for
read only
#mount -F udf -o ro <dev name> <mount point>
example:
#mount -F udf -o ro /dev/dsk/c0t1d0s0 /cdrom/cdrom0

for floppy-device name is /dev/diskette0
#mount -f pcfs <dev name> <mount point>
example:
#mount -F pcfs /dev/diskette0 /dir1

9 :: How many types of file system?

There are 3 types of file system -

A] Disk based file system (pcfs, ufs, udfs, hsfc)
B] Distributed file system (nfs, autofs, cachefs)
C] Pseudo files system (virtual file system, memory based
file system, swapfs, procfs, mntfs, dev, & tmpfs)

10 :: How to set the path for core file?

# coreadm –e –f <path of core file>