Pages

Thursday, August 20, 2015

ext4 block reservation

The filesystem ext4 has a feature called block reservation. When you create an ext4 filesystem then 5% of your available space will be reserved for block reservation by default. For an 20GB filesystem it is only 1GB of reserved space. But if you have an 1.5TB filesystem then 5% are about 75GB already. And that is my case. I have a 1.5TB partition with an ext4 filesystem:

Wednesday, July 8, 2015

Turning off the Leds on the Cubietruck

Since the Cubietruck (running Linaro) has replaced my home server and has its place in my living room I figured out that the Leds are very annoying! So I deceided to turn them off - all of them! The easiest way is to set the brightness to 0:

Thursday, May 28, 2015

Extend a VXFS filesystem in HP-UX with LVM

Today I needed to extend a VXFS filesystem in HP-UX with LVM. The first thing I did was to figure out the logical volume, the volume group and the size of the volume:

# mount
...
/u04 on /dev/vg02/u04 ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40020003 on Thu May 28 11:11:30 2015

Friday, April 3, 2015

Implementing autofs

On the NFS server create your shares by editing the /etc/exports file:

# vi /etc/exportfs
/local/music    192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)
/local/movie    192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)

Saturday, January 17, 2015

mupen64plus for Slackware

mupen64plus is a N64 emulator. I haven't to much experience with this emulator but the emulator seems to do the job pretty well. So here is a little installation instruction for Slackware.
Start by creating a location were you can store all packages:

# mkdir -p /usr/src/mupen64plus

Before you can install mupen64plus you need three additional libraries: