Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure PBS VM for helios #36

Closed
morey-tech opened this issue May 26, 2024 · 1 comment
Closed

Configure PBS VM for helios #36

morey-tech opened this issue May 26, 2024 · 1 comment
Assignees
Labels

Comments

@morey-tech
Copy link
Owner

morey-tech commented May 26, 2024

Create a Proxmox Backup Server (PBS) VM on helios to manage backups for the VM/CTs. Guests will use storage-nvme and PBS will use a large disk on storage-ssd to hold the backups.

Later the backups will be copied to a remote machine (later site) with the work from #27.

@morey-tech morey-tech self-assigned this May 26, 2024
@morey-tech
Copy link
Owner Author

morey-tech commented May 26, 2024

Create lv with the 500GB disk and mount it:

root@pbs:~# pvcreate /dev/sdb
root@pbs:~# pvdisplay
root@pbs:~# vgcreate backups-01_vg /dev/sdb
root@pbs:~# lvcreate -l 100%FREE -n backups-01_lv backups-01_vg
root@pbs:~# mkfs.ext4 /dev/backups-01_vg/backups-01_lv
root@pbs:~# mkdir -p /datastores/backups-01
root@pbs:~# mount /dev/backups-01_vg/backups-01_lv /datastores/backups-01
root@pbs:~# export UUID=$(blkid -s UUID -o value /dev/backups-01_vg/backups-01_lv)
root@pbs:~# echo "UUID=$UUID /datastores/backups-01 ext4 defaults 0 2" | tee -a /etc/fstab
root@pbs:~# lsblk
NAME                            MAJ:MIN RM  SIZE RO TYPE MOUNTPOINTS
sdb                               8:16   0  500G  0 disk 
└─backups--01_vg-backups--01_lv 252:2    0  500G  0 lvm  /datastores/backups-01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant