All Projects → nephri → FreeNas-DiskList

nephri / FreeNas-DiskList

Licence: LGPL-3.0 license
FreeNas "Disklist" script for report informations about installed hard drives, volumes and partitions

Programming Languages

perl
6916 projects

Projects that are alternatives of or similar to FreeNas-DiskList

jailman
Automated iocage Jail manager for FreeNAS
Stars: ✭ 26 (-23.53%)
Mutual labels:  freenas, freenas-scripts
Middleware
TrueNAS CORE/Enterprise/SCALE Middleware Git Repository
Stars: ✭ 1,851 (+5344.12%)
Mutual labels:  zfs, freenas
freenas-proxmox
ZFS over iSCSI to FreeNAS API's from Proxmox VE
Stars: ✭ 129 (+279.41%)
Mutual labels:  zfs, freenas
deploy-freenas
Python script to automate deploying TLS certificates to FreeNAS servers
Stars: ✭ 164 (+382.35%)
Mutual labels:  freenas, freenas-scripts
utility-scripts-for-freenas-and-vmware-esxi
All-In-One utility scripts for FreeNAS and VMware ESXi
Stars: ✭ 59 (+73.53%)
Mutual labels:  freenas, freenas-scripts
zarch
The Ultimate Script For Arch Linux
Stars: ✭ 49 (+44.12%)
Mutual labels:  zfs
zetaback
Zetaback is a thin-agent based ZFS backup tool. It is designed to help simplify the task of backing up thousands of filesystems on hundreds of machines across and organization. It simplifies the task of automatically picking up newly created ZFS filesystems for backup purposes and restoring any given backup (host/FS/timestamp) to a target ZFS ca…
Stars: ✭ 37 (+8.82%)
Mutual labels:  zfs
ZetaWatch
ZFS OSX Menu Bar widget
Stars: ✭ 111 (+226.47%)
Mutual labels:  zfs
planb
PlanB - automating remote backups and snapshots with zfs/rsync
Stars: ✭ 24 (-29.41%)
Mutual labels:  zfs
kubernetes-zfs-provisioner
No description or website provided.
Stars: ✭ 39 (+14.71%)
Mutual labels:  zfs
cstor
CAS Data Engine - User Space implementation of a popular COW Data Engine - ZFS
Stars: ✭ 47 (+38.24%)
Mutual labels:  zfs
docker-zfs-plugin
Docker volume plugin for creating persistent volumes as a dedicated zfs dataset.
Stars: ✭ 71 (+108.82%)
Mutual labels:  zfs
integrated-manager-for-lustre
Integrated Manager for Lustre
Stars: ✭ 64 (+88.24%)
Mutual labels:  zfs
vzvol
vzvol is a general use ZFS zvol management tool, that handles creation, destruction, listing, and formatting with various FSes, in an easy to use single program
Stars: ✭ 27 (-20.59%)
Mutual labels:  zfs
arch-linux-live-cd-iso-with-zfs
archiso with zfs embedded
Stars: ✭ 14 (-58.82%)
Mutual labels:  zfs
corezfs
ZFS on Linux (ZoL) on CoreOS
Stars: ✭ 27 (-20.59%)
Mutual labels:  zfs
zfs exporter
Prometheus ZFS exporter
Stars: ✭ 52 (+52.94%)
Mutual labels:  zfs
rpooler
A guided installation script for zfs rpools
Stars: ✭ 30 (-11.76%)
Mutual labels:  zfs
adlibre-backup
High performance rsync backup utilising BTRFS / ZFS filesystem features
Stars: ✭ 35 (+2.94%)
Mutual labels:  zfs
arch-config
Scripts and Ansible playbook to setup Arch Linux on ZFS.
Stars: ✭ 36 (+5.88%)
Mutual labels:  zfs

FreeNas-DiskList

FreeNas "Disklist" script for report informations about installed hard drives

I wrote this script for getting informations about all installed disks inside my FreeNas box.

This script is written in Perl and use under the hood theses commands:

  • geom disk list
  • gpart list
  • glabel list
  • geli list
  • gmultipath list
  • zpool status
  • zpool list
  • sas2ircu list
  • sas2ircu # display
  • sas3ircu list
  • sas3ircu # display
  • smartctl -a [device]

Command line usages are available here

Examples

./disklist.pl
partition  label                                       zpool         device  disk                  size  type  serial                 rpm
-----------------------------------------------------------------------------------------------------------------------------------------
da136p2    gptid/ee5188da-2104-11e6-937f-0cc47a320ec8  freenas-boot  da136   SanDisk Ultra Fit       62  ???   4C531001421128120501   ???
da128p2    gptid/a32d92ef-898d-11e6-92dc-0cc47a320ec8  volBACKUP     da128   ATA Hitachi HUA72302  2000  HDD   YGHGTR4A              7200
da129p2    gptid/a64d2fdb-898d-11e6-92dc-0cc47a320ec8  volBACKUP     da129   ATA Hitachi HUA72302  2000  HDD   YFHLRZ1A              7200
da130p2    gptid/a9830745-898d-11e6-92dc-0cc47a320ec8  volBACKUP     da130   ATA Hitachi HUA72302  2000  HDD   YGGU4MKA              7200
da131p2    gptid/acad4d63-898d-11e6-92dc-0cc47a320ec8  volBACKUP     da131   ATA Hitachi HUA72302  2000  HDD   YGGU5D6A              7200
da132p2    gptid/b00a4e80-898d-11e6-92dc-0cc47a320ec8  volBACKUP     da132   ATA Hitachi HUA72302  2000  HDD   YFGR7ZPC              7200
da133p2    gptid/b35b860a-898d-11e6-92dc-0cc47a320ec8  volBACKUP     da133   ATA Hitachi HUA72302  2000  HDD   YGHHK07A              7200
da134p2    gptid/b6b2f0e7-898d-11e6-92dc-0cc47a320ec8  volBACKUP     da134   ATA Hitachi HUA72302  2000  HDD   YFHHMMXA              7200
da135p2    gptid/ba039608-898d-11e6-92dc-0cc47a320ec8  volBACKUP     da135   ATA Hitachi HUA72302  2000  HDD   YGGK2R4A              7200
./disklist.pl -i:zpool tank -all

partition  fs           label                                       zpool zpool-location  device  sector  disk                  size  type  serial     rpm  sas-location
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
da128p2    freebsd-zfs  gptid/a32d92ef-898d-11e6-92dc-0cc47a320ec8  tank  tank/raidz2-0   da128      512  ATA Hitachi HUA72302  2000  HDD   YGHGTR4A  7200  SAS2008(0):2#3
da129p2    freebsd-zfs  gptid/a64d2fdb-898d-11e6-92dc-0cc47a320ec8  tank  tank/raidz2-0   da129      512  ATA Hitachi HUA72302  2000  HDD   YFHLRZ1A  7200  SAS2008(0):2#2

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].