首页
学习
活动
专区
圈层
工具
发布

展开zpool
EN

Unix & Linux用户
提问于 2022-09-03 01:28:58
回答 1查看 455关注 0票数 0

你好,我想展开我的vdev,我很困惑我需要什么命令才能这样做。这是我有的东西

代码语言:javascript
复制
  pool: DATA01
 state: ONLINE
  scan: scrub repaired 0B in 0 days 07:43:11 with 0 errors on Sun Aug 14 08:07:15 2022
config:

        NAME                                          STATE     READ WRITE CKSUM
        DATA01                                        ONLINE       0     0     0
          raidz2-0                                    ONLINE       0     0     0
            /dev/sda                                  ONLINE       0     0     0
            /dev/sdb                                  ONLINE       0     0     0
            /dev/sdc                                  ONLINE       0     0     0

这是我想要的(一个额外的驱动器)。

代码语言:javascript
复制
  pool: DATA01
 state: ONLINE
  scan: scrub repaired 0B in 0 days 07:43:11 with 0 errors on Sun Aug 14 08:07:15 2022
config:

        NAME                                          STATE     READ WRITE CKSUM
        DATA01                                        ONLINE       0     0     0
          raidz2-0                                    ONLINE       0     0     0
            /dev/sda                                  ONLINE       0     0     0
            /dev/sdb                                  ONLINE       0     0     0
            /dev/sdc                                  ONLINE       0     0     0
            /dev/sdd                                  ONLINE       0     0     0

add命令似乎只用于创建新的vdevs,例如raidz2-1,附加命令似乎只用于镜像。

提前谢谢。

代码语言:javascript
复制
     zpool add [-fgLnP] [-o property=value] pool vdev...
             Adds the specified virtual devices to the given pool.  The vdev specification is described in the Virtual Devices section.  The behavior of the -f option, and the de‐
             vice checks performed are described in the zpool create subcommand.

     zpool attach [-f] [-o property=value] pool device new_device
             Attaches new_device to the existing device.  The existing device cannot be part of a raidz configuration.  If device is not currently part of a mirrored configuration,
             device automatically transforms into a two-way mirror of device and new_device.  If device is part of a two-way mirror, attaching new_device creates a three-way mir‐
             ror, and so on.  In either case, new_device begins to resilver immediately.
EN

回答 1

Unix & Linux用户

发布于 2022-09-03 02:04:55

页面原文内容由Unix & Linux提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://unix.stackexchange.com/questions/715962

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档