louwrentius / showtools

Shows detailed disk or network device information
BSD 3-Clause "New" or "Revised" License
122 stars 17 forks source link

Loop showing up in show disk #13

Closed hyperbart closed 3 years ago

hyperbart commented 3 years ago

Ubuntu 20.04 ZFS Couple of docker containers running

When running show disk with latest version of script it outputs all disks as it should but also displays a number of loop devices/things. After logging this issue I realized they are in fact devices albeit probably virtual devices showing up. So since it is a block device it might be considered "to be expected" to show up here.

root@server:~# /root/showtools/show disk -msftHPrRCn

| Dev | Model | GB | Firmware | Temp | Hours | PS | RS | RSE | CRC | Park |

| loop0 | | 0 | | ? | ? | ? | ? | ? | ? | ? | | loop1 | | 0 | | ? | ? | ? | ? | ? | ? | ? | | loop2 | | 0 | | ? | ? | ? | ? | ? | ? | ? | | loop3 | | 0 | | ? | ? | ? | ? | ? | ? | ? | | loop5 | | 0 | | ? | ? | ? | ? | ? | ? | ? | | loop6 | | 0 | | ? | ? | ? | ? | ? | ? | ? |