Next | Prev | Up | Top | Contents | Index

Detaching a Plex From a Logical Volume

Detaching a plex from a volume, perhaps because you want to swap disk drives, can be done while the volume is active. However, the entire address range of the subvolume must still be covered by active volume elements in the remaining plex or plexes. xlv_mgr does not allow you to detach the only active plex in a volume if the other plexes are not yet active. The procedure to detach a plex is:

  1. Start xlv_mgr and display the volume that has the plex that you plan to detach, for example, root_vol:

    # xlv_mgr

    xlv_mgr> show object root

    VOL root (complete)

    VE root.data.0.0 [active]

    start=0, end=1843199, (cat)grp_size=1

    /dev/dsk/dks1d3s0 (1843200 blks)

    VE root.data.1.0 [active]

    start=0, end=1843199, (cat)grp_size=1

    /dev/dsk/dks1d4s0 (1843200 blks)

  2. Detach plex 1 and give it the name plex1 by giving these commands:

    xlv_mgr> detach plex root.1 rplex1

  3. To examine the volume and the detached plex, give these commands:

    xlv_mgr> show -long all

    PLEX rplex1

    VE rplex1.0 [stale]

    start=0, end=1843199, (cat)grp_size=1

    /dev/dsk/dks1d4s0 (1843200 blks)

    VOL root (complete)

    VE root.data.0.0 [active]

    start=0, end=1843199, (cat)grp_size=1

    /dev/dsk/dks1d3s0 (1843200 blks)

  4. Exit xlv_mgr:

    xlv_mgr> quit



Next | Prev | Up | Top | Contents | Index