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,950
0

📮Comments

No Comment.
xosadmin
xosadmin
8 years ago
推荐 OpenVZ如何给VPS启用ppp
大家好!在上一篇文章(如何在Linux(CentOS)上安装OpenVZ)中,我为大家讲述了如何在CentOS环境下安装OpenVZ虚拟框架。在此,有许多网友阅读并安装后,想给自己的VPS开启ppp功能以备不时之需。在这里,补充一篇文章为 ...
  • 技术小絮
  • 虚拟化
2,841 0
xosadmin
xosadmin
6 years ago
推荐 Proxmox设置用于Wake on lan的MAC地址
在新版的Proxmox VE软件中,带有了Wake on lan功能。此功能可以通过网络唤醒已关机的服务器。但是,Proxmox规定,需要在使用该功能前定义该服务器的MAC地址以用于接收数据包。本文介绍一下如何设置该MAC地址。在操作前,请 ...
  • proxmox
  • 技术小絮
5,103 0
xosadmin
xosadmin
3 years ago
推荐 在Debian 12上安装Proxmox VE的方法
在之前的文章中,介绍了如何在Debian 11上安装Proxmox VE。在这里将介绍如何在Debian 12 Bookworm上安装Proxmox VE。开始之前,请注意使用root用户或者是具有sudo权限的用户。 1. 设置主机名 ...
  • proxmox
759 0
xosadmin
xosadmin
4 years ago
推荐 Debian 11启用rc.local方法
rc.local是一个令大家耳熟详的文件,它在Redhat系列操作系统中可以让用户添加自定义开机脚本并运行。但是在Debian 11操作系统中,这个功能不被默认开启。这篇文章将介绍如何开启rc.local。话不多说,开始~ 先通过以下命令 ...
  • 技术小絮
2,962 0
xosadmin
xosadmin
4 years ago
推荐 Debian设置自动对时
注意: 请使用Root用户操作,且不支持OpenVZ/LXC虚拟机。 在开始之前,我们需要设置Debian的时区,请使用以下命令: dpkg-reconfigure tzdate 之后,安装ntpdate: apt install ntpd ...
  • 技术小絮
749 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-2026 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