* Stop a volume while NFS client is connected. * Remove a volume while NFS client is connected. * NFS client freezes because the mountpoint disappears under its feet. * The system should be aware that clients are connected and block stopping and/or removal of volumes that are in use.
As soon as you "stop" a volume to which NFS client is connected, it is no more accessible to the clients, so "remove" part can be out of question for this bug, as we don't allow removing a volume if it's in "UP" status. We should not prevent the user from stopping such volumes, but provide a sufficient warning and ask for confirmation. Currently the confirmation prompt says "Are you sure want to stop the following Volume(s)?" We should add more text below saying "Stopping a volume will make its data inaccessible." (Exactly same as the warning shown by GlusterFS CLI)
Confirmation popup modified to add a Note: in the bottom to explain the result of the action(Stop or Remove). The message will be same as the glusterfs warning while performing the action. Patch : http://gerrit.ovirt.org/#/c/5230/
Checked on rhsc-2.0.techpreview1-0.scratch.