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

📮Comments

No Comment.
xosadmin
xosadmin
6 years ago
推荐 Dell Chromebook 13安装Mac OS X
上期讲到了Dell Chromebook 13安装Windows 10的全过程(传送门>>)。最近在浏览了Tonymacx86后,发现Dell Chromebook 13的玩法不仅仅是Windows 10这么简单,还可以上黑苹 ...
  • chromebook
  • 技术小絮
6,846 0
xosadmin
xosadmin
4 years ago
推荐 Debian 11启用rc.local方法
rc.local是一个令大家耳熟详的文件,它在Redhat系列操作系统中可以让用户添加自定义开机脚本并运行。但是在Debian 11操作系统中,这个功能不被默认开启。这篇文章将介绍如何开启rc.local。话不多说,开始~ 先通过以下命令 ...
  • 技术小絮
2,933 0
xosadmin
xosadmin
5 years ago
推荐 OpenWrt设置Zerotier后LAN端不通的一种解决方案
近日在openwrt上设置完zerotier后,出现了一个问题:在LAN的主机上ping网关(OpenWrt路由器)不通,LAN主机互相ping也不通,但是网关可以连接网络。在经过traceroute后,发现部分LAN的请求被自动转发到ze ...
  • 技术小絮
8,259 0
xosadmin
xosadmin
1 year ago
推荐 LXC上安装Gitlab时sysctl报错的解决方法
问题情况:在LXC unprivileged容器上安装Gitlab时,在执行gitlab-ctl reconfigure时可能会报出sysctl: permission denied的错误。 解决方法:在/etc/gitlab/gitlab ...
  • 技术小絮
535 0
xosadmin
xosadmin
3 years ago
推荐 如何在Debian安装Mariadb数据库
Mariadb是一款高效的数据库。因为其来源于MySQL,因此它对于Mysql具有较好的兼容性。这篇文章将介绍如何在Debian 11操作系统上安装MariaDB数据库。 安装依赖包并升级系统,命令: apt-get install s ...
  • 技术小絮
746 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