Please login or register. June 23, 2017, 10:13:00 AM

Author Topic: lspath shows missing path  (Read 29052 times)

0 Members and 1 Guest are viewing this topic.

wganesh

  • Jr. Member
  • **
  • Posts: 14
  • Karma: +0/-0
lspath shows missing path
« on: December 09, 2008, 01:41:40 PM »
Can some one guide me to steps for removing below MPIO disks from LAPR. These disks are de-allocated from VIO but not removed from LPAR..

# lspath|grep -i miss
Missing hdisk9 vscsi3
Missing hdisk8 vscsi3
Missing hdisk6 vscsi3
Missing hdisk7 vscsi3
Missing hdisk1 vscsi3
Missing hdisk2 vscsi3
Missing hdisk3 vscsi3
Missing hdisk4 vscsi3

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1039
  • Karma: +0/-0
Re: lspath shows missing path
« Reply #1 on: December 09, 2008, 02:42:16 PM »
If vscsi3 was only being used for these disks you could do the following.

rmdev -dl vscsi3 -R

Then use a DLPAR action to remove the vscsi adapter from the LPAR, and then use the save option on the HMC to save the updated profile information.

Otherwise, remove the vscsi adapter from the partition; stop the partition; activate the partition and use the command above to remove the disks from the configuration.

I assume you mean by
Quote
disks are de-allocated from VIO
that you have run the command rmvdev -vtd vtXXXX for each of the disks, not that you have just removed the LUNS from the VIO server.

bonnoj

  • Registered
  • *
  • Posts: 1
  • Karma: +0/-0
Re: lspath shows missing path
« Reply #2 on: January 22, 2009, 08:24:58 AM »
Hi,

When I do lspath, the result is:

Missing hdisk0 vscsi0
Missing hdisk1 vscsi0
Missing hdisk1 vscsi1
Missing hdisk2 vscsi1
Missing hdisk3 vscsi0
Missing hdisk4 vscsi0
Missing hdisk3 vscsi1
Missing hdisk4 vscsi1
Enabled hdisk4 vscsi0
Enabled hdisk1 vscsi0
Enabled hdisk3 vscsi0
Enabled hdisk0 vscsi0
Enabled hdisk4 vscsi1
Enabled hdisk1 vscsi1
Enabled hdisk3 vscsi1
Enabled hdisk2 vscsi1

How can I remove the missing disk?

Grtz,
Bonno

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1039
  • Karma: +0/-0
Re: lspath shows missing path
« Reply #3 on: March 24, 2009, 05:00:09 PM »
Did you get this fixed? I have a bit more time now and might be able to find a way to create the problem.

Michael

  • Administrator
  • Hero Member
  • *****
  • Posts: 1039
  • Karma: +0/-0
Re: lspath shows missing path
« Reply #4 on: September 22, 2011, 02:23:43 PM »
The quick and the easy now.

The missing means that it was there during a previous boot. To get rid of them you need to find which fcsci parent they were connected to.

basic commands:

# lspath -l hdiskX -s Missing -F"parent"

The output will show, e.g. fscsi2 and fscsi3 as parents missing paths

# rmpath -p fscsi2 -d
# rmpath -p fscsi3 -d


After running the commands any paths on fscsi2 an fscsi3 are deleted (unless they would have been the last active path). Normally there are not any working paths on a parent with missing paths because it is the parent that is missing (new virtual slot using NPIV e.g.).
Should you lose a working path just run cfgmgr to recover all available paths.