General NAS-Central Forums

Welcome to the NAS community
It is currently Thu Sep 21, 2017 9:16 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Tue Sep 30, 2014 1:46 pm 
Offline

Joined: Thu Nov 21, 2013 9:51 am
Posts: 10
Hello, please help!

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

instead of

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:
# 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


Top
 Profile  
 
PostPosted: Tue Sep 30, 2014 3:54 pm 
Offline

Joined: Mon Jun 16, 2008 10:45 am
Posts: 6039
I have had the same with another LG nas, cannot remember the type anymore. An el-cheapo 2 disk nas. I added a startscript for sshd, or something like that. Somehow the fimrware detects that, and refuses to boot anymore. I was not able to solve that problem.
In the end I just installed Debian on that box. Problem solved.


Top
 Profile  
 
PostPosted: Wed Oct 01, 2014 6:35 am 
Offline

Joined: Thu Nov 21, 2013 9:51 am
Posts: 10
I'm not at that stage yet!! ;)

For now, I would only like to restore md2 auto-assembling as before.

And it already has Debian onboard.

In case I give up, I'll bug you to know how to install a new Debian on it.

Thank you


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group