Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Adding SAN drives

Status
Not open for further replies.

redwings

MIS
Aug 6, 2001
93
US
Hello everyone,

I have been attached to SAn and i am wondering what i need to do to get the drives up and in working order. When i do lspv command this is what i see:
root@monsys4:/>lspv
hdisk0 0003661952bbe640 rootvg
hdisk1 0003661976e30917 rootvg
hdisk2 0003661976e15f64 raid_1vg
hdisk3 000366190585d8bf raid_2vg
hdisk5 none None
hdisk6 none None
hdisk7 none None

Hdisk5, 6 and 7 are on the SAN, what do i have to set up to use them?

Thanks in advance
 
The only thing you will need to do is either:

1. Add them to an existing VG

2. Create a new VG and add these disks.

Even though these are SAN attached disks, the system will see them as a regular disk drive. Just do your normal Admin stuff to get these drives up and into a VG.
 
When I try to create a VG with these selected drives this is the message I get:

0516-796 mkvg: Making hdisk5 a physical volume. Please wait.
Method error (/usr/lib/methods/chgdisk):
0514-047 Cannot access a device.

0516-1207 mkvg: An invalid physical volume ID been detected on hdisk5.
0516-862 mkvg: Unable to create volume group.

Any idea on why I can see them but can not use them?
 
This is what i receive when i run that command.

root@monsys4:/>chdev -l hdisk5 -a pvid=yes
Method error (/usr/lib/methods/chgdisk):
0514-018 The values specified for the following attributes
are not valid:
pvid Physical Volume Identifier
 
Here is the output:

root@monsys4:/>lsdev -Cc disk
hdisk0 Available 10-60-00-8,0 16 Bit SCSI Disk Drive
hdisk1 Available 10-60-00-9,0 16 Bit SCSI Disk Drive
hdisk2 Available 20-58-L SSA Logical Disk Drive
hdisk3 Available 20-58-L SSA Logical Disk Drive
hdisk4 Defined 30-70-00-0,0 Fibre Channel SCSI FCP Disk Drive
hdisk5 Available 30-70-10-5,0 Fibre Channel SCSI FCP Disk Drive
hdisk6 Available 30-70-10-5,16 Fibre Channel SCSI FCP Disk Drive
hdisk7 Available 30-70-10-5,17 Fibre Channel SCSI FCP Disk Drive
 
Can you post the results of the following as well:

lsattr -El hdisk5

lsattr -El hdisk6
 
Here is the output from those commands:

root@monsys4:/>lsattr -El hdisk5
pvid none Physical Volume Identifier False
queue_depth 8 Queue Depth True
q_type simple Queue Type True
q_err yes Queue Error True
clr_q no Clear Queue True
rw_timeout 30 Read/Write Timeout True
start_timeout 60 Start Timeout True
reassign_to 120 Reassign to True

root@monsys4:/>lsattr -El hdisk6
pvid none Physical Volume Identifier False
queue_depth 8 Queue Depth True
q_type simple Queue Type True
q_err yes Queue Error True
clr_q no Clear Queue True
rw_timeout 30 Read/Write Timeout True
start_timeout 60 Start Timeout True
reassign_to 120 Reassign to True
 
I am not seeing information on this about it being a SAN attached disk drive.

What type of SAN storage do you have?

I would also advise removing those hdisks out of the config and readding them.

Do the following:

rmdev -l hdisk4 -d
rmdev -l hdisk5 -d
rmdev -l hdisk6 -d

Then run cfgmgr
 
I had this problem once with an V960 Storagetek.
It was not an UNIX problem.
The disk was not pSeries class but zSeries class.
Check with your SAN administrator.

 
Thanks for all the help. I sat down with my SAN Admin and found out that hdisk5 was just a marker and that the other two drives were set up correctly. As soon as that was determined I tried creating the VG just using hdisk6 and hdisk7 and the san drives came up.

Thanks again for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top