You are on page 1of 7

From this one you can see if someone worked with 11 or not

Solaris 11 Interview Questions

Posted by: Lingeswaran R July 5, 2013 in Interview Questions, Solaris-Interview Questions

Always Solaris administrators work will be harder than any other Unix and Linux
flavors administrators.Because Solaris administrator have to learn,third party products like veritas
volume manager,veritas cluster and rapidly changing Solaris technologies.For an example Solaris 10
is somewhat different from earlier versions of Solaris since sun have introduced new technologies like
ZFS,Zones and different networking commands in Solaris 10. Now oracle re-architectured the kernel
for Solaris 11.So its completely different from Solaris 10 in package administration,networking and
installation methods.This article will help administrators in Solaris 11 interviews.

1.What is the difference between Solaris 10 and Solaris 11 ?
Ans:The main differences are package administration,OS Installation methods,Zones Enhancement and
network virtualization .

2.What kind of package system is used in Solaris 11 ?
Ans:Solaris 11 uses Image packaging system(IPS) to manage packages and patches.In both packages and
patches will be treated as same elements. You need to configure IPS repository locally or remotely to
manage packages and patches.

3.What type of installation methods used in Solaris 11 ? is it possible to use jumpstart ?
Ans: No.You cant use jumpstart or flar(flash method) to install Solaris 11.If you want to install OS from
network like jumpstart method,you need to configure AI server(Automated Installer server).You can
also use DVD to install Solaris 11 operating system.

4.Is it possible to install Solaris 10 using AI server (Automated Installer) ?
Ans:No.You cant use AI for Solaris 10 installation.

5.What is default root filesystem ?
Ans:The default root filesystem is ZFS. There is no option to select UFS as root filesystem.

6.What kind of OS patching mechanism used for back-out ?
Ans:Since the root filesystem is ZFS,you cant use mirror breaking method like UFS.
You need to create alternative boot environment of OS patching using beadm command.

7.What is beadm ?
Ans: beadm is used for Managing Boot Environments which is similar to lu commands in Solaris 10.

8.Can we use zones as NFS servers in Solaris 11 ?
Ans:In Solaris 10,you cant use zones as NFS servers but in Solaris 11 ,it is possible. possible to use Solaris 10 as zone in Solaris 11 global zone ?
Ans:Yes.Its possible.Solaris 10 can be a zone in solaris 11 global zones.But you can use solaris 9 and 8
versions as zones .

10.What is process to assign a IP address to Physical interfaces and virtual interfaces ?
Ans:Please go through this article.

11.How to upgrade OS from Solaris 10 to Solaris 11 ? Is is possible ?
Ans:No. You cant upgrade existing Solaris 10 to Solaris 11 due to new kernel architecture in Solaris 11.

12.How to install Solaris 11 on the live system ? Is it possible to install ?
Ans:Yes.You can install Solaris 11 on live Solaris 10 machine.Here is a high level plan to perform this

Many more to come

Thank you for reading this article.Please add any Solaris 11 interview questions if you would like to
update here.

From this 210 questions feel free to take some. This seems to more to check if someone administered
before solaris or not

How to find out GLobal zone name from a non-global zone?
Answered by: dhevankumar on: Jan 6th, 2014
cat /etc/globalzone/hostname

What is the command to find out the nfs version in solaris?
Asked By: lakshmananit | Asked On: Dec 3rd, 2007
14 answers
Answered by: ravindra on: Dec 29th, 2013
rpcinfo -p

nfsstat -s shows
Answered by: k.ashok on: Aug 30th, 2013
netstat -n
Creating volumes
Asked By: dflaxmer | Asked On: May 14th, 2009
2 answers
Explain how will you create extra volumes?
Answered by: vivekmathur on: Mar 13th, 2012
we can create the extra volume by the soft partition methods like: metainit d701 -p d70 metainit d702 -p
d70 after that format newfs /dev/md/rdsk/d701 newfs /dev/md/rdsk/c702 make entry in vfstab ...
Answered by: Vasu Rao on: Feb 2nd, 2012
metadb -a creates state database replicas (you can also create then using The Solaris Volume Manager
software GUI) The syntax of the command is: metadb -a [-f] [-c n] [-l nnnn] disk_slice metainit ...

You can ping servers on the subnet your workstation is on, but not other
subnets. What is wrong?
Asked By: hgaurh | Asked On: Feb 20th, 2007
2 answers
Answered by: Nabhan on: Jan 15th, 2012
1. default route should be mentioned in the /etc/defaultrouter with an ip address from the other subnet
mentioned in the box from you are pinging. 2. routing should be enabled between the subnets on ...
Answered by: Suresh Krishnan on: Feb 27th, 2007
default router should be added.

create /etc/defaultrouter with gateway ip
and give the following command

route add default

How do you view shared memory statistics?
Asked By: hgaurh | Asked On: Mar 14th, 2007
5 answers
Answered by: M PRASAD on: Sep 20th, 2011
ipcs -m

What file do you put the unmask setting in?
Asked By: Interview Candidate | Asked On: Jun 7th, 2005
2 answers
Answered by: anishgreysharp on: May 16th, 2011
the main purpose of user mask value is to give security to the file and directories.

the default umask value is 022. which is stored under /etc/profile
Answered by: sridhar_madadi on: Sep 23rd, 2005
The UMASK value for bourne and korn shell users can be modified system wide by editing the "umask"
entry in the "/etc/profile" file. To change the default UMASK for the C shell, modify the UMASK variable in
"/etc/default/login" file.

How to do a dry run before actually creating a ZFS pool ?
We can simulate a ZFS operation using the -n option without actually writing to the disk
devices. For example, a dry run of zpool creation is :
# zpool create -n geekpool mirror c1t0d0 c1t1d0
would create 'geekpool' with the following layout:


How to resize a ZFS volume ?
We need to only set the volume size (either higher or lower than the original size) using the
volsize property :
# zfs set volsize=2g fort/geekvol

How to resize a ZFS mount-point ?
To resize a ZFS mount point we need to set the reservation property :
# zfs set reservation=10g tank/geek
Remember that the quota property does not resize the ZFS mount -point. It limits space that
can be consumed by the ZFS file system, but does not reserve it.
How to add a ZFS volume as a swap ?
First create a ZFS volume (size 1 GB) and the add it as a swap :
# zfs create -V 1g rpool/swapvol
# swap -a /dev/zvol/dsk/rpool/swapvol

How would you create different RAID levels in ZFS ? Give Examples.
Below are few examples of creating different RAID level ZFS pools.
Using Whole disks
# zpool create geekpool c1t1d0
Using disk slices
# zpool create geekpool c1t1d0s0
Using Files
# mkfile 100m file1
# zpool create geekpool /file1
Using Dynamic striping
# zpool create geekpool c1t1d0 c1t2d0
Mirrored ZFS pool
# zpool create geekpool mirror c1t1d0 c1t2d0
3 way mirror
# zpool create geekpool mirror c1t1d0 c1t2d0 c1t3d0
# zpool create geekpool raidz c1t1d0 c1t2d0 c1t3d0
# zpool create geekpool raidz2 c1t1d0 c1t2d0 c1t3d0
# zpool create geekpool raidz3 c1t1d0 c1t2d0 c1t3d0 c1t4d0

What is the difference between quota and reservation ?
- Quota limits the amount of space a dataset and all its children can consume.
- When you set a quota on parent dataset all the child dataset inherit it from the parent. But
you can set a different quota on the children if you want.
- If you set the quota on child dataset, it will not affect the quota of the parent dataset.
- Quotas can not be set on ZFS volumes as the volsize property acts as an implicit quota.
- Reservation sets the minimum amount of space that is guaranteed to a dataset and all its
child datasets.
- Similar to quota, when you set reservation on a parent dataset, all the child dataset inherit
it from the parent.
- Setting reservation on child dataset, does not affect the reservation of the parent.
- Reservation can not be set on ZFS volumes.
Example : Consider a ZFS pool (datapool) of size 10 GB. Setting a reservation of 5 GB on
zfs file system fs1 will reserve 5 GB for fs1 in the pool and no other dataset can use that
space. But fs1 can use more than 5 GB if there is space in the pool.
# zfs set reservation=5g datapool/fs1
Similarly, when we set a quota of 5 GB on fs1, it can not use space more than 5 GB from
the pool. But its not reserved for fs1. It means that any other dataset can use a space of
8GB out of 10 GB even if the quota for fs1 is 5GB.
# zfs set quota=5g datapool/fs1
Setting both the properties on the dataset makes fs1 to use only 5 GB from the pool and no
other dataset can use this 5 GB reserved for fs1.

How to import and export a ZFS pool ?
Exporting a pool, writes all the unwritten data to pool and remove all the information of the
pool from the source system.
# zpool export geekpool
In a case where you have some file systems mounted, you can force the export
# zpool export -f geekpool
To check the pools that can be imported :
# zpool import
To import a exported pool (geekpool) :
# zpool import geekpool
What is ZFS snapshot and how would you create one ?
zfs snapshot is a read-only copy of zfs file system or volume. They consume no extra space
in the zfs pool and can be created instantly. They can be used to save a state of file system
at particular point of time and can later be rolled back to exactly same state. You can also
extract some of the files from the snapshot if required and not doing a complete roll back.
The command to create a snapshot of a file system geekpool/fs1 :
# zfs snapshot geekpool/fs1@oct2013

How to roll back a ZFS snapshot ?
we can completely roll back to an older snapshot which will give us the point in time copy at
the time snapshot was taken :
# zfs rollback geekpool/fs1@oct2012

How to take a recursive snapshot of all file systems ?
Now by default when you take a snapshot of a filesystem or a dataset, only the parent
dataset snapshot is created and not for the child dataset. So to take a recursive snapshot
for parent as well as child datasets :
# zfs snapshot -r geekpool/fs1@oct2013 (to take snapshot of all FS under

How to move ZFS snapshots to other system ?
ZFS has an option to backup or move the snapshots to other system. The send and receive
command can be used to send the snapshot to other system.
To take the backup of snapshot on the same system :
# zfs send geekpool/fs1@oct2013 > /geekpool/fs1/oct2013.bak
# zfs receive anotherpool/fs1 < /geekpool/fs1/oct2013.bak
We can also combine both the commands into one :
# zfs send geekpool/fs1@oct2013 | zfs receive anotherpool/fs1
To move the snapshot to remote system (node02) :
node02 # zfs create testpool/testfs (create a test file-system on another
node01 # zfs send geekpool/fs1@oct2013 | ssh node02 "zfs receive
To send only the incremental data :
node01# zfs send -i geekpool/fs1@oct2013| ssh node02 zfs recv testpool/testfs

What is a ZFS clone and how would you create one ?
ZFS clones as contrary to ZFS snapshots are writable copy of the file system with initial
content same as the file system. Clones can only be created from snapshots. Snapshot
can't be delete until you have delete the clone created from it.
Command to create a clone from a snapshot :
# zfs clone geekpool/fs1@oct2013 geekpool/fs1/clone01

How to change the mount-point name of a ZFS file system online ?
The command to change the mount-point name of ZFS file system is :
# zfs set mountpoint=/mountpoint_name