zfs_root_cache
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
zfs_root_cache [2020/12/09 09:00] – [Create a ZFS pool for main big data!] memeruiz | zfs_root_cache [2020/12/09 09:36] – memeruiz | ||
---|---|---|---|
Line 135: | Line 135: | ||
sudo zpool create tardis | sudo zpool create tardis | ||
- | * option 2: raidz1 | + | * option 2: raidz1 |
sudo zpool create tardis raidz1 /dev/sdb4 /dev/sde4 /dev/sdf4 | sudo zpool create tardis raidz1 /dev/sdb4 /dev/sde4 /dev/sdf4 | ||
+ | | ||
+ | * option 3: raidz1 but degraded. (without one disk at the beginning) Solution: Use a sparse file as one of the starting disks [10]. | ||
+ | |||
+ | truncate -s 8T tardisfake.img (Use the same exact size of the real disk partition) | ||
+ | sudo zpool create tardis raidz1 /dev/sde4 /dev/sdf4 / | ||
+ | sudo zpool offline tardisnew / | ||
* Add log and cache devices: | * Add log and cache devices: | ||
Line 255: | Line 261: | ||
[[https:// | [[https:// | ||
+ | |||
+ | |||
+ | [10] [[https:// | ||
+ | |||
+ | [[https:// | ||
zfs_root_cache.txt · Last modified: 2021/02/01 05:55 by 127.0.0.1