Proxmox Command Line

masterdaweb

Well-Known Member
Apr 17, 2017
87
5
48
32
Hi,

I'll write a bashcript that runs every minute and check if disks are stored in NFS, if so it moves disk to local storage.

So I just need to know the following commands:

- How to list disks from command line ?
- How to move disk from command line ?



Thank you!
 
may I ask what are you talking about?
what disks and why would they be stored in NFS(?!) ?
also , if they were stored in NFS(?), why would you want/need to move them?
 
may I ask what are you talking about?
what disks and why would they be stored in NFS(?!) ?
also , if they were stored in NFS(?), why would you want/need to move them?
Because I'm using an auto-provisioning module in WHMCS, and templates must be stored in NFS so I can share them with the other nodes.

Since NFS templates can't be cloned to local storage from the other nodes, I can move the Disk from NFS to Local.

Why moving Disks from NFS to local ? Performance gain.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!