Cant transfer

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
Sabiracer
Posts: 31
Joined: Thu Jan 25, 2018 1:36 pm

Cant transfer

Post by Sabiracer »

I have managed to get my drive mounting, It is set as ext4. I have created a user called 'user' and connected to the NFS using my pc with the correct details. Can anyone advise why i can transfer a 2kb shortcut fine but not a movie?
User avatar
WarHawk
Posts: 610
Joined: Thu Jul 20, 2017 8:55 am

Re: Cant transfer

Post by WarHawk »

Are you using dropbear or OpenSSH? dropbear does not support scp file transfers
Sabiracer
Posts: 31
Joined: Thu Jan 25, 2018 1:36 pm

Re: Cant transfer

Post by Sabiracer »

I had drop bear enabled. but i also installed the NFS option in optimised software
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: Cant transfer

Post by k-plan »

Sabiracer wrote: I have created a user called 'user' and connected to the NFS using my pc
Puh ... NFS is a little bit tricky
It will take care of many things: UID number, username mappings, group id, no_root_squash, ...

http://nfs.sourceforge.net/nfs-howto/ar ... ion_issues

Or search with google for more help with: nfs user permissions or nfs user mapping

Code: Select all

root@RPi-Zero:~# id dietpi
uid=1000(dietpi) gid=1000(dietpi) groups=1000(dietpi),4(adm),5(tty),20(dialout),24(cdrom),27(sudo),29(audio),33(www-data),44(video),46(plugdev),60(games),100(users),101(input),108(netdev),999(spi),998(i2c),997(gpio)

Code: Select all

root@RPi-Zero:~# cat /etc/exports
/mnt/dietpi_userdata *(rw,async,no_root_squash,fsid=0,crossmnt,no_subtree_check)

Code: Select all

root@RPi-Zero:~# cat /etc/idmapd.conf
[General]

Verbosity = 0
Pipefs-Directory = /run/rpc_pipefs
# set your own domain here, if it differs from FQDN minus hostname
# Domain = localdomain

[Mapping]

Nobody-User = nobody
Nobody-Group = nogroup
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
User avatar
WarHawk
Posts: 610
Joined: Thu Jul 20, 2017 8:55 am

Re: Cant transfer

Post by WarHawk »

I missed the NFS mapping...duh
Sabiracer
Posts: 31
Joined: Thu Jan 25, 2018 1:36 pm

Re: Cant transfer

Post by Sabiracer »

Thanks, I decided for simplicity to switch to Samba as i will be primarily connecting via Windows and it seems to be working well.
Thanks for all your help.
Post Reply