Symantec logo

Taking a disk offline

There are instances when you must take a disk offline. If a disk is corrupted, you must disable the disk before removing it. You must also disable a disk before moving the physical disk device to another location to be connected to another system.

Warning: Taking a disk offline is only useful on systems that support hot-swap removal and insertion of disks. If a system does not support hot-swap removal and insertion of disks, you must shut down the system.

 To take a disk offline

  1. Select menu item 10 (Disable (offline) a disk device) from the vxdiskadm main menu.
  2. At the following prompt, enter the address of the disk you want to disable:

    Disable (offline) a disk device

    Menu: VolumeManager/Disk/OfflineDisk

    VxVM INFO V-5-2-474 Use this menu operation to disable all

    access to a disk device by the Volume Manager. This operation

    can be applied only to disks that are not currently in a disk

    group. Use this operation if you intend to remove a disk from

    a system without rebooting.

    NOTE: Many systems do not support disks that can be removed

    from a system during normal operation. On such systems, the

    offline operation is seldom useful.

    Select a disk device to disable [<address>,list,q,?]

    hdisk2

    The vxdiskadm program disables the specified disk.

  3. At the following prompt, indicate whether you want to disable another device (y) or return to the vxdiskadm main menu (n):

    Disable another device? [y,n,q,?] (default: n)