Listar mappers con fdisk bash en linux
#28 - Me gusta
#bash> fdisk -l 2>/dev/null | grep "Disk /" |grep "/mapper" | grep -v "/dev/md" | awk '{print $2}' | sed -e 's/://g'
/dev/mapper/cl-root
/dev/mapper/cl-swap
/dev/mapper/cl-home
/dev/mapper/HD10T2
/dev/mapper/HD10T1
/dev/mapper/HD10T2
/dev/mapper/HD8T-2
/dev/mapper/HD8T-1
/dev/mapper/HD8T-3
/dev/mapper/HD4T2
/dev/mapper/docker-2530-1560043-pool
/dev/mapper/docker-2530-1560043-216a16b92fe24a3ca1468bec210386965fb257b0bf88eceb67ed44bc5828489c
/dev/mapper/docker-2530-1560043-f97df1599bef0046a8235b91183eec9c6aeef58a071635b96e6d0fcce1728de8
/dev/mapper/docker-2530-1560043-08ecabd23e3744b7ebc56eb37fdbb20a6adabcc446c2c23fe6d1f92aec2dfe0f
/dev/mapper/docker-2530-1560043-6a3ca65b634045d28b7bbe9e99c173da5e4de2790090f3a8dcf7668907fca3c6
Adjuntos:
Colaboradores: