> For the complete documentation index, see [llms.txt](https://docs.ramsdenj.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.ramsdenj.com/introduction-2/introduction-3/mirrors.md).

# Mirrors

Creating a mirrored ZFS pool is easy.

### Two disk mirror

To create a single two disk mirror:

```shell
zpool create -f -o ashift=12 vault mirror \
                ata-SanDisk_SDSSDXPS480G_152271401093 \
                ata-SanDisk_SDSSDXPS480G_154501401266
```

### Four disk mirror - RAID10

To create a RAID10 style pool, create multiple mirrors. As many mirrors as desired can be added.

```shell
zpool create -f -o ashift=12 vault \
              mirror \
                ata-SanDisk_SDSSDXPS480G_152271401093 \
                ata-SanDisk_SDSSDXPS480G_154501401266 \
              mirror \
                ata-SanDisk_SDSSDXPS480G_164277402487 \
                ata-SanDisk_SDSSDXPS480G_164277402657
```

This created the following.

```shell
zpool status

  pool: vault
 state: ONLINE
  scan: none requested
config:

	NAME                                       STATE     READ WRITE CKSUM
	vault                                      ONLINE       0     0     0
	  mirror-0                                 ONLINE       0     0     0
	    ata-SanDisk_SDSSDXPS480G_152271401093  ONLINE       0     0     0
	    ata-SanDisk_SDSSDXPS480G_154501401266  ONLINE       0     0     0
	  mirror-1                                 ONLINE       0     0     0
	    ata-SanDisk_SDSSDXPS480G_164277402487  ONLINE       0     0     0
	    ata-SanDisk_SDSSDXPS480G_164277402657  ONLINE       0     0     0

errors: No known data errors
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.ramsdenj.com/introduction-2/introduction-3/mirrors.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
