Difference between revisions of "Lvcreate"
Jump to navigation
Jump to search
↑ http://man7.org/linux/man-pages/man8/lvcreate.8.html
↑ https://stuff.mit.edu/afs/athena/project/rhel-doc/5/RHEL-5-manual/Cluster_Logical_Volume_Manager/LV_create.html
Line 18: | Line 18: | ||
* {{lvm commands}} | * {{lvm commands}} | ||
* {{ext4}} | * {{ext4}} | ||
− | |||
* [[mount]] and [[mkfs.ext4]] | * [[mount]] and [[mkfs.ext4]] | ||
[[Category:Linux]] | [[Category:Linux]] |
Revision as of 12:35, 17 December 2019
lvcreate
[1] commands creates a logical volume (LV)
Examples
- Create LV using all VG space available:
lvcreate -l 100%FREE -n MY_NEW_LV MY_VG_NAME
[2]- Logical volume "MY_NEW_LV" created.
- Create a stripped LV for performance:
lvcreate --size 10G -i 2 -I 64 -n new_stripped_lv_for_performance MY_VG_0
--type striped
is not optional as-i
option is used)-i 2
. Number of stripes.-I
--stripesize
See also
- dmsetup ls and multipath -ll
- 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
ext4
e2fsck,
,fsck.ext4
, superblock, inode, block size, mkfs.ext4 tune2fswipefs
,resize2fs
stat
,extents
, Review ext4 journalctl logs. Read-only file system,virt-resize
, ACL- mount and mkfs.ext4
Advertising: