Difference between revisions of "Lvreduce"
Jump to navigation
Jump to search
Line 13: | Line 13: | ||
Related commands: | Related commands: | ||
* <code>[[resize2fs]]</code> | * <code>[[resize2fs]]</code> | ||
− | * <code>[[ | + | * <code>[[chfs]]</code> ([[AIX]]) |
− | |||
== See also == | == See also == |
Revision as of 14:34, 6 January 2020
lvreduce
- Reduce the size of a logical volume
Shrinking is not supported on a GFS2 or XFS file system
Examples
Reduce to a total size of 1GB:
- TOTAL 1GB:
lvreduce --resizefs -L 1GB vg01/lvol1
Related commands:
See also
- 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: