Something keep mounting a USB flash drive partition need to stop it,

Mike Marchywka marchywka at hotmail.com
Mon Aug 7 13:06:40 UTC 2023


On Mon, Aug 07, 2023 at 01:57:17PM +0100, Liam Proven wrote:
> On Wed, 2 Aug 2023 at 13:43, Mike Marchywka <marchywka at hotmail.com> wrote:
> >
> > I made a recovery drive and noted that the extra space is available for
> > other uses so I now use it for back up. I mount sdb4 but eventually something
> > mounts sdb0. It may not hurt anything but how does this happen?
> 
> Not enough info, and contradictory info in your post.
> 
> What kind of disk? Formatted how? With what? Used with what? Backup with what?
> 
> There is no sdb0. You can't have a partition number zero anyway.

Thanks I guess that was a typo but if you read the 
dumps in the post you should see the issue. I used the start up
or recovery disc creator from Focal and its a SanDisk 128Gb flash
drive. The information I posted is below. Whatever is doing
it has to be superuser I guess. I do remember I left
it in when recovering from a power outage and was surprised
it did not boot from USB but maybe it decided it
needed it for something. I have not tried to reinsert it lately. 

 sudo fdisk -l /dev/sdb
Disk /dev/sdb: 114.61 GiB, 123048296448 bytes, 240328704 sectors
Disk model:  SanDisk 3.2Gen1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: A0891D7E-B930-4513-94D9-F629DBD637B2

Device       Start       End   Sectors  Size Type
/dev/sdb1       64   9613459   9613396  4.6G Microsoft basic data
/dev/sdb2  9613460   9623527     10068  4.9M EFI System
/dev/sdb3  9623528   9624127       600  300K Microsoft basic data
/dev/sdb4  9625600 240328640 230703041  110G Linux filesystem


The last mount messages are about sdb4 but then it says something about the joliet system on 1,


[91587.505643] EXT4-fs (sdb4): mounting ext3 file system using the ext4 subsystem
[91587.675854] EXT4-fs (sdb4): mounted filesystem with ordered data mode. Opts: (null)
[92628.324351] audit: type=1400 audit(1690971175.807:70): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/var/lib/snapd/hostfs/usr/share/gdm/greeter/applications/gnome-initial-setup.desktop" pid=2124 comm="pool-org.gnome." requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[92628.356987] audit: type=1400 audit(1690971175.839:71): apparmor="DENIED" operation="open" profile="snap.snap-store.ubuntu-software" name="/var/lib/snapd/hostfs/usr/share/gdm/greeter/applications/gnome-initial-setup.desktop" pid=2124 comm="pool-org.gnome." requested_mask="r" denied_mask="r" fsuid=1000 ouid=0
[92628.570454] audit: type=1326 audit(1690971176.055:72): auid=1000 uid=1000 gid=1000 ses=3 pid=2124 comm="pool-org.gnome." exe="/snap/snap-store/959/usr/bin/snap-store" sig=0 arch=c000003e syscall=93 compat=0 ip=0x7f736a2b2c4b code=0x50000
[94465.111436] ISO 9660 Extensions: Microsoft Joliet Level 3
[94465.112654] ISO 9660 Extensions: Microsoft Joliet Level 3
[94465.113636] ISO 9660 Extensions: RRIP_1991A
[99146.411523] ISO 9660 Extensions: Microsoft Joliet Level 3
[99146.412755] ISO 9660 Extensions: Microsoft Joliet Level 3
[99146.413708] ISO 9660 Extensions: RRIP_1991A
marchywka at happy:/home/documents/latex/proj/cases$ df | grep sd[ab]
/dev/sda5      479078088 106321812 348346932  24% /
/dev/sda1         523248      6220    517028   2% /boot/efi
/dev/sdb4      112954396  98117520   9069300  92% /home/marchywka/mnt
/dev/sdb1        4806698   4806698         0 100% /media/marchywka/Ubuntu 22.04.2 LTS amd64
marchywka at happy:/home/documents/latex/proj/cases$ sudo umount /dev/sdb1
[sudo] password for marchywka:
marchywka at happy:/home/documents/latex/proj/cases$ df | grep sd[ab]
/dev/sda5      479078088 106321820 348346924  24% /
/dev/sda1         523248      6220    517028   2% /boot/efi
/dev/sdb4      112954396  98117520   9069300  92% /home/marchywka/mnt
marchywka at happy:/home/documents/latex/proj/cases$ df | grep sd[ab]
/dev/sda5      479078088 106321828 348346916  24% /
/dev/sda1         523248      6220    517028   2% /boot/efi
/dev/sdb4      112954396  98117520   9069300  92% /home/marchywka/mnt





> 
> 
> -- 
> Liam Proven ~ Profile: https://about.me/liamproven
> Email: lproven at cix.co.uk ~ gMail/gTalk/FB: lproven at gmail.com
> Twitter/LinkedIn: lproven ~ Skype: liamproven
> IoM: (+44) 7624 277612: UK: (+44) 7939-087884
> Czech [+ WhatsApp/Telegram/Signal]: (+420) 702-829-053
> 
> -- 
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

-- 

mike marchywka
44 Crosscreek Trail
Jasper GA 30143
USA, Earth marchywka at hotmail.com
 404-788-1216 ORCID: 0000-0001-9237-455X



More information about the ubuntu-users mailing list