[OpenIndiana-discuss] ZFS log/cache on a loopback device/file?

Jeppe Toustrup openindiana at tenzer.dk
Wed Mar 9 22:23:03 UTC 2011


2011/3/9 Brett Dikeman <brett.dikeman at gmail.com>:
> We have an SSD with plenty of space on it, but when the OS was
> installed, it was partitioned to use all of the disk. I'd like to use
> some space on the SSD for a log or cache device for a 4-drive zpool.
> Is that possible, for example by using a loopback device or file?  Or
> is our only option exporting the ZFS filesystems on the SSD,
> repartitioning, and replacing the filesystems?
>

Rather than using a loopback file, I would prefer to create a volume
on the rpool (zfs create -V <size> rpool/log), and then add the
/dev/zvol/* entry to the ZFS pool as the L2ARC device.

--
Venlig hilsen / Kind regards
Jeppe Toustrup (aka. Tenzer)



More information about the OpenIndiana-discuss mailing list