You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/Basic Concepts/VDEVs.rst
+11-8Lines changed: 11 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,25 +1,28 @@
1
+
VDEVs
2
+
=====
3
+
1
4
What is a VDEV?
2
-
===============
5
+
~~~~~~~~~~~~~~~
3
6
4
7
A vdev (virtual device) is a fundamental building block of ZFS storage pools. It represents a logical grouping of physical storage devices, such as hard drives, SSDs, or partitions.
5
8
6
9
What is a leaf vdev?
7
-
====================
10
+
~~~~~~~~~~~~~~~~~~~~
8
11
9
12
A leaf vdev is the most basic type of vdev, which directly corresponds to a physical storage device. It is the endpoint of the storage hierarchy in ZFS.
10
13
11
14
What is a top-level vdev?
12
-
=========================
15
+
~~~~~~~~~~~~~~~~~~~~~~~~~
13
16
14
17
Top-level vdevs are the direct children of the root vdev. They can be single devices or logical groups that aggregate multiple leaf vdevs (like mirrors or RAIDZ groups). ZFS dynamically stripes data across all top-level vdevs in a pool.
15
18
16
19
What is a root vdev?
17
-
====================
20
+
~~~~~~~~~~~~~~~~~~~~
18
21
19
22
The root vdev is the top of the pool hierarchy. It aggregates all top-level vdevs into a single logical storage unit (the pool).
20
23
21
24
What are the different types of vdevs?
22
-
======================================
25
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
23
26
24
27
OpenZFS supports several types of vdevs. Top-level vdevs carry data and provide redundancy:
25
28
@@ -42,7 +45,7 @@ Auxiliary vdevs provide specific functionality:
42
45
* **Dedup**: A vdev dedicated strictly to storing the Deduplication Table (DDT).
43
46
44
47
How do vdevs relate to storage pools?
45
-
=====================================
48
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46
49
47
50
Vdevs are the building blocks of ZFS storage pools. A storage pool (zpool) is created by combining one or more top-level vdevs. The overall performance, capacity, and redundancy of the storage pool depend on the configuration and types of vdevs used.
48
51
@@ -66,7 +69,7 @@ for a pool with two RAIDZ1 top-level vdevs and 10 leaf vdevs:
66
69
/dev/dsk/disk9 (leaf vdev)
67
70
68
71
How does ZFS handle vdev failures?
69
-
==================================
72
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70
73
71
74
ZFS is designed to handle vdev failures gracefully. If a vdev fails, ZFS can continue to operate using the remaining vdevs in the pool,
72
75
provided that the redundancy level of the pool allows for it (e.g., in a mirror, RAIDZ, or dRAID configuration).
@@ -75,7 +78,7 @@ Administrators can `zpool-replace(8) <https://openzfs.github.io/openzfs-docs/man
75
78
the data onto the new vdev to return the pool to a healthy state.
76
79
77
80
How do I manage vdevs in ZFS?
78
-
=============================
81
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
79
82
80
83
Vdevs are managed using the `zpool(8) <https://openzfs.github.io/openzfs-docs/man/master/8/zpool.8.html>`_ command-line utility. Common operations include:
0 commit comments