doc-exports/docs/sfs/umn/sfs_01_0062.html
zhangyue 5da982a576 SFS UMN DOC
Reviewed-by: Muller, Martin <martin.muller@t-systems.com>
Co-authored-by: zhangyue <zhangyue164@huawei.com>
Co-committed-by: zhangyue <zhangyue164@huawei.com>
2023-05-01 08:03:33 +00:00

28 lines
3.8 KiB
HTML

<a name="sfs_01_0062"></a><a name="sfs_01_0062"></a>
<h1 class="topictitle1">Error Message "wrong fs type, bad option" Is Displayed During File System Mounting</h1>
<div id="body1574068589640"><div class="section" id="sfs_01_0062__section41158684111639"><h4 class="sectiontitle">Symptom</h4><p id="sfs_01_0062__p54895391161045">The message "wrong fs type, bad option" is displayed when you run the <strong id="sfs_01_0062__b1635575962518">mount</strong> command to mount a file system to an ECS running Linux.</p>
</div>
<div class="section" id="sfs_01_0062__section31326994111720"><h4 class="sectiontitle">Possible Causes</h4><p id="sfs_01_0062__p958112319432">An NFS client is not installed on the Linux ECS. That is, the <strong id="sfs_01_0062__b510545683619">nfs-utils</strong> software package is not installed before you execute the <strong id="sfs_01_0062__b1957512517379">mount</strong> command.</p>
</div>
<div class="section" id="sfs_01_0062__section34776262111735"><h4 class="sectiontitle">Fault Diagnosis</h4><p id="sfs_01_0062__p5670333819385">Install the required <strong id="sfs_01_0062__b13612152115409">nfs-utils</strong> software package.</p>
</div>
<div class="section" id="sfs_01_0062__section28103453161025"><h4 class="sectiontitle">Solution</h4><ol id="sfs_01_0062__ol151849420578"><li id="sfs_01_0062__li132511139143"><span>Log in to the ECS and check whether the <strong id="sfs_01_0062__b3718184524019">nfs-utils</strong> package is installed. Run the following command. If no command output is displayed, the package is not installed.</span><p><pre class="screen" id="sfs_01_0062__screen3463175343918"><strong id="sfs_01_0062__b8466135315391">rpm -qa|grep nfs</strong></pre>
<div class="fignone" id="sfs_01_0062__fig189451650174516"><span class="figcap"><b>Figure 1 </b>Checking whether the software package has been installed</span><br><span><img id="sfs_01_0062__image1116414411154" src="en-us_image_0000001516076968.png"></span></div>
</p></li><li id="sfs_01_0062__li6039788911109"><span>Run the following command to install the nfs-utils software package:</span><p><pre class="screen" id="sfs_01_0062__screen10258787409"><strong id="sfs_01_0062__b42601883401">yum -y install nfs-utils</strong></pre>
<div class="fignone" id="sfs_01_0062__fig2664120154213"><span class="figcap"><b>Figure 2 </b>Executing the installation command</span><br><span><img id="sfs_01_0062__image052852414409" src="en-us_image_0000001567196553.png"></span></div>
<div class="fignone" id="sfs_01_0062__fig1883825311413"><span class="figcap"><b>Figure 3 </b>Successful installation</span><br><span><img id="sfs_01_0062__image5346123684012" src="en-us_image_0000001567396725.png"></span></div>
</p></li><li id="sfs_01_0062__li31851242165714"><span>Run the <strong id="sfs_01_0062__b2490131914228">mount</strong> command again to mount the file system to the ECS.</span><p><pre class="screen" id="sfs_01_0062__screen4158756164818"><strong id="sfs_01_0062__b584815255616">mount -t nfs -o vers=3,timeo=600,noresvport,nolock</strong> <em id="sfs_01_0062__i198483215567">Mount point</em> <em id="sfs_01_0062__i20849112205611">Local path</em></pre>
</p></li><li id="sfs_01_0062__li0158256184811"><span>Run the following command to view the mounted file system:</span><p><p id="sfs_01_0062__p249187081543"><strong id="sfs_01_0062__b318697281545">mount -l</strong></p>
<div class="p" id="sfs_01_0062__p4776349815359">If the command output contains the following information, the file system is mounted successfully.<pre class="screen" id="sfs_01_0062__screen25662203111850">example.com:/share-xxx on /local_path type nfs (rw,vers=3,timeo=600,nolock,addr=)</pre>
</div>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="sfs_01_0056.html">Troubleshooting</a></div>
</div>
</div>