RAID setup, Raid 0, Raid 1, Raid 4,Raid 5

5.1 General setup
This is what you need for any of the RAID levels:

A kernel. Preferably a kernel from the 2.4 series. Alternatively a 2.0 or 2.2 kernel with the RAID patches applied.
The RAID tools.

All of this is included as standard in most GNU/Linux distributions today.
If your system has RAID support, you should have a file called /proc/mdstat. Remember it, that file is your friend. If you do not have that file, maybe your kernel does not have RAID support. …

Read On »

mount usb flash drives in linux, mounting usb storage, detecting usb in linux

Note: USB storage devices are shown as SCSI drives in Linux, so if you have more than a SCSI device you can find different device names (/dev/sdXX where XX depends on your hardware). In this example I’ve chosen the first device in the SCSI chain (/dev/sda1)
1. Open a console window (under KDE is called konsole)
2. Login as root: type su and enter the password and run the following commands to list the new usb devices.
[root@localhost]#lsusb
Bus 002 Device 003: ID 08ec:0010 …

Read On »