Raid clean, degraded completed, estimated time ...

Re: Raid clean, degraded completed, estimated time ...

Postby fvdw » Tue May 28, 2024 3:12 pm

@jocko, would it be possible without causing data loss to assemble the raid manually and mount it to see if his data is accessible and still present?
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Raid clean, degraded completed, estimated time ...

Postby razzor0 » Tue May 28, 2024 3:14 pm

Yes that's what worries me the most. After that I will just copy then and reinstall the whole system.
razzor0
Donator VIP
Donator VIP
 
Posts: 55
Joined: Sun Feb 04, 2024 11:02 am

Re: Raid clean, degraded completed, estimated time ...

Postby Jocko » Tue May 28, 2024 3:19 pm

There is no issue with your data (100%)

Please to wait, I need to edit some other files so that the firmware set the data volume...
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Raid clean, degraded completed, estimated time ...

Postby Jocko » Tue May 28, 2024 3:41 pm

So disable the debug mode (command debugoff)

- Install the new package with id value 7299 and reboot the nas
- assemble manually the raid as described previously
Code: Select all
mdadm --assemble /dev/md0 --run

- if ok, update the nas database
Code: Select all
 /etc/api/nasapi.php getDataVol
(be careful case sensitive command)
- mount the data volume
Code: Select all
/etc/api/nasapi.php mountAll


You should see your previous shares
Code: Select all
ls -l /share/1100

Go to the firmware web interface, and create again your shares according to the list (your data won't be deleted !)

- start samba server
Code: Select all
/etc/api/nasapi.php getSmbShares
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Raid clean, degraded completed, estimated time ...

Postby razzor0 » Tue May 28, 2024 3:44 pm

on it !
razzor0
Donator VIP
Donator VIP
 
Posts: 55
Joined: Sun Feb 04, 2024 11:02 am

Re: Raid clean, degraded completed, estimated time ...

Postby razzor0 » Tue May 28, 2024 4:03 pm

Looks good ! Will now dowload all the stuff i need. The I will do new install etc and will write again. Thank you Guys !
razzor0
Donator VIP
Donator VIP
 
Posts: 55
Joined: Sun Feb 04, 2024 11:02 am

Re: Raid clean, degraded completed, estimated time ...

Postby Jocko » Wed May 29, 2024 9:21 am

So nice but I forgot to say you have to repeat these commands (and set again the share) at each time you start the nas (It is why I wanted to fix the raid restoring issue on nas booting)

On nas booting, to remove the 5 attempts to restore the raid which locks the boot script for 50'' :whistle , you may rename the file
Code: Select all
mv /etc/restore_raid.sh /etc/restore_raid.sh.disable
which will restore the regular actions at this step
Jocko
Site Admin - expert
 
Posts: 11529
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Previous

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 8 guests