From b624d415a3040defc46179fb76be811e2d79904a Mon Sep 17 00:00:00 2001 From: Markus Ressel Date: Wed, 6 Jan 2021 21:01:57 +0100 Subject: [PATCH] added zpool list -v output --- README.md | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index caf5914..3a9f2dd 100644 --- a/README.md +++ b/README.md @@ -31,9 +31,31 @@ Since file attributes are fully retained, it is not possible to verify if an ind To check the current balance of a pool use: ``` -zpool list -v +> zpool list -v + +NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT +bpool 1.88G 113M 1.76G - - 2% 5% 1.00x ONLINE - + mirror 1.88G 113M 1.76G - - 2% 5.88% - ONLINE + ata-Samsung_SSD_860_EVO_500GB_J0NBL-part2 - - - - - - - - ONLINE + ata-Samsung_SSD_860_EVO_500GB_S4XB-part2 - - - - - - - - ONLINE +rpool 460G 3.66G 456G - - 0% 0% 1.00x ONLINE - + mirror 460G 3.66G 456G - - 0% 0.79% - ONLINE + ata-Samsung_SSD_860_EVO_500GB_S4BB-part3 - - - - - - - - ONLINE + ata-Samsung_SSD_860_EVO_500GB_S4XB-part3 - - - - - - - - ONLINE +vol1 9.06T 3.77T 5.29T - - 13% 41% 1.00x ONLINE - + mirror 3.62T 1.93T 1.70T - - 25% 53.1% - ONLINE + ata-WDC_WD40EFRX-68N32N0_WD-WCC - - - - - - - - ONLINE + ata-ST4000VN008-2DR166_ZM4-part2 - - - - - - - - ONLINE + mirror 3.62T 1.84T 1.78T - - 8% 50.9% - ONLINE + ata-ST4000VN008-2DR166_ZM4-part2 - - - - - - - - ONLINE + ata-WDC_WD40EFRX-68N32N0_WD-WCC-part2 - - - - - - - - ONLINE + mirror 1.81T 484K 1.81T - - 0% 0.00% - ONLINE + ata-WDC_WD20EARX-00PASB0_WD-WMA-part2 - - - - - - - - ONLINE + ata-ST2000DM001-1CH164_Z1E-part2 - - - - - - - - ONLINE ``` +and have a look at difference of the `CAP` value (`SIZE`/`FREE` vs `ALLOC` ratio) between vdevs. + ### No Deduplication Due to the working principle of this script, which essentially creates a duplicate file on purpose, deduplication will most definitely prevent it from working as intended. If you use deduplication you probably have to resort to a more expensive rebalancing method that involves additional drives.