LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Cannot copy Win files to Solaris? (https://www.linuxquestions.org/questions/solaris-opensolaris-20/cannot-copy-win-files-to-solaris-4175686215/)

kebabbert 12-03-2020 10:03 AM

Cannot copy Win files to Solaris?
 
I have a Nightgear X4S Nighthawk R7800 router, which doubles as a NAS. So I have plugged, a NTFS ssd disk with a USB v3.0 enclosure, in to the router. Transfer speeds over LAN reaches ~80MB/sec. So I can recommend this router if you want a NAS, without having to use a standalone computer. The router has two USB 3 slots, and also an eSATA slot, and it handles NTFS, FAT32, ext3 and ext4 disks. This gives you ample of silent, low power file storage.

Now I have this problem. I want to copy the data from the router to Solaris 11.3. I cannot and I do not know why. The netgear has something called "Readyshare" software, so I can see the router just as a normal NAS disk.

I guess the problem is something with write access? I can copy data from Solaris to the router, modify the file and copy it back to Solaris. But I cannot copy data from the router disk to Solaris. When I do, the Gnome Nautilus file browser say:
"Error while copying "..."
There was an error copying the file into /export/home/...
Show more details: Invalid argument"

Do you have any suggestions how to copy data from the router to Solaris?

teckk 12-03-2020 11:42 AM

Does /export/home/ exist? Do you have write permissions to it?
What is the output of
Code:

ls -ld /export/home/

kebabbert 12-03-2020 12:13 PM

This is the output
Quote:

drwxr-xr-x 4 root sys 4 Nov 30 20:16 /export/home
Yes, it exists. I was just being lazy not printing out the entire path. I have several users down there.

teckk 12-03-2020 01:23 PM

Quote:

I guess the problem is something with write access?
Quote:

drwxr-xr-x 4 root sys 4 Nov 30 20:16 /export/home
Means that root has rwx, everyone else only had read, no write access.

Were you trying to write to it as root or user? Or is there something about Solaris that I don't know about.

kebabbert 12-03-2020 01:25 PM

In Solaris the users are here:
/export/home/user1
/export/home/user2
...

I am not at my computer right now, but I guess that "/export/home" belongs to root, and the subdirectories belong to each user. Because each user can read write in their own directory.

teckk 12-04-2020 07:26 AM

That makes sense. You may try copying with the cp command and see what errors that you get, and eliminate the problems that Nautilus may be having.

https://www.thegeekdiary.com/solaris...-guide-to-nfs/
https://docs.oracle.com/cd/E23824_01...srefer-13.html
https://www.thegeekdiary.com/solaris...certain-hosts/

kebabbert 12-04-2020 01:35 PM

Quote:

Originally Posted by teckk (Post 6191606)
That makes sense. You may try copying with the cp command and see what errors that you get, and eliminate the problems that Nautilus may be having.

https://www.thegeekdiary.com/solaris...-guide-to-nfs/
https://docs.oracle.com/cd/E23824_01...srefer-13.html
https://www.thegeekdiary.com/solaris...certain-hosts/

Thanx! I will look into your suggestion!
I am contemplating of copying everything to NTFS disk instead if I can not get your suggestion to work. Thanx again! :)


All times are GMT -5. The time now is 01:55 AM.