Linux基础-查看dm的映射关系
参考:https://www.cnblogs.com/aozhejin/p/16061309.html
sudo lvdisplay|awk '/LV Name/{n=$3} /Block device/{d=$3; sub(".*:","dm-",d); print d,n;}'
稳步前行,只争朝夕。
参考:https://www.cnblogs.com/aozhejin/p/16061309.html
sudo lvdisplay|awk '/LV Name/{n=$3} /Block device/{d=$3; sub(".*:","dm-",d); print d,n;}'