Jump to Navigation

Setting RAID alerts with amCLI

All modern raid controllers comes with nice graphics interfaces, but this tools needs time to setup and resources to run (most of them are java based). But all LSI controllers (almost in every modern IBM x series or Fujitsu TX, RX series) got nice console tool to manage them (amCLI). It's even easier to set up mail alerts with this tool than with GUI, but manual for amCLI is rather lame.

LVM based backup of virtual machines

LVM is one of the greatest things in linux. So much powerful, elastic and smooth approach to block devices.
You can use it almost everywhere.

How to crack LM Hash online

LMHash is algorithm to encrypt password in some MS windows versions. Almost every administrator knows that LMhash is not safe way to keep paswords, but some ppl still use it especially for backwards compatibility. I would call it stupidity, but you can call it however you want.
There are tons of tools over the internet to extract those hashes from windows machines, from ldap databases and so on.

iotop and Centos 5.6

Kernel 2.6.20+ got real-time process IO statistics accounting. Nice tool to monitor this is iotop, but even thought it's available in rpm, it's not working well on Centos.
If you want install iotop on Centos just install it from EPEL repository. Kernel got already all needed options turned on.
So just add EPEL repo to your system and then
yum install iotop

Another nice tool to monitor system I/O is dstat especially with options --top-bio-adv and --top-io-adv.

Enjoy!

Cost saving with intel atom

I've bought intel atom mobo 2 days ago, cause my home server have been consuming too much power.
My plan was to save some bucks and not to struggle too much in performance.
I've bought second hand intel D510MO (cause new atom mobos are too expensive) for 58$ with shipping.
I was a bit sceptical about atom performance, because of my experience with Asus EeePC 901.

LUKS ext4 performance

This time I want to compare performance of LVM based ext4 filesystem with LUKS encrypted device created on the same LVM volume.
Test system is intel cd2 e8200, 6GB RAM, 4*ST31500341AS (seagate 7200.11, 1.5TB) soft raid5.
First result is notcrypted LVM with ext4 filesystem:
247629,37,91502,14,,,290046,15,378.5,3

Then same volume but encrypted with 128bit AES:
98508,12,48053,5,,,159608,7,458.4,2

And last result for LUKS encrypted LVM volume with 256bit AES:
82206,10,41877,4,,,127844,5,461.5,2

How to grow software raid in Ubuntu.

This is rather a memo for me than real article, cause there are a lot of tutorials about growing raid.
I grow soft raid on average every 6 months, so I tend to forget all the necessary steps.

This time I've grown my 3TB raid5 to 4.5TB raid5 adding 1 disk to raid set under Ubuntu 10.04.

First thing after installing new disk in the computer is copying partition table from one of raid disks to new one. Sfdisk is the best tool to do this.

sfdisk -d /dev/sda > sda.part
sfdisk -f /dev/sdd < sda.part

Mplayer remote control with ConnectBot and Android.

I love to listen to music from my stereo. I've got tons of CD with music of my favourite bands and singers. But changing CD every time you want to listen one or two songs is annoying. So I've ripped all my music to flac format and put on my HTPC. The problem is I don't have proper remote control for my HTPC. I've tested some of them (remotes and wireless keyboards) and none of them was that good to keep it. My desire is to be able to control my stereo while I'm in the kitchen or bathroom. The longest distance in my flat to HTPC is like 8 meters (about 26 ft).

Password vault with LUKS

Some organizations/companies got problem with keeping their passwords to sensitive systems safe.
I mean passowrds for privileged users (root, admin, etc.). Even small companies got big IT infrastructures with 10+ devices/systems which got administrative passwords (like servers, switches, databases, etc.). You use those accounts like ones half year, so it's hard to remember all those passwords (and users) combinations.

Linux software raid with 2-6 disks ext3/ext4 performance tests.

Lately I've got 6 500GB SATA 7200 rpm disks in my hands. So I decided to do some performance tests of linux software raid.
There are a lot of legends about raid levels, which are better for database or file storing. Also there are informations how much which raid layout loads CPU.
So I decided to verify those.

Pages

Subscribe to Dentarg&#039;s TechBlog / Knowledge Base RSS


Main menu 2

by Dr. Radut.