X-osadminの自留地
  • 博客主页 HomePage
  • 技术小絮 Tech
  • 作品发布 Works
  • 软件专题 Softs
    • proxmox
    • openwrt
    • chromebook
    • Zerotier
    • 虚拟化
  • 友情链接 Following

xosadmin

BGPlayer / Codes learner / Love Linux
Posts
77
Comments
0

友情链接 – Friendly Links

  • Add your site here…
xosadmin
5 years ago

Proxmox挂载Windows Samba时报错的解决方法

近日在Proxmox的Web界面上挂载由Windows Server 2008共享的CIFS(Samba共享)时,界面报出以下错误:

create storage failed: error with cfs lock ‘file-storage_cfg’: mount error: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) (500)

具体原因是Windows的Samba版本问题。经过外网搜索,在Proxmox官网找到如下解决方案:

找一台在集群内的机器,并执行以下代码通过CLI添加Storage

pvesm add cifs <name> –server <server> –share <Share-name> –username <username> –password –smbversion 2.1

# 请把name替换成Storage的名称,server替换成服务器的IP地址或者域名,Share-name替换成共享名称,username替换成用户名。不需要在password后面加入密码

完成后无需重启,Storage会在Proxmox处理完成后自动出现在Storage列表中。

Enjoy~

 

Ref: https://forum.proxmox.com/threads/cifs-for-storage-working-partially.47907/

  • proxmox
  • 技术小絮
等 人表示很赞
5,917
0

📮Comments

No Comment.
xosadmin
xosadmin
2 years ago
推荐 在Debian 12上安装Proxmox VE的方法
在之前的文章中,介绍了如何在Debian 11上安装Proxmox VE。在这里将介绍如何在Debian 12 Bookworm上安装Proxmox VE。开始之前,请注意使用root用户或者是具有sudo权限的用户。 1. 设置主机名 ...
  • proxmox
733 0
xosadmin
xosadmin
7 years ago
推荐 OpenVZ如何给VPS启用ppp
大家好!在上一篇文章(如何在Linux(CentOS)上安装OpenVZ)中,我为大家讲述了如何在CentOS环境下安装OpenVZ虚拟框架。在此,有许多网友阅读并安装后,想给自己的VPS开启ppp功能以备不时之需。在这里,补充一篇文章为 ...
  • 技术小絮
  • 虚拟化
2,819 0
xosadmin
xosadmin
5 years ago
推荐 apt-get出现”No public key available”的解决方法
近日在维护Debian 8系统时,执行了apt-get update。执行完成后程序报出错误,错误内容如下: W: There is no public key available for the following key IDs: 这个 ...
  • 技术小絮
1,579 0
xosadmin
xosadmin
5 years ago
推荐 向日葵控控在Linux下无法找到键鼠(失灵)的解决办法
向日葵控控是一个IPKVM盒子,其功能很强大。但是经过测试,在Windows下免驱工作一切正常,但是在Linux下可能会出现鼠标键盘无法控制的问题,但是显示输出一切正常。经过与客服的讨论和测试,得出以下解决方案。 问题所在:Linux系统缺 ...
  • 技术小絮
5,703 0
xosadmin
xosadmin
7 years ago
推荐 利用TunnelBroker提供的IPv6隧道给OpenVZ架构的VPS配置IPv6
这一段时间,得到了一些独立服务器,所以决定为大家提供公益性质的基于OpenVZ架构的VPS以测试各位的程序。但是,因为IPv4的地址有限,所以采用了NAT的方式让大家连入网络。不过,IPv6的地址池有大量的IP地址供大家使用。 先来名词解 ...
  • 技术小絮
6,747
  • HPE Microserver系列降低噪音的一种办法
  • Debian 13 Trixie安装Proxmox VE
  • Windows FTP服务器通过PASV模式无法获取目录的解决方法
  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法
  • LXC上安装Gitlab时sysctl报错的解决方法

文章聚合

  • Debian 13 Trixie安装Proxmox VE
  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法
  • Proxmox VE通过全盘方式直通硬盘
  • Proxmox为KVM VNC启用剪贴板支持
  • Proxmox报出RRDC/RRD update error的解决方法

Multilangual Translator

Copyright © 2016-2025 X-osadminの自留地. All rights reserved. 萌ICP备20258855号
  • 博客主页 HomePage
  • 技术小絮 Tech
  • 作品发布 Works
  • 软件专题 Softs
    • proxmox
    • openwrt
    • chromebook
    • Zerotier
    • 虚拟化
  • 友情链接 Following
Welcome
Forgot password?
Welcome
Forgot password?
Social Login
Login with WeChat QR Code
Unregistered WeChat IDs will be automatically used to create an account.
Scan and Reply with Keywords「登录」Get Verification Code
Social Login
Free registration
Social Login
Reset password
Back to Login