if you already have a software RAID configured with mdadm it won't reassemble automatically on each boot. in order to have it reassembling do the following:mdadm --detail --scan > /etc/mdadm.conf That's pretty much it!Other useful commands:Creating a RAID:mdadm -Cv /dev/md1 -level=1 -n2 /dev/sdb1 /dev/sdc1watching the building/rebuild statuscat /proc/mdstatCheck the RAID state:mdadm -D /dev/md1Simulates a failed drive:mdadm /dev/md1 -f /dev/sdc1Add a new drive (partition) to replaced the failed one:mdadm --manage /dev/md1 -a /dev/sdb2To reuse the failed drive one have to remove it and add it again to the array:mdadm --manage /dev/md1 -r /dev/sdc1mdadm --manage /dev/dm1 -a /dev/sdc1Stopping a RAID:mdadm -S /dev/md1To "remount" a stopped or un-assembled RAID:mdadm --assemble /dev/md1 /dev/sdb1 /dev/sdc1ORmdadm --assemble --scanone more time the gentoo wiki has thousands of good info regarding software-based RAID:http://en.gentoo-wiki.com/wiki/RAID/Software I always forget the name of these guys: Well known:iptrafdarkstatiperftcpstatntop I never used before: tcpflowtcpslicetcptracengrep Volumes metadata:# blkid/dev/sda1: LABEL="Bootinho" UUID="7aa20f0f-49f4-4601-bd30-9067519bb6c5" TYPE="ext4"/dev/sda2: UUID="sWPlWO-lcYm-SLk2-E5Ho-0a6T-kdBt-YZG79V" TYPE="LVM2_member"/dev/mapper/vg_zeus-lv_root: UUID="0b494d0c-b2c2-4dbc-a73f-392bd4860ed4" TYPE="ext4"/dev/mapper/vg_zeus-lv_swap: UUID="e6602180-14f2-4f22-811a-f9fedc7d0387" TYPE="swap"Labeling a volume:[root@zeus ~]# e2label /dev/sda1 BootinhoOR[root@zeus ~]# tune2fs -L booootinho /dev/sda1tune2fs 1.41.12 (17-May-2010)[root@zeus ~]# e2label /dev/sda1booootinho[root@zeus ~]#Querying a volume's label[root@zeus ~]# e2label /dev/sda1BootinhoFinding volumes with a specific name[root@zeus ~]# findfs LABEL=Bootinho/dev/sda1Mount using volume's label[root@zeus ~]# mount LABEL=Bootinho /boot/Reparing an ext2/ext3/ext4 file system[root@zeus ~]# umount /boot/[root@zeus ~]# e2fsck -f /dev/sda1e2fsck 1.41.12 (17-May-2010)Pass 1: Checking inodes, blocks, and sizesPass 2: Checking directory structurePass 3: Checking directory connectivityPass 4: Checking reference countsPass 5: Checking group summary informationbooootinho: 38/128016 files (2.6% non-contiguous), 43796/512000 blocksResizing an ext2/ext3/ext4 file system[root@zeus ~]# resize2fs -p /dev/sda1resize2fs 1.41.12 (17-May-2010)The filesystem is already 512000 blocks long. Nothing to do! use:http://www.getsharepod.com/It's free!!If you are like me and decided to control what goes in and comes out from you ipod, read: manual sync for all items is checked. Then you might need to get the apps installed back to iTunes at some point. For instance, if you will be upgrading the firmware. It's pretty simple:iTunes - Store - Authorize this computeriTunes - File - Transfer purchases from XXXXX iPhone My recent posts were about things that I was playing around and are related to topics that are covered in RHSCA and RHCE exams. I'm preparing myself to take this exams in february/2012 and I need some place to store my notes. Here you will find small tips, tricks, common switches, commands, etc. This is all stuff that I need to know in order to succeed the exams. And it's also stuff that I know I have to play with and write down to help memory retain the information.let the show begin....Querying RPMsrpm -qi xxx -> query info. same as yum info xxxrpm -q --scripts xxx -> query scriptsrpm -ql xxx -> list of files inside the rpm.any of the above can also have the -p switch. this will consider the xxx as a local rpm file. not an installed packagerom -qf /sbin/service -> will show which packege contains the /sbin/service file rpm -qa -> query all installed packagesExtract files from rpm:rpm2cpio xxx | cpio -idmv if you run rpm -qlp xxx and see the one file that you want you can extract it running the following:rpm2cpio xxx | cpio -idmv ./etc/apt/sources.list.d/rpmforge-extras.listPlease don't