Ich möchte /dev/sda2 [gemountet auf /var/www] als schreibgeschützt neu mounten
# mount -o remount,ro /var/www
mount: /var/www is busy
Auf diesem Dateisystem sind keine Dateien geöffnet.
# fuser -v -m /var/www
USER PID ACCESS COMMAND
/var/www: root kernel mount /var/www
# lsof -V /var/www
lsof: no file system use located: /var/www
Es läuft nichts NFS-ähnliches. Keine Auslagerungsdateien unter /var/www
. Keine Loop-Geräte im Einsatz.
Warum ist /var/www
immer noch beschäftigt?
Nichts montiert unter /var/www
:
# mount
/dev/root on / type ext4 (rw,noatime,nodelalloc)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=155344k,mode=755)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,relatime,size=310684k)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev type tmpfs (rw,relatime,size=10240k,mode=755)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,relatime,size=310684k)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
/dev/sda2 on /var/www type ext4 (rw,noatime,nodelalloc)
Antwort1
Durch das Beenden verschiedener Prozesse fand ich heraus, dass Gamin den Mount beschäftigte. Ich frage mich immer noch, warum dies weder in lsof
noch infuser