IC SunsetThe developerWorks Connections platform will be sunset on December 31, 2019. On January 1, 2020, this blog will no longer be available. More details available on our FAQ.

Comments (20)
  • Add a Comment
  • Edit
  • More Actions v
  • Quarantine this Entry

Comments (20)

cggibbo commented Nov 8 2014 Comment Permalink

Hi Anthony, I think your colleague is referring to renaming (a)tape devices specifically. This procedure was for renaming tape devices (with the atape device driver installed) ONLY.https://www-304.ibm.com/support/entdocview.wss?uid=isg3T1000748

AnthonyEnglish commented Nov 7 2014 Comment Permalink

Chris, a colleague advised me of an option on the chdev command to rename devices: chdev -l rmt0 -a new_name=rmt10 I've never noticed this command before and I can't find that attribute (-a new_name) in the chdev command documentation I've looked at. Do you have any thoughts on whether this command is possible, and whether there'd be any reason to change a device name using the chdev command rather than rendev?

MuratYildirim commented June 26 2013 Comment Permalink

OK I see you another technote: https://www.ibm.com/developerworks/community/blogs/cgaix/entry/in_a_perfect_world_rootvg_would_always_reside_on_hdisk0?lang=en and so I understand the mirrorvg is only way for change name of rootvg disk:)

MuratYildirim commented June 26 2013 Comment Permalink

Hi Chris, I am wonderin is there any way for change rootvg disk name without mirroring it?. I guess the rendev command desn't support for rootvg disk and we cannot use -P flag as you know. ----------------------------------------------------- bash-3.2# lspv hdisk2 00c3dbae78134537 rootvg active bash-3.2# rendev -l hdisk2 -n hdisk0 Method error (/etc/methods/ucfgdevice): 0514-062 Cannot perform the requested function because the specified device is busy. bash-3.2# rendev -l hdisk2 -n hdisk0 -P rendev: illegal option -- P Usage: rendev -l Name [-n NewName] [-u] ----------------------------------------------------------------- Thanks.

jfaske commented Feb 7 2013 Comment Permalink

Any word on when the rendev command will be fixed in 7.1? Just checked all the way up to TL2 SP1 and I don't see any mention of it. Thanks.

cggibbo commented July 10 2012 Comment Permalink

"I would have preffered a command that can change a device that is currently in use..................So I have to hope a VIOS release in the Future deals with this "issue" Couldn't agree more. One way to request this enhancement would be to contact your IBM rep and suggest a Design Change Request (DCR). Cheers. Chris

frenger commented July 9 2012 Comment Permalink

I would have preffered a command that can change a device that is currently in use. Theoretically you can remove all devices from one VIO because in a dual VIO concept nothing should go wrong. Praktically its a whole differnt story. Oracle DBs for example are very sensiteve with the IO of their control-files. We had some default mpio path switches on Oracle DBs and in 90% of the time the DB coredumped. Besides this fact it's to complicated and work intensive to remove and reconfigure all devices of our VIO LPARS. So I have to hope a VIOS release in the Future deals with this "issue". Thanks, Sebastian

cggibbo commented July 3 2012 Comment Permalink

"Is there a "legal" way to rename vtscsi devices in a supported way?" Well I guess one, supported, method would be to remove the device mapping and then re-map the device with the new/desired vtscsi name.

frenger commented June 28 2012 Comment Permalink

Hi We have a lot of very old VIOS server and recently we thought it might be a good idea to rename the vtscsi device to somthing like lpar_hdisk# to get a better overview. On our newer Vios I manged to use rendev as root (there is sadly no chvdev command present) to rename the device. But it feels a bit risky as someone stated above viosbr can get troubles and so on. I don't feel relly save at the moment renaming all vtscsi devices on a VIO without long term testing. Then we realized that pre AIX 6.1 vios (1.4 &1.5) not even has the rendev command... Is there a "legal" way to rename vtscsi devices in a supported way. I mean even when I do it as root on more recent VIOS versions, its not really supported because it fells like circumventing the VIO ODMs. Any idea on this? Regards Sebastian

cfrs_au commented May 8 2012 Comment Permalink

Just a further warning for anyone thinking of creative uses for rendev :). The command's purpose and limitations should be better documented IMO. I guess the reason I try not to care about hdisk names is that before making a change I need to verify what the pvid/path/lun/size/type is for each hdisk, and the only reliable way to do that is to query the os/san array for current info so I have scripts to do all that (otherwise not much work would get done :p) Trusting hdisk device names to match seems a bit sketchy to me. My preference would be to use mknod whenever possible for stuff like RAC that requires identical device names.