Gentoo Archives: gentoo-user

From: Frank Steinmetzger <Warp_7@×××.de>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] SMR drives (WAS: cryptsetup close and device in use when it is not)
Date: Fri, 30 Jul 2021 12:49:01
Message-Id: YQP1J1/qXko46PtC@kern
In Reply to: Re: [gentoo-user] [OT] SMR drives (WAS: cryptsetup close and device in use when it is not) by Frank Steinmetzger
1 Am Thu, Jul 29, 2021 at 11:31:48PM +0200 schrieb Frank Steinmetzger:
2 > Am Thu, Jul 29, 2021 at 10:55:18PM +0200 schrieb Frank Steinmetzger:
3 > > In case someone is interested, here’s a little experience report:
4 > > […]
5 > > I just finished transferring my existing Borg backup repos.
6 > > […]
7 > > I’ve since been writing 1,2 TiB to the drive with rsync happily without
8 > > any glitches, averaging at slightly above 100 MiB/s.
9 >
10 > Haha, and now I can’t unmount it (device is busy) despite of lsof reporting
11 > no uses. So I did umount -l. That took care of the file system. But I can’t
12 > close the LUKS container either: “device is still in use”. So we are back on
13 > topic after all.
14
15 Riddle solved:
16 I was about to reboot the machine and for that I closed all tmux panes. That
17 revealed an mc instance put into the background. It didn’t show a directory
18 on the drive that I couldn’t unmount, but closing the program allowed me to
19 close the luks container.
20
21 --
22 Grüße | Greetings | Qapla’
23 Please do not share anything from, with or about me on any social network.
24
25 You shouldn’t always wind up clocks and kids;
26 you also have to let them run.

Attachments

File name MIME type
signature.asc application/pgp-signature