VFAT drive went read-only how to fix? - Mandriva

This is a discussion on VFAT drive went read-only how to fix? - Mandriva ; My fstab file doesn't look any different.. /dev/hdf1 /mnt/tertiary vfat umask=0,iocharset=utf8 0 0 Yet. Trying to delete a file gives me cannot remove `file.mpg': Read-only file system Running dosfsck /dev/hdf1 truncates a bunch of files to 0 bytes, but doesn't ...

+ Reply to Thread
Results 1 to 9 of 9

Thread: VFAT drive went read-only how to fix?

  1. VFAT drive went read-only how to fix?

    My fstab file doesn't look any different..

    /dev/hdf1 /mnt/tertiary vfat umask=0,iocharset=utf8 0 0


    Yet. Trying to delete a file gives me

    cannot remove `file.mpg': Read-only file system

    Running dosfsck /dev/hdf1 truncates a bunch of files to 0 bytes, but
    doesn't seem to turn up any problems.

    Any help would be appreicated.

  2. Re: VFAT drive went read-only how to fix?

    On Sat, 21 Jul 2007 11:03:40 -0500, Flip Wilson wrote:

    > My fstab file doesn't look any different..
    >
    > /dev/hdf1 /mnt/tertiary vfat umask=0,iocharset=utf8 0 0
    >
    >
    > Yet. Trying to delete a file gives me
    >
    > cannot remove `file.mpg': Read-only file system
    >
    > Running dosfsck /dev/hdf1 truncates a bunch of files to 0 bytes, but
    > doesn't seem to turn up any problems.
    >
    > Any help would be appreicated.


    Also, my mtab has this entry.

    /dev/hdf1 /mnt/tertiary vfat rw,umask=0,iocharset=utf8 0 0

    Doesn't appear to be anything that should make this drive read only (that
    I can see, anyway).

  3. Re: VFAT drive went read-only how to fix?

    On Sat, 21 Jul 2007 19:34:31 -0500, Flip Wilson wrote:

    > On Sat, 21 Jul 2007 11:03:40 -0500, Flip Wilson wrote:
    >
    >> My fstab file doesn't look any different..
    >>
    >> /dev/hdf1 /mnt/tertiary vfat umask=0,iocharset=utf8 0 0
    >>
    >>
    >> Yet. Trying to delete a file gives me
    >>
    >> cannot remove `file.mpg': Read-only file system
    >>
    >> Running dosfsck /dev/hdf1 truncates a bunch of files to 0 bytes, but
    >> doesn't seem to turn up any problems.
    >>
    >> Any help would be appreicated.

    >
    > Also, my mtab has this entry.
    >
    > /dev/hdf1 /mnt/tertiary vfat rw,umask=0,iocharset=utf8 0 0
    >
    > Doesn't appear to be anything that should make this drive read only (that
    > I can see, anyway).


    A few more things. The drive isn't close to full (at least 30GB left on a
    250GB drive).

    umount /dev/hdf1 works without errors
    mount -rw /dev/hdf1 doesn't return an error, but the drive is still read
    only.

  4. Re: VFAT drive went read-only how to fix?

    On Sat, 21 Jul 2007 20:34:31 -0400, Flip Wilson wrote:

    >> /dev/hdf1 /mnt/tertiary vfat umask=0,iocharset=utf8 0 0
    >> Yet. Trying to delete a file gives me


    What does "ls -ld /mnt/tertiary" show?

    Regards, Dave Hodgins

    --
    Change nomail.afraid.org to ody.ca to reply by email.
    (nomail.afraid.org has been set up specifically for
    use in usenet. Feel free to use it yourself.)

  5. Re: VFAT drive went read-only how to fix?

    On Sat, 21 Jul 2007 20:42:05 -0400, David W. Hodgins wrote:

    > On Sat, 21 Jul 2007 20:34:31 -0400, Flip Wilson wrote:
    >
    >>> /dev/hdf1 /mnt/tertiary vfat umask=0,iocharset=utf8 0 0
    >>> Yet. Trying to delete a file gives me

    >
    > What does "ls -ld /mnt/tertiary" show?
    >
    > Regards, Dave Hodgins
    >


    [root@mybox]# ls -ld /mnt/tertiary/
    drwxrwxrwx 13 root root 16384 Jan 1 1970 /mnt/tertiary//

  6. Re: VFAT drive went read-only how to fix?

    On Sat, 21 Jul 2007 21:13:17 -0400, Flip Wilson wrote:

    > [root@mybox]# ls -ld /mnt/tertiary/
    > drwxrwxrwx 13 root root 16384 Jan 1 1970 /mnt/tertiary//


    Strange. For one of my vfat partitions, I have
    $ ll -d /var/mnt/hda1
    drwxrwxrwx 76 root root 16384 Dec 31 1969 /var/mnt/hda1/
    With the mount output
    /dev/hda1 on /var/mnt/hda1 type vfat (rw,noexec,nosuid,nodev,users,umask=0,iocharset=is o8859-15,codepage=850)
    $ grep /var/mnt/hda1 /etc/mtab
    /dev/hda1 /var/mnt/hda1 vfat rw,noexec,nosuid,nodev,users,umask=0,iocharset=iso 8859-15,codepage=850 0 0
    $ grep /var/mnt/hda1 /etc/fstab
    /dev/hda1 /var/mnt/hda1 vfat defaults,users,umask=0,iocharset=iso8859-15,codepage=850 0 0

    I'd try booting from a dos disk, and running scandisk on that file system.
    Use http://www.freedos.org/freedos/software/, if you don't have
    a bootable dos disk, with scandisk on it.

    Regards, Dave Hodgins

    --
    Change nomail.afraid.org to ody.ca to reply by email.
    (nomail.afraid.org has been set up specifically for
    use in usenet. Feel free to use it yourself.)

  7. Re: VFAT drive went read-only how to fix? - FIXED

    Don't know what happened, but after one of several reboots, the problem
    appears to have fixed itself. I sure didn't do anything (not intentionally
    anyway). Thanks to all who offered help.

  8. Re: VFAT drive went read-only how to fix? - NOT FIXED

    Spoke too soon. Drive just went read only again.

  9. Re: VFAT drive went read-only how to fix? - NOT FIXED

    On Sun, 29 Jul 2007 10:38:22 -0400, Flip Wilson wrote:

    > Spoke too soon. Drive just went read only again.


    This may be a hardware problem. I'd scan the filesystem using
    an actual dos/windows utility, and then run badblocks on it,
    followed by memtest.

    I'd also strongly suggest a full backup, and testing your
    restore procedure.

    Regards, Dave Hodgins

    --
    Change nomail.afraid.org to ody.ca to reply by email.
    (nomail.afraid.org has been set up specifically for
    use in usenet. Feel free to use it yourself.)

+ Reply to Thread