Today I needed to extend a VXFS filesystem in HP-UX with LVM. The first thing I did was to figure out the logical volume, the volume group and the size of the volume:
# mount
...
/u04 on /dev/vg02/u04 ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=40020003 on Thu May 28 11:11:30 2015
Thursday, May 28, 2015
Friday, April 3, 2015
Implementing autofs
On the NFS server create your shares by editing the /etc/exports file:
# vi /etc/exportfs
/local/music 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)
/local/movie 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)
# vi /etc/exportfs
/local/music 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)
/local/movie 192.168.1.0/24(rw,sync,no_root_squash,no_subtree_check)
Saturday, January 17, 2015
mupen64plus for Slackware
mupen64plus is a N64 emulator. I haven't to much experience with this emulator but the emulator seems to do the job pretty well. So here is a little installation instruction for Slackware.
Start by creating a location were you can store all packages:
# mkdir -p /usr/src/mupen64plus
Before you can install mupen64plus you need three additional libraries:
Start by creating a location were you can store all packages:
# mkdir -p /usr/src/mupen64plus
Before you can install mupen64plus you need three additional libraries:
Tuesday, November 4, 2014
VxVM vxdg ERROR V-5-1-0 Disk Group ...
Today a colleague asked me about a strange situation when adding new disks to a existing disk group in AIX 7.1. He had two new disks from two different storages. The first disk could be added easily as always:
# vxdg -g oradg adddisk emc_clariion1_79
But when he tried to add the second disk he became the following error:
# vxdg -g oradg adddisk emc_clariion0_80
VxVM vxdg ERROR V-5-1-0 Disk Group oradg has only standard disks and trying to add cloned disk to diskgroup.Mix of standard and cloned disks in a diskgroup is not allowed. Please follow the vxdg (1M) man page.
# vxdg -g oradg adddisk emc_clariion1_79
But when he tried to add the second disk he became the following error:
# vxdg -g oradg adddisk emc_clariion0_80
VxVM vxdg ERROR V-5-1-0 Disk Group oradg has only standard disks and trying to add cloned disk to diskgroup.Mix of standard and cloned disks in a diskgroup is not allowed. Please follow the vxdg (1M) man page.
Thursday, October 23, 2014
Migrate/Move PPs in AIX LVM
Today I needed to replace a disk which is used by AIX LVM and which wasn't mirrored. Of course all data should remain.
The first thing I did was to list all volumes on the specific disk (in my case hdisk2):
The first thing I did was to list all volumes on the specific disk (in my case hdisk2):
Saturday, October 18, 2014
Apache virtual host
My company asks me to create two new websites. One for the internal intranet another one for the internal blog. For the intranet drupal should be used and for the blog wordpress should be used. To sum it up: two new websites accessable under:
http://intranet.company.com
http://blog.company.com
http://intranet.company.com
http://blog.company.com
Wednesday, October 15, 2014
Configure Nagios statusmap with User-supplied coords
The statusmap is most useful if you use the User-supplied coords function (imho). This article covers the following topics:
Add coords to the host definition
Set the User-supplied coords statusmap as default
Change the image from ? to a valid gd2
Add coords to the host definition
Set the User-supplied coords statusmap as default
Change the image from ? to a valid gd2
Tuesday, August 26, 2014
WeeWX with simulated data
Before you can install WeeWX you need a few more python modules, at least configobj, six, pyserial and Cheetah. If you have a weather station than you might more python modules.
Start by creating a build location where you can store all your sources etc:
Saturday, July 12, 2014
Install and run ColEm
Saturday, May 31, 2014
7z
If you're faced with a 7z file then you need a program like 7za to extract these archives. If your distribution has no 7z package you need to download the sources first:
Subscribe to:
Posts (Atom)