[root@fd etc]# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 60475924 794972 56608932 2% /
/dev/root 60475924 794972 56608932 2% /
/dev 376928 224 376704 1% /dev
none 376928 0 376928 0% /dev/shm
[root@fd etc]# fdisk /dev/sda
Command (m for help): p
Disk /dev/sda: 82.3 GB, 82347195904 bytes
255 heads, 63 sectors/track, 10011 cylinders, total 160834367 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x8a692e3b
Device Boot Start End Blocks Id System
/dev/sda1 * 63 122881184 61440561 fd Linux raid autodetect
/dev/sda2 122881185 160826714 18972765 82 Linux swap / Solaris
Command (m for help): q
[root@fd etc]# fdisk /dev/sdb
Command (m for help): p
Disk /dev/sdb: 82.3 GB, 82348277760 bytes
255 heads, 63 sectors/track, 10011 cylinders, total 160836480 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xd3f8d3f8
Device Boot Start End Blocks Id System
/dev/sdb1 * 63 122881184 61440561 fd Linux raid autodetect
/dev/sdb2 122881185 160826714 18972765 82 Linux swap / Solaris
Command (m for help): q
[root@fd etc]# cat /proc/mdstat
Personalities : [raid1]
md0 : active raid1 sda1[0] sdb1[1]
61440448 blocks [2/2] [UU]
[==>..................] resync = 13.1% (8074368/61440448) finish=31.0min speed=28659K/sec
unused devices: <none>
[root@fd etc]# free
total used free shared buffers cached
Mem: 753860 136288 617572 0 4744 80180
-/+ buffers/cache: 51364 702496
Swap: 37945520 0 37945520
[root@fd etc]# mv fstab fstabxx
[root@fd etc]# mv mtab mtabxx

[root@up /]# rsync -avz -e ssh /ups/ fd.errorz.net:/
sent 706019017 bytes received 2069958 bytes 805104.01 bytes/sec
total size is 1730167770 speedup is 2.44
[root@fd etc]# mv fstabxx fstab
[root@fd etc]# mv mtabxx mtab
[root@fd etc]# /etc/init.d/lsyncd start
[root@fd etc]# /etc/init.d/lsyncd status
lsyncd (pid 9754) is running...
[root@fd etc]# reboot