[OmniOS-discuss] move dump and swap to other pool

Jim Klimov jimklimov at cos.ru
Sat May 10 10:04:05 UTC 2014


10 мая 2014 г. 11:45:02 CEST, Johan Kragsterman <johan.kragsterman at capvert.se> пишет:
>
>Hi!
>
>
>
>-----Dan McDonald <danmcd at omniti.com> skrev: -----
>Till: Johan Kragsterman <johan.kragsterman at capvert.se>
>Från: Dan McDonald <danmcd at omniti.com>
>Datum: 2014-05-08 16:37
>Kopia: "OmniOS-discuss at lists.omniti.com"
><omnios-discuss at lists.omniti.com>
>Ärende: Re: [OmniOS-discuss] move dump and swap to other pool
>
>On May 8, 2014, at 4:30 AM, Johan Kragsterman
><johan.kragsterman at capvert.se> wrote:
>
>> 
>> Hi!
>> 
>> 
>> I got a relatively small(20 GB) SLC SSD as rpool, and I would like to
>move the dump and swap devices to another pool. ATM the pkg update
>process isn't possible, because I got too little space left on the
>rpool.
>> 
>> Can someone give me some advices here, how I would do this in the
>best way?
>
>
>
>
>
>
>
>"About dump:  Unless you have r151008 or later, you can only use a zvol
>on a mirror or single-disk pool.  Having said that:
>
>zfs create -V <size> newpool/dump
>dumpadm -d /dev/zvol/newpool/dump
>
>And for swap (which should be good regardless what "newpool" is...):
>
>zfs create -V <size> newpool/swap
>swap -a /dev/zvol/newpool/swap
>swap -d /dev/zvol/oldpool/swap"
>
>
>
>
>
>
>
>
>This all worked fine, but "swap -a /dev/zvol/newpool/swap" doesn't
>persist across reboots...I checked the swap(1M), but can't find
>anything that suggest how to handle that.
>
>Any advices?
>
>Regards Johan
>
>
>
>
>
>
>
>Hope this helps,
>Dan
>
>
>
>
>_______________________________________________
>OmniOS-discuss mailing list
>OmniOS-discuss at lists.omniti.com
>http://lists.omniti.com/mailman/listinfo/omnios-discuss

Fix up /etc/vfstab
--
Typos courtesy of K-9 Mail on my Samsung Android


More information about the OmniOS-discuss mailing list