[OpenIndiana-discuss] SSD as a dedicated swap device

Ian Collins ian at ianshome.com
Fri Dec 11 22:38:08 UTC 2015


Andrew Gabriel wrote:
> On 11/12/2015 20:45, Ian Collins wrote:.
>> I don't think you can add the drive as a drive, but you could create a
>> pool with a single volume on on it and add that volume with "swap -a
>> /dev/zvol/dsk/<pool>/<volume>.
>>
> Adding a swap partition or slice from a drive worked just fine last time
> I did it. You don't have to swap on ZFS (and there have been some good
> reasons not to in the past).

It's been a long time since I tried adding a swap device!  The man page 
for swap isn't clear whether a disk partition/slice is supported with 
ZFS root.

-- 
Ian.




More information about the openindiana-discuss mailing list