Solaris

  Home  Operating System  Solaris


“Sun Solaris (OS) Interview Questions and Answers will guide you that the Solaris is a UNIX-based operating system introduced by the Sun Microsystems in 1992. Sun Solaris is known for its scalability, especially on SPARC systems, and for originating many innovative features that you will learn here by these Sun Solarid OS interview questions and answers guide.”



64 Solaris Questions And Answers

42⟩ Which obp command has a permanent allies?

When NValias need is:

In case system can not boot from primary disk and it is needed to make another boot disk to access the data , nvalias command is used.

nvalias command makes the device alias and assigns an alternate name to a physical disk. Physical address of target disk is required which can be had by show-disk command on ok>.

ok> nvalias disk7 /iommu@f,e0000000/sbus@f,e0001000/dma@3,81000/esp@3,80000/sd2,0

The new aliased disk can be named as boot disk or can be used for booting by referring its name

ok> setenv boot-device disk7

ok>reset

or

ok> boot disk7

 133 views

54⟩ What field will cause the message Your password has expired to be displayed to the user?

The /etc/shadow file contains following fields.Login-id : Which indicates the username of that perticular user.Passwd : It Contains encrypted password.Lastchg : Indicates the number of days between 1-JAN-1970 and last password modification date.Min : Contains minimum no of days required between password changes.Max : Contains the maximum no of days the password is valid before the user's prompted to enter a password at login.Warn : Contains the number of days the user is warn before the password expires.Inactive : Contains the number of inactive days allowed for that user before the user's account is locked. Expire : contains the date when the user account expires once exceeded. The user can no longer log in also it will display the message "Your password has been expired".

 144 views

57⟩ What is the difference between a probe-scsi and a probe-scsi-all?

Both these commands are run at obp (open boot Prom) probe-scsi will probe the internal scsi and probe-scsi-all will probe both internal and external scsi.

Maybe not the best explanation but not bad...

________________________________________

The probe-scsi command communicates with all SCSI devices connected to on-board SCSI controllers.

The probe-scsi-all command additionally accesses devices connected to any host adapters installed in PCI slots.

 167 views

58⟩ What is after the VTOC on the root filesystem?

A solaris disk has an area called volume table of contents(VTOC) that stores information about disk structure and organization.

________________________________________

VTOC stores in 0th sector

After VTOC Boot Block is there from (1-15) sector

 146 views

59⟩ You logged into the system using telnet. As a system administrator, how would you figure out the system transaction is slow between the system you logged into and from the system you did telnet login?

you can simply use the time command on both systems.! For example:

time <<trans>>

out put will be like..

real 0m2.009s

user 0m0.000s

sys 0m0.000s

So, in actuality, It took a total of 2.009 seconds of my time to watch this command complete. But, as you can see, it used virtually no processing time.

For small transcation you may not find the much difference(sometimes no diff)

 124 views