User Tools

Site Tools


proxmox:add_storage_drives:lvm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
proxmox:add_storage_drives:lvm [2021/05/27 18:53] – created peterproxmox:add_storage_drives:lvm [2021/06/19 11:26] (current) – removed peter
Line 1: Line 1:
-====== Proxmox - Add Storage Drives - LVM ====== 
- 
-Use LVM if you have single disk. 
- 
-<code bash> 
-# 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 
-</code> 
  
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