More ZFS questions, if I may.

Is this a sensible command to make a two-disk mirror?

  # zpool create mail-mirror  -f -O compression=on mirror sda2 sdb2

Am I violating some basic dictate by not doing whole disk? Am I doing anything else wrong there?

Because after I did this, I started a torture test:

  # rsync -a /usr usr1 &

And I did 8-copies of that (different digit for each).

After a few minutes (before any have finished):

  root@la:/mail-mirror# zpool status
    pool: mail-mirror
   state: DEGRADED
  status: One or more devices are faulted in response to persistent errors.
          Sufficient replicas exist for the pool to continue functioning in a
          degraded state.
  action: Replace the faulted device, or use 'zpool clear' to mark the device
          repaired.
  config:

          NAME         STATE     READ WRITE CKSUM
          mail-mirror  DEGRADED     0     0     0
            mirror-0   DEGRADED     0   440     0
              sda2     DEGRADED     0   448     0  too many errors
              sdb2     FAULTED      0    55     0  too many errors

Suggestions?


Thanks,

-kb, the Kent who notes the above is all on a Raspberry Pi 4.


_______________________________________________
Discuss mailing list
[email protected]
http://lists.blu.org/mailman/listinfo/discuss

Reply via email to