lk/virtualization/xen/xen_basics.md
Malin Freeborn ba8026e0c3
change formatting
input examples are now given as

```bash
input $ARG1
```

While outputs use md's '> ' sign as a quote.
2023-06-17 21:28:20 +02:00

39 lines
527 B
Markdown

---
title: "Xen Volume Management"
tags: [ "Documentation", "xe", "virtualization", "volume" ]
---
# Make a local iso repository
```bash
mkdir -p */var/opt/xen/ISO_Store*
```
```bash
xe sr-create name-label=*LocalISO* type=iso device-config:location=*/var/opt/xen/ISO_Store* device-config:legacy_mode=true content-type=iso
```
This creates a UUID for the new directory:
`e94e25bb-bcdc-801b-b62a-b51b686a3bdc`
# Main Console
```bash
xsconsole
```
# Volumes
List volumes:
```bash
lvs
```
List groups:
```bash
vgs
```