Posted by: Andrea Benini
on September 22 2009
So, you've followed my previous blog: Replacing faulted drive on Linux software RAID (MDTOOLS), you already know how to swap a faulty drive with a new one, but what happens if you need to substitute primary disk where your Computer makes boot ?
After adding a new disk to your raid chain it's a good idea to make it bootable as well by installing grub on MBR. When boot drive in your raid array becomes faulty all you've to do is to power off your machine, substitute your faulty drive and boot your computer again. If you've properly set bios boot sequence to iterate between primary, secondary, ... you can boot your raid array again, second or third HD makes the boot because you've installed grub on it, pretty easy and straightforward, this contributes to have a bulletproof system.
Posted by: Andrea Benini
on September 08 2009
Here's a very quick HOWTO for Linux Software RAID, these notes are maded for replacing a faulty disk with a new one.
When you've a software RAID configuration with linux you've planned to survive to hardware failures, when these failures happen you need to replace the faulty drive with a new one and inform your RAID configuration of it.
Posted by: Andrea Benini
on July 21 2009
I was syncing two Linux hosts, just need to copy data between them. I don't need and neither don't want to install Samba as a Service for a quick sync, RSync was my preferred method.
RSync is very easy to use and quick but in this case I don't either want to install RSync service daemon as well on the destination machine (the machine with data to transfer), so I've opted for rsync through ssh tunnel without a service installed.
Posted by: Andrea Benini
on July 17 2009
This quick post shows you how to create a samba share for a network, every user is forced to a specific username and each file belongs to this username. This is useful when dealing with public folders for some sort of exchange between users in a network
Read/Write access to everyone for directories and files, this is a tipical configuration for a swap area
Posted by: Andrea Benini
on July 15 2009
Here I am, back again with episode 2 of VMWare Server, if you've already read HOWTO: Install VMWare Server 2, I guess you've a linux server with VMWare 2 up and running.
First thing I did after my installation was to reboot the machine to see memory usage and look at security issues. With no surprise I've seen Virtual Infrastructure Web Access enabled and when using netstat -a to see opened ports I've seen few more ports opened by VMWare webserver interface (apache tomcat and catalina folks laying around), I've previously used VMWare Server on a Windows desktop machine and I've already seen it.
Posted by: Andrea Benini
on July 14 2009
Intro
Everybody knows about VMWare Server, now with stable 2.x version my favorite feature is 64bit host native support.
I don't need to run guest 64bit OSes (yet) but 64bit native support is fine if you've a recent CPU and you'd like to take advantage of new servers outta there, and most important you can use a stable and working real 64bit application on your 64bit Debian system.