Knowledge Search


×
 

[EX/QFX] error: umount: unmount of /var/tmp failed: Device busy / Device not configured

  [KB35076] Show Article Properties


Summary:

This article explains how to unmount the USB when observing the error messages below:

error: umount: unmount of /var/tmp failed: Device not configured
error: umount: unmount of /var/tmp failed: Device busy
Symptoms:

Unmounts failed with the error message below:

root@Switch% umount /var/tmp
umount: unmount of /var/tmp failed: Device busy
 
root@Switch% umount /var/tmp
umount: unmount of /var/tmp failed: Device not configured
Solution:
  1. Check the mounted device and their location 

    root@Switch % mount
    /dev/ad0s1a on / (ufs, local, noatime, read-only)
    devfs on /dev (devfs, local, multilabel)
    /dev/md0 on /packages/mnt/jbase (cd9660, local, noatime, read-only, verified)
    /dev/md1 on /packages/mnt/jkernel-qfx-ex-x86-32-14.1X53-D46.7 (cd9660, local, noatime, read-only, verified)
    /dev/md2 on /packages/mnt/jpfe-qfx-ex-x86-32-14.1X53-D46.7 (cd9660, local, noatime, read-only, verified)
    /dev/md3 on /packages/mnt/jdocs-dc-re-14.1X53-D46.7 (cd9660, local, noatime, read-only, verified)
    /dev/md4 on /packages/mnt/jroute-qfx-ex-x86-32-14.1X53-D46.7 (cd9660, local, noatime, read-only, verified)
    /dev/md5 on /packages/mnt/jcrypto-dc-re-14.1X53-D46.7 (cd9660, local, noatime, read-only, verified)
    /dev/md6 on /packages/mnt/jsdn-i386-14.1X53-D46.7 (cd9660, local, noatime, read-only, verified)
    /dev/md7 on /packages/mnt/jswitch-qfx-ex-x86-32-14.1X53-D46.7 (cd9660, local, noatime, read-only, verified)
    /dev/md8 on /packages/mnt/jweb-ex-14.1X53-D46.7 (cd9660, local, noatime, read-only, verified)
    /dev/md9 on /packages/mnt/py-base-i386-14.1X53-D46.7 (cd9660, local, noatime, read-only, verified)
    /dev/md10 on /tmp (ufs, asynchronous, local, noatime)
    /dev/ad2s1e on /config (ufs, local, noatime)
    procfs on /proc (procfs, local, noatime)
    /dev/ad1s1f on /var (ufs, local, noatime)
    /dev/ad1s1d on /var/tmp (ufs, local, noatime)
    /dev/ad1s1a on /var/log (ufs, local, noatime)
    /dev/ad1s1e on /altconfig (ufs, local, noatime)
    /dev/ad3s1 on /user (ufs, local, noatime)
    /var/jails/rest-api on /packages/mnt/jroute-qfx-ex-x86-32-14.1X53-D46.7/web-api/var (nullfs, local, noatime)
    /var/jail/etc on /packages/mnt/jweb-ex-14.1X53-D46.7/jail/var/etc (nullfs, local, noatime)
    /var/jail/run on /packages/mnt/jweb-ex-14.1X53-D46.7/jail/var/run (nullfs, local, noatime)
    /var/jail/tmp on /packages/mnt/jweb-ex-14.1X53-D46.7/jail/var/tmp (nullfs, local, noatime)
    /var/tmp on /packages/mnt/jweb-ex-14.1X53-D46.7/jail/var/tmp/uploads (nullfs, local, noatime)
    devfs on /packages/mnt/jweb-ex-14.1X53-D46.7/jail/dev (devfs, local, noatime, noexec, read-only, multilabel)
    /var/jail/jweb-app on /packages/mnt/jweb-ex-14.1X53-D46.7/jail/var/jweb-app (nullfs, local, noatime)
    /dev/md11 on /var/rundb (ufs, local, noatime)
    /dev/da0s1 on /var/tmp (msdosfs, local, noatime)
  2. Unmount the device forcefully using anyone of the below commands:

    • root@Switch % umount -f /var/tmp
    • root@Switch % umount -f /dev/da0s1
  3. Verification 

    root@Switch % mount
    
    /dev/ad0s1a on / (ufs, local, noatime, read-only)
    devfs on /dev (devfs, local, multilabel)
    /dev/md0 on /packages/mnt/jbase (cd9660, local, noatime, read-only, verified)
    /dev/md1 on /packages/mnt/jkernel-qfx-ex-x86-32-14.1X53-D46.7 (cd9660, local, noatime, read-only, verified)
    /dev/md2 on /packages/mnt/jpfe-qfx-ex-x86-32-14.1X53-D46.7 (cd9660, local, noatime, read-only, verified)
    /dev/md3 on /packages/mnt/jdocs-dc-re-14.1X53-D46.7 (cd9660, local, noatime, read-only, verified)
    /dev/md4 on /packages/mnt/jroute-qfx-ex-x86-32-14.1X53-D46.7 (cd9660, local, noatime, read-only, verified)
    /dev/md5 on /packages/mnt/jcrypto-dc-re-14.1X53-D46.7 (cd9660, local, noatime, read-only, verified)
    /dev/md6 on /packages/mnt/jsdn-i386-14.1X53-D46.7 (cd9660, local, noatime, read-only, verified)
    /dev/md7 on /packages/mnt/jswitch-qfx-ex-x86-32-14.1X53-D46.7 (cd9660, local, noatime, read-only, verified)
    /dev/md8 on /packages/mnt/jweb-ex-14.1X53-D46.7 (cd9660, local, noatime, read-only, verified)
    /dev/md9 on /packages/mnt/py-base-i386-14.1X53-D46.7 (cd9660, local, noatime, read-only, verified)
    /dev/md10 on /tmp (ufs, asynchronous, local, noatime)
    /dev/ad2s1e on /config (ufs, local, noatime)
    procfs on /proc (procfs, local, noatime)
    /dev/ad1s1f on /var (ufs, local, noatime)
    /dev/ad1s1d on /var/tmp (ufs, local, noatime)
    /dev/ad1s1a on /var/log (ufs, local, noatime)
    /dev/ad1s1e on /altconfig (ufs, local, noatime)
    /dev/ad3s1 on /user (ufs, local, noatime)
    /var/jails/rest-api on /packages/mnt/jroute-qfx-ex-x86-32-14.1X53-D46.7/web-api/var (nullfs, local, noatime)
    /var/jail/etc on /packages/mnt/jweb-ex-14.1X53-D46.7/jail/var/etc (nullfs, local, noatime)
    /var/jail/run on /packages/mnt/jweb-ex-14.1X53-D46.7/jail/var/run (nullfs, local, noatime)
    /var/jail/tmp on /packages/mnt/jweb-ex-14.1X53-D46.7/jail/var/tmp (nullfs, local, noatime)
    /var/tmp on /packages/mnt/jweb-ex-14.1X53-D46.7/jail/var/tmp/uploads (nullfs, local, noatime)
    devfs on /packages/mnt/jweb-ex-14.1X53-D46.7/jail/dev (devfs, local, noatime, noexec, read-only, multilabel)
    /var/jail/jweb-app on /packages/mnt/jweb-ex-14.1X53-D46.7/jail/var/jweb-app (nullfs, local, noatime)
    /dev/md11 on /var/rundb (ufs, local, noatime)

We have unmounted the USB successfully.

Related Links: