From owner-freebsd-questions@freebsd.org Thu Jul 23 08:35:56 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BA87337626F for ; Thu, 23 Jul 2020 08:35:56 +0000 (UTC) (envelope-from freebsd-questions@m.gmane-mx.org) Received: from ciao.gmane.io (static.214.254.202.116.clients.your-server.de [116.202.254.214]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BC5JW5Mh6z4G5R for ; Thu, 23 Jul 2020 08:35:54 +0000 (UTC) (envelope-from freebsd-questions@m.gmane-mx.org) Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1jyWhl-000649-4Z for freebsd-questions@freebsd.org; Thu, 23 Jul 2020 10:35:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: freebsd-questions@freebsd.org To: freebsd-questions@freebsd.org From: Morten Bo Johansen Subject: Re: Unmounting usb disk impossible Date: Thu, 23 Jul 2020 10:35:48 +0200 Message-ID: References: <7e96086e-c765-469c-f200-f1ca94b0296a@kicp.uchicago.edu> Reply-To: mbj@mbjnet.dk User-Agent: slrn/1.0.3 (FreeBSD) Mail-Copies-To: Never X-Rspamd-Queue-Id: 4BC5JW5Mh6z4G5R X-Spamd-Bar: ++++ X-Spamd-Result: default: False [4.78 / 15.00]; HAS_REPLYTO(0.00)[mbj@mbjnet.dk]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_POLICY_QUARANTINE(1.50)[mbjnet.dk : SPF not aligned (relaxed), No valid DKIM,quarantine]; TO_MATCH_ENVRCPT_ALL(0.00)[]; R_SPF_ALLOW(-0.20)[+mx]; MIME_GOOD(-0.10)[text/plain]; REPLYTO_DOM_EQ_FROM_DOM(0.00)[]; TO_DN_NONE(0.00)[]; HFILTER_HOSTNAME_5(3.00)[static.214.254.202.116.clients.your-server.de]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_SPAM_MEDIUM(0.14)[0.145]; RCVD_TLS_LAST(0.00)[]; NEURAL_HAM_SHORT(-0.08)[-0.083]; NEURAL_SPAM_LONG(0.22)[0.220]; FORGED_SENDER(0.30)[listmail@mbjnet.dk,freebsd-questions@m.gmane-mx.org]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:116.202.0.0/16, country:DE]; FROM_NEQ_ENVFROM(0.00)[listmail@mbjnet.dk,freebsd-questions@m.gmane-mx.org]; GREYLIST(0.00)[pass,meta]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jul 2020 08:35:56 -0000 On 2020-07-22 Valeri Galtsev wrote: > Did you try > > lsof -k /media/[whatever name it is mounted with] > > and then try to force unmount > > umount -f /media/[whatever name it is mounted with] > > ? I have deactivated automount/autofs. But I could unmount it with the "-f" option. However, it leaves a dirty file system that needs to be fsck'ed. So I don't want to bother with this anymore. Mounting manually is also good enough for me. Morten