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
2 years ago

Proxmox VE通过全盘方式直通硬盘

本文章将以全盘映射的方式挂载整块硬盘到Proxmox KVM虚拟机。LXC虚拟机暂时不支持。

首先,打开SSH或者控制面板上的Shell,并执行以下代码以展示所有硬盘ID:

ls /dev/disk/by-id

Note: 硬盘ID通常没有诸如”-part2″等的后缀

找到需要的硬盘后,执行以下命令以挂载:

qm set <vmid> -sata1 /dev/disk/by-id/<drive_id>

当得到以下返回后,则表示挂载已经成功。

update VM <vmid>: -sata1 /dev/disk/by-id/<drive_id>

Note: 在备份虚拟机时建议取消挂载全盘映射,因为容易导致虚拟机备份文件过大。

  • proxmox
  • 技术小絮
等 人表示很赞
502
0

📮Comments

No Comment.
xosadmin
xosadmin
5 years ago
推荐 Proxmox VE提示No IOMMU detect的解决方法
Proxmox VE是一个非常强大的虚拟化平台。有许多用户正在通过Proxmox VE来实现软路由等功能。其中,最重要的一件事情就是pcie穿透(也是硬件直通)。但是通过最近的测试,在部分的机器上,会提示No IOMMU detected, ...
  • proxmox
  • 技术小絮
17,772 0
xosadmin
xosadmin
5 years ago
推荐 Windows Server 2008安装.net 4.8时提示证书问题的解决方法
近日在给Windows Server 2008 R2安装.net framework 4.8时,提示一个证书错误,无论如何重启或恢复,均无效。错误如下: A certificate chain could not be built to a ...
  • 技术小絮
6,674 0
xosadmin
xosadmin
8 years ago
推荐 如何在Linux(CentOS)上安装OpenVZ
近日,有一位朋友向我请教如何在其自己的CentOS服务器上安装OpenVZ虚拟化。所谓OpenVZ,官方对其的定义如下: “OpenVZ is a container-based virtualization for Linux. Op ...
  • 技术小絮
  • 虚拟化
2,269 0
xosadmin
xosadmin
6 years ago
推荐 apache提示You don’t have permission to access /* on this server.的解决方法
首先,X-osadmin在这里祝大家520快乐!近日有朋友遇到了这样一个问题:在CentOS 8下安装php-fpm+apache,在浏览器打开时均提示You don’t have permission to access / ...
  • 技术小絮
3,859 0
xosadmin
xosadmin
2 years ago
推荐 Proxmox报出RRDC/RRD update error的解决方法
当该问题发生时,Proxmox会出现如下情况: 1.CPU Usage, Server Load, Memory Usage, Network Traffic图表空白或时间停留在1970年。 2.系统日志中不时出现以下类型的错误: Jan ...
  • proxmox
516 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
  • Add your site here…
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