aix cow - liamlamth/blog GitHub Wiki

  1. after cow complete
  2. scan device
    # cfgmgr
    
  3. list out import vg
    # lspv
    hdisk5 00f88af1783d1abc none
    
    # importvg -y app_vg hdisk5
    
    
  4. mount filesystems in imported VG
    # lsvg -l app_vg
    # mount -o noguard /dir1
    # mount -o noguard /dir2
    
    • if unable to mount, may be due to incorrect allocated disk.

      0506-324 Cannot mount /dev/dir1lv on /dir1: The media is not formatted or the format is not correct.
      0506-342 The superblock on /dev/dir1lv is dirty. Run a full fsck to fix

      check disk number. in this case, true copy is mistakenly allocated, as it keep being written.

      # lscfg -vpl hdisk5
      ...
      Device Specific.(Z1)........0123 4k ....
      ...
      

      remove device

      # varyoffvg app_vg
      # exportvg app_vg
      # rmdev -dl hdisk5
      
⚠️ **GitHub.com Fallback** ⚠️