Sunday, January 23, 2011

Renaming hdisk in AIX 7.1

When you're using AIX 7.1 (this is a new command for 7.1). If you had the following scenario:

node1: hdisk0, hdisk1, hdisk2 (private)
node2: hdisk0 (private)

And you add 2 shared disks - at first you would have:
node1: hdisk0, hdisk1, hdisk2 (private)
hdisk3, hdisk4, hdisk5 (shared)
node2: hdisk0 (private)
hdisk1, hdisk2, hdisk3 (shared)

You could do the following on node2:
rendev -l hdisk3 -n hdisk5 (now node2 has hdisk1, hdisk2, hdisk5)
rendev -l hdisk2 -n hdisk4 (now node2 has hdisk1, hdisk4, hdisk5)
rednev -l hdisk1 -n hdisk3 (now node2 has hdisk3, hdisk4, hdisk5)

Note the order in which I did it - because since node2 has an hdisk3 to start, I rename that one first.

No comments:

Post a Comment