NAS doesn't boot after setup Raid

Re: NAS doesn't boot after setup Raid

Postby Jocko » Mon Nov 21, 2016 8:50 pm

Vol-A is sda8 mounted on /share/1000
Vol-B is sdb8 mounted on /share/1001

As I think you have moved the original share fvdw from Vol-A to RD-1 when you have set this one before adding sda8 in md0, fvdw with all your data must be in /share/1001/fvdw.

:disapprove :disapprove :disapprove use rm on a folder must be always used with a full path to avoid to delete unwanted data!!! for example your command try to remove a folder /fvdw at the root level :disapprove :disapprove
So do
Code: Select all
rm -r /share/1000/fvdw
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 » Mon Nov 21, 2016 8:54 pm

Uuupps :? , sorry,
but now this:
Code: Select all
root@LaCiePussy:/share/1000 # rm -r /share/1000/fvdw
rm: cannot remove `/share/1000/fvdw': Input/output error
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 » Mon Nov 21, 2016 8:58 pm

Go to the web-interface and in the main setup menu select Vol-B as addons volume but do not check the box "move the technical shares"

then post
Code: Select all
grep '<addonsvolume>' /etc/nas_conf_db.xml
ls -l /direct-usb
ls -l /usr/local
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 » Mon Nov 21, 2016 9:00 pm

ok done
Code: Select all
root@LaCiePussy:/ # grep '<addonsvolume>' /etc/nas_conf_db.xml
                <addonsvolume>1001</addonsvolume>
root@LaCiePussy:/ # ls -l /direct-usb
lrwxrwxrwx  1 root root 11 2016-11-21 23:05 /direct-usb -> /share/1001
root@LaCiePussy:/ # ls -l /usr/local
lrwxrwxrwx  1 root root 23 2016-11-21 23:05 /usr/local -> /share/1001/fvdw/addons
root@LaCiePussy:/ #
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 » Mon Nov 21, 2016 9:02 pm

So try again to remove fvdw on /share/1000

Can post a screen capture of the main "File share menu".

Do you have data in public?
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 » Mon Nov 21, 2016 9:07 pm

So try again to remove fvdw on /share/1000

Not succesful -> same error -> input / output error (as before)

file_share_menu.PNG


No, there is no data in public - i didn't save important data on this device
You do not have the required permissions to view the files attached to this post.
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 » Mon Nov 21, 2016 9:13 pm

I think sda8 has been corrupted when you tried to include it in the raid.

So the easy way, is to format again sda8, try to unmount it
Code: Select all
cd /
killall smbd
umount /dev/sda8
mke2fs -t ext3 -j -m 1 /dev/sda8
mount /dev/sda8 /share/1000
/usr/sbin/smbd -D -l /var/log/samba
mkdir -m 777 /share/1000/public
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 » Mon Nov 21, 2016 9:18 pm

ok, done
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 » Mon Nov 21, 2016 9:22 pm

So now you have a clean NAS status.

Now, we go to try to boot from sda6 after rewriting the kernel image on it
From your laptop copy the file UIMAGE-13142-2BIG1-6 to the share fvdw.

Then on the shell window, do
Code: Select all
dd if=/share/1001/fvdw/UIMAGE-13142-2BIG1-6 of=/dev/sda6
if no error is reported, try to reboot the nas

---I edited my post (wrong path)---
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 » Mon Nov 21, 2016 9:35 pm

I copied the file
Code: Select all
dd if=/share/1001/fvdw/UIMAGE-13142-2BIG1-6 of=/dev/sda6

But the restart fails again :sob
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 1 guest

cron