000-221 · Question #85
How can an administrator rename hdisk2 to cldisk1?
The correct answer is B. rendev-I hdisk2 -n cldisk1. The rendev command is the dedicated AIX utility for renaming devices, using -l to specify the current device and -n to specify the new name.
Question
How can an administrator rename hdisk2 to cldisk1?
Options
- Achpv-n cldisk1 hdisk2
- Brendev-I hdisk2 -n cldisk1
- Cclcmd-I hdisk2-d cldisk1
- Dchdev-I hdisk2-aname=cldisk1
How the community answered
(37 responses)- A3% (1)
- B78% (29)
- C5% (2)
- D14% (5)
Why each option
The rendev command is the dedicated AIX utility for renaming devices, using -l to specify the current device and -n to specify the new name.
chpv modifies physical volume characteristics such as allocation permission and reserve policy, but does not rename devices.
The rendev command with -l (logical device name) and -n (new name) is the correct AIX mechanism to rename a device, updating its entry in the ODM (Object Data Manager) permanently. Executing 'rendev -l hdisk2 -n cldisk1' changes the device name from hdisk2 to cldisk1 system-wide without requiring a reboot.
clcmd is a PowerHA cluster command used to run commands across cluster nodes; it is not a device management utility.
chdev modifies device attributes stored in the ODM, but the logical device name itself cannot be changed via chdev - that requires the dedicated rendev command.
Concept tested: AIX device renaming using rendev command
Source: https://www.ibm.com/docs/en/aix/7.3?topic=r-rendev-command
Topics
Community Discussion
No community discussion yet for this question.