<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>nfs &#8211; 中年韭菜的自我关爱</title>
	<atom:link href="https://www.muyunyying.top/tag/nfs/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.muyunyying.top</link>
	<description>一枚番茄爹的碎碎念</description>
	<lastBuildDate>Sun, 16 Aug 2015 08:02:11 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>
<site xmlns="com-wordpress:feed-additions:1">153092130</site>	<item>
		<title>hyper-v下的nfs磁盘性能</title>
		<link>https://www.muyunyying.top/2015/08/16/hyper-v%e4%b8%8b%e7%9a%84nfs%e7%a3%81%e7%9b%98%e6%80%a7%e8%83%bd/</link>
					<comments>https://www.muyunyying.top/2015/08/16/hyper-v%e4%b8%8b%e7%9a%84nfs%e7%a3%81%e7%9b%98%e6%80%a7%e8%83%bd/#respond</comments>
		
		<dc:creator><![CDATA[muyunyying]]></dc:creator>
		<pubDate>Sun, 16 Aug 2015 08:02:11 +0000</pubDate>
				<category><![CDATA[共享存储]]></category>
		<category><![CDATA[hyper-v]]></category>
		<category><![CDATA[nfs]]></category>
		<guid isPermaLink="false">http://muyunyying.top/tank/?p=750</guid>

					<description><![CDATA[windows ahci单盘，hanewin nfs server共享ntfs硬盘目录 hyper-v安装ds [&#8230;]]]></description>
										<content:encoded><![CDATA[<div id="wrapper">
<div id="page" class="hfeed site">
<div id="main" class="site-main">
<div id="primary" class="content-area">
<div id="content" class="site-content" role="main">
<article id="post-77" class="post-77 post type-post status-publish format-standard hentry category-server-configuration tag-gen8">
<div class="entry-content">
<p>windows ahci单盘，hanewin nfs server共享ntfs硬盘目录</p>
<p>hyper-v安装dsm5.2和ubuntu server 15.04，vhd都在ssd上</p>
<p>dsm不受hyper-v支持，ubuntu原生3.2集成服务</p>
<p>只测了一下大文件拷贝</p>
<p>2g文件，dsm上传速度在50-70MB/s之间，可以看作60MB左右，</p>
<p>Legacy网卡果然只能随便用用，性能就不要想了</p>
<p>另外5g文件上传失败，不知道是nfs传输限制还是dsm问题</p>
<p>ubuntu上传6g文件，跑到本地硬盘上限95MB/s，可见千兆网速毫无压力</p>
<p>是不是Hyper-v windows下的10g网速就不知道咧~</p>
</div>
</article>
</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.muyunyying.top/2015/08/16/hyper-v%e4%b8%8b%e7%9a%84nfs%e7%a3%81%e7%9b%98%e6%80%a7%e8%83%bd/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">750</post-id>	</item>
		<item>
		<title>ubuntu nfs 挂载权限问题</title>
		<link>https://www.muyunyying.top/2015/08/13/ubuntu-nfs-%e6%8c%82%e8%bd%bd%e6%9d%83%e9%99%90%e9%97%ae%e9%a2%98/</link>
					<comments>https://www.muyunyying.top/2015/08/13/ubuntu-nfs-%e6%8c%82%e8%bd%bd%e6%9d%83%e9%99%90%e9%97%ae%e9%a2%98/#respond</comments>
		
		<dc:creator><![CDATA[muyunyying]]></dc:creator>
		<pubDate>Thu, 13 Aug 2015 07:56:29 +0000</pubDate>
				<category><![CDATA[共享存储]]></category>
		<category><![CDATA[nfs]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://muyunyying.top/tank/?p=740</guid>

					<description><![CDATA[ubuntu默认没有安装nfs-common包，使用mount -t nfs 会报错： for several [&#8230;]]]></description>
										<content:encoded><![CDATA[<div id="wrapper">
<div id="page" class="hfeed site">
<div id="main" class="site-main">
<div id="primary" class="content-area">
<div id="content" class="site-content" role="main">
<article id="post-27" class="post-27 post type-post status-publish format-standard hentry category-server-configuration tag-gen8">
<div class="entry-content">
<p>ubuntu默认没有安装nfs-common包，使用mount -t nfs 会报错：</p>
<p>for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.&lt;type&gt;</p>
<blockquote><p>aptitude install nfs-common</p>
<p>mount -t nfs 192.168.1.200:/owncloud /home/www-data/owncloud-data</p></blockquote>
<p>这样挂载以后root权限会覆盖目标目录权限</p>
<blockquote><p>umount /home/www-data/owncloud-data</p></blockquote>
<p>网上有人说用cifs共享就可以指定用户，其实hanewin nfs server一样可以</p>
<p>在hanewin的export文件里给目录加上：</p>
<blockquote><p>-mapall:33:33 （33是ubuntu里www-data用户的uid和gid）</p></blockquote>
<p>这样export以后</p>
<blockquote><p>kerrigan@ubuntu-server:/home/www-data$ showmount -e 192.168.1.200<br />
Export list for 192.168.1.200:<br />
/video    (everyone)<br />
/photo    (everyone)<br />
/music    (everyone)<br />
/homes    (everyone)<br />
/owncloud -mapall:33,33</p></blockquote>
<p>查看权限：</p>
<blockquote><p>kerrigan@ubuntu-server:/home/www-data$ ll<br />
total 12<br />
drwxr-xr-x 3 www-data www-data 4096 Aug 13 09:36 ./<br />
drwxr-xr-x 4 root     root     4096 Aug 13 09:34 ../<br />
drwxr-xr-x 2 www-data www-data 4096 Aug 13 09:33 owncloud-data/</p></blockquote>
<p>owncloud写入nfs需要nolock参数</p>
<p>开机自动挂载</p>
<p>编辑/etc/fstab，加入：</p>
<blockquote><p>192.168.1.200:/owncloud  /home/www-data/owncloud-data  nfs  defaults,nolock 0       0</p></blockquote>
</div>
</article>
</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.muyunyying.top/2015/08/13/ubuntu-nfs-%e6%8c%82%e8%bd%bd%e6%9d%83%e9%99%90%e9%97%ae%e9%a2%98/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">740</post-id>	</item>
		<item>
		<title>hyper-v dsm黑裙安装, nfs, photo station</title>
		<link>https://www.muyunyying.top/2015/08/12/hyper-v-dsm%e9%bb%91%e8%a3%99%e5%ae%89%e8%a3%85-nfs-photo-station/</link>
					<comments>https://www.muyunyying.top/2015/08/12/hyper-v-dsm%e9%bb%91%e8%a3%99%e5%ae%89%e8%a3%85-nfs-photo-station/#respond</comments>
		
		<dc:creator><![CDATA[muyunyying]]></dc:creator>
		<pubDate>Wed, 12 Aug 2015 07:42:59 +0000</pubDate>
				<category><![CDATA[共享存储]]></category>
		<category><![CDATA[dsm]]></category>
		<category><![CDATA[hyper-v]]></category>
		<category><![CDATA[nfs]]></category>
		<guid isPermaLink="false">http://muyunyying.top/tank/?p=730</guid>

					<description><![CDATA[wait for it &#160; 使用hanewin nfs server时，如果不加参数 会导致ubun [&#8230;]]]></description>
										<content:encoded><![CDATA[<div id="wrapper">
<div id="page" class="hfeed site">
<div id="main" class="site-main">
<div id="primary" class="content-area">
<div id="content" class="site-content" role="main">
<article id="post-6" class="post-6 post type-post status-publish format-standard hentry category-server-configuration tag-gen8">
<div class="entry-content">
<p>wait for it</p>
<p>&nbsp;</p>
<p>使用hanewin nfs server时，如果不加参数</p>
<p>会导致ubuntu mount以后所有目录权限变为root:root</p>
<p>在dsm下无问题，在ubuntu下会使apache2的www-data用户无法写入</p>
<blockquote>
<p align="justify">The <b>exports</b> file uses the same format as on Unix. Directories must follow the Windows notation starting with a drive specification, e.g. C:\unix</p>
<p align="justify">The following options are supported:</p>
<table>
<tbody>
<tr>
<td valign="top"><tt>-name:&lt;sharename&gt;</tt></td>
<td>assigns a name to the exported path as an alternate name for mounting.</td>
</tr>
<tr>
<td valign="top"><tt>-alldirs</tt></td>
<td>allows the host(s) to mount at any point within the filesystem.</td>
</tr>
<tr>
<td valign="top"><tt>-umask:&lt;mask&gt;</tt></td>
<td>set the umask for group and world permissions on the filesystem, default 022</td>
</tr>
<tr>
<td valign="top"><tt>-readonly</tt></td>
<td>limits access to reading</td>
</tr>
<tr>
<td valign="top"><tt>-public</tt></td>
<td>Enables WebNFS access.</td>
</tr>
<tr>
<td valign="top"><tt>-lowercase</tt></td>
<td>maps all file names to lowercase, otherwise case is preserved.</td>
</tr>
<tr>
<td valign="top"><tt>-exec</tt></td>
<td>forces in access rights the x bit for all files.</td>
</tr>
<tr>
<td valign="top"><tt>-mapall:&lt;uid&gt;[:&lt;gid&gt;]</tt></td>
<td>all Unix user-ids and group-ids are mapped to the specified user-id and group-id.</td>
</tr>
<tr>
<td valign="top"><tt>-maproot:&lt;uid&gt;[:&lt;gid&gt;]</tt></td>
<td>the Unix super user <b>root</b> is mapped to the specified user-id, group-id. Without a mapping entry <b>root</b> will be mapped to user and group <b>nobody</b>.</td>
</tr>
<tr>
<td valign="top"><tt>-range</tt></td>
<td>IP adresses are interpreted in pairs as from-to ranges enabling client access from all addresses in a range (more flexible than the unix -net -mask options).</td>
</tr>
</tbody>
</table>
</blockquote>
<p>估计要指定uid:gid</p>
</div>
</article>
</div>
</div>
</div>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.muyunyying.top/2015/08/12/hyper-v-dsm%e9%bb%91%e8%a3%99%e5%ae%89%e8%a3%85-nfs-photo-station/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">730</post-id>	</item>
	</channel>
</rss>
