Hi, a hard disk is broken, but I can not unmount the file system, even though I deleted all the shared folders related to this hard disk. How should I do? thanks
[Solved] force umount filesystem
-
-
What's the output of:
mount
blkid -
You can not delete a filesystem entry if it is still used by a shared folder. You have to delete the shared folder config first to be able to delete a (broken) filesystem config entry.
-
Zitat von "votdev"
You can not delete a filesystem entry if it is still used by a shared folder. You have to delete the shared folder config first to be able to delete a (broken) filesystem config entry.
there aren't share folders:
-
Zitat von "ryecoaaron"
What's the output of:
mount
blkidCode
Alles anzeigenroot@MicroserverOMV:~# mount /dev/sdc1 on / type ext4 (rw,errors=remount-ro) tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755) proc on /proc type proc (rw,noexec,nosuid,nodev) sysfs on /sys type sysfs (rw,noexec,nosuid,nodev) udev on /dev type tmpfs (rw,mode=0755) tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev) devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620) tmpfs on /tmp type tmpfs (rw) /dev/sda1 on /media/3ad818db-2042-43af-982a-922daf4b319e type ext4 (rw,noexec,_netdev,acl,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0) root@MicroserverOMV:~#
-
Filesystem broken: uuid 8d089ed1-5dfb-4c3a-a353-4d7e6661e452
-
Here is what I would do.
Codecp /etc/openmediavault/config.xml /etc/openmediavault/config.backup nano /etc/openmediavault/config.cml go to fstab section find mntent entry that matches your uuid (8d089ed1-5d...) delete <mntent> to </mntent> including the mntent tags ctrl-o to save ctrl-x to exit reboot
You may have to remove the entry from /etc/fstab as well. -
works! Thanks a lot
-
sorry for digging up an old thread, but i had the same problem with a disk and proceeded as described here:
Here is what I would do.
Codecp /etc/openmediavault/config.xml /etc/openmediavault/config.backup nano /etc/openmediavault/config.cml go to fstab section find mntent entry that matches your uuid (8d089ed1-5d...) delete <mntent> to </mntent> including the mntent tags ctrl-o to save ctrl-x to exit reboot
You may have to remove the entry from /etc/fstab as well.but now i have a share for a disk, that is not in my system anymore, what do i do to remove that?
-
You remove it from the config.xml like you did with your filesystem.
Greetings
David -
You remove it from the config.xml like you did with your filesystem.
Greetings
Davidthanks, i figured it out now
so now that it is removed from the webgui, is there any way to check if it is still trying to mount and share it?
and if it does how do i fix that?
regards
Halvhjearne -
Do you got the feeling it still trys to mount and share it?
Greetings
David -
im pretty sure it is.
when i browse folders i see an extra something thats not supposed to be there, but when i was removing the drive there was no way to unmount it and it said it was still in use, even tho i had deleted all shares and everything on the disk to be sure. -
and it said it was still in use, even tho i had deleted all shares and everything on the disk to be sure.
If it says so, then it is referenced somewhere. Sweetspot is the home folder settings.
Greetings
David -
I was getting similar errors to above post and it took some time to realize I forgot to close out a tmux session that was in a subdirectory of the drive from the last time I had it mounted, so apparently that can keep the drive from being mounted again but not keep the drive from being unmounted. Closing the tmux session allowed for immediate mounting of the drive.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!