9fans / plan9port

Plan 9 from User Space
https://9fans.github.io/plan9port/
Other
1.64k stars 326 forks source link

vbackup: vnfs and vmount not usable on present Linux or FreeBSD systems #428

Closed vestein463 closed 3 years ago

vestein463 commented 4 years ago

I tried to setup a venti backup for my FreeBSD-amd64 12.1 system. Vbackup did work, and (after a small change to vftp.c) vftp shows that it worked so far. To access the backup I would prefer vnfs/vmount. This does not work, neither on debian linux stretch on arm64, debian wheezy on amd64 nor the the intended FreeBSD.

I have the suspicion that this might be caused by inet6, hardcoded server name "backup" in vmount0 (??) for FreeBSD. The explicit use of the nfs options in bin/vmount for Linux did not work for FreeBSD either. I tried vnfs on both Linux and FreeBSD.

vestein463 commented 4 years ago

Now I have to modify my previous post. When enough care is used to really avoid inet6, on Linux (buster amd64) it works. I had to use the -a option and numerical address for vnfs. This should be documented in the man page. On FreeBSD, the approach was not successful, though. I suspect a problem with threads now.

vestein463 commented 3 years ago

I close this issue. It looks like threadmaybackground may have fixed my problem.