Unable to access any shares on Networkspace2

Re: Unable to access any shares on Networkspace2

Postby fvdw » Sun Mar 01, 2020 6:36 pm

I again edited my last post, commands were incomplete
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Unable to access any shares on Networkspace2

Postby jojodude » Sun Mar 01, 2020 7:52 pm

fvdw wrote:Oke, so filesystem is ok
Now look in the different folders
Code: Select all
ls -al /sda2/share
ls -al /sda2/shares
ls -al /sda2/tmp
Etc


Ok as I navigate through the folders I can see the files that I had on the device. What do I do to gain access to them via File Explorer and be able to mount a share drive there?

is there someway to install the firmware from Lacie using this mechanism OR do I need to download all the files on to my computer first and reformat and install the fvdw firmware.

Thank you so much for your prompt responses so far and getting me to this point.
jojodude
 
Posts: 12
Joined: Sun Mar 01, 2020 1:57 pm

Re: Unable to access any shares on Networkspace2

Postby jojodude » Sun Mar 01, 2020 7:54 pm

fvdw wrote:I again edited my last post, commands were incomplete


No problem - my rusty unix and linux skills slowly came back and I was able to find the files :)
jojodude
 
Posts: 12
Joined: Sun Mar 01, 2020 1:57 pm

Re: Unable to access any shares on Networkspace2

Postby fvdw » Sun Mar 01, 2020 8:06 pm

jojodude wrote:
fvdw wrote:Oke, so filesystem is ok
Now look in the different folders
Code: Select all
ls -al /sda2/share
ls -al /sda2/shares
ls -al /sda2/tmp
Etc


Ok as I navigate through the folders I can see the files that I had on the device. What do I do to gain access to them via File Explorer and be able to mount a share drive there?

Thank you so much for your prompt responses so far and getting me to this point.


In which folder did you find them?, are they in tmp folder?
And is there on the disk a folder with name OpenShare ? (i think it should be in the shares folder).
I am not very familiar with lacie firmware but I believe in case of factory restore it moves the data files to a folder in tmp.
You could use the linux mv command to move the files to the OpenShare folder. Then they should become visible in explorer

Another way to get the files from the disk is connecting an usb disk formatted in fat32 to your usb port.
As last resort you could try to use a mini ftp server that can be installed on the standalone kernel
For that I need to have alook in my notes how this can be done, but you will need a ftp clinet to access the server.

is there someway to install the firmware from Lacie using this mechanism OR do I need to download all the files on to my computer first and reformat and install the fvdw firmware.

A fresh install of lacie firmware is no easy if you have the right partititon images, I don't have them.
If you wan to instal fvdw-sl you must first copy your data from the disk as installing fvdw-sl will erase the partition table and use a new one, menaing all data on the disk is lost
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Unable to access any shares on Networkspace2

Postby jojodude » Sun Mar 01, 2020 8:26 pm

fvdw wrote:
In which folder did you find them?, are they in tmp folder?
And is there on the disk a folder with name OpenShare ? (i think it should be in the shares folder).
I am not very familiar with lacie firmware but I believe in case of factory restore it moves the data files to a folder in tmp.
You could use the linux mv command to move the files to the OpenShare folder. Then they should become visible in explorer


I found the files in /sda2/shares/2/ AND /sda2/shares/4/ AND /sda2/shares/5/ - they appear to correspond to the various shares I created. All the Openshare stuff is in /sda2/shares/2/
But I cannot locate a folder called Openshare - at least not under /sda2

I also found a bunch of my image files or references to them in /sda2/var/twonky_db

fvdw wrote:Another way to get the files from the disk is connecting an usb disk formatted in fat32 to your usb port.
As last resort you could try to use a mini ftp server that can be installed on the standalone kernel
For that I need to have alook in my notes how this can be done, but you will need a ftp clinet to access the server.

I didn't understand how I would use the USB disk? Do you mean connect it to the USB port on the Networkspace2?
Mini FTP could work if I can select entire folders to move instead of one file at a time.
jojodude
 
Posts: 12
Joined: Sun Mar 01, 2020 1:57 pm

Re: Unable to access any shares on Networkspace2

Postby fvdw » Sun Mar 01, 2020 8:59 pm

I did search some info in the internet it seems various folders of sda2 are mounted by lacie firmware

this is a part of the output of a mount command while lacie firmware is running
Code: Select all
/dev/sda2 /media/internal_6 xfs rw,nosuid,nodev,usrquota,prjquota 0 0
/dev/sda2 /lacie/tmp xfs rw,nosuid,nodev,usrquota,prjquota 0 0
/dev/sda2 /lacie/var xfs rw,nosuid,nodev,usrquota,prjquota 0 0
/dev/sda2 /lacie/torrent_dir xfs rw,nosuid,nodev,usrquota,prjquota 0 0
/dev/sda2 /lacie/afp_db xfs rw,nosuid,nodev,usrquota,prjquota 0 0
/dev/loop1p1 /media/external_usb_9 vfat rw,nosuid,nodev,fmask=0000,dmask=0000,codepage=cp437,iocharset=iso8859-1 0 0
/dev/sda2 /shares/MyShare xfs rw,nosuid,nodev,usrquota,prjquota 0 0
/dev/sda2 /shares/OpenShare xfs rw,nosuid,nodev,usrquota,prjquota 0 0

Apparently one of the folders in /sda2/shares are mounted on /shares/Myshare and OpenShare folders in the system root file system of lacie. Why they are not visible in explorer is a mystery. Everythings seem to be ok, if we can mount sda2 the lacie firmware should also be able :scratch
However you mentioned you are using windows 10.
I am running Windows 10. Originally this Networkspace2 was connected to another computer running Windows95. I have been using it connected to the current computer on Win10 for some time - the loss of access seems to have occurred potentially after an abrupt loss of power to the device

That would mean it work in your windows 10 setup
Anyhow point to check, Windows 10 by default disables smb1 protocol and then you will not see the nas in explorer. Before going further lets clarify this point.
Did you change something in windows 10 (in windows setup you can enable/disable smb1 protoco)

about usb disk
If you have a usb disk formatted in fat32 connect it to your nas.
It should be visible as sdb1
mount it
Code: Select all
mkdir /sdb1
mount /dev/sdb1 /sdb1

Now you can use sdb1 folder to copy the folders containing your files (linux cp command)
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Unable to access any shares on Networkspace2

Postby fvdw » Sun Mar 01, 2020 9:08 pm

using the mini ftp server

Run on the telnet window the command: fvdw-sl-programs
Then a menu will appear
select "Upload and extract glibc mini and tools"

After start the server
Code: Select all
vsftpd &


Connect to the server using a ftp client like FileZilla
username: root
password: giveit2me
port 21
ip: nas ip see main window of the fvdw-sl console

VERY IMPORTANT: be sure your ftp client is set to binary transfer mode !
If you don't do that then some file will become corrupt as in ftp protocol will take out <CR> characters in certain files. This is not an error but by design of the protocol. If you use binary transfer this won't happen.
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Unable to access any shares on Networkspace2

Postby jojodude » Sun Mar 01, 2020 9:22 pm

fvdw wrote:Apparently one of the folders in /sda2/shares are mounted on /shares/Myshare and OpenShare folders in the system root file system of lacie. Why they are not visible in explorer is a mystery. Everythings seem to be ok, if we can mount sda2 the lacie firmware should also be able :scratch
However you mentioned you are using windows 10.
I am running Windows 10. Originally this Networkspace2 was connected to another computer running Windows95. I have been using it connected to the current computer on Win10 for some time - the loss of access seems to have occurred potentially after an abrupt loss of power to the device

That would mean it work in your windows 10 setup
Anyhow point to check, Windows 10 by default disables smb1 protocol and then you will not see the nas in explorer. Before going further lets clarify this point.
Did you change something in windows 10 (in windows setup you can enable/disable smb1 protoco)

Yes it was working on Windows10 until sometime late last year and then one day it stopped functioning. It is possible that some sort of autoupdate of Microsoft broke something.
I checked SMB1 protocol and it is enabled. There is no other SMB protocol that is available that could be overriding as far as I can tell.

about usb disk
If you have a usb disk formatted in fat32 connect it to your nas.
It should be visible as sdb1
mount it
Code: Select all
mkdir /sdb1
mount /dev/sdb1 /sdb1

Now you can use sdb1 folder to copy the folders containing your files (linux cp command)

OK I will give this a shot. I have a WesternDigital My Passport USB harddrive - need to check what it is formatted to. Else I could format a normal USB Key I suppose and use that instead?
jojodude
 
Posts: 12
Joined: Sun Mar 01, 2020 1:57 pm

Re: Unable to access any shares on Networkspace2

Postby fvdw » Sun Mar 01, 2020 9:25 pm

Else I could format a normal USB Key I suppose and use that instead?


yes you can but copying will be slow, usb keys are not very fast is my experience
fvdw
Site Admin - expert
 
Posts: 13471
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Unable to access any shares on Networkspace2

Postby jojodude » Sun Mar 01, 2020 9:33 pm

fvdw wrote:using the mini ftp server

Run on the telnet window the command: fvdw-sl-programs
Then a menu will appear
select "Upload and extract glibc mini and tools"

The command 'fvdw-sl-programs' only works from the root directory :) But I found it and bingo I have FTP going.

fvdw wrote:After start the server
Code: Select all
vsftpd &


Connect to the server using a ftp client like FileZilla
username: root
password: giveit2me
port 21
ip: nas ip see main window of the fvdw-sl console

VERY IMPORTANT: be sure your ftp client is set to binary transfer mode !
If you don't do that then some file will become corrupt as in ftp protocol will take out <CR> characters in certain files. This is not an error but by design of the protocol. If you use binary transfer this won't happen.


AWESOME - At least I can get the files I want this way now. Tried the first file transfer and it was en EXCEL spreadsheet that came through nicely.

I owe you a :beer:
jojodude
 
Posts: 12
Joined: Sun Mar 01, 2020 1:57 pm

PreviousNext

Return to Lacie Network Space vs2 and max version

Who is online

Users browsing this forum: No registered users and 3 guests