Daurtanyn
Dabbler
- Joined
- Jan 12, 2016
- Messages
- 11
A contributor on the Serve the Home forum contributed a wonderful utility.
Sébastien (Username nephri) has written a wonderful perl script
https://forums.servethehome.com/ind...nvenient-way-to-report-installed-disks.16310/
reports installed disks
I am running 11-STABLE and I just grabbed the code, dropped it into a file, made it executable and then ran the command suggested.
This command solves the problem of matching the individual elements using many CLI commands.
Below is the output. It reduces SO many investigative steps into ONE.
I'm a very happy camper.
The author said he planned to look for feedback in their forum before posting here in the FreeNAS forum. His post was in July (2017). I don't think folks over there understand what a gem he is providing.
H.
Sébastien (Username nephri) has written a wonderful perl script
https://forums.servethehome.com/ind...nvenient-way-to-report-installed-disks.16310/
reports installed disks
I am running 11-STABLE and I just grabbed the code, dropped it into a file, made it executable and then ran the command suggested.
This command solves the problem of matching the individual elements using many CLI commands.
Below is the output. It reduces SO many investigative steps into ONE.
I'm a very happy camper.
The author said he planned to look for feedback in their forum before posting here in the FreeNAS forum. His post was in July (2017). I don't think folks over there understand what a gem he is providing.
H.
Code:
./disklist.pl -i:zpool my_vol1 -all partition label zpool device sector disk size type serial rpm location multipath mode ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ multipath/disk1p2 gptid/a882790c-cffb-11e7-a102-f46d0428d010 my_vol1 da13,da6 512 SEAGATE ST1000NM0023 1000 HDD Z1xxx3K 7200 SAS3008(0):3#11 multipath/disk1 multipath/disk2p2 gptid/6fc2aa85-4cee-11e6-b6e0-f46d0428d010 my_vol1 da12,da5 512 SEAGATE ST1000NM0023 1000 HDD Z1xxxGR 7200 SAS3008(0):3#8 multipath/disk2 multipath/disk3p2 gptid/0f7472dc-2424-11e4-8980-f46d0428d010 my_vol1 da10,da3 512 SEAGATE ST1000NM0023 1000 HDD Z1xxx81 7200 SAS3008(0):3#6 multipath/disk3 multipath/disk4p2 gptid/0ecce300-2424-11e4-8980-f46d0428d010 my_vol1 da9,da2 512 SEAGATE ST1000NM0023 1000 HDD Z1xxx5M 7200 SAS3008(0):3#5 multipath/disk4 multipath/disk5p2 gptid/0f3b1967-2424-11e4-8980-f46d0428d010 my_vol1 da1,da8 512 SEAGATE ST1000NM0023 1000 HDD Z1xxxDY 7200 SAS3008(0):3#4 multipath/disk5 multipath/disk6p2 gptid/0f031df2-2424-11e4-8980-f46d0428d010 my_vol1 da0,da7 512 SEAGATE ST1000NM0023 1000 HDD Z1xxx95 7200 SAS3008(0):3#3 multipath/disk6 multipath/disk7p2 gptid/e4eee36e-b824-11e5-882c-f46d0428d010 my_vol1 da11,da4 512 SEAGATE ST1000NM0023 1000 HDD Z1xxxA1 7200 SAS3008(0):3#7 multipath/disk7
Last edited by a moderator: