Skip to content

Instantly share code, notes, and snippets.

@meisa233
Created September 19, 2025 09:03
Show Gist options
  • Select an option

  • Save meisa233/dfa225b18aad91b81ab62d04cafa1bdf to your computer and use it in GitHub Desktop.

Select an option

Save meisa233/dfa225b18aad91b81ab62d04cafa1bdf to your computer and use it in GitHub Desktop.
  1. 安cifs-utils 但是安装的时候老报以下错误
(venv) [root@ai-03 asr]# sudo dnf install -y cifs-utils
Repository libnvidia-container is listed more than once in the configuration
Repository libnvidia-container-experimental is listed more than once in the configuration
libnvidia-container                                                                           0.0  B/s |   0  B     00:01    
Errors during downloading metadata for repository 'libnvidia-container':
  - Curl error (35): SSL connect error for https://nvidia.github.io/libnvidia-container/stable/centos8/aarch64/repodata/repomd.xml [OpenSSL SSL_connect: Connection reset by peer in connection to nvidia.github.io:443 ]
Error: Failed to download metadata for repo 'libnvidia-container': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried

解决方法

sudo yum install -y cifs-utils --disablerepo=nvidia*
  1. 挂载命令
sudo mount -t cifs //10.31.245.124/mam_1 /mnt/mam_1 -o username=mamserver,password=mamserver,vers=2.0
  1. 补充命令 查看有哪些目录可以挂载
smbclient -L 10.31.245.124 -U mamserver
  1. 卸载盘的命令
sudo umount /mnt/mam_1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment