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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mkdev?

Status
Not open for further replies.

rs6000er

Technical User
Jul 21, 2004
74
CA
hi, all!
how can i get the device's parentname?
i use the mkdev command, and one of the flag is -p, parentname, but i dont know how to get this.
 
i want to change a device name - hdisk* which resides on the fastT.
the command lsdev -Cl hdisk* -F 'class subclass type connwhere' can get most important information about this disk device
#lsdev -Cl hdisk14 -F 'class subclass type connwhere' -H
class subclass type connwhere
disk fdar array 13

and i try to use lsparent to get the hdisk*'s parent device - dar0,
#lsparent -Cl hdisk14 -H
name status location description
dar0 Available 1742 (700) Disk Array Router

but i cant use lsconn to get the parent to verify the parent device.
so, the mkdev -p dac0 -t array -c disk -s fdar -w 13 -l hdisk27 gives me the error massage -
#mkdev -p dar0 -t array -c disk -s fdar -w 13 -l hdisk27
Method error (/etc/methods/define):
0514-022 The specified connection is not valid.

and who can tell me how to deal with it?
and what is the correct process to change the devie's name?
and the commands?
thanks a lot
 
I am attempting to perform the same operation on a SAN attached EMC disk.
The syntax I am attempting is:
mkdev -c disk -s fcp -t SYMM_RAID1 -p fscsi1 -w 90 -l hdisk99
Method error (/etc/methods/define):
0514-022 The specified connection is not valid.

I would be very interested in learning the solution...
 
i've already got the way to resolve the problem.
i found the disk's odm information at hacmp.out as the below
odmget -q name = hdisk10 AND PdDvLn = disk/fdar/array CuDv

CuDv:
name = "hdisk10"
status = 1
chgstatus = 2
ddins = "fcparray"
location = "1j-08-01"
parent = "dar0"
connwhere = "7"
PdDvLn = "disk/fdar/array"

so the command should like this
mkdev -p dar0 -t array -c disk -s fdar -w 1j-08-01 -l disk27
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top