Skip to content

Releases: nephri/FreeNas-DiskList

v1.1c

19 Jun 21:27
103f0b3
Compare
Choose a tag to compare

version 1.1c (19/06/2020)

fix:

  • The column 'M' show the zfs mount point. The altroot (typically /mnt) is fetched from 'zpool list'.
    But now the 'zpool list' output can have an extra column 'CKPOINT' that we should take care for finding the 'ALTROOT' column.
  • Help fix for use "example" instead of "exemple"

layout:

  • new column "h" giving the "Power on Hours" of devices. It's a smartctl's column, so for get it, you have to use the switch '-smartctl'
  • "-all" profil is now pPlzZMdtDUTSRHhemosX
  • "-long" profile is now plzdDUTSRHemosX

v1.1b

18 Jun 16:56
cd89ed9
Compare
Choose a tag to compare

version 1.1b (18/06/2020)

fix:

  • strip non alphanumeric characters in S/N to align data from sas backplane and geom disk list

v1.1a

12 Jun 16:16
702598d
Compare
Choose a tag to compare

version 1.1a (12/06/2019)

fix:

  • fix display of unused disks (when not partitioned). In 1.1 some partitioned disks were also reported as unused disks

core:

  • gptid association are now done with "glabel list" + "geli list" for handling encrypted partitions (GELI)
  • zpool list are now used for determine the pool mount point (from the altroot)

layout:

  • columns without any values are automatically removed from the layout.
    For example, if you don't have multipath drives, subsequents columns are automatically removed from the final layout
    This behaviour may be disabled using switch -static
  • new column "M" giving the mount point of the zfs pool associated to the specified partition
  • new column "X" giving the encryption algorithm used for encrypt the specified partition
  • "-all" profil is now pPlzZMdtDUTSRHXemos
  • "-long" profile is now plzdDUTSRHXemos

enhance:

  • new switch -locate allow to blink disk enclosure led for 10 seconds
    This switch works only for drive connected to a sas hba (sas2ircu & sas3ircu compatible controllers)
  • switch -multi: can be set multiple times.
    For example for listing physical drive only once you can use these arguments: -multi:none -multi:active -nolabel
  • new switch "-sort:" that allow to define the sort order of partitions and devices
  • new switch "-static" for prevent columns to be removed even if they are empties.
  • new switch "-nolabel" that allow to report only disk information without information about partitions
  • print at the end of the report the number of disks reported

v1.1

08 Jun 06:09
71d79c6
Compare
Choose a tag to compare

version 1.1 (07/06/2019)

core:

  • don't use any more "glabel status"
  • replace "gmultipath status" by "gmultipath list"
  • use "gpart list" for building the partitions table
  • use "gmultipath list" for completing the partitions table & devices with multipath datas

disk type detection:

  • Handle NVME disk detection
  • Handle NVRAM disk detection

new columns:

  • column "fs" that show the partition type (freebsd-zfs, freebsd-swap, bios-boot, ...)
  • column "path-state" that show the multipath state's device (OPTIMAL, ...)
  • column "temp" that show the disk temperature
  • column "zpool-location" that show the location of the partition inside the pool structure (tank/mirror-0, ...)

new switches:

  • switch -smartctl that enable to report columns from smartctl tool (like temperature). without this switch theses columns are skipped.

updated profil layout:

  • "all" report columns : pPlzZdtDUTSRHemos
  • "long" report columns : plzdDUTSRH
  • "short" report columns : pzdDUT

filters:

  • the -fs: filter can now handle theses types: none, all, any, zfs, swap, bios, unknown
  • many filters can now be set more than one time for accepting more than one value. This apply to [-i: ], [-fs:], [-c:]

layout switchs

  • profil switch like -all, -long or -short can be used in addition of the switch [-c:]. Theses switch are merged together for defining columns to report.

disklist.pl v1.0

08 Jun 06:08
1c9c124
Compare
Choose a tag to compare

Original version