![]() All the files I'll have in the pool I have local or offsite backups of, I just don't want to serve out corrupt files, or miss the signs that I need to take action. The goal is to know when/if a drive or the pool is having any integrity errors since I have this odd fear that if a file is corrupted, it gets mirrored and that's it. So far I've been using zpool status and zdb and trying to grok their man pages but as I do that I'm wondering if there are other tools and commands I've missed in looking. I've been looking for how I can monitor the health of this pool, preferrably over SSH/CLI but I tend to keep finding web/GUI recommendations and systems like Proxmox, and I'm sure they're great, and something for my future, but right now I'm trying to understand some ZFS nuts and bolts on the command line. 2) allow the zabbix user to run 'zpool' and 'zfs' commands this is done by copying the 'zabbixsudo' file under /etc/sudoers.d directory 3) import the zbxexporttemplate. The smartmontools package comes with two utilities, smartctl which you can use to check your hard drives on the command line, and smartd, a daemon that checks. I'm new to ZFS, having previously used simple drive and LVM setups with rsynch for psudo-mirroring before on Linux. ![]() The -f is there are the disks are dissimilar sizes, so I get the smaller size, and that's fine right now. So how much RAM do you need, you can use the zdb command to check. Sudo zpool create -f zfs-alpha mirror /dev/sdb /dev/sdc raidz/raidz1 - minimum of 3 devices (one parity disk), you can suffer a one disk loss. ![]() On Ubuntu Server 20.04.3 I've created a 2 disk ZFS pool using the following from the Ubuntu page: Monit is particularly useful for monitoring daemon processes, such as those started at system boot. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |