1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Proxmoxのバックアップで物理ディスクを除外する方法

Last updated at Posted at 2021-08-09

お世話になります。

以下のような構成で物理ディスクをパススルーしたVMを作成しました。(VMWareでいうところのRDM)
image.png

しかし、このようなVMはスナップショットが使えません。
image.png

また、バックアップしようとすると全ドライブのバックアップとなり、C:ドライブのみバックアップするといった指定ができません。
image.png

そこでconfファイルを書き換えます。
以下のサイトを参考にさせて頂きました。
https://forum.proxmox.com/threads/how-to-backup-only-one-disk-for-a-vm-with-the-proxmox-backup-web-manager.5320/

nano /etc/qemu-server/<VMID>.conf

該当するディスクの末尾にbackup=noを付加します。
image.png

そしてバックアップを再実行すると、C:のみのバックアップが開始されました。
image.png

今回はパススルーした物理ディスクを除外しましたが、仮想ディスクでも同じ方法が可能と思われます。

また、物理ディスクをパススルーするとスナップショットが使えなくなりますが、LVM-Thinボリュームをバックアップ先にすればシンプロビジョニングが効きますので実運用上はそれほどデメリットはなさそうです。(割り当て64GBに対し実容量16GBのみをバックアップ)

1
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?