Friday, August 25, 2017

NIM mksysb Restoration issue - "image.data has invalid logical volume data"


Recently we were working on the DR exercise .  we were trying to restore the mksysb  and faced some unique issue . After checking the IBM sites also we were not able to get the satisfactory steps to resolution .

Issue noticed and troubleshooting steps:
----------------

  1.  while restoring , we were recieving the below errors and it was redirecting us to the main page ,language selection page  after this . 
  2. we noticed that ,the system was getting error while pharsing the image.data file and was throwing the error "image.data has invalid logical volume data" .
  3. further for isolating the issue . we again  created the new image.data file from the source servers and again tried to restore themksysb after adding the  image.data resources . 
  4. But no luck , after this also we were facing the same errors. This make us clear that there is no issues with the image.data file , but issue with the content of the image.data file .
  5. We tried to again validate the image.data files from many of the other servers which were successfully restored . 
  6. After lot of investigation and validating the many  image.data  files of the successfully restored servers , we figured out that , the problematic server was not having paging space(hd6) defined under rootvg .


Resolution :


  •  As a hit and trial method , We edited the image.data file of the server  and added the paging space logical volume into it .  
  • Created new image.data resource  and assigned it to nim-client . 
  • After doing so , the NIM mksysb restoration started smoothly without any issues  .