-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2019-10-01 5:33 p.m., Pascal Hambourg wrote: > Le 01/10/2019 à 23:09, Ken Heard a écrit : >> >> - - after unmounting and closing encryption running as root >> 'wipefs -a -f /dev/sdd' returns 'wipefs: error: /dev/sdd: probing >> initialization failed: Read-only file system'. > > The USB flash drive is probably physically write-protected. Check > the kernel logs juste after inserting it for confirmation.
Here are the kern.log entries created the most recent time this drive: Oct 1 19:25:21 SOL kernel: [28463.821015] usb 9-4: new SuperSpeed USB device number 15 using xhci_hcd Oct 1 19:25:21 SOL kernel: [28463.844007] usb 9-4: New USB device found, idVendor=0951, idProduct=1666 Oct 1 19:25:21 SOL kernel: [28463.844010] usb 9-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3 Oct 1 19:25:21 SOL kernel: [28463.844012] usb 9-4: Product: DataTraveler 3.0 Oct 1 19:25:21 SOL kernel: [28463.844014] usb 9-4: Manufacturer: Kingst on Oct 1 19:25:21 SOL kernel: [28463.844016] usb 9-4: SerialNumber: 000AEB91EC07BD41230C0068 Oct 1 19:25:21 SOL kernel: [28463.845810] usb-storage 9-4:1.0: USB Mass Storage device detected Oct 1 19:25:21 SOL kernel: [28463.845973] scsi host9: usb-storage 9-4:1 .0 Oct 1 19:25:23 SOL kernel: [28464.861194] scsi 9:0:0:0: Direct-Access Kingston DataTraveler 3.0 PMAP PQ: 0 ANSI: 6 Oct 1 19:25:23 SOL kernel: [28464.861817] sd 9:0:0:0: [sdd] 61226496 512-byte logical blocks: (31.3 GB/29.2 GiB) Oct 1 19:25:23 SOL kernel: [28464.862088] sd 9:0:0:0: [sdd] Write Protect is off Oct 1 19:25:23 SOL kernel: [28464.862090] sd 9:0:0:0: [sdd] Mode Sense: 45 00 00 00 Oct 1 19:25:23 SOL kernel: [28464.862248] sd 9:0:0:0: Attached scsi generic sg4 type 0 Oct 1 19:25:23 SOL kernel: [28464.862365] sd 9:0:0:0: [sdd] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA Oct 1 19:25:23 SOL kernel: [28465.042599] sd 9:0:0:0: [sdd] Write Protect is on Oct 1 19:25:23 SOL kernel: [28465.042604] sd 9:0:0:0: [sdd] Mode Sense: 45 00 80 00 Oct 1 19:25:23 SOL kernel: [28465.043086] sd 9:0:0:0: [sdd] Attached SCSI removable disk Oct 1 19:25:37 SOL kernel: [28479.639563] EXT4-fs (dm-7): mounting ext2 file system using the ext4 subsystem Oct 1 19:25:37 SOL kernel: [28479.642175] EXT4-fs (dm-7): mounted filesystem without journal. Opts: (null) One entry says that Write protect is off, but a later entry says that is is on. How could this drive be physically protected from writing to it when there is no switch on the drive itself to unable (or release) such physical protection? Regards, Ken -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQR9YFyM2lJAhDprmoOU2UnM6QmZNwUCXZPiFQAKCRCU2UnM6QmZ N5LyAJ90ESCk5g0fJa6tnqPeCClmjhXX+wCfb7feHPTKEm6dkAxOpb1yT8nU5VA= =3RCx -----END PGP SIGNATURE-----