Monday, June 25, 2012

How to rename disk device

For ease of managing the disks, especially in a cluster is very important.

Advantage of this will be allow admins to regconise the disk fast and less errors for 'varyon' or 'varyoff' when importing or exporting the disks.

Disadvantage is that you need to plan ahead the "numbering" of the disks so that the number actually mean something.


> lspv
hdisk0          00f603d2341862f6                    rootvg          active
hdisk1          00f603d243581d29                    rootvg          active
 
> rendev -l hdisk1 -n hdisk99
 
> lspv
hdisk0          00f603d2341862f6                    rootvg          active
hdisk99          00f603d243581d29                    rootvg          active

No comments: