Author Archive
alt_disk migration phase 5 error: /usr/bin/lslpp: No such file or directory
by nick on Apr.23, 2012, under aix
When trying to update AIX 5.3 to 6.1 using an alt_disk migration, I kept getting this error:
+-----------------------------------------------------------------------------+Executing nimadm phase 5. +-----------------------------------------------------------------------------+ Saving system configuration files. /usr/bin/lslpp: No such file or directory0505-177 nimadm: An unrecoverable error has occurred during pre-install processing. Cleaning up alt_disk_migration on the NIM master. Unmounting client mounts on the NIM master.
I searched around a lot and couldn’t find much of an answer besides one obscure reference to adding more disk space to /, so I did:
# chfs -a size=+1G / Filesystem size changed to 2621440
..and the problem went away, the alt_disk_upgrade then ran successfully.
Cacti, FreeBSD and ZFS
by nick on Apr.02, 2012, under freebsd
I was trying to monitor my nas disk partitions with cacti and for some reason the “Unix – Get Mounted Partitions” wouldn’t show my ZFS pool.
This is because the query_unix_partitions.pl script ignores anything not starting with /
The solution is to edit query_unix_partitions.pl (on FreeBSD for me this was located in /usr/local/share/cacti/scripts) and change the regular expression from:
to
if (/^(\/\S+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)%\s+(\/\S*)$/) {
if (/^(\S+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)%\s+(\/\S*)$/) {
You can test this by running the command by hand to check if your zfs array appeared, in my case it was called nas:
# perl query_unix_partitions.pl query /dev/ada0p2: devfs: nas: /dev/da0s1:
It should now be graphable in cacti.
Wollongong and Sydney iPhone Development
by nick on Feb.01, 2012, under ios development
While my day job is a UNIX System Administrator, I am an also an iPhone developer currently working on a few projects in my spare time.
My most popular application is the Sydney Traffic Cameras app, which shows you the still images of traffic around Sydney that the RTA website provides to the public. Since releasing my application about 2.5 years ago the RTA has released their own version, but I still have roughly 1000 users per day. Thanks everyone!
You can get my SydTraffic app here.
You can contact me at nick @ triso.me if you require any information regarding development or consultation offers if you require an iPhone or iPad developer in the Wollongong or Sydney area.
mksysb
by nick on Jan.19, 2012, under aix
The quick way to create a mksysb of an AIX system:
mksysb -i -p -e /path/to/mksysb
