Re: cannot write to usb drive
2009/9/16 Till Wimmer <g4-lisz@tonarchiv.ch>:
> Umarzuki Mochlis wrote:
>>
>> umarzuki@ctrl:~$ sudo mount /dev/sdb1 /mnt/
>> mount: block device /dev/sdb1 is write-protected, mounting read-only
>> umarzuki@ctrl:~$ df -h
>> Filesystem Size Used Avail Use% Mounted on
>> /dev/sda1 11G 7.7G 2.2G 78% /
>> tmpfs 1.9G 0 1.9G 0% /lib/init/rw
>> udev 10M 904K 9.2M 9% /dev
>> tmpfs 1.9G 0 1.9G 0% /dev/shm
>> /dev/sda2 123G 112G 5.3G 96% /home
>> /dev/sdb1 1.9G 1020M 892M 54% /mnt
>> umarzuki@ctrl:~$ df -hi
>> Filesystem Inodes IUsed IFree IUse% Mounted on
>> /dev/sda1 671K 180K 492K 27% /
>> tmpfs 465K 4 465K 1% /lib/init/rw
>> udev 465K 1.7K 463K 1% /dev
>> tmpfs 465K 1 465K 1% /dev/shm
>> /dev/sda2 7.8M 123K 7.7M 2% /home
>> /dev/sdb1 0 0 0 - /mnt
>>
>>
>> It is /dev/sdb1. I could not find any write protection button on this
>> usb flashdrive. How can I make this one writeable again?
>>
>
> What filesystem is it?
It is using fat32 fs
Maybe there is some useful information in the kernel
> messages (dmesg).
> For example NTFS is mounted read only by default.
dmesg output
[12400.200196] usb 3-3: new high speed USB device using ehci_hcd and address 7
[12400.343300] usb 3-3: configuration #1 chosen from 1 choice
[12400.350109] scsi9 : SCSI emulation for USB Mass Storage devices
[12400.351302] usb 3-3: New USB device found, idVendor=1005, idProduct=b113
[12400.351302] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[12400.351302] usb 3-3: Product: USB FLASH DRIVE
[12400.351302] usb 3-3: Manufacturer:
[12400.351302] usb 3-3: SerialNumber: 19861B610FD6
[12400.359302] usb-storage: device found at 7
[12400.359302] usb-storage: waiting for device to settle before scanning
[12405.361766] usb-storage: device scan complete
[12405.365754] scsi 9:0:0:0: Direct-Access USB FLASH
DRIVE PMAP PQ: 0 ANSI: 0 CCS
[12405.685764] sd 9:0:0:0: [sdb] 3915776 512-byte hardware sectors (2005 MB)
[12405.685764] sd 9:0:0:0: [sdb] Write Protect is on
[12405.685764] sd 9:0:0:0: [sdb] Mode Sense: 23 00 80 00
[12405.685764] sd 9:0:0:0: [sdb] Assuming drive cache: write through
[12405.692713] sd 9:0:0:0: [sdb] 3915776 512-byte hardware sectors (2005 MB)
[12405.693762] sd 9:0:0:0: [sdb] Write Protect is on
[12405.693762] sd 9:0:0:0: [sdb] Mode Sense: 23 00 80 00
[12405.693762] sd 9:0:0:0: [sdb] Assuming drive cache: write through
[12405.693762] sdb: sdb1
[12405.693762] sd 9:0:0:0: [sdb] Attached SCSI removable disk
[12405.693762] sd 9:0:0:0: Attached scsi generic sg2 type 0
[12409.271003] FAT: utf8 is not a recommended IO charset for FAT
filesystems, filesystem will be case sensitive!
>
> Regards,
> TW
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
--
Regards,
Umarzuki Mochlis
http://gameornot.net
Reply to: