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

xosadmin

BGPlayer / Codes learner / Love Linux
Posts
74
Comments
0

友情链接 – Friendly Links

  • Add your site here…
xosadmin
6 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,930
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
751 0
xosadmin
xosadmin
6 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,598 0
xosadmin
xosadmin
6 years ago
推荐 ZeroTier内网主机互ping时出现destination host unreachable的解决方案
ZeroTier是一个十分好用的组内网软件。但是,部分主机虽然成功连接了ZeroTier并且获得了IP,但是内网中其他主机在ping此IP时,可能会提示Destination host unreachable,可能还伴有端口无法访问等问题, ...
  • 技术小絮
6,703 0
xosadmin
xosadmin
7 years ago
推荐 SolusVM OpenVZ虚拟机无法启动的一些解决思路
问题截图 由Google的结果和其他网友的分享,可以得出,这个问题产生的原因很多。在下面,为大家列出一部分比较常见的原因及一些解决方案,仅适用于SolusVM+OpenVZ架构。 1.宿服务器未进入OpenVZ内核模式 有许多朋友在安装 ...
  • 技术小絮
3,557 0
xosadmin
xosadmin
4 years ago
推荐 为proxmox 6/7一键开启bbr
新版Proxmox 6/7基于debian buster/bullseye操作系统,已采用5.10以上内核,因此符合免更换内核开启bbr的条件。只需要按照以下操作进行操作即可: echo “net.core.default_qd ...
  • proxmox
  • 技术小絮
1,351 0
  • 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