nerdexam
IBM

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.

Storage Management

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)
  • A
    3% (1)
  • B
    78% (29)
  • C
    5% (2)
  • D
    14% (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.

Achpv-n cldisk1 hdisk2

chpv modifies physical volume characteristics such as allocation permission and reserve policy, but does not rename devices.

Brendev-I hdisk2 -n cldisk1Correct

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.

Cclcmd-I hdisk2-d cldisk1

clcmd is a PowerHA cluster command used to run commands across cluster nodes; it is not a device management utility.

Dchdev-I hdisk2-aname=cldisk1

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

#device renaming#rendev#hdisk#disk management

Community Discussion

No community discussion yet for this question.

Full 000-221 Practice