mkfs.ext3: Wrong medium type while trying to determine filesystem size

Problem

While going through a DRBD howto a coworker made, I came across the following problem. On a freshly created DRBD block device, mkfs bails out with the following message:

mkfs.ext3 /dev/drbd0
  mke2fs 1.39 (29-May-2006)
  mkfs.ext3: Wrong medium type while trying to determine filesystem size
Continue reading →

Enabling jumbo frames

Jumbo frames are what you need on a dedicated storage (NFS, iSCSI, DRBD) network. Since the packets are bigger, fewer packets are needed to send the same data. This results in faster transfers and less CPU overhead on both the transmitting and receiving ends. All in all, a good recipe for better performance.
Continue reading →

Auto-logout idle users

Users not properly logging out of systems can result in sessions that will never be terminated. To make sure the sessions will at some point be terminated, a TMOUT variable can be set in /etc/profile
Continue reading →

Custom kernel patching

Okay, since too many Plesk machines seen to have quota problems, a Fedora kernel problem, not a Plesk problem. My colleague and I are working on a custom kernel from the 2.6 kernel tree which offers some significant improvements…
Continue reading →

fortune-mod-oneliners

Continue reading →