Sie sind auf Seite 1von 3

IBM: AIX - mkdev?

Page 1 of 3

 Join
 Directory
Go Find A Forum Go  Search
 Tell A Friend
 Whitepapers
 Jobs
Home > Forums > MIS/IT > Operating Systems - UNIX based > IBM: AIX Forum

mkdev?
thread52-913094

www.Diskeeper.com Ads by Google

rs6000er (TechnicalUser) 7 Sep


04
16:00
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.

rs6000er (TechnicalUser) 7 Sep


04
17:48
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

file://H:\study\netbackup\New Folder\mkdev in aix.htm 7/6/2010


IBM: AIX - mkdev? Page 2 of 3

rs6000er (TechnicalUser) 8
Sep
04
9:10
anybody can tell me, please?

lars2923 (TechnicalUser) 12
Oct
04
9:44
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...

rs6000er (TechnicalUser) 14
Oct
04
11:19
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

Data Center South Africa


Choose Teraco. South Africa's first Network Independent Data Center.
Teraco.co.za

file://H:\study\netbackup\New Folder\mkdev in aix.htm 7/6/2010


IBM: AIX - mkdev? Page 3 of 3

Join | Jobs | Advertise | About Us | Contact Us | Site Policies

Copyright © 1998-2010 Tecumseh Group, Inc. All rights reserved.


Unauthorized reproduction or linking forbidden without express written permission.

file://H:\study\netbackup\New Folder\mkdev in aix.htm 7/6/2010

Das könnte Ihnen auch gefallen