OK作者: wf201626 时间: 2004-09-14 02:10 标题: 一个超难的问题!! i attempt to use this way to fix my problems, and the first stages seem ok, but i get the error when i creat a new vg on that hdisk14 whick was changed with the new name, for example, hdisk17.
and when i delete the device name hdisk14 and associated odm information and creat a new disk on fastT and map the disk to my aix box, i found another problem. the old hdisk, for example, hdisk14 was still ocuppied the device name hdisk14 and the new disk has to use the hdisk15.but i alread delete the hdisk14 and odm information.
and i also get the error message with cfgmgr
could you tell me why?作者: lxlab 时间: 2004-09-14 19:02 标题: 一个超难的问题!! 呵呵,有语法错误!作者: 新手上路samson 时间: 2004-09-14 19:33 标题: 一个超难的问题!! 这么改很容易出错吧作者: wf201626 时间: 2004-09-15 02:01 标题: 一个超难的问题!! the grammer has some problems, but even i fix the wrong grammer, i still get the errors作者: sunbeat 时间: 2004-09-15 09:39 标题: 一个超难的问题!! reboot is the key problem.
otherwise,the /dev/rhdiskxx & /dev/hdiskxx will has the wrong name.
Maybe,you need to delete the /dev/*hdisk* which you want to change作者: wf201626 时间: 2004-09-16 00:22 标题: 一个超难的问题!! my aix box is live production, so i cant reboot it.
do you have another tip can fix it?
you are absolutely a expert!!!
i am waiting for the response!!!作者: sunbeat 时间: 2004-09-16 17:34 标题: 一个超难的问题!! Try use this:
Remember the major/minor number of the hdisk14:
brw------- 1 root system 14, 7 Aug 06 21:38 /dev/hdisk14
crw------- 1 root system 14, 7 Aug 06 21:38 /dev/rhdisk14
Remove the device link of the hdisk14
rm -f /dev/hdisk14
rm -f /dev/rhdisk14
Make a new device link for the hdisksunbeat14
cd /dev
mknod hdisksunbeat14 b 14 7
mknod rhdisksunbeat14 c 14 7
chmod 600 *hdisksunbeat14作者: wf201626 时间: 2004-09-16 20:09 标题: 一个超难的问题!! i am so sorry, it doesnt work!作者: digitalunix 时间: 2004-09-17 14:51 标题: 一个超难的问题!! 语法有错,应该是:
#mkdev -p dar0 -t array -c disk -s fdar -w 13,0 -l hdisk27 -d作者: wf201626 时间: 2004-09-17 22:03 标题: 一个超难的问题!! i used the command - mkdev -p dar0 -t array -c disk -s fdar -w 13,0 -l hdisk27 -d
but i got the same error message -
>;mkdev -p dar0 -t array -c disk -s fdar -w 27,0 -l hdisk31 -d
Method error (/etc/methods/define):
0514-022 The specified connection is not valid.
by the way, i wonder why you want to use the "-w 13,0",
i used the command lsdev -Cl hdisk13 -Fconnwhere and get the connection is one digit other then the number like yours "13,0"
how did you get this parameter assosiated with a logical disk resided on FASTt?
thank you very much!!!作者: jxufe 时间: 2004-09-18 14:27 标题: 一个超难的问题!! 这个问题很好解决,在fsm中lun和logical driver的映射数字加2,把disk23的设备定义删掉,重新cfgmgr作者: 浪子是我 时间: 2004-09-19 23:35 标题: 一个超难的问题!! it is a easy question , you can remove the hdisk23 , and then create two dummy device , which named hdisk23 and hdisk24, and then run the cfgmgr to reconize the previous hdisk23, and it should became hdisk25 now !! 作者: zxlsmy 时间: 2004-09-20 09:59 标题: 一个超难的问题!! 楼上的方法很简单使用。作者: wf201626 时间: 2004-09-20 20:49 标题: 一个超难的问题!! 1. i dont think changing the fsm中lun和logical driver is a good idea which can fix the problem, even through i did not attempt to do this.
2. what is dummy device and how to creat the dummy device?作者: wf201626 时间: 2004-09-20 23:01 标题: 一个超难的问题!! 1. i dont think changing the lun和logical driver can fix the problem.even through i did not attempt to do this.
2.what is the dummy device and how to create the dummy device?
i am very appreciate all people responding the topic, and i hope we will find the final anwser to this problem.作者: wf201626 时间: 2004-09-20 23:27 标题: 一个超难的问题!! i've got the method creating a dummy device.
To define a "dummy" device, do the following:
1. Issue the command 'smit devices' and go through the smit panels to define the device.
2. Choose an unused SCSI address for the device.
3. Instead of pressing Enter on the last panel to define the device, press F6 instead to obtain the command smit is about to execute.
4. Exit from smit and enter the same command on the command line, adding the -d flag to the command. If you attempt to define the device using smit, the attempt will fail because there is no device at the unused SCSI address you have chosen.作者: wf201626 时间: 2004-09-20 23:33 标题: 一个超难的问题!! wohoo!
i've finally got it use the method provided by 浪子是我!!!