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

xosadmin

BGPlayer / Codes learner / Love Linux
Posts
75
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,881
0

📮Comments

No Comment.
xosadmin
xosadmin
2 years ago
推荐 Debian 11平滑升级到Debian 12的方法
Debian 12于近日发布,其名称为Bookworm。同时,Debian 11 (Bullseye)也可以升级至Debian 12 Bookworm。本文介绍一种平滑升级的方法。 首先,确认当前版本是否为Debian 11 Bullsey ...
  • 技术小絮
360 0
xosadmin
xosadmin
3 years ago
推荐 如何在Debian安装Mariadb数据库
Mariadb是一款高效的数据库。因为其来源于MySQL,因此它对于Mysql具有较好的兼容性。这篇文章将介绍如何在Debian 11操作系统上安装MariaDB数据库。 安装依赖包并升级系统,命令: apt-get install s ...
  • 技术小絮
730 0
xosadmin
xosadmin
7 years ago
推荐 利用TunnelBroker提供的IPv6隧道给OpenVZ架构的VPS配置IPv6
这一段时间,得到了一些独立服务器,所以决定为大家提供公益性质的基于OpenVZ架构的VPS以测试各位的程序。但是,因为IPv4的地址有限,所以采用了NAT的方式让大家连入网络。不过,IPv6的地址池有大量的IP地址供大家使用。 先来名词解 ...
  • 技术小絮
6,724
xosadmin
xosadmin
5 years ago
推荐 OpenWrt N2N组网记 – 自己组建大内网
n2n结构图(图自互联网) N2N是一款十分简单且强大的p2p组网软件。它可以实现组网和p2p直连。只需要拥有一台服务端,任何主机都可以接入进来做为客户端。在本篇文章,将使用OpenWrt做为服务端来搭建组网。事不宜迟,开干~ 首先,选 ...
  • 技术小絮
5,190 0
xosadmin
xosadmin
3 years ago
推荐 Debian设置自动对时
注意: 请使用Root用户操作,且不支持OpenVZ/LXC虚拟机。 在开始之前,我们需要设置Debian的时区,请使用以下命令: dpkg-reconfigure tzdate 之后,安装ntpdate: apt install ntpd ...
  • 技术小絮
692 0
  • Windows FTP服务器通过PASV模式无法获取目录的解决方法
  • Proxmox日志出现大量lxcfs truncated错误的解决方案
  • Proxmox通过CLI向LXC挂载已有虚拟磁盘的方法
  • LXC上安装Gitlab时sysctl报错的解决方法
  • Proxmox VE通过全盘方式直通硬盘
  • Proxmox为KVM VNC启用剪贴板支持

文章聚合

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

Multilangual Translator

Copyright © 2016-2025 X-osadminの自留地. All rights reserved. Designed by nicetheme.
  • 博客主页 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