This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
zfs [2015/08/21 13:49] 127.0.0.1 external edit |
zfs [2020/02/13 22:55] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | < | + | ====== Using ZFS on Linux (Ubuntu 14.04 LTS) ====== |
- | <h1>Zpool Import</ | + | |
+ | ===== Zpool Import | ||
+ | |||
+ | Because I am using a partition (sdX3) of the disks, and ZFS assumes you are using the whole disk (when it searches /dev by default), it was necessary to symlink the partition names to a new directory and zpool import referencing devices in that new directory. | ||
< | < | ||
# cd /etc/zfs | # cd /etc/zfs | ||
Line 7: | Line 11: | ||
# zfs import -d /etc/zfs -a | # zfs import -d /etc/zfs -a | ||
</ | </ | ||
- | <h1>Disk Replacement</ | + | |
+ | ===== Disk Replacement | ||
+ | |||
+ | When using / | ||
+ | |||
+ | I had to grab the numeric disk guid using the zdb command, and then use that ID in the zpool replace command. | ||
+ | |||
+ | Here disk S/N Z1E2EEN3 died, and was replaced with disk S/N Z1E77EXB. | ||
< | < | ||
# zdb | grep -B1 Z1E2EEN3 | # zdb | grep -B1 Z1E2EEN3 |