A
A
Alexander2020-07-06 21:29:03
linux
Alexander, 2020-07-06 21:29:03

ZFS Stripped - How to add a second drive?

At the moment there is 1 physical disk with a capacity of 1 TB. ZFS was created on it.

[email protected]:~# zpool status
  pool: data-zfs
 state: ONLINE
  scan: scrub repaired 0B in 0 days 00:23:07 with 0 errors on Sun Jun 14 00:47:08 2020
config:

        NAME        STATE     READ WRITE CKSUM
        data-zfs    ONLINE       0     0     0
          sdc       ONLINE       0     0     0

errors: No known data errors
[email protected]:~#

[email protected]:~# zpool list
NAME       SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP  DEDUP    HEALTH  ALTROOT
data-zfs   928G  50,4G   878G        -         -     2%     5%  1.00x    ONLINE  -
[email protected]:~#


Connected the second physical disk of exactly the same volume.

I want to merge disks like Stripped (similar to RAID0)
Tell me how to do it right?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2020-07-06
@alterak

Question removed. Through attach, a mirror is added
. It was necessary to add it like this:
zpool add data-zfs /dev/sdd

[email protected]:~# zpool status
  pool: data-zfs
 state: ONLINE
  scan: scrub repaired 0B in 0 days 00:23:07 with 0 errors on Sun Jun 14 00:47:08 2020
config:

        NAME        STATE     READ WRITE CKSUM
        data-zfs    ONLINE       0     0     0
          sdc       ONLINE       0     0     0
          sdd       ONLINE       0     0     0

errors: No known data errors
[email protected]:~#

D
Dmitry, 2020-07-06
@Tabletko

Add another disk to the pool. But I do not recommend doing this, because if at least one disk fails, then the entire pool and the data on it will become unavailable.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question