I must have messed something with my NAS and now it does not assemble /dev/md2 at boot.
I added mdadm-raid into runleve.conf and added /mnt/disk/vaolume1 in fstab, but this is not the way it's meant to be and several pieces of the software does not start properly (web admin unaccessible, can't be turned off with power button...).
I looked here and there, even comparing with an old tar backup I have and didn't find anything significant changed.
In /var/log/kern.log I see:
Sep 28 20:53:27 LG-NAS kernel: [ 1.515627] md: Waiting for all devices to be available before autodetect
Sep 28 20:53:27 LG-NAS kernel: [ 1.522461] md: If you don't use raid, use raid=noautodetect
Sep 28 20:53:27 LG-NAS kernel: [ 1.528890] md: Autodetecting RAID arrays.
Sep 28 20:53:27 LG-NAS kernel: [ 1.575817] md: invalid raid superblock magic on sda3
Sep 28 20:53:27 LG-NAS kernel: [ 1.580909] md: sda3 does not have a valid v0.90 superblock, not importing!
Sep 28 20:53:27 LG-NAS kernel: [ 1.587915] md: Scanned 3 and added 2 devices.
but that was the same in the working backup, too.
Even with the modifications I made, /var/log/platformd.log
2014-09-28 20:52:15,049 INFO [SYSTEM] : Start platform daemon boot-up sequence
2014-09-28 20:52:15,605 DEBUG [VOLUME] : there is no online volume on boot-up time
2014-07-11 20:09:24,007 INFO [SYSTEM] : Start platform daemon boot-up sequence
2014-07-11 20:09:25,218 DEBUG [VOLUME] : /dev/md2 assemble done
2014-07-11 20:09:26,792 DEBUG [HOT_SWAP] : HDD1 is online
even if I added mdadm-raid before platformd in the runleve.conf.
Can anybody assist me in finding what's wrong?
BTW, root@LG-NAS:~# cat /etc/mdadm/mdadm.conf
Code: Select all
# mdadm.conf # # Please refer to mdadm.conf(5) for information about this file. # # by default, scan all partitions (/proc/partitions) for MD superblocks. # alternatively, specify devices to scan, using wildcards if desired. DEVICE partitions # auto-create devices with Debian standard permissions CREATE owner=root group=disk mode=0660 auto=yes # automatically tag new arrays as belonging to the local system HOMEHOST <system> # instruct the monitoring daemon where to send mail alerts MAILADDR root # definitions of existing MD arrays ARRAY /dev/md0 UUID=11d89af5:e381338f:bafaa0fd:3edaa250 ARRAY /dev/md1 UUID=fec3e968:939068d8:bafaa0fd:3edaa250 ARRAY /dev/md/2 metadata=1.2 UUID=ee8088b3:b2009889:4e2d4a6c:f23c46ea name=LG-NAS:2 # This file was auto-generated on Sat, 27 Sep 2014 22:12:39 +0200 # by mkconf 3.1.4-1+8efb9d1