vfat iPod suddenly fails to write [was: Re: [solved] Re: mounting iPod with USB]

From: Nori Heikkinen (nori_at_sccs.swarthmore.edu)
Date: 09/28/04

  • Next message: Ivan Imperl: "Debian sid - jigdo problem"
    Date: Tue, 28 Sep 2004 12:43:03 -0400
    To: Erik Steffl <steffl@bigfoot.com>
    
    
    

    on Tue, 28 Sep 2004 09:02:31AM -0700, Erik Steffl insinuated:
    > Nori Heikkinen wrote:
    > ...
    > >/dev/sda /mnt/ipod hfsplus rw,user,noauto,noatime 0 0
    > >
    > >), /var/log/syslog gives the error:
    > >
    > >Sep 27 16:12:48 homeruns kernel: HFS+-fs warning: Filesystem was not
    > >cleanly unmounted, running fsck.hfsplus is recommended. mounting
    > >read-only.
    > >
    > >and then it mounts it read-only, like it says.
    >
    > can't you force it to remount rw?

    you mean, like, remount -o rw,remount /dev/sda2 (or whatever device)?
    -- no, i can't. tried that; should have said.

    > That can often be one with regular HDs. Why don't you run fsck on
    > it? is there no fsck.hfsplus? apt-file didn't find it...

    yeah, i couldn't find one.

    > there is a way to set the number of mounts after which it requires
    > fsck, can't you set it to higher number?

    hm, probably ... but now i converted it to vfat.

    > for regular HDs I see different message if they exceed the mount
    > count (it says something to that effect), maybe your iPod really was
    > unmounted improperly.

    it's entirely possible.

    > ...
    > >homeruns:~# hpmount /dev/sda /mnt/ipod hpmount: /dev/sda: Neither
    > >Wrapper nor native HFS+ volume header found (Unknown error
    > >4294967295)
    > >
    > >which is just wack, afaict, seeing as it was mounting happily with
    > >`mount -t hfsplus` up until 32 mounts (and still does, just r-o).
    >
    > why are you mounting sda? generally you don't mount the disk but a
    > partition (that has a filesystem), on my iPod (bought august 2003)
    > the sda3 is the one to mount.

    on mine, it's /dev/sda2 ...

    > I use firewire but that shouldn't make any difference.

    apparently the hfsplus tools figure out which partition on the device
    given has the data you want for you -- magic! so, that's legit when i
    mount with -t hfsplus, but not when i do it with -t vfat.

    now, i'm getting a weird problem, however. after dumping about 200
    songs on my newly-vfat'd iPod, i tried to add another batch, and
    gtkpod crashed, and my kernel told me:

    Sep 28 12:14:44 homeruns kernel: FAT: unable to read inode block for
    updating (i_pos 1219121)<3>FAT: Directory bread(block 76088) failed
    Sep 28 12:14:44 homeruns kernel: FAT: Directory bread(block 76089)
    failed
    Sep 28 12:14:44 homeruns kernel: FAT: Directory bread(block 76090)
    failed
    Sep 28 12:14:44 homeruns kernel: FAT: Directory bread(block 76091)
    failed
    ...
    ...

    and so on, for about 100 lines.

    now i can't mount it. i get the error:

    mount: /dev/sda2 is not a valid block device

    when i try. when this happened the first time, i tried rebooting (i
    know, bad linux user! shouldn't need to reboot), and that solved the
    problem until it happened agin.

    i'm going to try this on a friend's mac tonight, but what's up? do i
    have a lemon? why is the filesystem suddenly ceasing to be
    unwritable?

    </nori>

    -- 
        .~.      nori @ sccs.swarthmore.edu
        /V\  http://www.sccs.swarthmore.edu/~nori
       // \\          @ maenad.net
      /(   )\       www.maenad.net/jnl
       ^`~'^
      
    ++     Sponsor me as I run my SECOND marathon for AIDS:       ++
    ++ http://www.aidsmarathon.com/participant.asp?runner=DC-2844 ++
    
    

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    


  • Next message: Ivan Imperl: "Debian sid - jigdo problem"

    Relevant Pages

    • Re: help - fat partition will not allow chgrp on any subfolder
      ... As expected, fat doesn't contain any info about users/groups/etc, ... you set them while mounting. ... And check "Mount options for fat". ...
      (alt.os.linux)
    • cannot boot-up linux, unable to read superblock
      ... mount: error 22 mounting ext3 ... enable lvm and tried fsck for the volumes (one is empty volume? ... Attempt to read block from filesystem resulted in short read while trying to open /dev/VolGroup00/LogVol00 ...
      (RedHat)
    • Re: Flying Lights
      ... generator with a B&M Lumotec plus 3W headlight. ... mount that makes a good hand held flashlight if needed ... I have several Cateye models which all use the same mounting you describe. ... I haven't noticed the 'L' rails themselves being chipped away. ...
      (rec.bicycles.misc)
    • RE: allowing non root users to mount
      ... how does this relate to making a common mounting point? ... make the common mounting point /floppy and set the permissions to ... cannot mount the floppy as a regular user. ... 'operation not permitted' and I have to su as root to get this to work. ...
      (freebsd-questions)
    • Re: flush mount alarm panel enclosure
      ... for mounting, and I suspect some still might. ... another when double stick tape is used to mount gear. ... there is no reason to not to mount gear using proper stanoffs. ... mount enclosure. ...
      (alt.security.alarms)