I kept getting this strange error from my NAS. A google search led me to a solution on OMV forums. This is an automatically generated mail message from mdadm running on oracle A SparesMissing event had been detected on md device /dev/md/oracle:storage1. Faithfully yours, etc. P.S. The /proc/mdstat file currently contains the following: Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md127 : active raid5 sdb[0] sda[3] sdc[1] 976770048 blocks super 1.2 level 5, 512k chunk, algorithm 2 [3/3] [UUU] ...

December 3, 2012 · 1 min · Shane Greaves

Broken APT on OMV

Apt is broken on my omv box with this error. I am still trying to figure this one out. CRON-APT RUN [/etc/cron-apt/config]: Mon Dec 3 04:00:01 EST 2012 CRON-APT SLEEP: 3420, Mon Dec 3 04:57:01 EST 2012 CRON-APT ACTION: 3-download CRON-APT LINE: /usr/bin/apt-get dist-upgrade -d -y -o APT::Get::Show-Upgraded=true Reading package lists... Building dependency tree... Reading state information... You might want to run 'apt-get -f install' to correct these. The following packages have unmet dependencies: openmediavault-transmissionbt : Depends: transmission-cli (>= 2.42) but it is not installed transmission-daemon : Depends: libcurl3 (>= 7.16.2-1) but it is not installed Depends: libevent-2.0-5 (>= 2.0.16-stable) but it is not installed Depends: libminiupnpc5 but it is not installable Depends: libnatpmp1 but it is not installable Depends: transmission-common (= 2.71-1) but it is not installed E: Unmet dependencies. Try using -f.

December 3, 2012 · 1 min · Shane Greaves

Replace failed hard drive

I have a failed (failing) hard drive on my raid5 array. I have documented the steps needed to replace the failed disk with a new disk. Disk is most likely ok but it is showing read errors. Better be safe than sorry! View Array Status cat /proc/mdstat Remove Failed Disk mdadm --manage /dev/md0 --fail /dev/sda mdadm --manage /dev/md1 --remove /dev/sda Shutdown and replace disk with new one shutdown -h now ...

November 29, 2012 · 1 min · Shane Greaves