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 Tag » Backup « @ 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

Posts Tagged Backup

NAS: Ubuntu Server on Intel ATOM

Posted by on Saturday, 12 February, 2011

Time to attach some storage to your home network! I used to have a web / samba server for over five years running Slackware at first but Ubuntu since version 4.04. Given the noise and energy consumption I got rid of the large server system and decided to go for a more energy-efficient solution: a NAS. Read the rest of this entry »

vfat filesystem goes read-only

Posted by on Monday, 26 July, 2010

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).

Backup using backup2l and rsync

Posted by on Wednesday, 5 May, 2010

Say you have a workstation on which you have some valuable data (say, a Master’s Thesis 🙂 and you would like to have it automatically backup to a remote server. There are some excellent howtos out there on the web so I won’t go into too much detail, I will just report on how I did it.

Read the rest of this entry »