October 2009

Increasing LVM Size

Mothball, the BackupPC machine, needs more space to make an archive of a backup to be stored on DVD. The archive output directory is part of the root file system, so it can’t be edited while Linux is running. A live CD can help:

Boot Ubuntu 8.10 Live CD
Open a terminal
$ sudo -i
# apt-get install lvm2
# modprobe dm-mod
# lvresize --size 208G /dev/VolGroup00/LogVol00
If /dev/VolGroup00 doesn’t exist, reboot without the live CD
# resize2fs /dev/VolGroup00/LogVol00

Uncategorized

Comments (0)

Permalink

Converting MP3s to Play on a Nintendo DSi

bash$ for file in *.mp3; do ffmpeg -i “$file” -acodec libfaac -ab 128k “${file/.mp3/.m4a}”; done

Uncategorized

Comments (0)

Permalink