snipt

Ctrl+h for KB shortcuts

Bash

Persistent NFS Exports on Solaris

bash-3.00# cat /etc/dfs/dfstab
share -F nfs -o rw,root=* /nfsexport
https://snippets.siftie.com/embed/6ba70af4cf97068760681ebdfc0fc94c/
/raw/6ba70af4cf97068760681ebdfc0fc94c/
6ba70af4cf97068760681ebdfc0fc94c
bash
Bash
2
2019-03-17T23:49:23
True
False
False
/api/public/snipt/5729/
persistant-nfs-exports-on-solaris-1
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>bash-3.00# cat /etc/dfs/dfstab </span><span id="L-2"><a name="L-2"></a>share -F nfs -o rw,root<span class="o">=</span>* /nfsexport </span></pre></div> </td></tr></table>
nfs, server, solaris

Bash

Enable NFS Server on Solaris

svcadm -v enable -r network/nfs/server
https://snippets.siftie.com/embed/3a02b4765e935a3bc8a9870ee4a3cebc/
/raw/3a02b4765e935a3bc8a9870ee4a3cebc/
3a02b4765e935a3bc8a9870ee4a3cebc
bash
Bash
1
2019-02-03T03:09:27
True
False
False
/api/public/snipt/5717/
enabling-nfs-server-on-solaris
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>svcadm -v <span class="nb">enable</span> -r network/nfs/server </span></pre></div> </td></tr></table>
nfs, server, solaris

Bash

esx mount nfs

1
2
3
4
service firewall stop
chkconfig portmap on
service portmap start
mount -t nfs host:/folder /mnt/folder
https://snippets.siftie.com/embed/e8525b57fcbf9366829cc976cfd17f58/
/raw/e8525b57fcbf9366829cc976cfd17f58/
e8525b57fcbf9366829cc976cfd17f58
bash
Bash
5
2019-03-06T15:03:29
True
False
False
/api/public/snipt/5693/
esx-mount-nfs
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a>service firewall stop </span><span id="L-2"><a name="L-2"></a>chkconfig portmap on </span><span id="L-3"><a name="L-3"></a>service portmap start </span><span id="L-4"><a name="L-4"></a>mount -t nfs host:/folder /mnt/folder </span></pre></div> </td></tr></table>
esx, nfs