Here is the situation: We have a FC SAN with one volume dedicated for virtual machines’ disks. That SAN volume is available on the server via 2 paths (two storage controllers, two FC switches and two HBAs) and failover is handled by multipath-tools. This SAN volume has no partition table but is a LVM’s physical … Read more Cool Linux Stuff: Live Resize of Libvirt Guest’s Disk Served as LVM Logical Volume on SAN Volume
I have stumbled on this again. There is so many places on the Net (for example Advanced Bash-Scripting Guide) where you can read that Bash does not support regular expression by itself and you have to use other tools (usually grep, sed and awk are mentioned) to match/replace with regex. Since regular expressions are part … Read more Bash Does Not Support RegExps? Read The Fucking Manual!
I needed a regex pattern to match IPv4 addresses today. I thought that this is quite common thing and it will be easy to find one on the Net. I have found a lot of them indeed. Unfortunately no one was good enough. Most of them was too simple and could match a string which … Read more Regular Expression To Match IPv4 Addresses