2022-01-16 18:20:39 +00:00
|
|
|
---
|
2022-02-04 08:24:02 +00:00
|
|
|
title: "Xen Volume Management"
|
|
|
|
tags: [ "Documentation", "xe", "virtualization", "volume" ]
|
2022-01-16 18:20:39 +00:00
|
|
|
---
|
2020-01-02 00:04:35 +00:00
|
|
|
# Make a local iso repository
|
|
|
|
|
2022-02-03 19:10:47 +00:00
|
|
|
> mkdir -p */var/opt/xen/ISO_Store*
|
2020-01-02 00:04:35 +00:00
|
|
|
|
2022-02-03 19:10:47 +00:00
|
|
|
> xe sr-create name-label=*LocalISO* type=iso device-config:location=*/var/opt/xen/ISO_Store* device-config:legacy_mode=true content-type=iso
|
2020-01-02 00:04:35 +00:00
|
|
|
|
|
|
|
This creates a UUID for the new directory:
|
|
|
|
|
|
|
|
`e94e25bb-bcdc-801b-b62a-b51b686a3bdc`
|
|
|
|
|
2020-02-24 08:46:06 +00:00
|
|
|
# Main Console
|
|
|
|
|
|
|
|
> xsconsole
|
|
|
|
|
|
|
|
# Volumes
|
|
|
|
|
|
|
|
List volumes:
|
|
|
|
|
|
|
|
> lvs
|
|
|
|
|
|
|
|
List groups:
|
|
|
|
|
|
|
|
> vgs
|
2020-01-02 00:04:35 +00:00
|
|
|
|