User Tools

Site Tools


proxmox:add_storage_drives:lvm

This is an old revision of the document!


Proxmox - Add Storage Drives - LVM

Use LVM if you have single disk.

# List disk devices with lsblk
# Select a device to add
# create partions
$ fdisk /dev/sdb
 
# format device
$ mkfs.ext4 /dev/sdb1
 
# Create a physical group
$ pvcreate /dev/sdb1
 
# Create logical group
$ vgcreate vSSD /dev/sdb1
 
# TO add DataCenter -> Storage -> Add -> LVM
 
---
 
# To add as a dir
# After formatting mount the some dir
$ mkdir /backup
$ mount /dev/sdb1 /backup
$ vim /etc/fstab
/dev/sdb1/ /backup ext4 defaults 0 0
 
# To add Datacenter -> Storage -> Add -> Directory
proxmox/add_storage_drives/lvm.1622141582.txt.gz ยท Last modified: 2021/05/27 18:53 by peter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki