Failed to remove volume group, loopback group - Veritas Volume Manager

This is a discussion on Failed to remove volume group, loopback group - Veritas Volume Manager ; Platform: HPUX 11.23, veritas 3.5 When I try to delete volume group, it became loopback group. The dynamic disk group and physical disk can not be removed from vea GUI. SAM shows the disk is still in vxvm. Any workaround ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Failed to remove volume group, loopback group

  1. Failed to remove volume group, loopback group


    Platform: HPUX 11.23, veritas 3.5
    When I try to delete volume group, it became loopback group. The dynamic
    disk group and physical disk can not be removed from vea GUI. SAM shows the
    disk is still in vxvm. Any workaround for it? Thanks in advance

    vxdisk list c4t0d2
    Device: c4t0d2
    devicetag: c4t0d2
    type: simple
    hostid: loopback
    disk: name= id=1117559854.1171.loopback
    group: name=vtvol id=1117559855.1176.loopback
    flags: online ready private autoconfig autoimport
    pubpaths: block=/dev/vx/dmp/c4t0d2 char=/dev/vx/rdmp/c4t0d2
    version: 2.2
    iosize: min=1024 (bytes) max=256 (blocks)
    public: slice=0 offset=1280 len=7208208
    private: slice=0 offset=128 len=1024
    update: time=1117638192 seqno=0.9
    headers: 0 248
    configs: count=1 len=727
    logs: count=1 len=110
    Defined regions:
    config priv 000017-000247[000231]: copy=01 offset=000000 enabled
    config priv 000249-000744[000496]: copy=01 offset=000231 enabled
    log priv 000745-000854[000110]: copy=01 offset=000000 enabled
    lockrgn priv 000855-000919[000065]: part=00 offset=000000
    Multipathing information:
    numpaths: 1
    c4t0d2 state=enabled

  2. Re: Failed to remove volume group, loopback group

    How did you delete the diskgroup ? (HP LVM uses volume groups, Veritas
    Volume Manager uses diskgroups)

    The correct way to do it is: vxdg -g destroy.

    Once that has been done, you can "unsetup" the disk with the command :
    /etc/vx/bin/vxdiskunsetup



    Now, the loopback that you see in the vxdisklist, is the name of the
    host (the machine) that has the diskgroup imported (the diskgroup name
    is actually "vtvol") the "id" of the disk and the diskgroup will always
    end in the name of the host on which it was created.


    Hope that helps


    jeff wrote:
    > Platform: HPUX 11.23, veritas 3.5
    > When I try to delete volume group, it became loopback group. The dynamic
    > disk group and physical disk can not be removed from vea GUI. SAM shows the
    > disk is still in vxvm. Any workaround for it? Thanks in advance
    >
    > vxdisk list c4t0d2
    > Device: c4t0d2
    > devicetag: c4t0d2
    > type: simple
    > hostid: loopback
    > disk: name= id=1117559854.1171.loopback
    > group: name=vtvol id=1117559855.1176.loopback
    > flags: online ready private autoconfig autoimport
    > pubpaths: block=/dev/vx/dmp/c4t0d2 char=/dev/vx/rdmp/c4t0d2
    > version: 2.2
    > iosize: min=1024 (bytes) max=256 (blocks)
    > public: slice=0 offset=1280 len=7208208
    > private: slice=0 offset=128 len=1024
    > update: time=1117638192 seqno=0.9
    > headers: 0 248
    > configs: count=1 len=727
    > logs: count=1 len=110
    > Defined regions:
    > config priv 000017-000247[000231]: copy=01 offset=000000 enabled
    > config priv 000249-000744[000496]: copy=01 offset=000231 enabled
    > log priv 000745-000854[000110]: copy=01 offset=000000 enabled
    > lockrgn priv 000855-000919[000065]: part=00 offset=000000
    > Multipathing information:
    > numpaths: 1
    > c4t0d2 state=enabled


+ Reply to Thread