On 2024-01-26 20:43, Ben T. Fender wrote:
Fri, 26 Jan 2024 19:08:33 +0100 "Carlos E. R." <...> :
On 2024-01-26 17:39, Ben T. Fender wrote:
Fri, 26 Jan 2024 14:20:36 +0100 "Carlos E. R." <> :
On 2024-01-26 13:45, Andrei Borzenkov wrote:
On Fri, Jan 26, 2024 at 3:10 PM Ben T. Fender <slowroller@trixtar.org> wrote: ...
# umount /dev/mapper/Samsung_SSD_860_EVO_1TB_S59VNJ0N419951T-part8 umount: /: target is busy.
A partition that is totally off-limits unless I say otherwise is being mounted without my knowlege, permission, or directive AND I can't even unmount it?
Of course you cannot unmount your root partition.
Wow! I didn't realize this. I should have. E[GwuDq;~6{RC_+!=Wg-9{QF+6S#$r*LTsbD He said "But the thing is this: /dev/sda7 is another linux OS in this case" — so I believed this "is another linux". Well, it is not, it is the Linux that is booted.
Very cute, but you're thinking of my old rags, the times they are a changing. I just established a new standard for my drives with the first 3 partitions, so from now on I don't care if its DOS or EFI or my neighbour's pucking fiano all my OS drives will be partitioned the same catering to whatever needs to be catered to. BEFORE 7 used to be TW.
Irrelevant.
You said:
# umount /dev/mapper/Samsung_SSD_860_EVO_1TB_S59VNJ0N419951T-part8 umount: /: target is busy.
..........^___ that's root. That partition is mounted on root, no matter your protestations.
It's possible, but now I'm definitely on part-8 and
# mount /dev/sda7 /0/sa07 mount: /0/sa07: /dev/sda7 already mounted or mount point busy. dmesg(1) may have more information after failed mount system call.
DMESG: [ 3623.707590] audit: type=1400 audit(1706298089.239:537): apparmor="DENIED" operation="open" class="file" profile="nscd" name="/0/adat/u3/0DirectLink/hosts-nosnoop" pid=1388 comm="nscd" requested_mask="r" denied_mask="r" fsuid=473 ouid=1003 [ 3628.696970] /dev/sda7: Can't open blockdev
Andrei told you the reason. They are in exclusive use by device-mapper. So "Can't open blockdev".
So the part-7 is either mounted OR the mountpoint /0/sa07 is busy. If I try to umount IT (instead of / which obviously had been a mistake) then it says the partition is not mounted. That leaves mountpoint /0/sa07 being busy as the sole alternative according to the error message.
Neither. Read the log. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)