Problem

LPAR was moved from one frame to another, no missing paths were cleaned up.

  • What’s missing?:
#:/> lspath -t

Missing hdisk0 vscsi0 0
Missing hdisk1 vscsi0 0
Missing hdisk2 vscsi0 0
Missing hdisk3 vscsi0 0
Missing hdisk4 vscsi0 0
Enabled hdisk1 vscsi0 1
Enabled hdisk4 vscsi0 1
Enabled hdisk0 vscsi0 1
  • What’s in use?:
#:/> lspv        
hdisk0          000af2ea3953e7aa                    rootvg          active
hdisk1          000af2ea39d2000b                    oracle          active
hdisk4          000af2ea8fe53d96                    orad01vg        active

Solution

  • Remove unused disks:
VIOS:/> rmdev -d -l hdisk2
hdisk2 deleted

VIOS:/> rmdev -d -l hdisk3
hdisk3 deleted

VIOS:/ > lspath -t         
Missing hdisk0 vscsi0 0
Missing hdisk1 vscsi0 0
Missing hdisk4 vscsi0 0
Enabled hdisk1 vscsi0 1
Enabled hdisk4 vscsi0 1
Enabled hdisk0 vscsi0 1
  • Remove missing paths from the old VIOS (path ID!!!):
VIOS:/> rmpath -l hdisk4 -p vscsi0 -i 0 -d
paths Deleted

VIOS:> rmpath -l hdisk1 -p vscsi0 -i 0 -d
paths Deleted

VIOS:/> rmpath -l hdisk0 -p vscsi0 -i 0 -d
paths Deleted

VIOS:/> lspath -t
Enabled hdisk1 vscsi0 1
Enabled hdisk4 vscsi0 1
Enabled hdisk0 vscsi0 1

Comments