Difference between revisions of "Increase EBS size on LVM"
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
:1) Increase size in AWS console | :1) Increase size in AWS console | ||
:2) Verify disk size has changed: <code>[[nvme list]]</code> | :2) Verify disk size has changed: <code>[[nvme list]]</code> | ||
− | :3) [[lvmdiskscan]] | + | :3) <code>[[lvmdiskscan]]</code> |
− | :4) [[pvresize]] | + | :4) <code>[[pvresize]]</code> |
− | :5) [[lvdisplay]] | + | :5) <code>[[lvdisplay]]</code> |
− | :6) [[lvextend --resizefs -l +100%FREE]] -n /dev/vg_docker/docker | + | :6) <code>[[lvextend --resizefs -l +100%FREE]] -n [[/dev/vg_docker/docker]]</code> |
− | |||
+ | == Related == | ||
* [[Increase EBS size]] | * [[Increase EBS size]] | ||
− | |||
== See also == | == See also == |
Revision as of 12:58, 15 January 2024
- 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
Related
See also
- 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: