home | airgap | charisma | verve | trail | commitment | discernment | lore
For more info see 'tradition'.
Device | Drive | Model | Commissioned | Sequential | Random | WRL | Temp °C | Data Sheet |
---|---|---|---|---|---|---|---|---|
nvme[01]n1 | Kingston NV2 PCIe 4.0 NVMe SSD 2TB | KINGSTON SNV2S2000G | 2023-05-28 | 3,500MB/s read; 2,800MB/s write | 640 TBW | 0°C to 70°C | online | |
nvme2n1 | Samsung 960 EVO NVMe M.2 SSD 1TB | Samsung SSD 960 EVO 1TB | 2017-04-18 | 1,276 MB/s | 80 MB/s | 400 TBW | 0°C to 70°C | online |
sd[ab] | Samsung 850 PRO SATA III 2.5inch SSD 512GB | Samsung SSD 850 | 2017-04-18 | 407 MB/s | 57 MB/s | 150 TBW | 0°C to 70°C | online |
sdc | Seagate IronWolf 6TB | ST6000VN001 | 2023-02-21 | 186 MB/s | 2 MB/s | 180 TB/yr | 5°C to 70°C | download |
sdd | Seagate BarraCuda Compute 6TB | ST6000DM003-2CY186 | 2022-09-16 | 102 MB/s | 2.29 MB/s | 55 TB/yr | 0°C to 60°C | download |
sde | Seagate IronWolf 6TB | ST6000VN0041-2EL11C | 2017-04-18 | 186 MB/s | 2 MB/s | 180 TB/yr | 5°C to 70°C | download |
Note: all MD RAID devices are used with a single partition.
Device | RAID | Components | Capacity |
---|---|---|---|
/dev/md0 | RAID1 | 2x 2GB | 2GB |
/dev/md1 | RAID1 | 2x 150GB | 150GB |
Partition | Capacity | File-system | Mount point | Mount options |
---|---|---|---|---|
/dev/sd[ab]1 | 1GB | EFI System | /boot/efi | defaults |
/dev/md0p1 | 2GB | ext4 | /boot | noatime |
/dev/md1p1 | 150GB | ext4 | / | noatime |
Pool | RAID | Components | Capacity |
---|---|---|---|
fast | RAID1 | 2x 325GB | 325GB |
safe | RAID1 | 2x 2TB | 2TB |
data | RAIDZ | 3x 6TB | 12TB |
These are the datasets we create on our zpools.
Dataset | Mount | Compression | Dedup |
---|---|---|---|
fast | /fast | lz4 | on |
fast/home | /home | lz4 | on |
fast/home/jj5 | /home/jj5 | lz4 | on |
fast/session | /var/log/session | zstd | off |
safe | /safe | zstd | on |
safe/vbox | /safe/vbox | zstd | on |
data | /data | zstd | on |
data/archive | /data/archive | zstd | on |
data/backup | /data/backup | zstd | on |
data/blob | /data/blob | zstd | on |
data/copy | /data/copy | zstd | on |
data/home | /data/home | zstd | on |
data/host | /data/host | zstd | on |
data/image | /data/image | off | off |
data/share | /data/share | zstd | on |
Something like this used for creation of 'data' zpool:
#!/bin/bash set -euo pipefail; DISK3A=/dev/disk/by-id/ata-ST6000VN0041-2EL11C_ZA16N4ZH DISK3B=/dev/disk/by-id/ata-ST6000VN001-2BB186_ZR14L0LE DISK3C=/dev/disk/by-id/ata-ST6000DM003-2CY186_WSB076SN zpool create -f \ -O acltype=posixacl -O compression=zstd \ -O dnodesize=auto -O normalization=formD -O atime=off -O dedup=on \ -O xattr=sa \ data raidz ${DISK3A} ${DISK3B} ${DISK3C}
------------------- Mon Aug 14 02:09:34 [bash:5.1.4 jobs:0 error:0 time:4233] root@tradition:/root # cat setup-zfs.sh #!/bin/bash # NOTE: the 'data' zpool from the previous version of 'trick' was imported, but the rest of the ZFS config was done as follows... DISK2A=/dev/disk/by-id/ata-Samsung_SSD_850_PRO_512GB_S2BENWAJ207761X-part5 DISK2B=/dev/disk/by-id/ata-Samsung_SSD_850_PRO_512GB_S2BENWAJ207751D-part5 CACHE1=/dev/disk/by-id/nvme-Samsung_SSD_960_EVO_1TB_S3ETNX0HC08620Y-part1 CACHE2=/dev/disk/by-id/nvme-Samsung_SSD_960_EVO_1TB_S3ETNX0HC08620Y-part2 zpool create -f \ -o ashift=12 -o autotrim=on \ -O acltype=posixacl -O compression=lz4 \ -O dnodesize=auto -O normalization=formD -O atime=off -O dedup=on \ -O xattr=sa \ fast mirror ${DISK2A} ${DISK2B} zpool add fast cache ${CACHE1} zpool add data cache ${CACHE2} zfs create fast/home zfs create fast/home/jj5 zfs create fast/session zfs set dedup=off fast/session zfs set compression=zstd fast/session zfs set mountpoint=/var/log/session fast/session chmod 1777 /var/log/session mv /home /home.bak zfs set mountpoint=/home fast/home shopt -s dotglob; chown jj5:jj5 /home/jj5 mv /home.bak/jj5/* /home/jj5/ rmdir /home.bak/jj5 rmdir /home.bak ------------------- Mon Aug 14 02:09:43 [bash:5.1.4 jobs:0 error:0 time:4242] root@tradition:/root # cat setup-zfs-safe.sh #!/bin/bash DISKA=/dev/disk/by-id/nvme-KINGSTON_SNV2S2000G_50026B768642EFF2 DISKB=/dev/disk/by-id/nvme-KINGSTON_SNV2S2000G_50026B768642EFF4 zpool create -f \ -o ashift=12 -o autotrim=on \ -O acltype=posixacl -O compression=zstd \ -O dnodesize=auto -O normalization=formD -O atime=off -O dedup=on \ -O xattr=sa \ safe mirror ${DISKA} ${DISKB} zfs create safe/vbox -------------------