Académique Documents
Professionnel Documents
Culture Documents
By:deep
1, Which command allows you to browse through the contents of a file a page at a
time?
# more <filename>
Or
#pg <filename>
Or
#less <filename>
#cd /usr/tool/util
# mv myfile1 myfile2
Or
#Cd /usr/tool/until
4, List all rootlv with their respected filesystems and list what each one of them are
used for.
#lsvg –l rootvg
Rootlv filesystems
Hd1 /home AND hd8 /log
Hd4 /(root)
Hd5 /boot
Hd6 /paging
#lsps –a
6, List two commands to list all configured network adapters (NIC) in the system.
# netstat -i
# ifconfig –a
#smitty tcpip
8, what is command to list only hardware (HW) related errors from the errpt?
#errpt -a
10, List the commands to check the system health. (This list of commands display
any broken filesets or links.)
#errpt
#lsmcode
#lsdev
#lsattr
#ifconfig
#sysdumpdev
#netstat – [I , r,a rn …]
There are many commands regarding to the specific health problems of the
systems.
11, Sys Admin is having problem and calls IBM support. IBM support requests the
system configuration image. How does the admin create compressed snapshot of
the system? How to remove any previously created snapshot?
12, What command is used to list currently installed Operating system, and patch
level?
13, What is the command display network statistics and also displays the adapter's
HW address?
#netstat –i
#smitty mknfs
Or
16, what NFS services should be running on NFS server and what services should be
running on NFS client.
# mksysb –i /dev/rmt3
18, rootvg is currently on hdisk0 How to mirror a rootvg to hdisk1, which is already
part of rootvg?
#bootlist –m normal - o (to see the booting devices or listof booting devices)
#bootlist –m normal hdisk1 hdisk0 (to set or change or update the bootlist)
19, There is a file called mydoc.tar. how to untar the data of that file?
#netstat –r
Or
#netstat -rn
22, what is the command to list current bootlist and update/change bootlist?
#bootlist -m normal –o
#bootlist –m normal (sequences of devices name i.e. hdisk0, hdisk2, cd0 ……)
24, what is the command to move all allocated PPs (LVS) from hdisk0 to hdisk2?
What is the command to move oralv from hdisk0 to hdisk22?
25, what are the steps to export an active volume group that has mounted
filesystems?
1.unmount filesystems
26, volume group datavg has hdisk5, hdisk6, hdisk7. How do you take out hdisk7
from datavg? Now, how do you add it back to the datavg.
28, what type of software RAIDs are supported on AIX and explain what each one
them do.
So
RAID1=it is the way of having two or three copies of data for high availability
requirements.The basic concept of this is just keep the data in the different drives to
prevent the possibility of the data loss in the case of the drives block failure.
29, filesystem /oracle/oradata is corrupted and needs to be cleaned up. What are
the steps?
#fsck /oracle/oradta
30, what is the command to list Logical Volume Control Block of an LV?
#sysdumpdev -l
THE END