AIX

AIX

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


#Power
#Power
 View Only
  • 1.  iSCSI Target from NAS

    Posted Tue April 03, 2007 07:16 AM

    Originally posted by: SystemAdmin



    Problem is regarding iSCSI target which is from NAS.

    I have assigned a target to my pSeries AIX 5.3 Server. For this to work, I mentioned the target name in "/etc/iscsi/targets" file in the format ---

    <IP Address of NAS> <Port No.> <Target Name>

    After that, I executed the command --
    1. cfgmgr -l iscsi0

    I then configured iSCSI Protocol Device. Soon after performing this, I was able to see a new disk appearing.

    1. lspv

    Then I executed the command --

    1. chdev -l hdiskn -a pv=yes (to assign PVID)

    I also created a new volume group (newvg) and assigned this disk to it. Finally created filesystem on that disk using the command --

    1. crfs -v jfs -g newvg -m /test -A yes -a size=<size in GBs> -a bf=true
    2. mount -a

    The filesystem got mounted and was able to use it further.

    BUT.......

    after sometime, I see that the PV becomes inaccessible and while issuing the command --

    1. lsvg newvg

    i get an error message.

    I then restarted the server and then I couldn't even see the PV. I had to issue the command --

    1. cfgmgr

    after which the disk appeared with no PVID assigned to it.

    When I issue the command ---

    1. chdev -l hdisk3 -a pv=yes

    it gives me an error message which is --

    Method error (/usr/lib/methods/chgdisk):
    0514-047 Cannot access a device.
    pv

    Kindly suggest what steps do I need to follow and why it is happening like that.
    What other points do I need to consider and how can I get my problem resolved.

    TIA
    Atul Gautam

    #AIX-Forum