Thursday, February 21, 2013

Extend a AIX LVM Volume

Today I had a customer who asked me to extend a database volume (if possible). The customer couldn't tell me if there is space available for extending the volume. So I had to check by my self again. After logging into the customers machine the first I ran was df to get the current size and usage of the volume:

# df -k /oradata
Filesystem    1024-blocks      Free %Used    Iused %Iused Mounted on
/dev/oravol01    47185920   5880024   88%       50     1% /oradata

Wednesday, February 13, 2013

Upgrade VxFS

First get the current version:

# fstyp -v /dev/vx/dsk/testdg/testvol
magic a501fcf5  version 7  ctime Mon Sep 10 03:06:00 2012

Resize ZFS Swap

To resize your ZFS based Swap you need to know on which pool your Swap resides:

# zfs list
NAME                        USED  AVAIL  REFER  MOUNTPOINT
rpool                      9,70G  5,92G  32,5K  /rpool
rpool/ROOT                 8,42G  5,92G    21K  legacy
rpool/ROOT/s10x_u9wos_14a  8,42G  5,92G  8,42G  /
rpool/dump                  768M  5,92G   768M  -
rpool/export                763K  5,92G    23K  /export
rpool/export/home           740K  5,92G   740K  /export/home
rpool/swap                  544M  5,95G   516M  -

Saturday, February 9, 2013

Installing Slackware ARM in Qemu

ARM, ARM and ARM. Everybody is using it - knowing or not knowing. So I decided to write a small tutorial about installing Slackware ARM in Qemu. For this tutorial I expect a few things:

- you should be able to install Slackware
- you should have worked with Qemu
- you should know how Linux boots