Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleDetaching Volumes

Detaching Volumes

REMINDER: Volumes can only be detached if:

  1. they are not in active use by a process on the instance
    Try:
    1. fuser -m /<volume> 
 
    1. to LIST all processes using a volume 
      1. You might also try sudo fuser -m /volume if nothing comes up – this will check for root processes holding the volume open
    2. fuser -km /<volume>
 
    1. to KILL all processes using a volume
      1. If you get results with sudo above, you'll need to do sudo fuser -km /<volume> to kill the processes
  1. the instance to which they are attached is active
 
  1. Image Modified

sudo lsof /vol_dir will also show you processes using the volume.