Which command would add redundancy to the pool1 storage pool?

Your server has a ZFS storage pool that is configured as follows:

The server has two spate 140-GB disk drives: c3t5d0 c3t6d0
Which command would add redundancy to the pool1 storage pool?

Your server has a ZFS storage pool that is configured as follows:

The server has two spate 140-GB disk drives: c3t5d0 c3t6d0
Which command would add redundancy to the pool1 storage pool?

A.
zpool attach pool1 c3t5d0 c3t6d0

B.
zpool attach pool1 c3t3d0 c3c5d0; zpoo1 attach pool1 c3t4d0 c3t6d0

C.
zpool mirror pool1 c3t5d0 c3t6d0

D.
zpool add pool1 mirror c3t5d0 c3t6d0

E.
zpool add raidz pool1 c3t5d0 c3t6d0

Explanation:
You can convert a non-redundant storage pool into a redundant storage pool by
using the zpool attach command.
Note: zpool attach [-f] pool device new_device
Attaches new_device to an existing zpool 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 mirror, and so on. In either case, new_device begins to
resilver immediately.
Reference: Converting a Non-Redundant ZFS Storage Pool to a Mirrored ZFS Storage Pool
Reference: man zpool



Leave a Reply 9

Your email address will not be published. Required fields are marked *


henry

henry

B is correct

david

david

B is correct of course

Vish

Vish

Hi David,

Have you completed the certification, I need little guidance from you.

Thanks
Vish

John

John

Definitely B. you can only attach to top level devices.

iietam

iietam

Correct B

Example 4–6 Converting a Nonredundant ZFS Storage Pool to a Mirrored ZFS Storage Pool

In addition, you can convert a nonredundant storage pool to a redundant storage pool by using the zpool attach command

Reference
https://docs.oracle.com/cd/E19253-01/819-5461/gayrd/index.html

zpool create tank c0t1d0
# zpool status tank
pool: tank
state: ONLINE
scrub: none requested
config:
NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
c0t1d0 ONLINE 0 0 0

errors: No known data errors
# zpool attach tank c0t1d0 c1t1d0
# zpool status tank
pool: tank
state: ONLINE
scrub: resilver completed after 0h0m with 0 errors on Fri Jan 8 14:28:23 2010
config:

NAME STATE READ WRITE CKSUM
tank ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c0t1d0 ONLINE 0 0 0
c1t1d0 ONLINE 0 0 0 73.5K resilvered

errors: No known data errors

Vish

Vish

B _-Is the right answer