diff options
author | Dante Catalfamo | 2023-04-28 00:10:42 -0400 |
---|---|---|
committer | Dante Catalfamo | 2023-04-28 00:10:42 -0400 |
commit | 8631f4e7c05ae453b818c9f24adee626f4b878dd (patch) | |
tree | 5170384cb754615065fb3497ed9d3352027f4738 /content | |
parent | 3dcb458b97fffb4ad647df82eea21e1833df9550 (diff) | |
download | blog-8631f4e7c05ae453b818c9f24adee626f4b878dd.tar.gz blog-8631f4e7c05ae453b818c9f24adee626f4b878dd.tar.bz2 blog-8631f4e7c05ae453b818c9f24adee626f4b878dd.zip |
openbsd-nfs: Add post
Diffstat (limited to 'content')
-rw-r--r-- | content/posts/mounting-freenas-shares-on-openbsd/index.org | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/content/posts/mounting-freenas-shares-on-openbsd/index.org b/content/posts/mounting-freenas-shares-on-openbsd/index.org new file mode 100644 index 0000000..5b7ba9f --- /dev/null +++ b/content/posts/mounting-freenas-shares-on-openbsd/index.org @@ -0,0 +1,28 @@ +#+TITLE: Mounting FreeNAS Shares on OpenBSD +#+DATE: 2023-04-27T23:45:32-04:00 +#+DRAFT: false +#+DESCRIPTION: Options required to mount NFS shares from FreeNAS on OpenBSD +#+TAGS[]: openbsd freebsd freenas nfs +#+KEYWORDS[]: openbsd freebsd freenas nfs +#+SLUG: +#+SUMMARY: + +This is something that took me a while longer to figure out than I'd +like admit, and I was only able to figure it out because of a forum +post. + +For whatever reason, I'm only able to mount the share if used the TCP +option. I'm not sure if this is a me issue, an OpenBSD issue, or a +FreeBSD issue, but I'm putting it out there in case anyone else runs +into the same problem. + +If you're mounting using the =mount_nfs= command, you need to use the +=-T= option to force TCP mode. If you're using =/etc/fstab= or the +=mount= command, you're going to have to instead of the undocumented +=-o tcp= option. + +That looks like either +- On the command line: =doas mount -t nfs -o tcp 192.168.0.5:/mnt/Disk/something /mnt/something= +- In =/etc/fstab=: =192.168.0.5:/mnt/Disk/something/ /mnt/something nfs rw,tcp,nosuid,nodev 0 0= + +That's it! |