tech.gate.io blog

AIX: Get PVID directly from hdisk using od

lspv and other high level lvm commands are reading the pvid from the ODM database, not from the disk itself
this is a great performance improvement, but may lead to an inconsistence of pvids

when the storage admin for example, deletes a hdisk and maps a new one, before you delete it on the system, after running "cfgmgr/cfgdev" the new hdisk appears as the old one with it's old pvid

mapping such an unlucky disk to a lpar, results in different pv ids on lpar and vio server, which may be an absolute disaster

to check the real pvid, read the disk-header directly with the command

od -A n -j 128 -N 8 -x /dev/hdisk120

 
compare this value with the one from lspv
if it's different, use

chdev -l hdiskx -a pv=yes

 
this command will even work, if the disk is already mapped, since the disk already has a pvid, so chdev just reads the pvid from the disk-header, and writes it to the ODM

62 comments


private message
I cannot tell a lie, that really heelpd.



private message
gJ7nxN symenzsqfmnu



private message
viagra 054 køb viagra ltqik


private message

Perfect!
http://vimax4pills.com/ ,buy penis enlargement, http://www.phen375-4diet.com ,phen375 reviews,



private message

Perfect!
http://medstore4all.com/risperdal.html ,risperdal, http://medstore4all.com/amaryl.html ,amaryl, http://medstore4all.com/valtrex.html ,valtrex, http://medstore4all.com/b_viagra.html ,brand viagra, http://medstore4all.com/bodydetox.html ,bodydetox pharmacy,



Page: 1/6  [Next]
1  2  3  4  5  6 

Post new comment

Anti-Bot verification code image
Try another code

Last blog post comments

  1. xymon netapp vfiler quota monitoring: rvksjfq sjmgafs 01:26 CEST
  2. Use Windows as router / NAT traffic: vnvrfihp muygzxbi Sat 19 of May, 2012 16:18 CEST
  3. mount nfs v3 share under Solaris 10: kdvwtux xqowacnm Sat 19 of May, 2012 04:21 CEST
  4. Unix Color Terminal: cbeusw ejbpsnr Sat 19 of May, 2012 01:29 CEST
  5. AIX: Get PVID directly from hdisk using od: buy penis enlargement penis_enlargement Fri 18 of May, 2012 15:14 CEST
  6. AIX: Get PVID directly from hdisk using od: risperdal risperdal Fri 18 of May, 2012 13:00 CEST
  7. AIX: Get PVID directly from hdisk using od: cheap phen375 phen375 Wed 16 of May, 2012 18:30 CEST
  8. AIX: Get PVID directly from hdisk using od: Good info Pharmk935 Mon 14 of May, 2012 23:06 CEST
  9. Unix Color Terminal: Good info Pharmd119 Sun 13 of May, 2012 15:49 CEST
  10. Test network throughput without disk or cpu distortion: Good info Pharmd585 Sun 13 of May, 2012 06:01 CEST

Feeds List