I am using an instance that has an EBS volume attached to it . This volume is used as secondary volume ( mounted to xvdf ) .
So usually to detach the volume i go to volume section of the AWS EC2 console select the volume and click Detach .
But i read on the aws documentation that, before doing the step listed above ,I must unmount the volume otherwise it will damage the data stored on that drive .
" Failure to do so results in the volume being stuck in the busy state while it is trying to detach, which could possibly damage the file system or the data it contains. "
My question are :
1) How to unmount the volume ?(bring off line via Server Manager ?)
2) If the instance to which the volume is mounted is stopped then will the volume be considered as unmounted ?