What is a file system
File systems make it possible to store and retrieve files and containing data into storages like hard disks, optical disks and other types of storages.
OpenSolaris support both legacy file systems like UNIX File System (UFS) and its own file system called Zettabyte File System (ZFS). Following figure show how UFS and other legacy file systems work.
As you can see we can partition each storage device into one or more
volumes with different file systems. For example one hard disk may have
an NTFS volume, a UFS volume and an EXT4 volume.
In contrast with legacy file systems, ZFS uses concept of resource
pooling. In ZFS one or more devices, volumes or files can be combined to
form a pool of storages, hence called zpool. Then file systems are
built on top of this pool. For example we can create a file system
capable of storing a 32 TB file on top of a zpool created on using 16
hard disks, 2 TB each.
What OpenSolaris supported file systems are
OpenSolaris as a pioneer OS for enterprises supports several file
systems in addition to pushing its flagship and unique file system named
ZFS. Each supported file system is either supported because of backward
compatibility or to provide the administrators with a wider range of
choices when it come to formatting the storages.
The UNIX file system (UFS) is the common file system on UNIX like
operating systems.
The Personal Computer File System (PCFS) supports FAT12,
FAT16 and FAT32 formatted disks.
The High Sierra File System (HSFS) allows us to access files on
High Sierra or ISO 9660 format CD-ROM disks.
The Temporary File Storage Facility (TMPFS) provides a temporary
file system in RAM or SWAP space, we can access the file system
as a normal file system but in the background it is stored in memory
instead of persisted storage.
The integration of Storage and Archive Manager and Quick File
System (SAM-QFS) is provided so we can have access to a clustered
archiving solution in OpenSolaris.
ZFS is the flagship file system of OpenSolaris. The file system is a
combination of file system and logical volume manager. Some of the ZFS
highly steamed features are discussed below.
ZFS unique features
ZFS is a unique file system which addresses all concerns in the
enterprise data centers. We will discuss these features in this section.
Storage pools
ZFS file systems are built on top of storage pools which are built on
top of a group of virtual devices. A virtual device can vary from an
entire hard drive down to a file.
Capacity
ZFS is a 128-bit file system which can store 1.84 × 10^19^ times more
data than current 64-bit systems.
Copy-on-write transactional model
No data get overwritten when updated and instead new data will be wrote
in separate blocks and then the pointers pointing to old data will be
changed to point to new blocks. Multiple write operation can be grouped
together to enhance the performance.
Snapshots
ZFS does not overwrite the data when they are changed; this feature is
used to keep snapshots of file system for later user.
Clones
A clone is a writeable snapshot which its block content changes when
a block is changed in another clone.
Deduplication
Deduplication is a file system level compression method in which
redundant data is eliminated. For example in a typical enterprise mail
server one email attachment may find its way into hundreds of users mail
boxes, Deduplication will store the actual file once and all other
instance of the file are referenced to the same actual file.
We use a console to study all commands discussed in this chapter. So
before we can execute any of these commands we should be in terminal
environment. To activate the terminal environment we can:
Hit ALT+F2 to summon the run window and then type console to open a
console window
Press ALT+CTRL+F2 to switch the workspace to another terminal and use it
to practice the command.
1.Using basic file system commands
OpenSolaris supports multiple file systems but to access all of them we
need to know how to use some basic commands. Following table includes
these basic commands along with their descriptions and samples showing
how we can use them.
Getting ready
We will study some of the very basic file system commands in this
recipe. The commands need to be invoked in the terminal window. To enter
the terminal window Hit ALT+F2 to summon the run window and then type
console to open a console window.
How to do it…
We have some basic commands which we should know to deal with the file
system in a console. Some of these commands are introduced in the
following table.
Command |
Sample |
cd |
We can change the current directory using cd command. For example
:
cd /home/masoud: switch the current directory to /home/masoud
cd ..: switch one level up from the current directory. |
ls |
We can use this command to get a list of directories and files.
It works similar to ls in Linux or dir in MS-DOS. For example:
ls: shows the list of all files and directories except hidden
ones.
ls -al: shows the list of all files and directories along with
detailed permissions and creation dates.
ls -al /home: shows content of the given path as explained
above. |
mkdir |
We can create new directories using mkdir command anywhere we
have write permission. For example:
mkdir safe: will create a directory named safe inside the current
directory.
mkdir -p /home/masoud/safe/personal/cash: When using -p it creates
all directories required to form the mentioned path. |
How it works..
All commands introduced in this recipe rely on the metada stored for the
file system to perform its job. For example the ls command checks the
metadata available for the path in question to show content of the given
path.
There's more..
We can get a short or long help for any command in OpenSolaris using the
commands help messages or the provided man pages.
Viewing the help message for a command
We can pass --help parameter to almost any command in OpenSolaris to
see a short help message including usage syntax and list of options
along with their descriptions. For example:
Viewing extensive manual of a command
We can see complete and extensive manual pages for any command in
OpenSolaris by passing the command name to man command. For example to
view the man pages for mkdir we can use the following command:
Some other commands to review
Following list includes some other commands which we need to know.
Command to copy files and directories: cp
Command to delete file and directories: rm
Command to move or rename files and directories: mv
In this task we will learn how we can format and label disks prior to
creating a file system on them.
Getting ready
When we attach a disk to an OpenSolaris machine OpenSolaris will
assign a name to disk and its partitions or slices.
All disks have assigned names under /dev/dsk and /dev/rdsk which lets us
access the disk at block level in the first name and at bye
level using the second name. The byte level access method is also
called raw access method.
The disks names are usually compatible with C#T#D#S# or C#T#D#P#. The C
stands for controller and the number part is a hex number like 4 or F4.
A SATA connector on the mother board is sample of a controller. The
T which is optional stands for target, the D stands for disk and the
number after it points to one of the disks attached to the controller
and the digit after S or P point to the slice number or the partition
number. If the partition is from Solaris type we call it slice and its
identifier is S# while if the partition is non-Solaris it will be
identified with the P#
How to do it..
We can use format and fdisk commands to format and label the disks prior
to using them. We will discuss format command as it also includes fdisk.
To enter into the format command shell we should invoke format command
in a console which will open the format shell. The initial screen as we
can see in the following figure shows currently attached disks and
allows us to select which disk we want to operate on.
I have two hard disks connected to SATA controller and one to IDE
controller. We can enter 1 and the list of available commands appears
which is as shown in the following figure:
The partition, format and fdisk are most common operations which we
usually use. Typing each one of them opens another set of options which
we can choose to commence with the operation.
Instead of typing the complete command name, we can just enter its first
character. For example we can quit from format shell to operating system
shell or get back to format shell from its subcommands using q instead
of quit.
If we select a brand new disk in the format menu, the format command
informs us that the disk has no partition and we need to use fdisk
command to create some partitions before proceeding. To use fdisk we
just need to enter fdisk subcommand and create partitions as we need or
accept the default partitioning which fdisk command suggest. The default
partitioning will create one Solaris2 partition occupying the entire
disk.
Creating a Solaris2 partition
We can create a Solaris 2 partition using the following steps in format
shell:
Enter disk command and then select 1 to operate on c9t0d0
Enter fdisk command and when it asked whether we want to use the default
partition select y so it create one Solaris2 partition occupying the
whole disk.
Creating a FAT32 partition
Now let's create a FAT32 partition in the second disk using the
following steps in the format shell:
Enter disk command and then select 2 to operate on c9t1d0
Enter fdisk command and when it asked whether we want to use the default
partition select n so it will enter the fdisk subcommand shell.
When asked for selection enter 1 to create a new partitioning
When asked for the partition type enter C to create a FAT32 partition
When asked for size, enter 100 to use the whole disk capacity
Enter y to activate the partition
Now that the partition creation is complete enter 5 to apply the changes
and exit fdisk shell.
Now quit the format shell by entering q command.
After creating the partitions we need to apply a file system on them
before actually using them. To apply the file system on Solaris slice we
can use newfs command as follow.
1
|
\# newfs /dev/rdsk/c9t0d0s2
|
And to apply the file system on the FAT32 partition we can use the mkfs
with some additional parameters as follow:
1
|
\# mkfs -F pcfs -o fat=32 /dev/rdsk/c9t1d0p0:c
|
We can use format and fdisk commands to partition a removable media like
a memory card or a thumb drive. For more information and detailed
instructions check
http://docs.sun.com/app/docs/doc/817-5093/gafmj?a=view
Growing a UFS
We can use growfs command to change a UFS size provided that when
creating the file system we use the -T option with newfs command.
How it works..
When we create a partition in a disk, the layout we specified will be
stored in the partition table area of the hard disk located in the
beginning of the disk. The partition table contains all information like
partition type, and its size which we specify when we create the
partition. A good place to learn more about partitioning in general is
http://en.wikipedia.org/wiki/Disk_partitioning
See also
In the next recipe we will learn how we can mount and put the partitions
we created here in use.
3. Mounting and unmounting file systems
Before we can use a file system we should mount the slices or
partitions we created in the operating system. When we mount a partition
or a slice we are making it accessible trough a directory which it is
mounted to and we unmount the file system we are just detaching the
file system from OS.
Getting ready
In previous recipes we create two partitions and applied a file system
on each one of them. In this recipe we will mount them to some
directories and start using them. To mount a file system we need a
mount point. A mount point is a directory which we use it to access
the mounted file system. So let’s create the mount point before mounting
the partitions.
1
|
\# mkdir /mnt/fat /mnt/sol
|
This command creates two directories named fat and sol inside the /mnt
directory.
How to do it..
To mount the Solaris2 partition we created in previous recipe we can use
the mount command as follow:
1
|
\# mount /dev/dsk/c9t0d0s2 /mnt/sol
|
This command mounts the Solaris2 slice to /mnt/sol and we can create
files and directories inside it using its mount point. For example:
1
|
\# mkdir /mnt/sol/sample
|
If we get the list of /mnt/sol/ we will see something like the following
figure.
Mounting the FAT32 partition is a bit trickier than Solaris2 partition
as you can see in the command below which mounts the FAT32 partition we
created before to /mnt/fat.
1
|
\# mount -F pcfs /dev/dsk/c9t1d0p1 /mnt/fat
|
As you can see we are passing the file system using -F parameter to let
the command know which file system is applied on the partition. Using
the following command we can create a text file containing “Hello FAT32
Partition” inside the FAT32 partition.
1
|
\# echo Hello FAT32 Partition \> /mnt/fat/sample.txt
|
We can check partition content using the ls command as we used for
Solaris2 partition.
When we no longer need the file system or we want to take it down for
other operations like checking the file system or moving the drive we
can use umount command to detach the file system from the operating
system.
The umount command operates both on the device name like
/dev/dsk/c9t1d0p1 and on the mount point like /mnt/fat. For example to
unmount the FAT32 partition we can use the following command
We can not use the umount or mount command when the file system is busy,
for example when an application like terminal is accessing the file
system or just has a path inside that file system open.
How it works..
When we mount a partition, we are asking the operating system’s file
system to allow us access the content of the mounted partition through
the directory we specified as the mount point. Operating system forward
any changes we made to that mount point into the underlying partition
There's more..
Mounted file systems using mount command stays mounted for the period of
the current operating system session and will not persist the system
reboot and after each reboot we will need to mount them again.
We can define the mount points in the mount table inside the
/etc/vfstab file to let OpenSolaris pick them an execute them. Each row
of the mount table represents one mount command. The /etc/vfstab is a
plain text file with the following format.
device device mount FS fsck mount mount
to mount to fsck point type pass at boot options
An example row for the mount table to mount our FAT32 partition is as
follow:
/dev/dsk/c9t1d0p1 /dev/rdsk/c9t1d0p1 /mnt/fat pcfs 5 yes -
Let's see description of each field in the sample row of mount table.
The block device name to mount.
The raw device name to be used by fsck to check the disk.
The mount point to mount the device.
The file system type to mount the device under it.
Whether the file system should be checked at startup or not.
Whether to mount the device at boot or not.
Additional options for mounting. Options like enforcing a read-only
mount, enabling logging and so on. We applied no option.
Using fuser to see who is accessing a file system
We can use fuser command to check which process is accessing the file
system. This command comes handy when we want to unmount a device and
umount throw us an error saying the device is busy. For example to check
which process is using the /mnt/fat we can use the following command.
1
|
\# fuser /dev/dsk/c9t1d0p1
|
The above command results in something similar to the following figure
if we have, for example a terminal window at /mnt/fat
we will discuss fuser and pfiles, which gives us more details about who
is using what part of the file system, in more details in chapter.
Mount options
Following table shows important options we can use with mount command or
in the mount table.
Options |
Description |
nologging |
Disable the metadata operation logging. |
noatime |
Disable recording files access time. |
quota |
Enable disk space usage quotas. |
forcedirectio |
Force I/O requests to bypass the file system cache and therefore the operation can be faster for application with internal caches like Oracle and MySQL databases |
## See also
More information about the mount and umount commands is available in
their man pages. And for the mount table we can refer to its official
document at http://docs.sun.com/app/docs/doc/805-7228/6j6q7uev3?a=view
4. Monitoring UFS
Monitoring is an integral part of all enterprise level activities and
software and hardware systems are not an exception. OpenSolaris provide
several utilities for monitoring the file system activities.
Getting ready
Following three commands are provided to monitor and check status of the
file system.
The df command report file system disk space usage.
The du command summarizes disk usage of each directory recursively
including the size of included files.
The fsstat command reports kernel file operation activity by the file
system type or by the mount point.
How to do it..
To view the amount of disk usage and free space on each disk (mount
point) we can use the following command:
The result of using the command is shown in the following figure.
To view how much space each file and directory occupied we can use the
du command. For example to see how much space is used by
/export/home/masoud/Documents and its subdirectories and files we can
use the following command.
1
|
\# du -ah /export/home/masoud/Documents/
|
The command result is something like the following figure.
We can use -b parameter to make the command show the size in bytes
instead of wrapping it based on the block size. Another useful parameter
is -s which summarizes the space consumption for the directory.
Another monitoring command which we will discuss is fsstate which can
show live statistics about file system usage. For example to see default
monitoring factors for / mount point we can use the following command.
This command shows the statistics for 200 times and gathers the sampling
data each 5 second. A sample output is like the following figure.
In the resulting statistics we can see how many new files are created in
the sample period, how many calls for getting and setting attributes
placed, how many look-up, read, write, etc operations are performed.
How it works..
Commands that collect and shows statistics about the file systems uses
multiple sources for the statistics they show including the operating
system internal messages, the file system read-only properties and
calculation they make to provide the users with sensible information.
There's more..
There are plenty of options which we can use to customise the result of
each monitoring command. To available options and their usages are
included in the man pages and short help of each command.
There is another monitoring command we can use for monitoring IO
operations called iostat. More information about iostat is available in
its man pages.
5. Backing up and restoring UFS
In previous recipe we saw how we can create, mount and monitor UFS
partitions and file systems. In this recipe we will learn how to backup,
and restore a UFS.
Getting ready
The command we use to create a backup is ufsdump and ufsrestore. These
two commands can create a dump of a UFS like /mnt/sol and then restore
it when required. We should backup a file system when it is not mounted
or mounted in read-only mode to ensure that during the dump operation no
file has changed.
Prior to starting this recipe I copied some files into the UFS slice to
make the backup and restore operations more sensible.
How to do it..
The ufsdump create backup of the file system. The dump can be an
incremental dump only containing files changed after the previous dump
or it can be a full dump containing all files. We can dump the file
system into tapes or we can dump it into a binary file understandable
for restore command. Following syntax shows how we can use ufsdump
command.
1
|
ufsdump \[options\] \[list of arguments\] files_to_dump
|
In this command schema:
The options are a single string of one-letter ufsdump options, some of
important options are listed in this recipe table.
The arguments may be multiple strings whose association with the options
is determined by order. That is, the first argument goes with the first
option that takes an argument and so on. An example of arguments is the
-f parameter argument which specifies where to dump into.
The files_to_dump is required and must be the last argument on the
command line.
For example we can create a full dump of a Solaris2 file system located
on /dev/dsk/c9t0d0s2 and store it the FAT32 partition we mounted in
/mnt/fat using the following command.
1
|
\# ufsdump 0fu /mnt/fat/dumped_here /dev/dsk/c9t0d0s2
|
The ufsdump command creates the dumps inside the /dev/rmt/# when no dump
file is specified using the f option. Following figure shows the sample
output of this command.
Important list of options is shown in the following table.
Option |
Description |
0-9 |
Specify the dump level. Level 0 means a full dump while other numbers means incremental dump after the previous level. For example if we have a dump level 1 created on Friday, a dump level 1 on Monday will dump all changes happened between Friday and Monday. |
f |
Specify the file which we want to dump the dump files into it. This option need a argument in the argument list |
u |
Update the dump record. Add an entry to the file /etc/dumpdates, for each file system successfully dumped. |
v |
Verify the dump after created to ensure its integrity. |
c |
Set the defaults for cartridge instead of the standard half-inch reel |
L |
Sets the tape label to string, instead of the default value which is none. This option needs a string argument in the arguments list. |
The ufsdump command creates the dumps inside the /dev/rmt/# when no dump
file is specified using the f option.
Now to restore the dump we have just created we can use the ufsrestore
command. The ufsrestore command works in interactive and headless mode.
In the interactive mode it walk us through the procedure step by step
and let us view a dump file content and select what to restore. An
example of using the ufsrestore in interactive more is shown in the
following figure.
As you can see in the figure we can use some common commands like ls,
add, and extract in the ufsrestore shell to get the content list, add
our selected files to list of extractees and then extract them into the
current working directory using the extract command of the ufsrestore
shell. The following table explains the options used with the ufsrestore
command above.
To use the ufsrestore in the headless mode we should use the following
syntax.
1
|
ufsrestore \[options\] \[space separated arguments\] what_to_restore
|
In this schema we have:
The dump_file argument is path to the file we want to restore a file
system content using it, for example /mnt/fat/dump_fileImportant.
The what_to_restore argument is a path pointing to a directory or a file
inside the dump file.
The important options available to the ufsrestore command are included
in the following table.
Option |
Description |
i |
Enter the interactive shell of the ufsrestore command |
f |
Path to the dump file. The option need the file name to be passed in the argument list |
x |
Extract the named files into the current directory. For example if the named file is directory, the ufsrestore will restore that directory and its contents into the current working directory. |
r |
Extract the dump content recursively into the current working directory. |
Current working directory is where we are executing the command from.
For example if we issue cd /export/home then current working directory
changes to /export/home. To find the current working directory we can
use pwd command.
Following command restores the entire dump file into the current
directory.
1
|
\# ufsrestore -rf /mnt/fat/dump_file
|
Other alternatives to ufsdump and ufsrestore
There are some file system independent commands which we can use to
create backup of a file system and then restore it. Some of these
commands are as follow. The ufsdump command has its advantages like
creating incremental backup, support for reels and so on over these
commands.
The tar command is a no compression achiever which can archive a file
system.
The cpio command similar to tar but with capabilities like sending the
archive stream to a remove machine and support for different archive
formats.
The pax command is a combination of tar and cpio capabilities.
The dd command is a low level coping command.
Creating snapshot of a UFS
We can use fssnap to create snapshot of a UFS. The created snapshot is
read-only and won’t sustain a restart. We usually use these snapshots
for creating backup of the mounted file systems.
How it works..
The ufsdump performs the dumping task by scanning the requested file
system path and creating a list of its content and writing the list into
the specified media. Then it goes through the list and read each file
addressed in the list and store its content in the specified media.
Similarly the ufsrestore read the list, creates the directory layout and
write the file contents into the media specified as restore target.
See also
In addition to man pages we can learn more the ufsdump and ufsrestore
commands in their reference documents available at
http://docs.sun.com/app/docs/doc/817-3814/6mjcp0r5h?a=view
6. Checking UFS for errors
UFS like any other file system can get corrupted in the block level. We
can find the UFS corruptions and to some extend recover from those
corruptions or prevent them from happening.
Getting ready
In this recipe we will mostly focus on using fsck command to check a
disk and repair the damage if possible. I assume that we have some UFS
partition like /dev/rdsk/c9t0d0s2 in our disposal to study on.
How to do it..
The fsck command works on raw devices, we discussed raw and block
devices in the Formatting and Labelling recipe, so we should use the raw
name of a device to check for errors.
As you remember from the Mounting and unmounting recipe of this chapter,
OpenSolaris check the file systems for error on start-up if configured.
That checking option kicks tart the fsck command when necessary.
We should not run this command periodically nor should we execute in on
a mounted file system. More importantly, we should not use this command
on extra large disks as it may take days to complete.
Following command checks the /dev/rdsk/c9t0d0s2 and interactively asks
for our permission to perform sensitive operations.
1
|
\# fsck /dev/rdsk/c9t0d0s2
|
As you can see in the above command we passed the raw device instead of
the block device name to this command.
How it works..
UFS uses several mechanism to prevent and recover from corruptions, such
as logging which we discussed in Mounting and unmounting recipe. The
fsck uses the output of these mechanism to check and if required try to
fix the file system.
There's more..
We can try the man page and view the short help message to find more
about this utility using the following commands.
1
2
3
|
\# man fsck
\# fsck \--help
|
7. Specifying disk quotas on UFSs
Like any other advanced file system supports space quota meaning that we
can specify a space usage limitation for users on each file system.
The disk usage limitation can be enforced for a single user or a group
of users over any UFS like /mnt/sol. We can enforce the limitation over
number of consumed blocks and Inodes.
Each block, depending on its size, can contain 4 KB, 16 KB or any value
specified during the file system creation. So, limiting the number of
blocks limits the amount of data which can be stored in the file system.
Each Inode contains a reference to a file or a directory in the file
system. Limiting number of Inodes limits the number of files and
directories which can be created.
Before we get down to the business, we should understand basics that the
disk quota operates on. Following three terms explains these basics.
Soft limit: maximum amount of disk space that a user or a group of
users can use. The disk usage by the user or the group can be exceeded
for a certain amount of time. This amount of time is called Grace
Period.
Grace Period: A period of time which the soft limit may stay exceeded by
a user or a group of users. The grace period can be specified in
seconds, minutes, hours, days, weeks, or months. This period of time let
the user to get below the soft limit.
Hard limit: Specifies a hard limit for the user or group disk usage.
This limitation cannot be exceeded in the Grace Period.
For each quota we specify one line of information is recorded in the
quotas file with the following structure.
Getting ready
Each file system needs to have a file named quotas owned by root in the
top level. We use edauota command to edit this file and include the
quota for users and groups of of the system.
By default OpenSolaris will use vi to open the quotas file for editing
but vi may not be a convenient editor for new users. We can change the
default editor of the system by changing the value of EDITOR environment
variable by using the following command:
This command change the default editor to
gedit which is the default
OpenSolaris desktop editor.
How to do it..
Assuming that we want to define quota over /mnt/sol for a a user named
masoud we need the following steps:
Create the quotas file in the root of /mnt/sol
1
|
\# touch /mnt/sol/quotas
|
Changing the ownership of the file to root
1
|
\# chmod 0600 /mnt/sol/quotas
|
Specifying the quota using edquota command using the following command.
When we execute the above command, gedit window opens with content
similar to the following figure.
To change the quota values, we just need to change the numbers and press
CTRL+S to save the file and exit gedit.
After specifying the quotas we should turn quotas on if we have not
turned it on using the mount table. Following commands turn quotas on
for the given file system.
To turn off the quota for a file system we can use the following
command.
Now we can get report on quotas using the quota and repquota commands.
For example to check quota for masoud on current file system we can use
the following command:
Output for this command can be similar to the following figure.
To enable the quotas for a file system permanently, persistent across
reboot, we can use the mount table options. For example we can add the
following line to mount table by editor /etv/vfstab to enable quota for
the /mnt/sol
1
|
/dev/dsk/c9t0d0s2 /dev/rdsk/c9t0d0s2 /mnt/sol ufs 5 yes rq
|
We used the last column which specifies mount options to enable quota
for this file system.
How it works..
When we enable the quotas for a file system, Operating system consult
the quota definitions before storing anything in the file system to see
whether the user has the right to write some data into the disk
according to his disk usage or not.
There's more..
Varieties of commands are available to get more out of quotas. We
discuss some of these commends here.
Other quotas reporting commands
We can use repquota to view the quota details for a file system. For
example to get detailed report on /mnt/sol file system quotas we can use
the following command.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
|
\# repquota /mnt/sol
Or to view quota information for all users for all file systems we can
use the following command.
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="se">\#</span> repquota -av</span></span></code></pre></td></tr></table>
</div>
</div>
### Specifying quotas for group of users or multiple users
### Specifying the grace period
We can use edquota to specify the grace period for each user. To open
the quota editor for grace period we can use the following command.
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="se">\#</span> edquota -t masoud</span></span></code></pre></td></tr></table>
</div>
</div>
In the editor we just need to specify two numbers for the grace period
of blocks and inodes.
## See also
Looking at the quota, quotaon, repquota, quotacheck, quotaoff man pages
can increase our understanding of quotas in general and these commands
in particular. We can also check UFS management documentation located at
http://docs.sun.com/app/docs/doc/817-0403/sysresquotas-97946?a=view
# 8. Getting list of ZFS pools
In the introduction section of this chapter we said that all ZFS file
systems are build on top of storage pools. So, to work with ZFS, the
first thing to lean is storage pools. In this recipe we will learn how
to get information about available storage pools using zpool command.
## Getting ready
In this recipe we will work on viewing the available zpools, you may
find that the result of my commands are different than what you will see
in your console, this difference can be caused by the fact that I have
more than one pool created while you may only have the rpool which is
created when installing OpenSolaris.
## How to do it..
Following command shows a list of available pools in the system along
with their basic properties\' values.
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="se">\#</span> zpool list</span></span></code></pre></td></tr></table>
</div>
</div>
The result for the executing the command can be similar to the following
figure.
![](post-img/3180_02_14.png)
The list subcommand can show one or more specific pool\'s properties
when we pass them as its arguments. For example to see information about
rpool we can use the following command.
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="se">\#</span> zpool list rpool</span></span></code></pre></td></tr></table>
</div>
</div>
Each pool has some more specific attributes which we can view or edit
their values using zpool list command. For example the following command
will show values for the given listed properties of rpool.
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="se">\#</span> zpool list -o available,health,size,used,failmode rpool</span></span></code></pre></td></tr></table>
</div>
</div>
The above command can result can be similar to the following figure.
![](post-img/3180_02_15.png)
The complete list of a zpool properties other than what we can see when
we get the pool list is shown in the following table. These properties
are editable in contrast with what we can see using the list subcommand.
<table>
<tr>
<td>Property</td>
<td>Description</td>
</tr>
<tr>
<td>altroot</td>
<td>ZFS datasets mounts under this directory by default.</td>
</tr>
<tr>
<td>autoreplace</td>
<td>Specifies whether ZFS can replace the devices automatically or not.</td>
</tr>
<tr>
<td>bootfs</td>
<td>Specifies the bootable dataset in this pool</td>
</tr>
<tr>
<td>cachefile</td>
<td>Specifies the file used to cache the pool information.</td>
</tr>
<tr>
<td>delegation</td>
<td>Specifies the dataset delegation possibility for this pool.</td>
</tr>
<tr>
<td>failmode</td>
<td>Specifies the system reaction to failure</td>
</tr>
<tr>
<td>listsnapshots</td>
<td>Specifies whether the snapshot list should be visible in when we view zpool status or not.</td>
</tr>
<tr>
<td>version</td>
<td>Specifies the ZFS version string</td>
</tr>
<tr>
<td>dedup</td>
<td>Specifies whether deduplication is enabled or not.</td>
</tr>
</table>
More information about these priperties is available at
http://docs.sun.com/app/docs/doc/819-5461/gfifk?a=view
In addition to using the list subcommand, we can use set and get sub
commands to get values for one or more of there properties or to set
their values.
For example to get value of all properties for rpool we can use the
following command.
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="se">\#</span> zpool get all rpool</span></span></code></pre></td></tr></table>
</div>
</div>
The above command result is shown in the following figure.
![](post-img/3180_02_16.png)
### Using status subcommand
We can use status subcommand to view status of one or more pool. For
example to view status information of all available pools we can use the
following command
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="se">\#</span> zpool status</span></span></code></pre></td></tr></table>
</div>
</div>
To view status of mpool and rpool we can use the following command
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="se">\#</span> zpool status mpool rpool</span></span></code></pre></td></tr></table>
</div>
</div>
### Using set subcommand to change properties\' values
We can change a pool editable properties using set subcommand of zpool.
For example to turn on the deduplication on mpool we can use the
following command
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="se">\#</span> zpool <span class="nb">set</span> <span class="nv">dedup</span><span class="o">=</span>on mpool</span></span></code></pre></td></tr></table>
</div>
</div>
## How it works..
The zpool command manipulates the ZFS metadata stored in the /etc/zfs
and we usually do not play with this file unless absolutely necessary.
When the OS is booting it reads the configuration from this directory
and provides the ZFS with it to configure the file system layout.
## See also
More information about zpool command is available in its man pages.
# 9. Creating and destroying a ZFS pool
We can use the zpool command to create or destroy a ZFS pool. A pool can
be created on top of one or more devices like a raw hard disk, a
formatted slice or partition and so on.
## Getting ready
In the second recipe of this chapter we saw that our machine has two
hard disk attached to it, we will use those disks during this recipe to
demonstrate how to create and destroy ZFS pools.
## How to create a pool..
Creating pools is possible using the create subcommand of zpool command.
The syntax for this command considering only important options and
arguments is as follow
zpool create -o property_name=value -m mount_point pool_name
list_of_devices_to_use
For example to create a pool using both of our available disks and
assign it a custom mount point we can use the following command
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="se">\#</span> create -m /mnt/fpool fpool c9t0d0 c9t1d0</span></span></code></pre></td></tr></table>
</div>
</div>
A new pool will be created on top of both c9t0d0 and c9t1d0 devices. As
we used the -m option, the new pool mounts under /mnt/fpool instead of
the default mount point follow the /pool_name syntax. Without using the
-m /mnt/fpool our pool mounts as /fpool. Following figure shows the
mount point and status of the newly created pool.
![](post-img/3180_02_17.png)
Expanding a ZFS pool
We can **expand** a pool using add subcommand of the zpool command. For
example if we need to add another 2TB disk named /dev/dsk/c9t4d0 to
fpool we can use the following command.
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="se">\#</span> zpool add fpool /dev/dsk/c9t4d0</span></span></code></pre></td></tr></table>
</div>
</div>
This will immediately add the space to the pool right after the command
executed successfully.
## How to destroy a pool..
Destroying a pool is as simple as executing one single command. For
example to destroy fpool we can use the following command
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="se">\#</span> zpool destroy -f fpool</span></span></code></pre></td></tr></table>
</div>
</div>
When we create a pool with a custom mount point, the mount point we used
will remain after destroying the pool. For example in our case the
/mnt/fpool directory remains after destroying the fpool itself. When we
use default mount points, zpool command remove the mount point after
destroying the pool.
## How it works..
When we create or destroy a pool, ZFS checks the parameters we assigned
and changes the metadata associated with ZFS pools located at /etc/zfs
to include the new zpool in the file system layout or to remove the pool
from the file system layout.
## See also
In the next recipe we will lean mirroring ZFS pool underlying devices.
# 10. Mirroring in ZFS pools
In this recipe we will study ZFS **mirroring**. We will learn how to add
mirroring capabilities to a pool after the pool is created or during the
pool creation.
## Getting ready
When we mirror a pool, we basically mirror one or more of the pool\'s
devices on one or more identical devices in term of capacity. We can not
mirror a 1 TB device with a 2 TB device as they are not identical.
## How to do it..
We can configure mirroring when we create a pool or we can add the
mirroring configuration after we created the pool normally as we did in
previous recipe.
Following commands shows how we can create a pool and then add a mirror
to one of its underlying devices.
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="se">\#</span> zpool create fpool c9t0d0</span></span></code></pre></td></tr></table>
</div>
</div>
This command creates a pool with one underlying device.
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="se">\#</span> zpool attach fpool c9t0d0 c9t1d0</span></span></code></pre></td></tr></table>
</div>
</div>
This command attaches the c9t1d0 as a mirror for c9t0d0. We can add as
many mirrors for a device as we need. After attaching the mirror device
all existing data from the active device **resilver** into the mirror.
Following figure illustrates steps to create the pool and attaching a
mirror to one of its disk.
![](post-img/3180_02_18.png)
To mirror a disk during pool creation with the same layout as above we
can use the following command.
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="se">\#</span> zpool create fpool mirror c9t0d0 c9t1d0</span></span></code></pre></td></tr></table>
</div>
</div>
This command creates fpool on top of c9t0d0 mirrored on c9t1d0.
We may need to detach a disk for maintenance tasks or to replace it with
another disk. The detach subcommand of zpool let us detach a mirror from
a pool while allowing the pool to function. For example we can use the
following command to detach c9t1d0 from fpool.
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="se">\#</span> zpool detach fpool c9t1d0</span></span></code></pre></td></tr></table>
</div>
</div>
We can replace a device forming a pool using the replace subcommand.
This command detaches one device and attaches the new one in its place.
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt"> 10
</span><span class="lnt"> 11
</span><span class="lnt"> 12
</span><span class="lnt"> 13
</span><span class="lnt"> 14
</span><span class="lnt"> 15
</span><span class="lnt"> 16
</span><span class="lnt"> 17
</span><span class="lnt"> 18
</span><span class="lnt"> 19
</span><span class="lnt"> 20
</span><span class="lnt"> 21
</span><span class="lnt"> 22
</span><span class="lnt"> 23
</span><span class="lnt"> 24
</span><span class="lnt"> 25
</span><span class="lnt"> 26
</span><span class="lnt"> 27
</span><span class="lnt"> 28
</span><span class="lnt"> 29
</span><span class="lnt"> 30
</span><span class="lnt"> 31
</span><span class="lnt"> 32
</span><span class="lnt"> 33
</span><span class="lnt"> 34
</span><span class="lnt"> 35
</span><span class="lnt"> 36
</span><span class="lnt"> 37
</span><span class="lnt"> 38
</span><span class="lnt"> 39
</span><span class="lnt"> 40
</span><span class="lnt"> 41
</span><span class="lnt"> 42
</span><span class="lnt"> 43
</span><span class="lnt"> 44
</span><span class="lnt"> 45
</span><span class="lnt"> 46
</span><span class="lnt"> 47
</span><span class="lnt"> 48
</span><span class="lnt"> 49
</span><span class="lnt"> 50
</span><span class="lnt"> 51
</span><span class="lnt"> 52
</span><span class="lnt"> 53
</span><span class="lnt"> 54
</span><span class="lnt"> 55
</span><span class="lnt"> 56
</span><span class="lnt"> 57
</span><span class="lnt"> 58
</span><span class="lnt"> 59
</span><span class="lnt"> 60
</span><span class="lnt"> 61
</span><span class="lnt"> 62
</span><span class="lnt"> 63
</span><span class="lnt"> 64
</span><span class="lnt"> 65
</span><span class="lnt"> 66
</span><span class="lnt"> 67
</span><span class="lnt"> 68
</span><span class="lnt"> 69
</span><span class="lnt"> 70
</span><span class="lnt"> 71
</span><span class="lnt"> 72
</span><span class="lnt"> 73
</span><span class="lnt"> 74
</span><span class="lnt"> 75
</span><span class="lnt"> 76
</span><span class="lnt"> 77
</span><span class="lnt"> 78
</span><span class="lnt"> 79
</span><span class="lnt"> 80
</span><span class="lnt"> 81
</span><span class="lnt"> 82
</span><span class="lnt"> 83
</span><span class="lnt"> 84
</span><span class="lnt"> 85
</span><span class="lnt"> 86
</span><span class="lnt"> 87
</span><span class="lnt"> 88
</span><span class="lnt"> 89
</span><span class="lnt"> 90
</span><span class="lnt"> 91
</span><span class="lnt"> 92
</span><span class="lnt"> 93
</span><span class="lnt"> 94
</span><span class="lnt"> 95
</span><span class="lnt"> 96
</span><span class="lnt"> 97
</span><span class="lnt"> 98
</span><span class="lnt"> 99
</span><span class="lnt">100
</span><span class="lnt">101
</span><span class="lnt">102
</span><span class="lnt">103
</span><span class="lnt">104
</span><span class="lnt">105
</span><span class="lnt">106
</span><span class="lnt">107
</span><span class="lnt">108
</span><span class="lnt">109
</span><span class="lnt">110
</span><span class="lnt">111
</span><span class="lnt">112
</span><span class="lnt">113
</span><span class="lnt">114
</span><span class="lnt">115
</span><span class="lnt">116
</span><span class="lnt">117
</span><span class="lnt">118
</span><span class="lnt">119
</span><span class="lnt">120
</span><span class="lnt">121
</span><span class="lnt">122
</span><span class="lnt">123
</span><span class="lnt">124
</span><span class="lnt">125
</span><span class="lnt">126
</span><span class="lnt">127
</span><span class="lnt">128
</span><span class="lnt">129
</span><span class="lnt">130
</span><span class="lnt">131
</span><span class="lnt">132
</span><span class="lnt">133
</span><span class="lnt">134
</span><span class="lnt">135
</span><span class="lnt">136
</span><span class="lnt">137
</span><span class="lnt">138
</span><span class="lnt">139
</span><span class="lnt">140
</span><span class="lnt">141
</span><span class="lnt">142
</span><span class="lnt">143
</span><span class="lnt">144
</span><span class="lnt">145
</span><span class="lnt">146
</span><span class="lnt">147
</span><span class="lnt">148
</span><span class="lnt">149
</span><span class="lnt">150
</span><span class="lnt">151
</span><span class="lnt">152
</span><span class="lnt">153
</span><span class="lnt">154
</span><span class="lnt">155
</span><span class="lnt">156
</span><span class="lnt">157
</span><span class="lnt">158
</span><span class="lnt">159
</span><span class="lnt">160
</span><span class="lnt">161
</span><span class="lnt">162
</span><span class="lnt">163
</span><span class="lnt">164
</span><span class="lnt">165
</span><span class="lnt">166
</span><span class="lnt">167
</span><span class="lnt">168
</span><span class="lnt">169
</span><span class="lnt">170
</span><span class="lnt">171
</span><span class="lnt">172
</span><span class="lnt">173
</span><span class="lnt">174
</span><span class="lnt">175
</span><span class="lnt">176
</span><span class="lnt">177
</span><span class="lnt">178
</span><span class="lnt">179
</span><span class="lnt">180
</span><span class="lnt">181
</span><span class="lnt">182
</span><span class="lnt">183
</span><span class="lnt">184
</span><span class="lnt">185
</span><span class="lnt">186
</span><span class="lnt">187
</span><span class="lnt">188
</span><span class="lnt">189
</span><span class="lnt">190
</span><span class="lnt">191
</span><span class="lnt">192
</span><span class="lnt">193
</span><span class="lnt">194
</span><span class="lnt">195
</span><span class="lnt">196
</span><span class="lnt">197
</span><span class="lnt">198
</span><span class="lnt">199
</span><span class="lnt">200
</span><span class="lnt">201
</span><span class="lnt">202
</span><span class="lnt">203
</span><span class="lnt">204
</span><span class="lnt">205
</span><span class="lnt">206
</span><span class="lnt">207
</span><span class="lnt">208
</span><span class="lnt">209
</span><span class="lnt">210
</span><span class="lnt">211
</span><span class="lnt">212
</span><span class="lnt">213
</span><span class="lnt">214
</span><span class="lnt">215
</span><span class="lnt">216
</span><span class="lnt">217
</span><span class="lnt">218
</span><span class="lnt">219
</span><span class="lnt">220
</span><span class="lnt">221
</span><span class="lnt">222
</span><span class="lnt">223
</span><span class="lnt">224
</span><span class="lnt">225
</span><span class="lnt">226
</span><span class="lnt">227
</span><span class="lnt">228
</span><span class="lnt">229
</span><span class="lnt">230
</span><span class="lnt">231
</span><span class="lnt">232
</span><span class="lnt">233
</span><span class="lnt">234
</span><span class="lnt">235
</span><span class="lnt">236
</span><span class="lnt">237
</span><span class="lnt">238
</span><span class="lnt">239
</span><span class="lnt">240
</span><span class="lnt">241
</span><span class="lnt">242
</span><span class="lnt">243
</span><span class="lnt">244
</span><span class="lnt">245
</span><span class="lnt">246
</span><span class="lnt">247
</span><span class="lnt">248
</span><span class="lnt">249
</span><span class="lnt">250
</span><span class="lnt">251
</span><span class="lnt">252
</span><span class="lnt">253
</span><span class="lnt">254
</span><span class="lnt">255
</span><span class="lnt">256
</span><span class="lnt">257
</span><span class="lnt">258
</span><span class="lnt">259
</span><span class="lnt">260
</span><span class="lnt">261
</span><span class="lnt">262
</span><span class="lnt">263
</span><span class="lnt">264
</span><span class="lnt">265
</span><span class="lnt">266
</span><span class="lnt">267
</span><span class="lnt">268
</span><span class="lnt">269
</span><span class="lnt">270
</span><span class="lnt">271
</span><span class="lnt">272
</span><span class="lnt">273
</span><span class="lnt">274
</span><span class="lnt">275
</span><span class="lnt">276
</span><span class="lnt">277
</span><span class="lnt">278
</span><span class="lnt">279
</span><span class="lnt">280
</span><span class="lnt">281
</span><span class="lnt">282
</span><span class="lnt">283
</span><span class="lnt">284
</span><span class="lnt">285
</span><span class="lnt">286
</span><span class="lnt">287
</span><span class="lnt">288
</span><span class="lnt">289
</span><span class="lnt">290
</span><span class="lnt">291
</span><span class="lnt">292
</span><span class="lnt">293
</span><span class="lnt">294
</span><span class="lnt">295
</span><span class="lnt">296
</span><span class="lnt">297
</span><span class="lnt">298
</span><span class="lnt">299
</span><span class="lnt">300
</span><span class="lnt">301
</span><span class="lnt">302
</span><span class="lnt">303
</span><span class="lnt">304
</span><span class="lnt">305
</span><span class="lnt">306
</span><span class="lnt">307
</span><span class="lnt">308
</span><span class="lnt">309
</span><span class="lnt">310
</span><span class="lnt">311
</span><span class="lnt">312
</span><span class="lnt">313
</span><span class="lnt">314
</span><span class="lnt">315
</span><span class="lnt">316
</span><span class="lnt">317
</span><span class="lnt">318
</span><span class="lnt">319
</span><span class="lnt">320
</span><span class="lnt">321
</span><span class="lnt">322
</span><span class="lnt">323
</span><span class="lnt">324
</span><span class="lnt">325
</span><span class="lnt">326
</span><span class="lnt">327
</span><span class="lnt">328
</span><span class="lnt">329
</span><span class="lnt">330
</span><span class="lnt">331
</span><span class="lnt">332
</span><span class="lnt">333
</span><span class="lnt">334
</span><span class="lnt">335
</span><span class="lnt">336
</span><span class="lnt">337
</span><span class="lnt">338
</span><span class="lnt">339
</span><span class="lnt">340
</span><span class="lnt">341
</span><span class="lnt">342
</span><span class="lnt">343
</span><span class="lnt">344
</span><span class="lnt">345
</span><span class="lnt">346
</span><span class="lnt">347
</span><span class="lnt">348
</span><span class="lnt">349
</span><span class="lnt">350
</span><span class="lnt">351
</span><span class="lnt">352
</span><span class="lnt">353
</span><span class="lnt">354
</span><span class="lnt">355
</span><span class="lnt">356
</span><span class="lnt">357
</span><span class="lnt">358
</span><span class="lnt">359
</span><span class="lnt">360
</span><span class="lnt">361
</span><span class="lnt">362
</span><span class="lnt">363
</span><span class="lnt">364
</span><span class="lnt">365
</span><span class="lnt">366
</span><span class="lnt">367
</span><span class="lnt">368
</span><span class="lnt">369
</span><span class="lnt">370
</span><span class="lnt">371
</span><span class="lnt">372
</span><span class="lnt">373
</span><span class="lnt">374
</span><span class="lnt">375
</span><span class="lnt">376
</span><span class="lnt">377
</span><span class="lnt">378
</span><span class="lnt">379
</span><span class="lnt">380
</span><span class="lnt">381
</span><span class="lnt">382
</span><span class="lnt">383
</span><span class="lnt">384
</span><span class="lnt">385
</span><span class="lnt">386
</span><span class="lnt">387
</span><span class="lnt">388
</span><span class="lnt">389
</span><span class="lnt">390
</span><span class="lnt">391
</span><span class="lnt">392
</span><span class="lnt">393
</span><span class="lnt">394
</span><span class="lnt">395
</span><span class="lnt">396
</span><span class="lnt">397
</span><span class="lnt">398
</span><span class="lnt">399
</span><span class="lnt">400
</span><span class="lnt">401
</span><span class="lnt">402
</span><span class="lnt">403
</span><span class="lnt">404
</span><span class="lnt">405
</span><span class="lnt">406
</span><span class="lnt">407
</span><span class="lnt">408
</span><span class="lnt">409
</span><span class="lnt">410
</span><span class="lnt">411
</span><span class="lnt">412
</span><span class="lnt">413
</span><span class="lnt">414
</span><span class="lnt">415
</span><span class="lnt">416
</span><span class="lnt">417
</span><span class="lnt">418
</span><span class="lnt">419
</span><span class="lnt">420
</span><span class="lnt">421
</span><span class="lnt">422
</span><span class="lnt">423
</span><span class="lnt">424
</span><span class="lnt">425
</span><span class="lnt">426
</span><span class="lnt">427
</span><span class="lnt">428
</span><span class="lnt">429
</span><span class="lnt">430
</span><span class="lnt">431
</span><span class="lnt">432
</span><span class="lnt">433
</span><span class="lnt">434
</span><span class="lnt">435
</span><span class="lnt">436
</span><span class="lnt">437
</span><span class="lnt">438
</span><span class="lnt">439
</span><span class="lnt">440
</span><span class="lnt">441
</span><span class="lnt">442
</span><span class="lnt">443
</span><span class="lnt">444
</span><span class="lnt">445
</span><span class="lnt">446
</span><span class="lnt">447
</span><span class="lnt">448
</span><span class="lnt">449
</span><span class="lnt">450
</span><span class="lnt">451
</span><span class="lnt">452
</span><span class="lnt">453
</span><span class="lnt">454
</span><span class="lnt">455
</span><span class="lnt">456
</span><span class="lnt">457
</span><span class="lnt">458
</span><span class="lnt">459
</span><span class="lnt">460
</span><span class="lnt">461
</span><span class="lnt">462
</span><span class="lnt">463
</span><span class="lnt">464
</span><span class="lnt">465
</span><span class="lnt">466
</span><span class="lnt">467
</span><span class="lnt">468
</span><span class="lnt">469
</span><span class="lnt">470
</span><span class="lnt">471
</span><span class="lnt">472
</span><span class="lnt">473
</span><span class="lnt">474
</span><span class="lnt">475
</span><span class="lnt">476
</span><span class="lnt">477
</span><span class="lnt">478
</span><span class="lnt">479
</span><span class="lnt">480
</span><span class="lnt">481
</span><span class="lnt">482
</span><span class="lnt">483
</span><span class="lnt">484
</span><span class="lnt">485
</span><span class="lnt">486
</span><span class="lnt">487
</span><span class="lnt">488
</span><span class="lnt">489
</span><span class="lnt">490
</span><span class="lnt">491
</span><span class="lnt">492
</span><span class="lnt">493
</span><span class="lnt">494
</span><span class="lnt">495
</span><span class="lnt">496
</span><span class="lnt">497
</span><span class="lnt">498
</span><span class="lnt">499
</span><span class="lnt">500
</span><span class="lnt">501
</span><span class="lnt">502
</span><span class="lnt">503
</span><span class="lnt">504
</span><span class="lnt">505
</span><span class="lnt">506
</span><span class="lnt">507
</span><span class="lnt">508
</span><span class="lnt">509
</span><span class="lnt">510
</span><span class="lnt">511
</span><span class="lnt">512
</span><span class="lnt">513
</span><span class="lnt">514
</span><span class="lnt">515
</span><span class="lnt">516
</span><span class="lnt">517
</span><span class="lnt">518
</span><span class="lnt">519
</span><span class="lnt">520
</span><span class="lnt">521
</span><span class="lnt">522
</span><span class="lnt">523
</span><span class="lnt">524
</span><span class="lnt">525
</span><span class="lnt">526
</span><span class="lnt">527
</span><span class="lnt">528
</span><span class="lnt">529
</span><span class="lnt">530
</span><span class="lnt">531
</span><span class="lnt">532
</span><span class="lnt">533
</span><span class="lnt">534
</span><span class="lnt">535
</span><span class="lnt">536
</span><span class="lnt">537
</span><span class="lnt">538
</span><span class="lnt">539
</span><span class="lnt">540
</span><span class="lnt">541
</span><span class="lnt">542
</span><span class="lnt">543
</span><span class="lnt">544
</span><span class="lnt">545
</span><span class="lnt">546
</span><span class="lnt">547
</span><span class="lnt">548
</span><span class="lnt">549
</span><span class="lnt">550
</span><span class="lnt">551
</span><span class="lnt">552
</span><span class="lnt">553
</span><span class="lnt">554
</span><span class="lnt">555
</span><span class="lnt">556
</span><span class="lnt">557
</span><span class="lnt">558
</span><span class="lnt">559
</span><span class="lnt">560
</span><span class="lnt">561
</span><span class="lnt">562
</span><span class="lnt">563
</span><span class="lnt">564
</span><span class="lnt">565
</span><span class="lnt">566
</span><span class="lnt">567
</span><span class="lnt">568
</span><span class="lnt">569
</span><span class="lnt">570
</span><span class="lnt">571
</span><span class="lnt">572
</span><span class="lnt">573
</span><span class="lnt">574
</span><span class="lnt">575
</span><span class="lnt">576
</span><span class="lnt">577
</span><span class="lnt">578
</span><span class="lnt">579
</span><span class="lnt">580
</span><span class="lnt">581
</span><span class="lnt">582
</span><span class="lnt">583
</span><span class="lnt">584
</span><span class="lnt">585
</span><span class="lnt">586
</span><span class="lnt">587
</span><span class="lnt">588
</span><span class="lnt">589
</span><span class="lnt">590
</span><span class="lnt">591
</span><span class="lnt">592
</span><span class="lnt">593
</span><span class="lnt">594
</span><span class="lnt">595
</span><span class="lnt">596
</span><span class="lnt">597
</span><span class="lnt">598
</span><span class="lnt">599
</span><span class="lnt">600
</span><span class="lnt">601
</span><span class="lnt">602
</span><span class="lnt">603
</span><span class="lnt">604
</span><span class="lnt">605
</span><span class="lnt">606
</span><span class="lnt">607
</span><span class="lnt">608
</span><span class="lnt">609
</span><span class="lnt">610
</span><span class="lnt">611
</span><span class="lnt">612
</span><span class="lnt">613
</span><span class="lnt">614
</span><span class="lnt">615
</span><span class="lnt">616
</span><span class="lnt">617
</span><span class="lnt">618
</span><span class="lnt">619
</span><span class="lnt">620
</span><span class="lnt">621
</span><span class="lnt">622
</span><span class="lnt">623
</span><span class="lnt">624
</span><span class="lnt">625
</span><span class="lnt">626
</span><span class="lnt">627
</span><span class="lnt">628
</span><span class="lnt">629
</span><span class="lnt">630
</span><span class="lnt">631
</span><span class="lnt">632
</span><span class="lnt">633
</span><span class="lnt">634
</span><span class="lnt">635
</span><span class="lnt">636
</span><span class="lnt">637
</span><span class="lnt">638
</span><span class="lnt">639
</span><span class="lnt">640
</span><span class="lnt">641
</span><span class="lnt">642
</span><span class="lnt">643
</span><span class="lnt">644
</span><span class="lnt">645
</span><span class="lnt">646
</span><span class="lnt">647
</span><span class="lnt">648
</span><span class="lnt">649
</span><span class="lnt">650
</span><span class="lnt">651
</span><span class="lnt">652
</span><span class="lnt">653
</span><span class="lnt">654
</span><span class="lnt">655
</span><span class="lnt">656
</span><span class="lnt">657
</span><span class="lnt">658
</span><span class="lnt">659
</span><span class="lnt">660
</span><span class="lnt">661
</span><span class="lnt">662
</span><span class="lnt">663
</span><span class="lnt">664
</span><span class="lnt">665
</span><span class="lnt">666
</span><span class="lnt">667
</span><span class="lnt">668
</span><span class="lnt">669
</span><span class="lnt">670
</span><span class="lnt">671
</span><span class="lnt">672
</span><span class="lnt">673
</span><span class="lnt">674
</span><span class="lnt">675
</span><span class="lnt">676
</span><span class="lnt">677
</span><span class="lnt">678
</span><span class="lnt">679
</span><span class="lnt">680
</span><span class="lnt">681
</span><span class="lnt">682
</span><span class="lnt">683
</span><span class="lnt">684
</span><span class="lnt">685
</span><span class="lnt">686
</span><span class="lnt">687
</span><span class="lnt">688
</span><span class="lnt">689
</span><span class="lnt">690
</span><span class="lnt">691
</span><span class="lnt">692
</span><span class="lnt">693
</span><span class="lnt">694
</span><span class="lnt">695
</span><span class="lnt">696
</span><span class="lnt">697
</span><span class="lnt">698
</span><span class="lnt">699
</span><span class="lnt">700
</span><span class="lnt">701
</span><span class="lnt">702
</span><span class="lnt">703
</span><span class="lnt">704
</span><span class="lnt">705
</span><span class="lnt">706
</span><span class="lnt">707
</span><span class="lnt">708
</span><span class="lnt">709
</span><span class="lnt">710
</span><span class="lnt">711
</span><span class="lnt">712
</span><span class="lnt">713
</span><span class="lnt">714
</span><span class="lnt">715
</span><span class="lnt">716
</span><span class="lnt">717
</span><span class="lnt">718
</span><span class="lnt">719
</span><span class="lnt">720
</span><span class="lnt">721
</span><span class="lnt">722
</span><span class="lnt">723
</span><span class="lnt">724
</span><span class="lnt">725
</span><span class="lnt">726
</span><span class="lnt">727
</span><span class="lnt">728
</span><span class="lnt">729
</span><span class="lnt">730
</span><span class="lnt">731
</span><span class="lnt">732
</span><span class="lnt">733
</span><span class="lnt">734
</span><span class="lnt">735
</span><span class="lnt">736
</span><span class="lnt">737
</span><span class="lnt">738
</span><span class="lnt">739
</span><span class="lnt">740
</span><span class="lnt">741
</span><span class="lnt">742
</span><span class="lnt">743
</span><span class="lnt">744
</span><span class="lnt">745
</span><span class="lnt">746
</span><span class="lnt">747
</span><span class="lnt">748
</span><span class="lnt">749
</span><span class="lnt">750
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-shell" data-lang="shell"><span class="line"><span class="cl"><span class="se">\#</span> zpool replace fpool c9t1d0 c9t2d0
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">The <span class="nb">command</span> detaches c9t1d0 and attaches the c9t2d0 to fill its place.
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl">We can take a device offline to perform maintenance tasks on it. When we
</span></span><span class="line"><span class="cl">take a device offline, the pool status change to **degraded** which
</span></span><span class="line"><span class="cl">means it may not <span class="k">function</span> it its full capacity. For example to take
</span></span><span class="line"><span class="cl">c9t1d0 **offline** we can use the following command.
</span></span><span class="line"><span class="cl"><div <span class="nv">class</span><span class="o">=</span><span class="s2">"highlight"</span>><div <span class="nv">class</span><span class="o">=</span><span class="s2">"chroma"</span>>
</span></span><span class="line"><span class="cl"><table <span class="nv">class</span><span class="o">=</span><span class="s2">"lntable"</span>><tr><td <span class="nv">class</span><span class="o">=</span><span class="s2">"lntd"</span>>
</span></span><span class="line"><span class="cl"><pre <span class="nv">tabindex</span><span class="o">=</span><span class="s2">"0"</span> <span class="nv">class</span><span class="o">=</span><span class="s2">"chroma"</span>><code><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">1</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">2</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">3</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">4</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">5</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">6</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">7</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">8</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">9</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">10</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">11</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">12</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">13</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">14</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">15</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">16</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">17</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">18</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">19</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">20</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">21</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">22</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">23</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">24</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">25</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">26</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">27</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">28</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">29</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">30</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">31</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">32</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">33</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">34</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">35</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">36</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">37</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">38</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">39</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">40</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">41</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">42</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">43</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">44</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">45</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">46</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">47</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">48</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">49</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">50</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">51</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">52</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">53</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">54</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">55</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">56</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">57</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">58</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">59</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">60</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">61</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">62</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">63</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">64</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">65</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">66</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">67</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">68</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">69</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">70</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">71</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">72</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">73</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">74</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">75</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">76</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">77</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">78</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">79</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">80</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">81</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">82</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">83</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">84</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">85</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">86</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">87</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">88</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">89</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">90</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">91</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">92</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">93</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">94</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">95</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">96</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">97</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">98</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>> <span class="m">99</span>
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>100
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>101
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>102
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>103
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>104
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>105
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>106
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>107
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>108
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>109
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>110
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>111
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>112
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>113
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>114
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>115
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>116
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>117
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>118
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>119
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>120
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>121
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>122
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>123
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>124
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>125
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>126
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>127
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>128
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>129
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>130
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>131
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>132
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>133
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>134
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>135
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>136
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>137
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>138
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>139
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>140
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>141
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>142
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>143
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>144
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>145
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>146
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>147
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>148
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>149
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>150
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>151
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>152
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>153
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>154
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>155
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>156
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>157
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>158
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>159
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>160
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>161
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>162
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>163
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>164
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>165
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>166
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>167
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>168
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>169
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>170
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>171
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>172
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>173
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>174
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>175
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>176
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>177
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>178
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>179
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>180
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>181
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>182
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>183
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>184
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>185
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>186
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>187
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>188
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>189
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>190
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>191
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>192
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>193
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>194
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>195
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>196
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>197
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>198
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>199
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>200
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>201
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>202
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>203
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>204
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>205
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>206
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>207
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>208
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>209
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>210
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>211
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>212
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>213
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>214
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>215
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>216
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>217
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>218
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>219
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>220
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>221
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>222
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>223
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>224
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>225
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>226
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>227
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>228
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>229
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>230
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>231
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>232
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>233
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>234
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>235
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>236
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>237
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>238
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>239
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>240
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>241
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>242
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>243
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>244
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>245
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>246
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>247
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>248
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>249
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>250
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>251
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>252
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>253
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>254
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>255
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>256
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>257
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>258
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>259
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>260
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>261
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>262
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>263
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>264
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>265
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>266
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>267
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>268
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>269
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>270
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>271
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>272
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>273
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>274
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>275
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>276
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>277
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>278
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>279
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>280
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>281
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>282
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>283
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>284
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>285
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>286
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>287
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>288
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>289
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>290
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>291
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>292
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>293
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>294
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>295
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>296
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>297
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>298
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>299
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>300
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>301
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>302
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>303
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>304
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>305
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>306
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>307
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>308
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>309
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>310
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>311
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>312
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>313
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>314
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>315
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>316
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>317
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>318
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>319
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>320
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>321
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>322
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>323
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>324
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>325
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>326
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>327
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>328
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>329
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>330
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>331
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>332
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>333
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>334
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>335
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>336
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>337
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>338
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>339
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>340
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>341
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>342
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>343
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>344
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>345
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>346
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>347
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>348
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>349
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>350
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>351
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>352
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>353
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>354
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>355
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>356
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>357
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>358
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>359
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>360
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>361
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>362
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>363
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>364
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>365
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>366
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>367
</span></span><span class="line"><span class="cl"></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"lnt"</span>>368
</span></span><span class="line"><span class="cl"></span></code></pre></td>
</span></span><span class="line"><span class="cl"><td <span class="nv">class</span><span class="o">=</span><span class="s2">"lntd"</span>>
</span></span><span class="line"><span class="cl"><pre <span class="nv">tabindex</span><span class="o">=</span><span class="s2">"0"</span> <span class="nv">class</span><span class="o">=</span><span class="s2">"chroma"</span>><code <span class="nv">class</span><span class="o">=</span><span class="s2">"language-shell"</span> data-lang<span class="o">=</span><span class="s2">"shell"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"se"</span>><span class="se">\#</span></span> zpool offline fpool c9t1d0
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>We can bring the device **online** using the online subcommand of the
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>zpool <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> as follow.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>div <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;highlight&#34;</span>&gt;&lt;div <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>table <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntable&#34;</span>&gt;&lt;tr&gt;&lt;td <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lnt&#34;</span>&gt;1</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/span<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/code<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/pre<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>td <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;language-shell&#34;</span> data-lang<span class="o">=</span><span class="s2">&#34;shell&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;line&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;cl&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\#</span>&lt;/span&gt; zpool online fpool c9t1d0&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## How it works..</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>A mirrored pool ensures that <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>for</span> each block, there is one or more copies
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>on the mirror devices attached to the pool. Using mirrors guarantee the
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>availability of our data in <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>case</span> of a disaster like a hardware failure
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>in one of the devices but it introduces performance degradation as any
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>changed block need to get propagated to any number of mirrors.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>ZFS mirroring is superior in several aspect including but not limited
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>to:
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>Detecting a back block on one disk and repairing it using a identical
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>good block from one of the mirrors.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>Duplication a device data into its mirror is faster when the whole
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>device space is not occupied as duplication only duplicates the blocks
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>which contain data not all of them. This duplicating operation is called
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>resilvering.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## See also</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>In the next recipe we will study how we can create a RAID using ZFS
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>mirroring capabilities.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>># 11. RAID in ZFS</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>A **Redundant Array of Inexpensive Disks** <span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">(</span></span>**RAID**<span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">)</span></span> provides the data
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>availability guarantees that mirroring provides <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>while</span> it does not impose
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>performance degradation level that mirroring does.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>OpenSolaris implements its own version of **RAID 5** on top of ZFS
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>supporting both **single-parity** and **double-parity** modes. These two
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>models are named raidz1 and raidz2. In this recipe we will see how we
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>can create these two types.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## Getting ready</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>I added one more disk to my OpenSolaris distribution so I can
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>demonstrate raidz2 as well as raidz1 because raidz2 needs at least three
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>disks to operate. So we have c9t0d0, c9t0d1 and c9t0d2 disks attached to
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>the OpenSolaris machine.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## How to <span class="k">do</span> it..</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>We can create RAID configuration using the zpool create <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> using
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>the following syntax.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>div <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;highlight&#34;</span>&gt;&lt;div <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>table <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntable&#34;</span>&gt;&lt;tr&gt;&lt;td <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lnt&#34;</span>&gt;1</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/span<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/code<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/pre<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>td <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;language-shell&#34;</span> data-lang<span class="o">=</span><span class="s2">&#34;shell&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;line&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;cl&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\#</span>&lt;/span&gt; zpool create fpool &lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\&amp;</span>lt<span class="p">;</span>&lt;/span&gt;raidz1, raidz2&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\&amp;</span>gt<span class="p">;</span>&lt;/span&gt; list_of_devices&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>For example to create a raidz1 using c9t0d0, c9t1d0 we can use the
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>following command.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>div <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;highlight&#34;</span>&gt;&lt;div <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>table <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntable&#34;</span>&gt;&lt;tr&gt;&lt;td <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lnt&#34;</span>&gt;1</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/span<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/code<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/pre<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>td <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;language-shell&#34;</span> data-lang<span class="o">=</span><span class="s2">&#34;shell&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;line&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;cl&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\#</span>&lt;/span&gt; zpool create fpool raidz1 c9t0d0, c9t1d0&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>And now <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>if</span> we check the status of our newly created pool we will see
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>something like the following output.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>!<span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">[](</span></span>post-img/3180_02_19.png<span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">)</span></span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>There is a concept and functionality named **spare** devices or
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>**spares** which we can use to further enhance the reliability of our
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>mirrors or RAID configuration. A spare device stays inactive in a pool
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>until</span> one of the devices forming the pool fails, as soon as a device
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>fails<span <span class="nv">class</span><span class="o">=</span><span class="s2">"p"</span>><span class="p">;</span></span> ZFS activate one of the available spares and <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>continue</span> functioning
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>as it should.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>We can add spare devices to a pool after we created the pool or we can
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>add the during the pool creation. For example we can add the c9t2d0 to
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>fpool as a spare device using the following command.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>div <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;highlight&#34;</span>&gt;&lt;div <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>table <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntable&#34;</span>&gt;&lt;tr&gt;&lt;td <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lnt&#34;</span>&gt;1</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/span<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/code<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/pre<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>td <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;language-shell&#34;</span> data-lang<span class="o">=</span><span class="s2">&#34;shell&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;line&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;cl&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\#</span>&lt;/span&gt; zpool add fpool spare c9t2d0&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>Now <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>if</span> we check the pool status we can see a new <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>set</span> named spares added
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>to the pool itself.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>!<span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">[](</span></span>post-img/3180_02_20.png<span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">)</span></span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>To add the same spare device during the pool creation we can use
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>following command.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>div <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;highlight&#34;</span>&gt;&lt;div <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>table <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntable&#34;</span>&gt;&lt;tr&gt;&lt;td <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lnt&#34;</span>&gt;1</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/span<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/code<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/pre<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>td <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;language-shell&#34;</span> data-lang<span class="o">=</span><span class="s2">&#34;shell&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;line&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;cl&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\#</span>&lt;/span&gt; zpool create fpool raidz1 c9t0d0 c9t1d0 spare c9t2d0&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>A ZFS raidz1 is a single parity RAID and we need at least two disks to
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>create one. The raidz1 sustain a single disk failure. We can create a
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>raidz2 using at least three disks to keep the system operating in <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>case</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>of two disks failure. Following <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> shows how we can create a raidz2
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>configuration.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>div <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;highlight&#34;</span>&gt;&lt;div <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>table <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntable&#34;</span>&gt;&lt;tr&gt;&lt;td <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lnt&#34;</span>&gt;1</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/span<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/code<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/pre<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>td <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;language-shell&#34;</span> data-lang<span class="o">=</span><span class="s2">&#34;shell&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;line&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;cl&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\#</span>&lt;/span&gt; zpool create fpool raidz2 c9t0d0 c9t1d0 c9t2d0&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## How it works..</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>The RAID algorithms and undelaying technologies is sophisticated and out
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>of this book context how ever, we can simply say that when we configure
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>a raid, we are asking the RAID driver to distribute stripes of data
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>between the available disks and compute parity information <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>for</span> each
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>strip to ensure that we can recover a strip <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>if</span> one or more disks in the
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>array failed.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>Configuring an storage system can become quite complex when we are
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>dealing with mirrors, spares and RAID configuration because we can have
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>spares inside a mirror, or inside a RAID or we may have mirrors with
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>spares inside a RAID array and so on.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## See also</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>To learn more about RAID we can start with its Wikipedia page available
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>at http://en.wikipedia.org/wiki/RAID
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>To learn more about ZFS RAID configuration we can consult following
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>documents.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>http://www.solarisinternals.com/wiki/index.php/ZFS_Best_Practices_Guide<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>># 12. Importing and exporting ZFS pools</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>We can <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>export</span> a zpool from one machine to safely detach it from that
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>machine and prepare it to be attached to another machine. Although
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>OpenSolaris runs on variety of platforms ranging from X86 machine up to
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>bleeding edge SPARC servers but it is endian-ness independent so we can
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>export</span> a zpool from one machine and import it to another machine even
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>with a different endianness.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## Getting ready</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>In this recipe we will <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>export</span> the fpool and <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>then</span> import it to another
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>machine using import and <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>export</span> subcommand of the zpool command.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## How to <span class="k">do</span> it..</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>To <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>export</span> fpool, which is a ZFS pool, we can use the following <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>div <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;highlight&#34;</span>&gt;&lt;div <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>table <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntable&#34;</span>&gt;&lt;tr&gt;&lt;td <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lnt&#34;</span>&gt;1</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/span<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/code<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/pre<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>td <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;language-shell&#34;</span> data-lang<span class="o">=</span><span class="s2">&#34;shell&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;line&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;cl&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\#</span>&lt;/span&gt; zpool &lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;nb&#34;</span>&gt;export&lt;/span&gt; fpool&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>Right after executing these <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> we will not be able to access its.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>When we attached the underlying disks to another machine we can use the
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>zpool import subcommand to import the pool into the new machine. After
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>we attach the new disks to a machine we can check whether the pool is
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>ready to be imported or not using the following command.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>div <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;highlight&#34;</span>&gt;&lt;div <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>table <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntable&#34;</span>&gt;&lt;tr&gt;&lt;td <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lnt&#34;</span>&gt;1</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/span<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/code<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/pre<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>td <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;language-shell&#34;</span> data-lang<span class="o">=</span><span class="s2">&#34;shell&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;line&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;cl&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\#</span>&lt;/span&gt; zpool import&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>Following figure shows output of the <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> indicating that a pool
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>named fpool is ready to be imported. We can also import the pool using
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>its id when there are more than one pool with the same name available
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>for</span> import.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>!<span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">[](</span></span>post-img/3180_02_21.png<span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">)</span></span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>Now that we have the pool ready to get imported we can use the following
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> to import it.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>div <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;highlight&#34;</span>&gt;&lt;div <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>table <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntable&#34;</span>&gt;&lt;tr&gt;&lt;td <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lnt&#34;</span>&gt;1</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/span<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/code<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/pre<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>td <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;language-shell&#34;</span> data-lang<span class="o">=</span><span class="s2">&#34;shell&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;line&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;cl&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\#</span>&lt;/span&gt; zpool import fpool&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>The Indian-ness independency of ZFS pools only applies to pools created
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>on top of whole disks and not a partition or slice of a disk.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>We used the most basic form of the import <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>for</span> simplicity sake,
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>while</span> we could use several options to further customize the import
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>operation. Some of the important options of the import <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> is shown
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>in the following table.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>table<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>> <span class="p">&</span>lt<span class="p">;</span>tr<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>> <span class="p">&</span>lt<span class="p">;</span>td<span class="p">&</span>gt<span class="p">;</span>Option<span class="p">&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>> <span class="p">&</span>lt<span class="p">;</span>td<span class="p">&</span>gt<span class="p">;</span>Description<span class="p">&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>> <span class="p">&</span>lt<span class="p">;</span>/tr<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>> <span class="p">&</span>lt<span class="p">;</span>tr<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>> <span class="p">&</span>lt<span class="p">;</span>td<span class="p">&</span>gt<span class="p">;</span>-d dir<span class="p">&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>> <span class="p">&</span>lt<span class="p">;</span>td<span class="p">&</span>gt<span class="p">;</span>Specifies a path to search <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>for</span> the available pools <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>for</span> importing and prevent zpool to search <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>for</span> available pools.<span class="p">&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>> <span class="p">&</span>lt<span class="p">;</span>/tr<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>> <span class="p">&</span>lt<span class="p">;</span>tr<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>> <span class="p">&</span>lt<span class="p">;</span>td<span class="p">&</span>gt<span class="p">;</span>-o montopts<span class="p">&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>> <span class="p">&</span>lt<span class="p">;</span>td<span class="p">&</span>gt<span class="p">;</span>Specifie a comma separated list of mount options.<span class="p">&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>> <span class="p">&</span>lt<span class="p">;</span>/tr<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>> <span class="p">&</span>lt<span class="p">;</span>tr<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>> <span class="p">&</span>lt<span class="p">;</span>td<span class="p">&</span>gt<span class="p">;</span>-f<span class="p">&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>> <span class="p">&</span>lt<span class="p">;</span>td<span class="p">&</span>gt<span class="p">;</span>Force the import operation even some errors are preventing the import.<span class="p">&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>> <span class="p">&</span>lt<span class="p">;</span>/tr<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/table<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## How it works..</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>When we issue the import <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> it scans <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>for</span> information about
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>available pools in all **virtual devices** <span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">(</span></span>**vdevs**<span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">)</span></span> and constructs
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>the pool layouts using the cached information on the vdev and <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>then</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>present us with the available information so we can decide whether we
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>want those pool imported into our available zpools or not.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## There<span class="se">\&</span><span class="c1">#39;s more..</span></span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>You can use the zpool import -D <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> to recover a storage pool that
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>has been destroyed. Because when we destroy a zpool we are only removing
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>the information from the ZFS metadata storage and we are not actually
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>destroying the pool.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## See also</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>># 13. Monitoring ZFS pools performance</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>Performance, performance, performance<span <span class="nv">class</span><span class="o">=</span><span class="s2">"p"</span>><span class="p">;</span></span> this is what we hear in all
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>software development and management sessions. ZFS provides few utility
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>commands to monitor one or more pools<span <span class="nv">class</span><span class="o">=</span><span class="s2">"se"</span>><span class="se">\&</span><span class="c1">#39;</span> performance.</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## Getting ready</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>You should remember that we used fsstat <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> to monitor the UFS
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>performance metrics. We can use iostat subcommand of the zpool <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>to monitor the performance metrics of ZFS pools.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## How to <span class="k">do</span> it..</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>The iostat subcommand provides some options and arguments which we can
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>see in its syntax shown below:
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>div <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;highlight&#34;</span>&gt;&lt;div <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>table <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntable&#34;</span>&gt;&lt;tr&gt;&lt;td <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lnt&#34;</span>&gt;1</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/span<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/code<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/pre<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>td <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;language-shell&#34;</span> data-lang<span class="o">=</span><span class="s2">&#34;shell&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;line&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;cl&#34;</span>&gt;iostat &lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\[</span>&lt;/span&gt;-v&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\]</span>&lt;/span&gt; &lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\[</span>&lt;/span&gt;pool&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\]</span>&lt;/span&gt; .. &lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\[</span>&lt;/span&gt;interval &lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\[</span>&lt;/span&gt;count&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\]\]</span>&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>The -v option will show detailed performance metrics about the pools it
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>monitor including the underlying devices. We can pass as many pools as
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>we want to monitor or we can omit passing a pool name so the <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>shows performance metrics of all commands. The interval and count
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>specifies how many <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>times</span> we want the sampling to happen what is the
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>interval between each subsequent sampling.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>For example we can use the following <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> to view detailed
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>performance metrics of fpool <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>for</span> <span <span class="nv">class</span><span class="o">=</span><span class="s2">"m"</span>>100</span> <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>times</span> in <span <span class="nv">class</span><span class="o">=</span><span class="s2">"m"</span>>5</span> seconds interval we can
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>use the following command.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>div <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;highlight&#34;</span>&gt;&lt;div <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>table <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntable&#34;</span>&gt;&lt;tr&gt;&lt;td <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lnt&#34;</span>&gt;1</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/span<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/code<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/pre<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>td <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;language-shell&#34;</span> data-lang<span class="o">=</span><span class="s2">&#34;shell&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;line&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;cl&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\#</span>&lt;/span&gt; zpool iostat -v fpool &lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;m&#34;</span>&gt;5&lt;/span&gt; &lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;m&#34;</span>&gt;100&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>The output <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>for</span> this <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> is shown in the following figure.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>!<span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">[](</span></span>post-img/3180_02_22.png<span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">)</span></span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>The first row shows the entire pool capacity stats including how much
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>space were used upon the sampling and how much was available. The second
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>row shows how many reads and writes operations performed during the
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>interval <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>time</span> and finally the last column shows the band width used <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>for</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>reading from this pools and writing into the pool.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## How it works.. </span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>The zpool iostat retrieve some of its information from the read-only
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>attributes of the requested pools and the system metadata and calculate
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>some other outputs by collecting sample information on each interval.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## There<span class="se">\&</span><span class="c1">#39;s more..</span></span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## See also</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>For viewing UFS performance take a look at recipe 4: Monitoring UFS
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>recipe.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>># 14. Auditing ZFS pools</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>Auditing is an integral part of any administrator working on large scale
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>deployments to check and assess possible risks or trace the changes and
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>operations performed in a specified duration of <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>time</span> or an exact point
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>in time.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## Getting ready</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>In this recipe we will use the <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>history</span> subcommand of the zpool <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>to view the ZFS pools structural changes. We assume that we have a pool
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>named fpool at our disposal to check the <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> with.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## How to <span class="k">do</span> it..</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>The <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>history</span> <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> syntax is as follow
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>div <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;highlight&#34;</span>&gt;&lt;div <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>table <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntable&#34;</span>&gt;&lt;tr&gt;&lt;td <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lnt&#34;</span>&gt;1</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/span<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/code<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/pre<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>td <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;language-shell&#34;</span> data-lang<span class="o">=</span><span class="s2">&#34;shell&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;line&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;cl&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;nb&#34;</span>&gt;history&lt;/span&gt; &lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\[</span>&lt;/span&gt;-il&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\]</span>&lt;/span&gt; &lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\[\&amp;</span>lt<span class="p">;</span>&lt;/span&gt;pool&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\&amp;</span>gt<span class="p">;</span><span class="se">\]</span>&lt;/span&gt; ...&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>The -i option shows ZFS internal operations in addition to operations
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>requested by users. The -l option shows additional information like the
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>user requested the operation, the host which initiated the request and
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>so on. Using the <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>history</span> <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> without passing the list of pool names
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>shows the <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>history</span> of changes <span <span class="nv">class</span><span class="o">=</span><span class="s2">"k"</span>>for</span> all pools.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>Following <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> shows normal records of fpool history.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>div <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;highlight&#34;</span>&gt;&lt;div <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>table <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntable&#34;</span>&gt;&lt;tr&gt;&lt;td <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;lnt&#34;</span>&gt;1</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/span<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/code<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/pre<span class="p">&</span>gt<span class="p">;&</span>lt<span class="p">;</span>/td<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>td <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>class</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;lntd&#34;</span>&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>pre <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nv"</span>>tabindex</span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">=</span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"s2"</span>><span class="p">&</span><span class="c1">#34;0&#34;</span> <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;chroma&#34;</span>&gt;&lt;code <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;language-shell&#34;</span> data-lang<span class="o">=</span><span class="s2">&#34;shell&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;line&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;cl&#34;</span>&gt;&lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;se&#34;</span>&gt;<span class="se">\#</span>&lt;/span&gt; zpool &lt;span <span class="nv">class</span><span class="o">=</span><span class="s2">&#34;nb&#34;</span>&gt;history&lt;/span&gt; fpool&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span class="p">&</span>lt<span class="p">;</span>/div<span class="p">&</span>gt<span class="p">;</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>Following figure shows output of the above command.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>!<span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">[](</span></span>post-img/3180_02_23.png<span <span class="nv">class</span><span class="o">=</span><span class="s2">"o"</span>><span class="o">)</span></span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>You can see that we only performed three operations on the zpool
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>structure including executing create, <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>export</span> and import <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> on it.
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"c1"</span>>## How it works..</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>All changes we make on a zpool are stored in the ZFS metadata <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>history</span>
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>and the <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>history</span> <span <span class="nv">class</span><span class="o">=</span><span class="s2">"nb"</span>>command</span> uses these storage to shows what changes the
</span></span><span class="line"><span class="cl"></span></span><span <span class="nv">class</span><span class="o">=</span><span class="s2">"line"</span>><span <span class="nv">class</span><span class="o">=</span><span class="s2">"cl"</span>>pool under question has gone through.</span></span></code></pre></td></tr></table>
</span></span><span class="line"><span class="cl"></div>
</span></span><span class="line"><span class="cl"></div></span></span></code></pre></td></tr></table>
</div>
</div>
|