AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.


#Power
 View Only
  • 1.  san disk with 0 byte

    Posted Tue October 30, 2018 02:05 PM

    Originally posted by: Gullio


    hello i have a strange problem on an lpar with aix 7.1.

     

    when i present an existing disk form a san the disk size is 0 byte. if i present a new disk the disk have the correct size.

     

    here some info( the disk is hdisk2):

     

    # lspv
    hdisk1          0002aa4b0c1966ee                    swap            active      
    hdisk12         0002aa4b07d9c9b0                    rootvg          active      
    hdisk0          none                                None                        
    hdisk2          none                                None                       
    
    # lsattr -El hdisk2
    PCM             PCM/friend/fcpother                                 Path Control Module              False
    PR_key_value    none                                                Persistant Reserve Key Value     True
    algorithm       fail_over                                           Algorithm                        True
    clr_q           no                                                  Device CLEARS its Queue on error True
    dist_err_pcnt   0                                                   Distributed Error Percentage     True
    dist_tw_width   50                                                  Distributed Error Sample Time    True
    hcheck_cmd      test_unit_rdy                                       Health Check Command             True
    hcheck_interval 60                                                  Health Check Interval            True
    hcheck_mode     nonactive                                           Health Check Mode                True
    location                                                            Location Label                   True
    lun_id          0x1000000000000                                     Logical Unit Number ID           False
    lun_reset_spt   yes                                                 LUN Reset Supported              True
    max_retry_delay 60                                                  Maximum Quiesce Time             True
    max_transfer    0x40000                                             Maximum TRANSFER Size            True
    node_name       0x500507680d00de2d                                  FC Node Name                     False
    pvid            none                                                Physical volume identifier       False
    q_err           yes                                                 Use QERR bit                     True
    q_type          simple                                              Queuing TYPE                     True
    queue_depth     8                                                   Queue DEPTH                      True
    reassign_to     120                                                 REASSIGN time out value          True
    reserve_policy  no_reserve                                          Reserve Policy                   True
    rw_timeout      30                                                  READ/WRITE time out value        True
    scsi_id         0x11000                                             SCSI ID                          False
    start_timeout   60                                                  START unit time out value        True
    timeout_policy  fail_path                                           Timeout Policy                   True
    unique_id       332136005076380810233DC0000000000001704214503IBMfcp Unique device identifier         False
    ww_name         0x500507680d08de2d                                  FC World Wide Name               False
    

     

    # lspath
    Enabled hdisk1  vscsi0
    Enabled hdisk12 vscsi0
    Enabled hdisk0  fscsi0
    Enabled hdisk0  fscsi0
    Enabled hdisk0  fscsi1
    Enabled hdisk0  fscsi1
    Enabled hdisk2  fscsi0
    Enabled hdisk2  fscsi0
    Enabled hdisk2  fscsi1
    Enabled hdisk2  fscsi1
    
    # bootinfo -s hdisk2
    0
    
    

    i have mounted this lun in another lpar and it see the correct value:

     

    # bootinfo -s hdisk2
    153600
    #
    

    please let me understand why this appens(obviously the disk cannot be accessed from the node on 0 byte)


    #AIX-Forum