<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>CentOS on Harry&#39;s Blog</title>
    <link>https://sudo-djug.xyz/tags/centos/</link>
    <description>Recent content in CentOS on Harry&#39;s Blog</description>
    <generator>Hugo</generator>
    <language>zh-cn</language>
    <lastBuildDate>Mon, 10 May 2021 00:00:00 +0800</lastBuildDate>
    <atom:link href="https://sudo-djug.xyz/tags/centos/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Centos挂载命令出错</title>
      <link>https://sudo-djug.xyz/posts/2021-05-10-centos-mount-error/</link>
      <pubDate>Mon, 10 May 2021 00:00:00 +0800</pubDate>
      <guid>https://sudo-djug.xyz/posts/2021-05-10-centos-mount-error/</guid>
      <description>&lt;h1 id=&#34;centos挂载命令出错&#34;&gt;Centos挂载命令出错&lt;/h1&gt;
&lt;p&gt;今天在挂载nfs的时候，Centos总是报错，后来才发现了问题的元凶。&lt;br&gt;
在挂载nfs之前，先要安装一个组件&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;yum install nfs-utils -y
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;然后查看组件是否运行&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;systemctl start nfs; 
systemctl enable nfs;
systemctl status nfs
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;有了这个组件之后，再使用命令mount就行，一般不需要配置user和password&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;mount -t nfs 1.1.1.2:/root/T1/nfs /mnt
&lt;/code&gt;&lt;/pre&gt;</description>
    </item>
  </channel>
</rss>
