Given the following output of the zpool status command:
Identify the correct statement regarding pool1’s configuration.
A.
Data written to pool1 will be stripped across four disk components.
B.
The rsdz1-0 and c3t640 components are submirrors of pool1.
C.
Data will only be stripped across the three disks in rsidz configuration.
D.
The configuration is a bug in Solaris 11; it cannot be created by an administrator.
Explanation:
The mirror pool1 (top device) contains the submirrors (sub devices) raidz1-0 and
c3t6d0.
may be A?
If it’s a mirror pool, then a word “mirror” would be presented:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c0t5000C5000A53518Bd0s0 ONLINE 0 0 0
c0t5000C5000A53419Bd0s0 ONLINE 0 0 0
Seems like A is the correct answer.
it is configure RAID 5. and one harddisk is add after create the RAID. so data is save in 4 hard disk but last one hard disk is not redundant.
I go with option A..
The Answer is B
there are 3 disks in a mirror as “raidz”
and there is 1 disk in single mode
pool1 is a stripeset over the raidz-1-mirro and c3t6d0.
you are able to add attach a disk to c3t6d0 to get a miror to the single disk.
It is strange, after testing i think none of the questions are right:
raidz1-0 in pool1 is a 3 disk raidz config (simmilar to raid5)
please see the size below in the test… ( 3 2GB disks together 3.89g )
the fourth disk is then is attached to the pool1 itself, means it is a stripe/concat to the raidz config, so enlarges the space with 2GB as well.
So option [A] could be the most closest answer, because all 4 disks are written, however raidz is not a stripe.
option B is definitely wrong, as the fourth disk is not a submirror.
option C is wrong, please see raidz definition:
http://docs.oracle.com/cd/E19253-01/819-5461/gaynr/index.html
option D is also wrong, as I successfully created it for testing>
root@sol11-ai:~# zpool create pool1 raidz c2t0d0 c2t1d0 c2t2d0
root@sol11-ai:~# zpool status pool1
pool: pool1
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
pool1 ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
c2t0d0 ONLINE 0 0 0
c2t1d0 ONLINE 0 0 0
c2t2d0 ONLINE 0 0 0
errors: No known data errors
root@sol11-ai:~# zfs list pool1
NAME USED AVAIL REFER MOUNTPOINT
pool1 117K 3.89G 34.6K /pool1
root@sol11-ai:~# zpool add -f pool1 c2t3d0
root@sol11-ai:~# zpool status pool1
pool: pool1
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
pool1 ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
c2t0d0 ONLINE 0 0 0
c2t1d0 ONLINE 0 0 0
c2t2d0 ONLINE 0 0 0
c2t3d0 ONLINE 0 0 0
errors: No known data errors
root@sol11-ai:~# zfs list pool1
NAME USED AVAIL REFER MOUNTPOINT
pool1 111K 5.85G 34.6K /pool1
A is correct