USB Drives won't mount correctly

LordRatner

Member
Jun 20, 2022
50
14
8
Very confused.

I've formatted the USB thumb drive in NTFS and FAT32. Only one file on it. Each time I mount it (and I've tried on two different PVE servers) the drive gives me this warning first:

mount: /mnt/usb-drive: WARNING: source write-protected, mounted read-only.

Then, after about 10 seconds, the mount point shows what appears to be a PVE boot drive. There are no other devices plugged in.

Code:
root@node2:/mnt/usb-drive# fdisk -l

Disk /dev/sdf: 14.65 GiB, 15728640000 bytes, 30720000 sectors
Disk model: Flash Disk      
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: C4B7B64C-96B4-4B94-84AB-BB80B6EF09DE

root@node2:/mnt/usb-drive# mount /dev/sdf /mnt/usb-drive
mount: /mnt/usb-drive: WARNING: source write-protected, mounted read-only.
root@node2:/mnt/usb-drive# ls
boot  COPYING  COPYRIGHT  debian  dists  efi.img  EULA  mach_kernel  proxmox  pve-base.squashfs  pve-installer.squashfs  Release.txt  System

I've tried different USB drives, rebooting, etc. What on earth is going on?
 
how did you format it? the message about read-only mount happens when there is a filesystem that cannot be written
 
how did you format it? the message about read-only mount happens when there is a filesystem that cannot be written
I tried exfat, fat32, and ntfs.

But I also tried it on a non-proxmox Linux system, and got the same result. Strangely the drive works perfectly on windows, but it has to be a bum drive.

I tried another drive and it worked, so I either messed up the first time I tried a second drive, or I stupidly grabbed the same one.

Either way, thanks!