Cant Access NAS - Need to recovery my files

Re: Cant Access NAS - Need to recovery my files

Postby Goapix » Thu Apr 22, 2021 3:35 pm

Code: Select all
root@fvdw-sta-kirkwood:/ # cd sda8
root@fvdw-sta-kirkwood:/sda8 # cd Public
root@fvdw-sta-kirkwood:/sda8/Public # cd ##Varios
root@fvdw-sta-kirkwood:/ # ls /sda8
Public        fvdw          lost+found    plex-prog     tr-daemon     tr-downloads
root@fvdw-sta-kirkwood:/ #



Code: Select all
root@fvdw-sta-kirkwood:/ # cd sda8/Public
root@fvdw-sta-kirkwood:/sda8/Public # ls
## DOWNLOADS        ## Filmes Animados  ##Varios
root@fvdw-sta-kirkwood:/sda8/Public #


Cant enter on ## DOWNLOADS and ## Filmes Animados its normal?



Thank you for all your help
Goapix
Donator VIP
Donator VIP
 
Posts: 19
Joined: Fri Nov 02, 2018 2:28 pm

Re: Cant Access NAS - Need to recovery my files

Postby Jocko » Thu Apr 22, 2021 3:43 pm

just because you have a space in the filename and you have to quote it in the command, for example
Code: Select all
cd '## DOWNLOADS'
ls
then you should have your files ;)
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Cant Access NAS - Need to recovery my files

Postby Jocko » Thu Apr 22, 2021 3:44 pm

First step get a clean /dev/sda5 partition
Code: Select all
cd /
umount /sda5
mke2fs-ext3 -m 1 -j /dev/sda5
mount /dev/sda5 /sda5
ls /sda5
you should get an empty list
install its files
Code: Select all
tftp -r firmware/sda5-lacie-nwsp.tar.gz -l /sda5/sda5-lacie-nwsp.tar.gz -g your-ip
tar -xzvf /sda5/sda5-lacie-nwsp.tar.gz -C /sda5
ls -l /sda5
where your-ip is the current ip of your laptop
Now you should have some listed files

Next step will be to write the firmware on sda7
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Cant Access NAS - Need to recovery my files

Postby Goapix » Thu Apr 22, 2021 3:51 pm

Code: Select all
/sda8/Public/## DOWNLOADS # cd /
~ # umount /sda5
~ # mke2fs-ext3 -m 1 -j /dev/sda5
mke2fs 1.41.14 (22-Dec-2010)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
49152 inodes, 196608 blocks
1966 blocks (1.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=201326592
6 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840

Writing inode tables: done                           
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 38 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
~ # mount /dev/sda5 /sda5
~ # ls /sda5
lost+found
~ # tftp -r firmware/sda5-lacie-nwsp.tar.gz -l /sda5/sda5-lacie-nwsp.tar.gz -g 192.168.1.138
firmware/sda5-lacie- 100% |****************************************************************|  2094   0:00:00 ETA
~ # tar -xzvf /sda5/sda5-lacie-nwsp.tar.gz -C /sda5
etc/
etc/nas_conf_db.xml
etc/nas_ext_hdd_db.xml
etc/ntp.conf
lost+found/
tmp/
usr/
usr/private/
usr/private/secrets.tdb
var/
var/etc/
~ # ls -l /sda5
total 36
drwxr-xr-x    2 root     root          4096 Jan  1 01:19 etc
drwx------    2 root     root         16384 Jan  1  2000 lost+found
-rw-r--r--    1 root     root          2094 Jan  1 01:19 sda5-lacie-nwsp.tar.gz
drwxr-xr-x    2 root     root          4096 Aug 12  2011 tmp
drwxr-xr-x    3 root     root          4096 Jan  1 01:19 usr
drwxr-xr-x    3 root     root          4096 Jan  1 01:19 var
~ #


:)
Goapix
Donator VIP
Donator VIP
 
Posts: 19
Joined: Fri Nov 02, 2018 2:28 pm

Re: Cant Access NAS - Need to recovery my files

Postby Jocko » Thu Apr 22, 2021 3:59 pm

So unmount all partition
Code: Select all
cd /
umount /sda7
umount /sda5


Then return to fvdw-sl console and select the action "Write fvdw-sl firmware image" (and not Install fvdw-sl firmware image which will delete your data !)
a new telnet window should be opened and here follow the instructions and ask to write the firmware on sda7
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Cant Access NAS - Need to recovery my files

Postby Goapix » Thu Apr 22, 2021 4:24 pm

it asks to write firmware to 3 partitions, 1,2 and 7. Its all of these?
Goapix
Donator VIP
Donator VIP
 
Posts: 19
Joined: Fri Nov 02, 2018 2:28 pm

Re: Cant Access NAS - Need to recovery my files

Postby Jocko » Thu Apr 22, 2021 4:29 pm

you can do that but only sda7 is required
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Cant Access NAS - Need to recovery my files

Postby Goapix » Thu Apr 22, 2021 5:09 pm

Ok, got web browser access now. How to access my files now?
System Name fvdwsl-base
IP Address 192.168.1.139
Subnet Mask 255.255.255.0
MAC Address 00:D0:4B:94:5E:8B
Workgroup: mshome
DDNS : Disabled
Firmware Version fvdw-sl 18.1 (cloudbox)
Kernel: Linux 4.6.6 #7 PREEMPT Sun May 7 11:50:52 CEST 2017
Caution: It is not the regular kernel version [414133#1]
Last edited by Goapix on Thu Apr 22, 2021 5:28 pm, edited 1 time in total.
Goapix
Donator VIP
Donator VIP
 
Posts: 19
Joined: Fri Nov 02, 2018 2:28 pm

Re: Cant Access NAS - Need to recovery my files

Postby Jocko » Thu Apr 22, 2021 5:27 pm

So you have now, to create your previous share and also the user account...

then for share, should be
Code: Select all
Public        fvdw     tr-daemon     tr-downloads
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Cant Access NAS - Need to recovery my files

Postby Jocko » Thu Apr 22, 2021 5:34 pm

for tr-daemon tr-downloads shares, you can not do it directly.

So from a shell window, do
Code: Select all
cd /share/1000
mv tr-daemon tr-daemon.org
mv tr-downloads tr-downloads.org

install again transmission and then restore your shares
Code: Select all
cd /share/1000
mv tr-daemon.org tr-daemon
mv tr-downloads.org tr-downloads
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

PreviousNext

Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: No registered users and 3 guests