Difference between revisions of "Increase EBS size on LVM"
Jump to navigation
Jump to search
Line 10: | Line 10: | ||
:4) [[pvresize]] | :4) [[pvresize]] | ||
:5) [[lvdisplay]] | :5) [[lvdisplay]] | ||
− | :6) [[lvextend -l +100%FREE]] -n /dev/vg_docker/docker | + | :6) [[lvextend --resizefs -l +100%FREE]] -n /dev/vg_docker/docker |
Revision as of 13:26, 29 November 2023
- 0) List current status:
nvme list
- 1) Increase size in AWS console
- 2) Verify disk size has changed:
nvme list
- 3) lvmdiskscan
- 4) pvresize
- 5) lvdisplay
- 6) lvextend --resizefs -l +100%FREE -n /dev/vg_docker/docker
EBS, EBS Snapshots (archive), aws ebs
, io1, io2, gp2, gp3, st1, sc1
, aws_ebs_snapshot, aws_dlm_lifecycle_policy
LVM: LVM errors LVM scan commands lkvmetad
, Add a new disk
- scan:
pvscan
vgscan
- LVM:
lvs
lvmscan
lvm fullreport
lvmreport
lvmconfig
lvmdump
lvmcheck
lvm dumpconfig
- Scan:
pvs
vgs
lvs
pvscan
vgscan
- PV:
pvcreate
pvremove
pvscan
pvremove
pvscan
pvs
pvchange
pvck
pvdisplay
pvresize
- LV:
lvdisplay
lvcreate
lvremove
,lvresize
,lvextend
,lvreduce
,lvrename
- VG:
vgdisplay
,vgcreate
,vgremove
,vgextend
,vgreduce
,vgscan
,vgchange
,vgrename
,vgcfgbackup
,vgcfgrestore
,vgimportclone
,vgck
- Check commands:
pvck
vgck
Advertising: