How can i set the noautoimport flag - Veritas Volume Manager

This is a discussion on How can i set the noautoimport flag - Veritas Volume Manager ; Hi, can i set the noautoimport flag? I can see it with the vxdisk command. ================================================ # vxdisk list c4t2d45s2 Device: c4t2d45s2 [...] flags: online ready autoconfig noautoimport imported pubpaths: block=/dev/vx/dmp/c4t2d45s4 char=/dev/vx/rdmp/c4t2d45s4 privpaths: block=/dev/vx/dmp/c4t2d45s3 char=/dev/vx/rdmp/c4t2d45s3 version: 2.1 iosize: min=512 (bytes) ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: How can i set the noautoimport flag

  1. How can i set the noautoimport flag

    Hi,

    can i set the noautoimport flag? I can see it with the vxdisk command.

    ================================================
    # vxdisk list c4t2d45s2
    Device: c4t2d45s2
    [...]
    flags: online ready autoconfig noautoimport imported
    pubpaths: block=/dev/vx/dmp/c4t2d45s4 char=/dev/vx/rdmp/c4t2d45s4
    privpaths: block=/dev/vx/dmp/c4t2d45s3 char=/dev/vx/rdmp/c4t2d45s3
    version: 2.1
    iosize: min=512 (bytes) max=256 (blocks)
    public: slice=4 offset=0 len=48595200
    private: slice=3 offset=1 len=1919
    update: time=990182184 seqno=0.94
    headers: 0 248
    configs: count=1 len=1387
    logs: count=1 len=210
    Defined regions:
    config priv 000017-000247[000231]: copy=01 offset=000000 disabled
    config priv 000249-001404[001156]: copy=01 offset=000231 disabled
    log priv 001405-001614[000210]: copy=01 offset=000000 disabled
    Multipathing information:
    numpaths: 1
    c4t2d45s2 state=enabled
    ================================================

    Thanks, Marco Haeder




  2. Re: How can i set the noautoimport flag

    Hi Marco,

    The noautoimport flag is set if you do a temporay import (the import will
    not survive a reboot).

    Normally you use the follwoing command to import a disk group: vxdg
    import
    This will set the autoimport flag (the import will survice a reboot)

    If you use the following command to import the disk group (temporary
    import): vxdg -t import
    the noautoimport flag will be set (the import will not survive a reboot).

    Unmount and stop all volumes in the diskgroup and then deport it. Import
    again with: vxdg import
    Should fix it. (Worked on my system)

    Regards,
    Peter

    Marco Haeder wrote:

    > Hi,
    >
    > can i set the noautoimport flag? I can see it with the vxdisk command.
    >
    > ================================================
    > # vxdisk list c4t2d45s2
    > Device: c4t2d45s2
    > [...]
    > flags: online ready autoconfig noautoimport imported
    > pubpaths: block=/dev/vx/dmp/c4t2d45s4 char=/dev/vx/rdmp/c4t2d45s4
    > privpaths: block=/dev/vx/dmp/c4t2d45s3 char=/dev/vx/rdmp/c4t2d45s3
    > version: 2.1
    > iosize: min=512 (bytes) max=256 (blocks)
    > public: slice=4 offset=0 len=48595200
    > private: slice=3 offset=1 len=1919
    > update: time=990182184 seqno=0.94
    > headers: 0 248
    > configs: count=1 len=1387
    > logs: count=1 len=210
    > Defined regions:
    > config priv 000017-000247[000231]: copy=01 offset=000000 disabled
    > config priv 000249-001404[001156]: copy=01 offset=000231 disabled
    > log priv 001405-001614[000210]: copy=01 offset=000000 disabled
    > Multipathing information:
    > numpaths: 1
    > c4t2d45s2 state=enabled
    > ================================================
    >
    > Thanks, Marco Haeder



  3. Re: How can i set the noautoimport flag

    Hi Marco,

    May i know why you are trying to use the non-auto-import?. I am just
    curious.

    Thanks,
    Prasad GOndi

    Marco Haeder wrote in message
    news:3B474D3E.17575216@minden.edeka.de...
    > Hi,
    >
    > can i set the noautoimport flag? I can see it with the vxdisk command.
    >
    > ================================================
    > # vxdisk list c4t2d45s2
    > Device: c4t2d45s2
    > [...]
    > flags: online ready autoconfig noautoimport imported
    > pubpaths: block=/dev/vx/dmp/c4t2d45s4 char=/dev/vx/rdmp/c4t2d45s4
    > privpaths: block=/dev/vx/dmp/c4t2d45s3 char=/dev/vx/rdmp/c4t2d45s3
    > version: 2.1
    > iosize: min=512 (bytes) max=256 (blocks)
    > public: slice=4 offset=0 len=48595200
    > private: slice=3 offset=1 len=1919
    > update: time=990182184 seqno=0.94
    > headers: 0 248
    > configs: count=1 len=1387
    > logs: count=1 len=210
    > Defined regions:
    > config priv 000017-000247[000231]: copy=01 offset=000000 disabled
    > config priv 000249-001404[001156]: copy=01 offset=000231 disabled
    > log priv 001405-001614[000210]: copy=01 offset=000000 disabled
    > Multipathing information:
    > numpaths: 1
    > c4t2d45s2 state=enabled
    > ================================================
    >
    > Thanks, Marco Haeder
    >
    >
    >




+ Reply to Thread