Firstly, huge thanks to all the people who have posted their experiences and solutions here in the past. You've helped me out big time.
Now comes my problem. I've got a fairly new system up and running sweetly. I'm impressed, my wife is impressed with Ubuntu Hardy.
I've built the system around a Gigabyte mainboard and AMD AM2 CPU. I have two 160GB SATA drives with filesystems and swap configured at installation time as software RAID 1 mirrored. Whilst the mainboard can support hardware RAID, it's really fakeRAID and it didn't work for me.
After installation and daily use I didn't really bother to check the status of the RAID config until I started playing with Nagios.
Now, I find with great regularity that I have broken mirrors. For example:
Code:
paul@eric:~$ cat /proc/mdstat
Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]
md3 : active raid1 sda5[0]
129916992 blocks [2/1] [U_]
md2 : active raid1 sda3[0] sdb3[1]
5116608 blocks [2/2] [UU]
md1 : active raid1 sda2[0] sdb2[1]
25599488 blocks [2/2] [UU]
md0 : active raid1 sda1[0] sdb1[1]
200704 blocks [2/2] [UU]
unused devices: <none>
This usually involves me doing up to four "mdadm --add" commands to resilver the mirrors.
Here's the output from "df -h":
Code:
Filesystem Size Used Avail Use% Mounted on
/dev/md1 25G 6.2G 17G 27% /
varrun 1.9G 124K 1.9G 1% /var/run
varlock 1.9G 0 1.9G 0% /var/lock
udev 1.9G 92K 1.9G 1% /dev
devshm 1.9G 12K 1.9G 1% /dev/shm
lrm 1.9G 43M 1.8G 3% /lib/modules/2.6.24-19-generic/volatile
/dev/md0 190M 84M 97M 47% /boot
/dev/md3 123G 15G 103G 13% /home
gvfs-fuse-daemon 25G 6.2G 17G 27% /home/paul/.gvfs
Here's my /etc/fstab:
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/md1
UUID=2abc6276-416c-43a2-994f-b85ddc254f90 / ext3 relatime,errors=remount-ro 0 1
# /dev/md0
UUID=ea94129d-6ed2-4c96-a1d2-800fab941152 /boot ext3 relatime 0 2
# /dev/md3
UUID=dae7bacc-d640-4af1-a229-ba7e81fc22a0 /home ext3 relatime 0 2
# /dev/md2
UUID=48e645b5-d72c-4387-a2c9-b93ed1de8f6e none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
none /proc/bus/usb usbfs devgid=46,devmode=664 0 0
Has anyone encountered this problem? Any fixes?
I first thought that is was caused by an automatic backup running when I shut down the machine, but the broken mirrors still occur now that I have stopped automatic backups.
Bookmarks