Sei sulla pagina 1di 7

AIX Final Test Batch 5 100 Marks 1. Explain about NFS. What is use ?

(3) Ans: The Network File System (NFS) is a distributed file system that allows users to access files and directories of remote servers as if they were local. Used to Share & access date in network. Or Ans: NFS stands for Network File System. NFS was originally developed by Sun Microsystems in the 1980's. NFS allows remote hosts to mount file systems over a network and interact with those file systems as though they are mounted locally. This enables system administrators to consolidate resources onto centralized servers on the network. 2. Explain all daemons and their service in NFS.(Client and Server side) (3) Ans: Rpc.mountd Nfsd Rpc.bootparamd Rpc.pcnfsd Biod (Client) 3. Write the name of NFS configuration file. (2) Ans: /etc/exports /etc/filesystems /etc/xtab 4. How you mount server folder in client. Give example. (3) Ans: Smity mknfsmnt Specify Pathname of mount point Pathname of remote directory Hostname of remote directory Mount now add entry to /etc/filesytems /etc/filesytems will mount automatically.

5. What is portmap ? ( 3) Ans: The portmapper keeps a list of what services are running on what ports. This list is used by a connecting machine to see what ports it wants to talk to access certain services. 6. Explain "nfsstat" command? (2) Ans: The nfsstat command displays the statistics about NFS client and NFS server activity. 7. Can VG span many PVs? (2) Ans: Yes 8. Can PV span in two VGs? (2) Ans: No 9. Explain all fields in ls l /dev/* (3) Ans: Permission No. of links User Device name Major Number, Minor Number Date Time File name 10. How do you backup root vg. Give example command (3) Ans: Mksysb I e /dev/rmt1 11. What is the advantages of backup command compare other backup commands (3) Ans: Incremental Backup Differential Backup Full Backup

12. What is the advantages of dd command compare other backup commands (3) Ans: The dd commands reads the infile parameter Performs any Specified Conversions Then copies the converted data to the outfile parameter 13. How allow, deny ftp login for particular user? ( 3) Ans:

14. A client complaint , server performance is slow . How do you trouble shoot? (5) Ans: Paging space Disc usuage Zombie Process 15. Compare exportvg with reducevg (3) Ans: If a vg is going to be shifted from one server to another use exportvg. This will remove data in ODM #Varyoffvg myvg #Exportvg myvg 16. What is the use of migratepv (2) Ans: Moves allocated physical partitions from one physical volume to one or more other physical volumes. To move physical partitions in logical volume lv02 from hdisk1 to hdisk6, enter: migratepv -l lv02 hdisk1 hdisk6 Only those physical partitions contained in lv02 are moved from one physical volume to another. 17. Explain few options in sar command. (3) Ans: The sar command writes to standard output the contents of selected cumulative activity counters in the operating system. Collects, reports, or saves system activity information. Options: -B display paging activity -P display processor

-w display switching activity -b block io activity -n display network activity 18. Define device driver. (2) Ans: Device driver is a software loaded on the kernel(i.e) used to control the access of data between the CPU and the Device. 19. Compare physical devices with logical devices. (2) Ans: Physical Device Logical Device It has the name It has the Location Code -> No name -> No Location Code

20. What are the informations stored in ODM ? (2) Ans: Seven kind of informations stored are in ODM. Devices Software Tcp/Ip Log NIM SMIT SRC

21. How can you initialize a device ? (2) Ans: cfgmgr or Mkdev 22. Explain device status? How change status ? Give Example. (2) Ans: Device Status is used to show wether the device is Predefined or Customized one. Mkdev -l 23. Write commands for following (6) a) List all configured tapes ls l /dev/rmt* b) List all configured hard disks. lspv

c) List all properties of Ethernet card ifconfig -a d) List all supported device with headers lsdev p -H e) How do list all VGs and all active VGs lsvg and lsvg -o f) List all PVs in oravg . lsvg p oravg 24. Write commands for following 14 a) Create oravg in hdisk3,hdisk5 with PP size of 32 MB mkvg y oravg s 32 hdisk3 hdisk5 b) Add hdisk4 in oravg extendvg oravg hdisk4 c) Create lv oralv in oravg with 2 PP. mklv y oralv oravg 2 d) Create file system in the name orafs and make usable crfs v jfs g orafs m /mountname e) Create files a1 to a20 f) Remove created files rm a* g) Remove files systems umount /mountname h) Remove created lv rmlv f oralv i) Remove hdisk3 ,hdisk4 Reducevg oravg hdisk3 hdisk4 j) Set inactive oravg varyoffvg oravg

k) Set active oravg varyonvg oravg l) Remove oravg varyoffvg oravg reducevg oravg hdisk5 m) List all file systems lsfs n) Increase size 10G in home file system chfs a size = +10G /home 25. Explain SRC ? (3) 26. List all the subsystem in AIX. ( 2) 27. List all daemons and services in Linux ? (2) 28. Write a command to Show kernel version and system architecture. (1) 29. What is the difference between Preservation & Migration install? (2) 30. Name the directories that will be overwritten in Preservation install. (1) Ans: overwrites the /usr, /tmp, /var, and / (root) so, any user data in these directories is lost. These file systems are removed and recreated. 31. Name the directories that will not be overwritten in Migration install. (1) Ans: Except /tmp 32. How will you change the default boot device from hdisk2 to hdisk3? (1) Ans: #bootlist m normal hdisk3 hdisk2

33. What is the difference between chvg & extendvg and chlv & extendlv commands? (2) 34. What is the use of chfs command? Illustrate with an example (2) Ans: Chfs command is used for Change the attributes of a file system. -A Specifies the attributes for auto-mount. yes File system is automatically mounted at system restart. no File system is not mounted at system restart. -d Attribute Deletes the specified attribute from the /etc/filesystems file for the specified file system. -m NewMountPoint Specifies a new mount point for the specified file system. Eg: chfs -a size=24576 /test This command changes the size of the /test Journaled File System to 24576 512-byte blocks, or 12MB To change the mount point of a file system, enter: chfs -m /test2 /test This command changes the mount point of a file system from /test to /test2

35. Which file stores the port number information in Unix? (2) Ans: /etc/services 36. Explain the contents of BLV. (2) Ans: The Boot Logic Volume Contains the following, 1. AIX kernel 2. Rc.boot 3. Boot commands 4. Reduced ODM.

Potrebbero piacerti anche