I accidentally left two different devices mounted on /opt
:
/dev/xvdf on /opt type ext4 (rw,relatime,seclabel,data=ordered)
/dev/md0 on /opt type ext4 (rw,relatime,seclabel,stripe=256,data=ordered)
It would be a problem to umount /dev/md0
, and things are using /opt
. /dev/md0
should be mounted on top of /dev/xvdf
. Any suggestions how I can just unmount /dev/xvdf
?
Tried:
[root@redacted ~]# umount /dev/xvdf
umount: /dev/xvdf: umount failed: Invalid argument
[root@redacted ~]# mount --move /dev/xvdf /temp
mount: bad option. Note that moving a mount residing under a shared
mount is unsupported.
Also I've had AWS support for volumes yell at me about force detaching in-use volumes, so that's not an option.