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.