lquerpv is an undocumented “midlevel” LVM command in AIX. Usually you don’t need it and never use it, but it is used by many “high-level” LVM commands to get LVM information from a physical volume.
Continue reading
Configuring Chef client service on AIX
StandardAdding AIX to existing Chef infrastructure
StandardI’m impressed. It was really easy. I have an old server, 9115-505, 4 GB RAM, with AIX 7.1 TL3 SP0 on it. Almost fresh installation, nothing special. The only special preparation measure, I had to take, was to check DNS configuration. In my test lab the Chef Server has name chef.enfence.net and the name must be resolvable to the right IP address on the client. You can achieve it with proper DNS configuration or with an entry in /etc/hosts.
show unique_id with lspv
StandardSometimes it is useful to read manual pages for old well-known commands. Almost every disk in AIX has a hidden attribute unique_id, which uniquely identifies every disk and usually contains some useful information such as LDEV or serial number.
The common way to show the id is using lsattr command:
# lsattr -El hdisk0 -a unique_id unique_id 2B08005D66830FHUS103073FL380008IBM H0scsi Unique device identifier False
Using lspv command you can show unique_ids of all known disks:
# lspv -u hdisk0 000252f3956e8ecb rootvg active 2B08005D66830FHUS103073FL380008IBM H0scsi hdisk1 000252f32ff2a406 clientvg active 2B08005CAFC10FHUS103073FL380008IBM H0scsi
AIX 7.2 and PowerHA 7.2 in every testlab starting 04.12.2015
StandardMonitoring a file or a directory for changes
Standardwindows.go – no go!
StandardPlaying with Go I found today an interesting bug – if a file named windows.go Go compiler doesn’t compile it. Continue reading
String length in Go
StandardUpdating AIX using alt_disk_copy
StandardGetting older means problems with memory. That’s why I’m writing here – to make a braindump. dd if=/dev/brains of=/this/blog.