zoukankan      html  css  js  c++  java
  • VFS: Cannot open root device "nfs" or unknown-block(2,0): error -6

    确认host端的nfs支持的版本,使用命令nfsstat查看

    rzx@rzx-desktop:~$ nfsstat
    Server rpc stats:
    calls      badcalls   badfmt     badauth    badclnt
    12242      41         41         0          0       

    Server nfs v3:
    null             getattr          setattr          lookup           access           
    4         0%     1787     14%     29        0%     1542     12%     706       5%     
    readlink         read             write            create           mkdir            
    244       1%     5579     45%     2173     17%     14        0%     4         0%     
    symlink          mknod            remove           rmdir            rename           
    1         0%     0         0%     1         0%     0         0%     12        0%     
    link             readdir          readdirplus      fsstat           fsinfo           
    0         0%     0         0%     112       0%     20        0%     8         0%     
    pathconf         commit           
    4         0%     2         0%     

    在bootargs中指定版本console=ttymxc1,115200 root=/dev/nfs rw nfsroot=192.168.0.105:/home/rzx/work/nfs,v3 ip=192.168.0.107:192.168.0.105:192.168.0.1:255.255.255.0::eth0:off

  • 相关阅读:
    装饰器
    kolla部署all-in-one
    k8s集群部署gitlab
    helm部署gitlab
    控制器和pod调度流程
    esxi安装
    Linux系统性能分析工具
    configMap和secret
    etcd 问题、调优、监控
    动感单车
  • 原文地址:https://www.cnblogs.com/-rzx-/p/12264901.html
Copyright © 2011-2022 走看看