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
lvcreate[1] commands creates a logical volume (LV)
Examples[edit]
- Create LV using all VG space available:
WARNING: ext4 signature detected on /dev/MY_NEW_LV/MY_NEW_LV at offset 1080. Wipe it? [y/n]
Calculated size of logical volume is 0 extents. Needs to be larger. vgs -o +vg_free_count,vg_extent_count
- Create a stripped LV for performance:
lvcreate --size 10G -i 2 -I 64 -n new_stripped_lv_for_performance MY_VG_0--type stripedis not optional as-ioption is used)-i 2. Number of stripes.-I--stripesize
Related commands[edit]
See also[edit]
- dmsetup ls and multipath -ll
lvcreate- LVM: LVM errors LVM scan commands
lvmetad, Add a new disk
- scan:
pvscanvgscan - LVM:
lvslvmscanlvm fullreportlvmreportlvmconfiglvmdumplvmchecklvm dumpconfig - Scan:
pvsvgslvspvscanvgscan - PV:
pvcreatepvremovepvscanpvremovepvscanpvspvchangepvckpvdisplaypvresize,pvmove - LV:
lvdisplaylvcreatelvremove,lvresize,lvextend,lvreduce,lvrename - VG:
vgdisplay,vgcreate,vgremove,vgextend,vgreduce,vgscan,vgchange,vgrename,vgcfgbackup,vgcfgrestore,vgimportclone,vgck - Check commands:
pvckvgck
ext4e2fsck,,fsck.ext4, superblock, inode, block size, mkfs.ext4 tune2fswipefs,resize2fsstat,extents, Review ext4 journalctl logs. Read-only file system,virt-resize, ACL, prjquota, setquota
Advertising: