I feel really dumb

Netdewt

Explorer
Joined
Jan 19, 2021
Messages
98
I tried UBCD. I made a bootable flash drive but the BIOS wouldn’t recognize it or boot to it. Same with Breakin.

I was searching for commands to zero out the pool drives and/or wipe the master boot records. I wouldn’t be trying things like this if I had data on the drives. Anyways, I thought that’s what I was doing.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
I deleted my pool and re added it (experimenting with things), but now the amount of available data is less than it was before. I'm searching but I don't know - what is this problem called?
Please post the output of zpool status and of gpart list.
 

Netdewt

Explorer
Joined
Jan 19, 2021
Messages
98
Please post the output of zpool status and of gpart list.

Code:
root@truenas[~]# zpool status
  pool: boot-pool
 state: ONLINE
config:

        NAME        STATE     READ WRITE CKSUM
        boot-pool   ONLINE       0     0     0
          ada0p2    ONLINE       0     0     0

errors: No known data errors

  pool: zpool
 state: ONLINE
config:

        NAME                                            STATE     READ WRITE CKSUM
        zpool                                           ONLINE       0     0 0
          mirror-0                                      ONLINE       0     0 0
            gptid/ba068f52-7ee1-11eb-91bf-0cc47ae69364  ONLINE       0     0 0
            gptid/ba979615-7ee1-11eb-91bf-0cc47ae69364  ONLINE       0     0 0
          mirror-1                                      ONLINE       0     0 0
            gptid/ba122cf1-7ee1-11eb-91bf-0cc47ae69364  ONLINE       0     0 0
            gptid/ba8b6cfe-7ee1-11eb-91bf-0cc47ae69364  ONLINE       0     0 0

errors: No known data errors
 

Netdewt

Explorer
Joined
Jan 19, 2021
Messages
98
It's a lot...

Code:
root@truenas[~]# gpart list
Geom name: ada0
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 468862087
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: ada0p1
   Mediasize: 272629760 (260M)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 20480
   Mode: r0w0e0
   efimedia: HD(1,GPT,f075b82f-7c46-11eb-b7fe-0cc47ae69364,0x28,0x82000)
   rawuuid: f075b82f-7c46-11eb-b7fe-0cc47ae69364
   rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
   label: (null)
   length: 272629760
   offset: 20480
   type: efi
   index: 1
   end: 532519
   start: 40
2. Name: ada0p2
   Mediasize: 222600101888 (207G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 272650240
   Mode: r1w1e1
   efimedia: HD(2,GPT,f0806059-7c46-11eb-b7fe-0cc47ae69364,0x2082028,0x19ea0000)
   rawuuid: f0806059-7c46-11eb-b7fe-0cc47ae69364
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 222600101888
   offset: 17452519424
   type: freebsd-zfs
   index: 2
   end: 468852775
   start: 34086952
3. Name: ada0p3
   Mediasize: 17179869184 (16G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 272650240
   Mode: r0w0e0
   efimedia: HD(3,GPT,f07ade54-7c46-11eb-b7fe-0cc47ae69364,0x82028,0x2000000)
   rawuuid: f07ade54-7c46-11eb-b7fe-0cc47ae69364
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 17179869184
   offset: 272650240
   type: freebsd-swap
   index: 3
   end: 34086951
   start: 532520
Consumers:
1. Name: ada0
   Mediasize: 240057409536 (224G)
   Sectorsize: 512
   Mode: r1w1e2

Geom name: ada2
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 7814037127
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: ada2p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   efimedia: HD(1,GPT,b9de7efa-7ee1-11eb-91bf-0cc47ae69364,0x80,0x400000)
   rawuuid: b9de7efa-7ee1-11eb-91bf-0cc47ae69364
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: ada2p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e2
   efimedia: HD(2,GPT,ba068f52-7ee1-11eb-91bf-0cc47ae69364,0x400080,0x1d180be08)
   rawuuid: ba068f52-7ee1-11eb-91bf-0cc47ae69364
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: ada2
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r2w2e5

Geom name: ada3
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 7814037127
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: ada3p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   efimedia: HD(1,GPT,b9f23177-7ee1-11eb-91bf-0cc47ae69364,0x80,0x400000)
   rawuuid: b9f23177-7ee1-11eb-91bf-0cc47ae69364
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: ada3p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e2
   efimedia: HD(2,GPT,ba122cf1-7ee1-11eb-91bf-0cc47ae69364,0x400080,0x1d180be08)
   rawuuid: ba122cf1-7ee1-11eb-91bf-0cc47ae69364
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: ada3
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r2w2e5

Geom name: ada4
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 7814037127
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: ada4p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   efimedia: HD(1,GPT,ba634ba4-7ee1-11eb-91bf-0cc47ae69364,0x80,0x400000)
   rawuuid: ba634ba4-7ee1-11eb-91bf-0cc47ae69364
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: ada4p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e2
   efimedia: HD(2,GPT,ba8b6cfe-7ee1-11eb-91bf-0cc47ae69364,0x400080,0x1d180be08)
   rawuuid: ba8b6cfe-7ee1-11eb-91bf-0cc47ae69364
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: ada4
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r2w2e5

1. Name: ada4
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r2w2e5

Geom name: ada1
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 7814037127
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: ada1p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   efimedia: HD(1,GPT,ba7891a5-7ee1-11eb-91bf-0cc47ae69364,0x80,0x400000)
   rawuuid: ba7891a5-7ee1-11eb-91bf-0cc47ae69364
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: ada1p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e2
   efimedia: HD(2,GPT,ba979615-7ee1-11eb-91bf-0cc47ae69364,0x400080,0x1d180be08)
   rawuuid: ba979615-7ee1-11eb-91bf-0cc47ae69364
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:


Last little bit refuses to copy and paste. See screenshot.
 

Attachments

  • Screen Shot 2021-03-07 at 11.45.33 AM.png
    Screen Shot 2021-03-07 at 11.45.33 AM.png
    14 KB · Views: 149

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Don't use the shell in the web UI. Connect via SSH.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
In general. The web UI shell is broken at least with respect to copy&paste and without command line access you won't be able to diagnose anything if things go wrong. Although TrueNAS is a rather polished "product", it is still an open source Unix based system. The natural interface is the CLI. Especially when you need to diagnose problems.

Every Mac and every Windows 10 (I hear) comes with an SSH client builtin. And if not there's putty, still. So no excuses :wink:
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Then please repost the full gpart list output so we can have a look at your capacity problem.
 

Netdewt

Explorer
Joined
Jan 19, 2021
Messages
98
OK. Looks the same as before from the built-in shell.

Code:
truenas% gpart list
Geom name: ada0
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 468862087
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: ada0p1
   Mediasize: 272629760 (260M)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 20480
   Mode: r0w0e0
   efimedia: HD(1,GPT,f075b82f-7c46-11eb-b7fe-0cc47ae69364,0x28,0x82000)
   rawuuid: f075b82f-7c46-11eb-b7fe-0cc47ae69364
   rawtype: c12a7328-f81f-11d2-ba4b-00a0c93ec93b
   label: (null)
   length: 272629760
   offset: 20480
   type: efi
   index: 1
   end: 532519
   start: 40
2. Name: ada0p2
   Mediasize: 222600101888 (207G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 272650240
   Mode: r1w1e1
   efimedia: HD(2,GPT,f0806059-7c46-11eb-b7fe-0cc47ae69364,0x2082028,0x19ea0000)
   rawuuid: f0806059-7c46-11eb-b7fe-0cc47ae69364
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 222600101888
   offset: 17452519424
   type: freebsd-zfs
   index: 2
   end: 468852775
   start: 34086952
3. Name: ada0p3
   Mediasize: 17179869184 (16G)
   Sectorsize: 512
   Stripesize: 0
   Stripeoffset: 272650240
   Mode: r0w0e0
   efimedia: HD(3,GPT,f07ade54-7c46-11eb-b7fe-0cc47ae69364,0x82028,0x2000000)
   rawuuid: f07ade54-7c46-11eb-b7fe-0cc47ae69364
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 17179869184
   offset: 272650240
   type: freebsd-swap
   index: 3
   end: 34086951
   start: 532520
Consumers:
1. Name: ada0
   Mediasize: 240057409536 (224G)
   Sectorsize: 512
   Mode: r1w1e2

Geom name: ada1
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 7814037127
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: ada1p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   efimedia: HD(1,GPT,ba7891a5-7ee1-11eb-91bf-0cc47ae69364,0x80,0x400000)
   rawuuid: ba7891a5-7ee1-11eb-91bf-0cc47ae69364
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: ada1p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e2
   efimedia: HD(2,GPT,ba979615-7ee1-11eb-91bf-0cc47ae69364,0x400080,0x1d180be08)
   rawuuid: ba979615-7ee1-11eb-91bf-0cc47ae69364
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: ada1
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r2w2e5

Geom name: ada2
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 7814037127
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: ada2p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   efimedia: HD(1,GPT,b9de7efa-7ee1-11eb-91bf-0cc47ae69364,0x80,0x400000)
   rawuuid: b9de7efa-7ee1-11eb-91bf-0cc47ae69364
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: ada2p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e2
   efimedia: HD(2,GPT,ba068f52-7ee1-11eb-91bf-0cc47ae69364,0x400080,0x1d180be08)
   rawuuid: ba068f52-7ee1-11eb-91bf-0cc47ae69364
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: ada2
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r2w2e5

Geom name: ada3
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 7814037127
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: ada3p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   efimedia: HD(1,GPT,b9f23177-7ee1-11eb-91bf-0cc47ae69364,0x80,0x400000)
   rawuuid: b9f23177-7ee1-11eb-91bf-0cc47ae69364
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: ada3p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e2
   efimedia: HD(2,GPT,ba122cf1-7ee1-11eb-91bf-0cc47ae69364,0x400080,0x1d180be08)
   rawuuid: ba122cf1-7ee1-11eb-91bf-0cc47ae69364
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: ada3
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r2w2e5

Geom name: ada4
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 7814037127
first: 40
entries: 128
scheme: GPT
Providers:
1. Name: ada4p1
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   efimedia: HD(1,GPT,ba634ba4-7ee1-11eb-91bf-0cc47ae69364,0x80,0x400000)
   rawuuid: ba634ba4-7ee1-11eb-91bf-0cc47ae69364
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 2147483648
   offset: 65536
   type: freebsd-swap
   index: 1
   end: 4194431
   start: 128
2. Name: ada4p2
   Mediasize: 3998639460352 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e2
   efimedia: HD(2,GPT,ba8b6cfe-7ee1-11eb-91bf-0cc47ae69364,0x400080,0x1d180be08)
   rawuuid: ba8b6cfe-7ee1-11eb-91bf-0cc47ae69364
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: (null)
   length: 3998639460352
   offset: 2147549184
   type: freebsd-zfs
   index: 2
   end: 7814037127
   start: 4194432
Consumers:
1. Name: ada4
   Mediasize: 4000787030016 (3.6T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r2w2e5
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Looks the same as before from the built-in shell
Didn't you write there was a part missing from your first attempt? Anyway, let's dissect this.

1. Your pool consists of two mirror vdevs:
Code:
        zpool                                           ONLINE       0     0 0
          mirror-0                                      ONLINE       0     0 0
            gptid/ba068f52-7ee1-11eb-91bf-0cc47ae69364  ONLINE       0     0 0
            gptid/ba979615-7ee1-11eb-91bf-0cc47ae69364  ONLINE       0     0 0
          mirror-1                                      ONLINE       0     0 0
            gptid/ba122cf1-7ee1-11eb-91bf-0cc47ae69364  ONLINE       0     0 0
            gptid/ba8b6cfe-7ee1-11eb-91bf-0cc47ae69364  ONLINE       0     0 0


The first mirror is
  • ada1p2
  • ada2p2
The second
  • ada3p2
  • ada4p2
All four disks have a size of 4000787030016 bytes or 3.6 T in binary units.
All four disks have a 2 G swap partition (p1) at the beginning.
Partition 2 on all four disks is 3998639460352 bytes in size or roughly 3.6 T again.

So nothing wrong with your partitioning or anything in that area.

So if you do a zpool list, what capacity do you see?
 

Netdewt

Explorer
Joined
Jan 19, 2021
Messages
98
Thanks for checking.

Code:
truenas% zpool list
NAME        SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
boot-pool   206G  1.16G   205G        -         -     0%     0%  1.00x    ONLINE  -
zpool      7.25T   800M  7.25T        -         -     0%     0%  1.00x    ONLINE  /mnt
 

Netdewt

Explorer
Joined
Jan 19, 2021
Messages
98
Why did you run this code? Did someone tell you to do it? Do you know what it does? You probably created a file called "ada1" (not smart) that was 1 MB that contained "0" (zeros). You can destroy the pool again or just delete the one file.

How can I tell if I created something? ada1, 2, 3, 4 are the names of my disks, so I didn't think I was creating files, I thought I was wiping disks. I did this while there were no pools created.

Code:
truenas% ls /dev/
acpi        console        fido        pass5        ttyv1
ada0        consolectl    full        pci        ttyv2
ada0p1        cpuctl0        geom.ctl    pf        ttyv3
ada0p2        cpuctl1        gptid        ptmx        ttyv4
ada0p3        cpuctl2        hpet0        pts        ttyv5
ada1        cpuctl3        input        random        ttyv6
ada1p1        crypto        io        reroot        ttyv7
ada1p2        ctty        iscsi        snp        ttyv8
ada2        cuau0        kbd0        stderr        ttyv9
ada2p1        cuau0.init    kbdmux0        stdin        ttyva
ada2p2        cuau0.lock    klog        stdout        ttyvb
ada3        cuau1        kmem        superio0    ufssuspend
ada3p1        cuau1.init    mdctl        sysmouse    ugen0.1
ada3p2        cuau1.lock    mem        tcp_log        ugen0.2
ada4        cuau2        mirror        ttyu0        uinput
ada4p1        cuau2.init    mlx5ctl        ttyu0.init    urandom
ada4p2        cuau2.lock    netdump        ttyu0.lock    usb
apm        devctl        nfslock        ttyu1        usbctl
apmctl        devctl2        null        ttyu1.init    xpt0
audit        devstat        pass0        ttyu1.lock    zero
auditpipe    dtrace        pass1        ttyu2        zfs
bpf        dumpdev        pass2        ttyu2.init
bpf0        efi        pass3        ttyu2.lock
cam        fd        pass4        ttyv0


Maybe I should be set up as a RAID Z2 anyways though.
 
Last edited:

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Code:
zpool      7.25T   800M  7.25T        -         -     0%     0%  1.00x    ONLINE  /mnt
That's perfectly in line with your raw disk capacity - so what was your problem again? :wink:

RAIDZ2 doesn't give you more capacity, that's for sure. And it tends to have more overhead for files written so in the end you can store even a bit less data.
The other two aspects are a tradeoff. RAIDZ2 is more resilient to disk failure. Two arbitrary disks can fail without data loss. With your current setup one disk from each vdev can fail. Lose the wrong two disks and the pool is gone. OTOH RAIDZ2 gives you less IOPS. So depending on what you want to do with the pool it might be preferrable.
If you want to "just store stuff", i.e. SMB, possibly Nextcloud - I'd pick RAIDZ2.

HTH,
Patrick

Edit: did you possibly create a RAIDZ2 pool in your first attempt? And then saw this output from zpool list? (I use 4 TB drives, too)
Code:
hdd        14.4T  4.73T  9.71T        -         -    14%    32%  1.00x    ONLINE  /mnt

The point is: with RAIDZn those figures are not usable capacity but *raw* capacity. With a mirror you get *usable*. Because ZFS cannot reliably tell how much you will actually be able to store, it reports raw values for RAIDZn ...
 

Netdewt

Explorer
Joined
Jan 19, 2021
Messages
98
Edit: did you possibly create a RAIDZ2 pool in your first attempt? And then saw this output from zpool list? (I use 4 TB drives, too)
Code:
hdd        14.4T  4.73T  9.71T        -         -    14%    32%  1.00x    ONLINE  /mnt

The point is: with RAIDZn those figures are not usable capacity but *raw* capacity. With a mirror you get *usable*. Because ZFS cannot reliably tell how much you will actually be able to store, it reports raw values for RAIDZn ...

That makes sense. I did remake the pools a couple of times in "tinkering". The RAIDZ2 was less than 7TB, but I assumed that was because of some data hiding away that I hadn't deleted.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
The RAIDZ2 was less than 7TB, but I assumed that was because of some data hiding away that I hadn't deleted.
That does not make much sense because with 4 disks of 3.6 T each you should see 7.2 for a pair of mirrors and 14.4 for a RAIDZ2 ...
Possibly you created a mirror of all 4 disks, which would report as 3.6 ...
 

Netdewt

Explorer
Joined
Jan 19, 2021
Messages
98
I want to say it was about 6.7 or 6.8T (weird). The pair of mirrors is 7.2 or so as you say.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
It should report with raw capacity as 14.4.
 

Netdewt

Explorer
Joined
Jan 19, 2021
Messages
98
I deleted the pool and made RAIDz2 again to show you what it says.
 

Attachments

  • Screen Shot 2021-03-08 at 2.49.51 PM.png
    Screen Shot 2021-03-08 at 2.49.51 PM.png
    32.6 KB · Views: 140
  • Screen Shot 2021-03-08 at 2.50.31 PM.png
    Screen Shot 2021-03-08 at 2.50.31 PM.png
    27.9 KB · Views: 129

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Do zpool list and you will see the 14.4 T raw capacity. The UI is lyi^H^H^Hguessing to give the user the best numbers it can estimate.
And it is using zfs list not zpool list figures.
 
Top