Warning: Trying to access array offset on value of type bool in /data/www/freeminded.org/www/wp-content/plugins/wp-latex/wp-latex.php on line 39 Freeminded.org Warning: Trying to access array offset on value of type bool in /data/www/freeminded.org/www/wp-content/plugins/wp-latex/wp-latex.php on line 46

vfat filesystem goes read-only

Monday, July 26, 2010 Posted by

I experienced some problems writing to my ubuntu backup server. The machine runs rsync every night to grab backup2l backups from production machines. The problem seems to be a vfat system (why I still use such a crappy format you wonder… it is simple enough to also work under MS windows). Anyway… found some good posts on this:

http://arstechnica.com/civis/viewtopic.php?f=16&t=102807

Now, the problem is exactly as explained in this post, yet the keypad stuff has nothing to do with it. Checking /var/log/messages yields nothing. Dmesg, however, goes berzerk:


[88396.976584] FAT: Filesystem error (dev sda5)
[88396.976585] fat_get_cluster: invalid cluster chain (i_pos 535540750)

Ok so I guess we’re having a faulty vfat system on our hands.

Luckily, somebody had the same problem with a vfat on a memory card:

http://www.delodder.be/blog/linux/fat_get_cluster-invalid-cluster-chain-i_pos-0-fat-filesystem-panic-dev/

So the problem can fixed:

sudo fsck.vfat /dev/sda5 -w -r

What this does: fix the FATs (which were for some reason munched up). -w means its immediately written to disk and not to memory to be written all the way at the end (although the command did not take long). -r means it asks the user what to do. This fixed the problem with an “Unable to create unique name” message from dosfsck when using -a (automatically repair).

Movies

Friday, June 18, 2010 Posted by

Some movies I made…

Read the rest of this entry »

Salades van Johma

Saturday, June 12, 2010 Posted by

De salades van Johma, altijd lekker en kwalitatief perfect. Altijd een goede keuze omdat ze uitsluitend de beste ingredienten hadden. Maar nu prijkt er een “Nu nog lekkerder!” sticker op. Read the rest of this entry »

A Markov Chain in TiKz

Monday, May 17, 2010 Posted by

When you want to draw a Markov Chain (or any other graph-theoretical structure) you can toil around with various drawing programs, or you can simply turn to PGF/TiKz, the LaTeX drawing environment. Since true scientists publish their work in LaTeX, this immediately eases the work required for your next paper. Read the rest of this entry »

De Jeugd van Tegenwoordig

Sunday, May 16, 2010 Posted by

Na een lange, grijze schooldag vol verveling verliet ik vermoeid het schoolterein. Ik peddelde mijn verroeste fiets door de al maar neer plensende regen. Mijn fietsbanden splashten van de ene plas naar de andere, terwijl mijn gedachten totaal ergens anders waren. Voor mij zag ik vage schimmen van mensen die ik kende, goed of alleen van gezicht. Ja, ze moesten haast wel bij mij op school zitten. Read the rest of this entry »