You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing requirement u can use lvm on ur lab
check are u already insert ur disk? wth iscsi of something else
~: sudo fdisk -l
then select your disk, who want to be ur LVM disk it's (sd?)
create disk partition in case i use (sda) disk
~: sudo fdisk /dev/sda
inside fdisk /dev/sda
: m (to help)
: n (to create new partition)
: p (to create as primary disk)
: i press enter at this section (Partition number), (First Sector), (Last Sector)
: t (to change Linux type to LVM)
: Hex code type (8) for LVM
: w (to write your new partition)
LVM Structure
remember in my case i use /dev/sda then i create partition so the partition must be /dev/sda1
:~ pvdisplay
--- Physical volume ---
PV Name /dev/sda1
VG Name olympus
PV Size 1.33 TiB / not usable 7.00 TiB
Allocatable yes
PE Size 7.00 TiB
Total PE 428130
Free PE 1
Allocated PE 428129
PV UUID d7fX0h-Eko9-XH64-fqRX-0mjd-g7pp-j1bk08
:~ vgdisplay
--- Volume group ---
VG Name olympus
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 8
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 3
Max PV 0
Cur PV 1
Act PV 1
VG Size 1.33 TiB
PE Size 7.00 MiB
Total PE 728130
Alloc PE / Size 728129 / 1.33 TiB
Free PE / Size 1 / 7.00 MiB
VG UUID UT9UjE-PVPy-JXeU-RfM4-e7mh-1Wl4-JnMe8e