[Discuss] More ZFS Questions

Kent Borg kentborg at borg.org
Sat Aug 20 19:14:08 EDT 2022


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 at 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.




More information about the Discuss mailing list