external firewire hard drive is read only
I am having problems with my external hard drive. It is a firewire drive. When I turn it on and the PC sees it, all the files are read only. What am I doing wrong? Thanks for any help.
mtab: /dev/sdb1 /media/disk vfat rw,nosuid,nodev,shortname=mixed,uid=1000,utf8,umask=077,usefree 0 0 |
This is what I have in mine:
/dev/sda2 /media/disk rw,uid=1000,gid=1000 0 0 Can see if your uid is 1000 ? Type in a console $ id and see. Otherwise can you post $ cd /media $ id $ ls -l |
Quote:
When I searched on Google for the "usefree" option, I found this patch. It sounds like Ubuntu is using a new mount option but didn't update the HAL fdi policies to accommodate the change. Code:
diff -Nur -x '*.orig' -x '*~' ubuntu/fdi/policy/10osvendor/20-storage-methods.fdi ubuntu.new/fdi/policy/10osvendor/20-storage-methods.fdi Code:
locate '/fdi/policy/10osvender/' In the meantime, you could either decide whether this patch is correct and apply it yourself, or manually mount the drive without the "usefree" option. ---- Also check your "/var/log/messages" logfile. If there is a problem mounting a filesystem, the problem should be logged. |
Quote:
|
jschiwal:
I checked the system and yes it has the "usefree" stuff in the fdi files. It took me a while to find what you were talking about, but it was fun learning something new. You also asked me to check my logfiles and that is what I get: Feb 16 16:10:57 nc-ub64 kernel: [ 289.121061] sdb: sdb1 Feb 16 16:10:57 nc-ub64 kernel: [ 289.128953] sd 6:0:0:0: [sdb] Attached SCSI disk Feb 16 16:10:57 nc-ub64 kernel: [ 289.128975] sd 6:0:0:0: Attached scsi generic sg1 type 0 I didn't get any errors and the system keeps seeing it as read only. |
I ran a dmesg | tail and this is what I got.
[ 790.762350] sd 7:0:0:0: [sdb] Got wrong page [ 790.762352] sd 7:0:0:0: [sdb] Assuming drive cache: write through [ 790.762354] sdb: sdb1 [ 790.767448] sd 7:0:0:0: [sdb] Attached SCSI disk [ 790.767470] sd 7:0:0:0: Attached scsi generic sg1 type 0 [ 816.979080] FAT: Filesystem panic (dev sdb1) [ 816.979083] fat_get_cluster: invalid cluster chain (i_pos 0) [ 816.979086] File system has been set read-only [ 851.053137] ieee1394: Node changed: 0-01:1023 -> 0-00:1023 [ 851.053143] ieee1394: Node suspended: ID:BUS[0-00:1023] GUID[0001a39500030316] Maybe this is why the drive has been read only. How do I fix this? |
All times are GMT -5. The time now is 08:50 PM. |