I have to disconnect SAN connected thru FibreChannel to Ubuntu. How can i do this?

root@fs2:/# umount /srv/media
umount: /srv/media: device is busy.
(In some cases useful info about processes that use
the device is found by lsof(8) or fuser(1))
root@fs2:/# fuser /srv/media
root@fs2:/# fuser /dev/mapper/media

1 Answer
1

I've found device being using in /etc/exports for sharing to nfs clients. After running exportfs -rv, removing device from smbd.conf (restarting samba) and removing device from /etc/fstab i was able to unmount device umount /srv/media.