To get the amount of memory installed use prtdiag:
# prtconf | grep Memory
Memory size: 16384 Megabytes
...
Tuesday, October 4, 2011
Saturday, September 17, 2011
Reusing/relabeling media with bacula
A few weeks ago I reinstalled my backup server with bacula. I have a small machine (2x700MHz, 1GB, Solaris 10, Bacula 5.0.3) with 3 DDS-3 tape drives (and other stuff to play around). Now I want to reuse my old tapes which were already labeled. So I have to do some kind of relabeling. When I try to normally label the prior used tapes I get the following error:
Thursday, September 8, 2011
Creating mp4 for Android with ffmpeg
I am traveling to work by public transportation and I thought it would be a cool idea to have some movies with me during the train ride. Of course I have to encode them first. Here is a way to do this with ffmpeg:
Sunday, August 28, 2011
Mirroring an existing and encrypted disk with mdadm
I have all my data (personal, music etc.) stored on one 1.5TB disk and to avoid manual backups to external devices I want (need) to create a mirror. The disk itself is encrypted and formatted with ext3. The big picture is like this:
Sunday, August 21, 2011
Using a 2GB Jaz drive with Solaris
If you have a old Jaz drive and want to use under Solaris, then this might be interesting for you. First build in your drive into the server. Then boot and make sure that volfs is not running (you can turn it on later again):
Monday, August 15, 2011
Configuring YUM
I have a small VM running RHEL 6 (just for playing around). The installation was some kind hard - I have to do nearly everything by hand... Anyway the operating system itself is running now. To automatically install software from the DVD I would like to use YUM, but I have to set it up first. There is a main configuration file - yum.conf which resides in /etc. This is the default content of it:
Thursday, August 4, 2011
Configuring NTP in Solaris 10
First, go to /etc/inet and create ntp.conf. Define your NTP server and a place for the drift file:
# cd /etc/inet
# vi ntp.conf
server 172.16.10.51
driftfile /var/ntp/ntp.drift
# cd /etc/inet
# vi ntp.conf
server 172.16.10.51
driftfile /var/ntp/ntp.drift
Wednesday, July 27, 2011
Disable MSI on a bnx2 driver
Today I had a customer telling me that his network on one machine is slow sometimes. I took a look at it and and saw some Broadcom devices (I don't remember the model) and the bnx2 driver loaded. Also both devices were attached to a bonding device. First step was to figure out the active interface:
Monday, July 25, 2011
Obtaining NIC/LAN information in HP-UX
First find out which devices are available, by which dirver it is used, hardware path etc:
# ioscan -fnClan
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
lan 0 0/4/2/0 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
lan 1 0/4/2/1 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
lan 2 0/6/0/0/0/0/0/0/0/0 iether CLAIMED INTERFACE HP AD337-60001 PCIe 1000Base-T Dual-port Adapter
lan 3 0/6/0/0/0/0/0/0/0/1 iether CLAIMED INTERFACE HP AD337-60001 PCIe 1000Base-T Dual-port Adapter
# ioscan -fnClan
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
lan 0 0/4/2/0 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
lan 1 0/4/2/1 iether CLAIMED INTERFACE HP AB352-60003 PCI/PCI-X 1000Base-T Dual-port Core
lan 2 0/6/0/0/0/0/0/0/0/0 iether CLAIMED INTERFACE HP AD337-60001 PCIe 1000Base-T Dual-port Adapter
lan 3 0/6/0/0/0/0/0/0/0/1 iether CLAIMED INTERFACE HP AD337-60001 PCIe 1000Base-T Dual-port Adapter
Configuring NTP in HP-UX
Assuming 192.168.1.1 is your local NTP server, then you need to edit /etc/rc.config.d/netdaemons first. Add your NTP server to NTPDATE_SERVER and change the value for XNTPD from 0 (zero) to 1 (one):
Subscribe to:
Posts (Atom)