NAS doesn't boot after setup Raid

Re: NAS doesn't boot after setup Raid

Postby jungfichte » Sat Nov 19, 2016 12:28 pm

root@(none):/ # mdadm --assemble /dev/md0 /dev/sda8 /dev/sdb8
mdadm: unexpected failure opening /dev/md0
root@(none):/ #


:dontknow
jungfichte
Donator VIP
Donator VIP
 
Posts: 37
Joined: Thu Nov 10, 2011 7:54 pm
Location: Dachau, Germany

Re: NAS doesn't boot after setup Raid

Postby Jocko » Sat Nov 19, 2016 12:38 pm

what ouput you get with
Code: Select all
ls -l /dev/md0
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: NAS doesn't boot after setup Raid

Postby jungfichte » Sat Nov 19, 2016 12:40 pm

Code: Select all
root@(none):/ # ls -l /dev/md0
brw-r-----    1 root     root        9,   0 Feb  4  2016 /dev/md0
root@(none):/ #


sorry, i have to leave the pc for a while
I will come back in the evening.
jungfichte
Donator VIP
Donator VIP
 
Posts: 37
Joined: Thu Nov 10, 2011 7:54 pm
Location: Dachau, Germany

Re: NAS doesn't boot after setup Raid

Postby Jocko » Sat Nov 19, 2016 12:43 pm

Still as it can not read mdadm.conf file what happens if you add this option
Code: Select all
mdadm --assemble  --metadata=1.0 /dev/md0 /dev/sda8 /dev/sdb8
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: NAS doesn't boot after setup Raid

Postby jungfichte » Sat Nov 19, 2016 12:46 pm

Code: Select all
root@(none):/ # mdadm --assemble  --metadata=1.0 /dev/md0 /dev/sda8 /dev/sdb8
mdadm: unexpected failure opening /dev/md0
root@(none):/ #
jungfichte
Donator VIP
Donator VIP
 
Posts: 37
Joined: Thu Nov 10, 2011 7:54 pm
Location: Dachau, Germany

Re: NAS doesn't boot after setup Raid

Postby Jocko » Sat Nov 19, 2016 12:56 pm

So try this
Code: Select all
mdadm --assemble --config=/sda5/etc/mdadm.conf /dev/md0

or
Code: Select all
mdadm --assemble --force --config=/sda5/etc/mdadm.conf /dev/md0
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: NAS doesn't boot after setup Raid

Postby Jocko » Sat Nov 19, 2016 2:53 pm

Now I am no longer at home for the WE.

So if you still fail to assemble the raid1, we will try to destroy it and create it again. As it is a raid1, you can not lost your data.

Anyhow this raid issue can not explain why you fail to get access on the NAS according with boot.log file (web-interface and ssh access ??? <= can you confirm this point)

For this last point, I suggest to do (as I found on the examine output a updatetime on sda8 with an offset of 8min and the boot time saved on boot.log :scratch )
Code: Select all
mv /sda7/boot.log /sda7/boot.log.org
and try to do a standard reboot.

Then stop your NAS and get again a telnet access. So see if you have a new boot.log file on sda7
Code: Select all
ls -l /sda7/boot.log
cat /sda7/boot.log
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: NAS doesn't boot after setup Raid

Postby jungfichte » Sat Nov 19, 2016 8:50 pm

mdadm --assemble --config=/sda5/etc/mdadm.conf /dev/md0
mdadm --assemble --force --config=/sda5/etc/mdadm.conf /dev/md0

Code: Select all
root@(none):/ # mdadm --assemble --config=/sda5/etc/mdadm.conf /dev/md0
mdadm: CREATE user root not found
mdadm: CREATE group root not found
mdadm: unexpected failure opening /dev/md0
root@(none):/ # mdadm --assemble --force --config=/sda5/etc/mdadm.conf /dev/md0
mdadm: CREATE user root not found
mdadm: CREATE group root not found
mdadm: unexpected failure opening /dev/md0
root@(none):/ #

I renamed the the boot.log to boot.log.org as you want.
But the NAS isn't able to boot, yet.
Same behaviour since last time:
When powering on, i can see the hdd leds blinking on the backside and hearing the nas working.
After 10-15 sek. the nas powers off, the hdds spinning down and no hdd-led are lighting.
Only the yellow nic leds are blinking...

So there is no new boot.log :(
Code: Select all
root@(none):/ # ls -l /sda7/boot.log
ls: /sda7/boot.log: No such file or directory


Bye the way there is no important data on the storage.
jungfichte
Donator VIP
Donator VIP
 
Posts: 37
Joined: Thu Nov 10, 2011 7:54 pm
Location: Dachau, Germany

Re: NAS doesn't boot after setup Raid

Postby Jocko » Sat Nov 19, 2016 9:58 pm

ok,

jungfichte wrote:So there is no new boot.log :(
Code: Select all
root@(none):/ # ls -l /sda7/boot.log
ls: /sda7/boot.log: No such file or directory
Do you mount again previously /dev/sda7 ?
Code: Select all
mkdir /sda7
mount /dev/sda7 /sda7
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: NAS doesn't boot after setup Raid

Postby jungfichte » Sat Nov 19, 2016 10:30 pm

Yes,
Code: Select all
root@(none):/ # mkdir /sda7
root@(none):/ # mount /dev/sda7 /sda7
root@(none):/ # ls -l /sda7/boot.log
ls: /sda7/boot.log: No such file or directory
root@(none):/ # cd sda7/
root@(none):/sda7 # ls
bin              dev              linuxrc          opt              sbin             var
bin_cab          direct-usb       lost+found       postupgrade.log  share
boot             etc              mail             proc             sys
boot.log.org     lacie-boot       mnt              root             tmp
clunc            lib              nowhere          rw_fs            usr
root@(none):/sda7 #
jungfichte
Donator VIP
Donator VIP
 
Posts: 37
Joined: Thu Nov 10, 2011 7:54 pm
Location: Dachau, Germany

PreviousNext

Return to Lacie 2Big Network vs1

Who is online

Users browsing this forum: No registered users and 3 guests

cron