Difference between revisions of "Device mapper"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
: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. | :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 | ||
== Activities == | == Activities == |
Revision as of 10:56, 7 January 2020
ls -lrt /dev/mapper
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
Activities
- Read Configuring Device Mapper Multipath RHEL 8 https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/configuring_device_mapper_multipath/index
Related
See also
Advertising: