Page 5 of 8

Re: NAS doesn't boot after setup Raid

PostPosted: Mon Nov 21, 2016 8:50 pm
by Jocko
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

Re: NAS doesn't boot after setup Raid

PostPosted: Mon Nov 21, 2016 8:54 pm
by jungfichte
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

Re: NAS doesn't boot after setup Raid

PostPosted: Mon Nov 21, 2016 8:58 pm
by Jocko
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

Re: NAS doesn't boot after setup Raid

PostPosted: Mon Nov 21, 2016 9:00 pm
by jungfichte
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:/ #

Re: NAS doesn't boot after setup Raid

PostPosted: Mon Nov 21, 2016 9:02 pm
by Jocko
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?

Re: NAS doesn't boot after setup Raid

PostPosted: Mon Nov 21, 2016 9:07 pm
by jungfichte
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

Re: NAS doesn't boot after setup Raid

PostPosted: Mon Nov 21, 2016 9:13 pm
by Jocko
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

Re: NAS doesn't boot after setup Raid

PostPosted: Mon Nov 21, 2016 9:18 pm
by jungfichte
ok, done

Re: NAS doesn't boot after setup Raid

PostPosted: Mon Nov 21, 2016 9:22 pm
by Jocko
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)---

Re: NAS doesn't boot after setup Raid

PostPosted: Mon Nov 21, 2016 9:35 pm
by jungfichte
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