If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > UNIX test questions

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-16-12, 14:44
Icostyle Icostyle is offline
Registered User
 
Join Date: Jan 2012
Posts: 3
Smile UNIX test questions

Hello,

I need the answers to the below questions. Thank you.

51. What is the major number for LVM DSFs using disk layout 1?
A. 32
B. 64
C. 128
D. 256
52. If vg05 has two logical volumes created using the default naming convention, overall,
how many DSFs should you find in /dev/vg05?
A. 2
B. 4
C. 5
D. 6
53. What is the minor number for /dev/vg17/lvol5 using disk layout 1?
A. 0x170005
B. 0x110101
C. 0x1A0017
D. 0x110005
54. What is the minor number for /dev/vg15/group using disk layout 2?
A. 0x000015
B. 0x0F0101
C. 0x00F000
D. 0x150000
55. What command would you use to create LVM header structures on disk1?
A. pvcreate -f /dev/rdisk/disk1
B. pvcreate -f /dev/disk/disk1
C. pvcreate -f /dev/dsk/disk1
D. vgcreate vg05 /dev/disk/disk1
56. What command would you use to add volume group vg05 to LVM’s /etc/lvmtab*
configuration files and assign disk1 to that volume group?
A. vgcreate –V 2.0 vg05 /dev/rdisk/disk1
B. vgcreate /dev/vg05/group /dev/disk/disk1
C. vgcreate /dev/dsk/disk1 vg05
D. vgcreate vg05 /dev/disk/disk1
57. What command would you use command to create a superblock, inode table, and
other metadata structures on lvol1 in volume group vg01?
A. fsck /dev/vg01/lvol1
B. newfs /dev/vg01/rlvol1
C. newfs –m /dev/vg01/rlvol1
D. pvcreate vg01 /dev/vg01/lvol1
58. What is the legacy DSF name for the disk class device provided ioscan has the
following output?
# ioscan –kf
Class I H/W Path Description
================================================== ===
ext_bus 5 1/0/2/1/0.6.1.0.0 FCP Array Interface
disk 3 1/0/2/1/0.6.1.0.0.0.1 HP HSV101
A. /dev/dsk/c05t0d1
B. /dev/disk/c03t0d0
C. /dev/rdisk/c05t0d1
D. /dev/dsk/c03t0d1
59. What is the persistent DSF name for the disk class device provided ioscan has the
following output?
# ioscan –kfNn
Class I H/WPath Driver S/W State H/WType Description
================================================== ===============
disk 10 64000/0xfa00/0x4 esdisk CLAIMED DEVICE HP HSV101
A. /dev/dsk/esdisk
B. /dev/disk/esdisk
C. /dev/rdisk/disk10
D. /dev/dsk/disk10
60. Assuming a volume group uses the default extent size, how many physical extents
would you expect to find on a 400 MB physical volume?
A. 100
B. 200
C. 300
D. 400
Reply With Quote
  #2 (permalink)  
Old 01-16-12, 15:51
kitaman kitaman is offline
Programming since 1BC
 
Join Date: Sep 2009
Location: Ontario
Posts: 824
When was it due?
Reply With Quote
  #3 (permalink)  
Old 01-16-12, 15:54
Icostyle Icostyle is offline
Registered User
 
Join Date: Jan 2012
Posts: 3
HP-UX questions

There is no deadline - this is not a homework assignment.
I am studying for a Unix certification exam and have come across these questions on the net. But they do not have answers.
Reply With Quote
  #4 (permalink)  
Old 01-16-12, 19:58
kitaman kitaman is offline
Programming since 1BC
 
Join Date: Sep 2009
Location: Ontario
Posts: 824
Unless you are studying how to install and configure disk drives on some HP machine, the real knowledge is knowing what the questions are asking, and in which manual to find the answers.
Your other post is applicable to most Linux/unix systems.
If you want to try answering those questions, I will comment on your code.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On