Grow XFS formated partition with Parted.

I have a very large partition (15TB) formated with the XFS filesystem that I want to expand to 30TB. This partition was created with Parted to use GPT, which fdisk does not support. The problem with this is Parted automatically will expand the underlying filesystem when resizing a partition, but it does not support XFS.…

Renewing a Self-Signed SSL certificate

The SSL cert expired on my Subversion server and while not detrimental to my users or security, it was giving an eyebrow raising warning. The certs are only good for 365 days and have to be recreated. The quickest solution, especially since ours is for internal use, is to just recreate the self-signed certs.

Install TORQUE 3.0.2 on an SGI Altix UV100

Install TORQUE 3.0.2 on an SGI Altix UV100 running Suse 11 SP1. The UV100 is a shared memory architecture consisting of a number of 3U chassis containing 2 blades. These chassis can be daisy-chained together using SGI’s Numalink. Even though you can combine up to 24 chassis with hundreds of cores and untold gobs of…

Check for degraded RAID

A simple script to check for a degraded software RAID that uses mdadm. This will check and email you if a degraded RAID is found. #!/bin/bash   # Checks the software RAID status. Sends email if they are degraded. # To add more people, just append their name to the EMAIL field, seperated # by…

Disable USB storage support in RHEL 5

To easily disable USB storage device support in RHEL 5 just add the following line to /etc/modprobe.conf: install usb-storage : This will prevent modprobe from loading the usb-storage module, but will allow administrators to manually load the module with insmod when needed. If you will never need USB support you can simply remove the USB…

Disable CD/DVD access for normal users.

I just set up some workstations that I was required to disable CDROM access for normal users, but retain it for root. The easiest way, with the least amount of impact, is to disable GNOME’s automounting from the gnome-volume-manager program. This program mounts devices and removable media (DVDs, CDs and USB flash drives) when they…