Pages

21 January 2009

Bash Shell Script For Remount External Drive

We've one 1TB external USB storage that keep on disconnect and remount itself read-only. We've create this script that we include it in the cronjob. When this event happen this script will try to remount the storage. Check it's here.

http://songketmail.wiki.sourceforge.net/checkmount

This week we're manage to minimize the occurring of the problem by changing the file system type to ext2. We used this storage for backuppc pool and it's only happen when backuppc doing the incremental backup and at the stage of hardlink last unchange files.