Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated NFS Context #66

Merged
merged 2 commits into from
Mar 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions docs/configuring-nfs-in-smartos.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@
<!-- markdownlint-disable line-length -->

NFS (network file system) provides access to remote filesystems which
appear similar to local resources on client hosts. Currently on
SmartOS, NFS can only be served from the **global zone**. It is highly
recomended to use [SMB](configuring-smb-in-smartos.md) in zones instead.
appear similar to local resources on client hosts.

The following focuses on NFS server and client configurations in SmartOS.
Our host details are:
Expand Down
24 changes: 0 additions & 24 deletions docs/is-smartos-suitable-for-a-file-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,30 +14,6 @@ There are two features of SmartOS that make it attractive for a NAS:
ever be corrupted. If it is, just re-flash it, and you are off and
running again.

But there are a couple of issues that make implementing a NAS
problematic.

First, NFS is available only in the global zone (GZ). It seems this will
be fixed someday. But for now it means we can only NFS share filesystems
out of the GZ. The NFS share information is stored in the ZFS datasets,
so the persistence issue doesn't bite us here. If all you need is NFS
file sharing, SmartOS is an excellent solution. But most people need to
support Windows and/or Apple clients.

Second, the transient nature of the GZ. It is possible to install
packages (such as Samba or Netatalk) in the GZ and work around the
persistence issue, but this contradicts the design and intention of
SmartOS and it is not recommended. The SmartOS way is to keep the GZ
pristine and light -- just ZFS and management of virtual machines -- and
do everything else in the VMs.

For these reasons, someone looking for a straight NAS is probably better
served using another platform, such as OmniOS, perhaps using Napp-it to
simplify management.

But if you also need virtualization, SmartOS starts to become much more
attractive, and it may be worthwhile to workaround the above problems.

Here are some approaches that have been used successfully:

1. Create a zone. To support Windows and Mac clients either run CIFS or
Expand Down
Loading