Difference between revisions of "Device mapper"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Line 13: Line 13:
 
  vgchange -a y VG_NAME
 
  vgchange -a y VG_NAME
 
   1 logical volume(s) in volume group "VG_NAME" now active
 
   1 logical volume(s) in volume group "VG_NAME" now active
 +
 +
== Related terms ==
 +
* <code>multipath -l</code> (show the current multipath topology from information fetched in [[sysfs]] and the device mapper)
  
 
== Activities ==
 
== Activities ==

Revision as of 09:37, 20 September 2020



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

  • multipath -l (show the current multipath topology from information fetched in sysfs and the device mapper)

Activities

Related

See also

Advertising: