Difference between revisions of "Device mapper"

From wikieduonline
Jump to navigation Jump to search
Line 27: Line 27:
 
* <code>[[/etc/fstab]]</code>
 
* <code>[[/etc/fstab]]</code>
 
* <code>[[dm verity]]</code>
 
* <code>[[dm verity]]</code>
 +
* <code>[[dm mpath]]</code>
  
 
== Activities ==
 
== Activities ==

Revision as of 06:43, 14 March 2021


 /dev/mapper/
/dev/mapper/control



vgchange -a|--activate y|n|ay
The block device for the LV is added or removed from the system using device-mapper in the kernel. A symbolic link /dev/VGName/LVName pointing to the device node is also added/removed.


vgchange -a n VG_NAME
 0 logical volume(s) in volume group "VG_NAME" now active
vgchange -a y VG_NAME
 1 logical volume(s) in volume group "VG_NAME" now active



Related terms

Activities

Related

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: