Ticket #913 (closed bug: cannotreproduce)
umount problem while using two usb disk.
| Reported by: | luca.necchi@… | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | fon-base-firmware | Version: | 2.3.6.0 (Gari) |
| Severity: | unknown | ||
| Cc: | Hardware: | 2.0n (FON2300) |
Description
Hi. First of all, thx for this great product and for your work.
I've noticed that mountd does not automatically unmount a usb disk (sdb1) whether another usb disk (sda1) is in use. The condition is easy to reproduce... in my case I have a swap file on disk sda1. I have verified that there is no open file on the disk I hope to see unmounted (sdb1) through lsof command.
as soon as I issue a swapoff /tmp/run/mountd/sda1/extra-swap both the disk get correctly unmounted (proving that sdb1 had no open files)
I can, indeed, unmount the disk (sdb1) through the "umount" command from ssh command line, but mountd does not react properly and keep thinking the disk is there, bringing fon into some instability (Dashboard-Filebrowser web page hangs forever and sdb1 disk is not re-mounted once reconnected) that can be solved only by a reboot
this is really annoying because it becomes virtually impossible to umount a "data" disk while having a "system" disk (with swap, and various other packages installed) operational
Maybe mountd (that I could not figure out how to use) have some command line options (or setup) to do so
Many many thx in advance.

