I am configuring a gstripe of 2 disks, one of 8TB and another of 4TB, the stripe seems to be created correctly but with reduced size:
When i query the size it reports: 7.3T only ada3 size:
In /var/log/messages I can see the following when gstripe is created:
I tried a dd of 1h before trying to create another time stripe only for beeing sure theres no previously data in disks:
How can I get the full two disk size in my stripe?
By the way, I am not using ZFS because I heard that I would need 1GB of RAM for each TB, so 12TB -> 12GB-RAM and the server is 16GB for OS+7jails +ZFS-root
Code:
odyssey # ~> gstripe label -v st0 /dev/ada2 /dev/ada3
Metadata value stored on /dev/ada2.
warning: /dev/ada3: only 4000787029504 bytes from 8001563221504 bytes used.
Metadata value stored on /dev/ada3.
Done.
Code:
odyssey # ~> gstripe list
Geom name: st0
State: UP
Status: Total=2, Online=2
Type: AUTOMATIC
Stripesize: 65536
ID: 1522304871
Providers:
1. Name: stripe/st0
Mediasize: 8001574010880 (7.3T)
Sectorsize: 512
Stripesize: 65536
Stripeoffset: 0
Mode: r0w0e0
Consumers:
1. Name: ada2
Mediasize: 4000787030016 (3.6T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0
Number: 0
2. Name: ada3
Mediasize: 8001563222016 (7.3T)
Sectorsize: 512
Stripesize: 4096
Stripeoffset: 0
Mode: r0w0e0
Number: 1
Code:
May 25 16:15:40 odyssey kernel: GEOM_STRIPE: Disk ada2 removed from st0.
May 25 16:15:40 odyssey kernel: GEOM_STRIPE: Device stripe/st0 deactivated.
May 25 16:15:40 odyssey kernel: GEOM_STRIPE: Disk ada3 removed from st0.
May 25 16:15:40 odyssey kernel: GEOM_STRIPE: Device st0 destroyed.
May 25 16:15:40 odyssey kernel: GEOM_STRIPE: Device st0 created (id=1522304871).
May 25 16:15:40 odyssey kernel: GEOM_STRIPE: Disk ada2 attached to st0.
May 25 16:15:40 odyssey kernel: GEOM_STRIPE: Disk ada3 attached to st0.
May 25 16:15:40 odyssey kernel: GEOM_STRIPE: Device stripe/st0 activated.
I tried a dd of 1h before trying to create another time stripe only for beeing sure theres no previously data in disks:
Code:
dd if=/dev/zero of=/dev/ada2 bs=10m
dd if=/dev/zero of=/dev/ada3 bs=10m
By the way, I am not using ZFS because I heard that I would need 1GB of RAM for each TB, so 12TB -> 12GB-RAM and the server is 16GB for OS+7jails +ZFS-root