This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
tech:zfs:start [2025/03/07 14:56] rk4n3 removed |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== General ZFS Info ====== | ||
- | Create a ''raid-z'' pool:<code>zpool create poolname raidz c0t50004CF2121A7832d0 c0t50004CF20D941F19d0 ...</code> | ||
- | //... this will mount the pool at ''/poolname'' // | ||
- | |||
- | Create a ZFS filesystem, typically ... | ||
- | <code>zfs create -o compression=lz4 -o sync=disabled -o atime=off poolname/some/fsname</code> | ||
- | |||
- | Alternately ... | ||
- | <code> | ||
- | zfs create -o compression=on -o mountpoint=/zones zonepool/zones | ||
- | zfs create -o sync=disabled -o atime=off zonepool/zones/oidev | ||
- | </code> | ||
- | |||
- | ==== Rename device ==== | ||
- | * ''zpool export poolname'' | ||
- | * ''zpool import -d /dev/disk/by-id poolname'' | ||