NFS client side empty
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
Trying to set up a shared folder between an embeded linux device and my development box. Short version is that the client side folder remains empty even when I create a file on the client side. Below is setup and some testing. I have included some output that I have seen asked for in other similar questsion, (none of which helped me ovbiously) but if there is something else that would be helpful, let me know.
Server Side setup:
$/mnt/nvme0n1p2$ uname -r
4.13.0-45-generic
/etc/exports has this line at the end. Have tried with/without no_root_squash,crossmnt,nohide
/mnt/nvme0n1p2/ <CLIENT_IP>(rw,sync,no_subtree_check,no_root_squash,crossmnt,nohide)
Shared Folder (permissions were lower, but wanted to rule that out as a problem)
$/mnt$ ls -la
total 16K
drwxr-xr-x 4 root root 4.0K Oct 17 15:01 .
drwxr-xr-x 28 root root 4.0K Jun 26 11:05 ..
drwxrwxrwx 2 root root 4.0K Oct 23 16:39 nvme0n1p2
$cd nvm20n1p2/
$/mnt/nvme0n1p2$ ls
total 4.0K
-rwxrwxrwx 1 root root 6 Oct 23 15:52 testfile
restart server
/etc/init.d/nfs-kernel-server restart
Client Side setup:
$ uname -r
2.4.26-ts11
$ cd /mnt/host/
$ ls -la
drwxr-xr-x 1 root root 2048 Jan 1 00:41 .
drwxr-xr-x 1 root root 2048 Jan 1 1970 ..
$ mount
...others
$ mount -t nfs <SERVER_IP>:/mnt/nvme0n1p2 /mnt/host
$ mount
...others
<SERVER_IP>:/mnt/nvme0n1p2 on /mnt/host type nfs (rw,v3,rsize=32768,wsize=32768,hard,udp,lock,addr=10.0.209.101)
$ cd /mnt/host/
$ ls -la
...Nothing
$ echo "hello" > testfile2
$ ls
...still nothing
But back on the server
$/mnt/nvme0n1p2$ ls
total 8.0K
-rwxrwxrwx 1 root root 6 Oct 23 15:52 testfile
-rw-r--r-- 1 root root 6 Oct 23 16:39 testfile2
$/mnt/nvme0n1p2$ cat testfile2
hello
linux nfs embedded
add a comment |Â
up vote
0
down vote
favorite
Trying to set up a shared folder between an embeded linux device and my development box. Short version is that the client side folder remains empty even when I create a file on the client side. Below is setup and some testing. I have included some output that I have seen asked for in other similar questsion, (none of which helped me ovbiously) but if there is something else that would be helpful, let me know.
Server Side setup:
$/mnt/nvme0n1p2$ uname -r
4.13.0-45-generic
/etc/exports has this line at the end. Have tried with/without no_root_squash,crossmnt,nohide
/mnt/nvme0n1p2/ <CLIENT_IP>(rw,sync,no_subtree_check,no_root_squash,crossmnt,nohide)
Shared Folder (permissions were lower, but wanted to rule that out as a problem)
$/mnt$ ls -la
total 16K
drwxr-xr-x 4 root root 4.0K Oct 17 15:01 .
drwxr-xr-x 28 root root 4.0K Jun 26 11:05 ..
drwxrwxrwx 2 root root 4.0K Oct 23 16:39 nvme0n1p2
$cd nvm20n1p2/
$/mnt/nvme0n1p2$ ls
total 4.0K
-rwxrwxrwx 1 root root 6 Oct 23 15:52 testfile
restart server
/etc/init.d/nfs-kernel-server restart
Client Side setup:
$ uname -r
2.4.26-ts11
$ cd /mnt/host/
$ ls -la
drwxr-xr-x 1 root root 2048 Jan 1 00:41 .
drwxr-xr-x 1 root root 2048 Jan 1 1970 ..
$ mount
...others
$ mount -t nfs <SERVER_IP>:/mnt/nvme0n1p2 /mnt/host
$ mount
...others
<SERVER_IP>:/mnt/nvme0n1p2 on /mnt/host type nfs (rw,v3,rsize=32768,wsize=32768,hard,udp,lock,addr=10.0.209.101)
$ cd /mnt/host/
$ ls -la
...Nothing
$ echo "hello" > testfile2
$ ls
...still nothing
But back on the server
$/mnt/nvme0n1p2$ ls
total 8.0K
-rwxrwxrwx 1 root root 6 Oct 23 15:52 testfile
-rw-r--r-- 1 root root 6 Oct 23 16:39 testfile2
$/mnt/nvme0n1p2$ cat testfile2
hello
linux nfs embedded
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
Trying to set up a shared folder between an embeded linux device and my development box. Short version is that the client side folder remains empty even when I create a file on the client side. Below is setup and some testing. I have included some output that I have seen asked for in other similar questsion, (none of which helped me ovbiously) but if there is something else that would be helpful, let me know.
Server Side setup:
$/mnt/nvme0n1p2$ uname -r
4.13.0-45-generic
/etc/exports has this line at the end. Have tried with/without no_root_squash,crossmnt,nohide
/mnt/nvme0n1p2/ <CLIENT_IP>(rw,sync,no_subtree_check,no_root_squash,crossmnt,nohide)
Shared Folder (permissions were lower, but wanted to rule that out as a problem)
$/mnt$ ls -la
total 16K
drwxr-xr-x 4 root root 4.0K Oct 17 15:01 .
drwxr-xr-x 28 root root 4.0K Jun 26 11:05 ..
drwxrwxrwx 2 root root 4.0K Oct 23 16:39 nvme0n1p2
$cd nvm20n1p2/
$/mnt/nvme0n1p2$ ls
total 4.0K
-rwxrwxrwx 1 root root 6 Oct 23 15:52 testfile
restart server
/etc/init.d/nfs-kernel-server restart
Client Side setup:
$ uname -r
2.4.26-ts11
$ cd /mnt/host/
$ ls -la
drwxr-xr-x 1 root root 2048 Jan 1 00:41 .
drwxr-xr-x 1 root root 2048 Jan 1 1970 ..
$ mount
...others
$ mount -t nfs <SERVER_IP>:/mnt/nvme0n1p2 /mnt/host
$ mount
...others
<SERVER_IP>:/mnt/nvme0n1p2 on /mnt/host type nfs (rw,v3,rsize=32768,wsize=32768,hard,udp,lock,addr=10.0.209.101)
$ cd /mnt/host/
$ ls -la
...Nothing
$ echo "hello" > testfile2
$ ls
...still nothing
But back on the server
$/mnt/nvme0n1p2$ ls
total 8.0K
-rwxrwxrwx 1 root root 6 Oct 23 15:52 testfile
-rw-r--r-- 1 root root 6 Oct 23 16:39 testfile2
$/mnt/nvme0n1p2$ cat testfile2
hello
linux nfs embedded
Trying to set up a shared folder between an embeded linux device and my development box. Short version is that the client side folder remains empty even when I create a file on the client side. Below is setup and some testing. I have included some output that I have seen asked for in other similar questsion, (none of which helped me ovbiously) but if there is something else that would be helpful, let me know.
Server Side setup:
$/mnt/nvme0n1p2$ uname -r
4.13.0-45-generic
/etc/exports has this line at the end. Have tried with/without no_root_squash,crossmnt,nohide
/mnt/nvme0n1p2/ <CLIENT_IP>(rw,sync,no_subtree_check,no_root_squash,crossmnt,nohide)
Shared Folder (permissions were lower, but wanted to rule that out as a problem)
$/mnt$ ls -la
total 16K
drwxr-xr-x 4 root root 4.0K Oct 17 15:01 .
drwxr-xr-x 28 root root 4.0K Jun 26 11:05 ..
drwxrwxrwx 2 root root 4.0K Oct 23 16:39 nvme0n1p2
$cd nvm20n1p2/
$/mnt/nvme0n1p2$ ls
total 4.0K
-rwxrwxrwx 1 root root 6 Oct 23 15:52 testfile
restart server
/etc/init.d/nfs-kernel-server restart
Client Side setup:
$ uname -r
2.4.26-ts11
$ cd /mnt/host/
$ ls -la
drwxr-xr-x 1 root root 2048 Jan 1 00:41 .
drwxr-xr-x 1 root root 2048 Jan 1 1970 ..
$ mount
...others
$ mount -t nfs <SERVER_IP>:/mnt/nvme0n1p2 /mnt/host
$ mount
...others
<SERVER_IP>:/mnt/nvme0n1p2 on /mnt/host type nfs (rw,v3,rsize=32768,wsize=32768,hard,udp,lock,addr=10.0.209.101)
$ cd /mnt/host/
$ ls -la
...Nothing
$ echo "hello" > testfile2
$ ls
...still nothing
But back on the server
$/mnt/nvme0n1p2$ ls
total 8.0K
-rwxrwxrwx 1 root root 6 Oct 23 15:52 testfile
-rw-r--r-- 1 root root 6 Oct 23 16:39 testfile2
$/mnt/nvme0n1p2$ cat testfile2
hello
linux nfs embedded
linux nfs embedded
asked 3 mins ago
Chad G
1114
1114
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f477381%2fnfs-client-side-empty%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password