I am trying to create a zfs log and cache with gdisk but I am stuck with two things. But I need confirmation about my 'procedure' and I am stuck at choosing the filesystem? Your instruction says:
"Add cache and log to an existing pool
If you have a pool without cache and log. First partition the SSD in 2 partition with parted or gdisk
The maximum size of a log device should be about half the size of physical memory, so this is usually quite small. The rest of the SSD can be used as cache.
# zpool add -f <pool> log <device-part1> cache <device-part2>"
So my procedure looks at follow:
1) gdisk /dev/sda
2) Option 'O create a new empty GUID partition table'
3) Option 'N add a new partition' but what filesystem should I choose for the ZFS log and cache device? 8300 Linux filesystem, ef01 MBR partition scheme, a504 FreeBSD ZFS, other option? Linux ZFS is no option provided...
4) zpool add -f zpool log /dev/sda1 cache /dev/sda2
"Add cache and log to an existing pool
If you have a pool without cache and log. First partition the SSD in 2 partition with parted or gdisk
Always use GPT partition tables. |
# zpool add -f <pool> log <device-part1> cache <device-part2>"
So my procedure looks at follow:
1) gdisk /dev/sda
2) Option 'O create a new empty GUID partition table'
3) Option 'N add a new partition' but what filesystem should I choose for the ZFS log and cache device? 8300 Linux filesystem, ef01 MBR partition scheme, a504 FreeBSD ZFS, other option? Linux ZFS is no option provided...
4) zpool add -f zpool log /dev/sda1 cache /dev/sda2