Patrick Bittner wrote:
Good morning everybody
I was migrating my ufs – rootfilesystem to a zfs – one, but was a little upset
finding out that it became bigger (what was clear because of the swap and dump
size).
Now I am questioning myself if it is possible to set the swap and dump size by using the lucreate – command (I wanna try it again but on less space). Unfortunately I did not find any advice in manpages.
I don't know the official answer, but since swap and dump are now just
zfs filesystems, you can just "zfs set volsize=8G zboot/swap" to any
size you want.
That is, after lucreate, but before you "init 6" to reboot.
Or indeed any time after, as long as you "swap -d", "swap -a" to make it
notice the new size.
(I believe you should set volsize and refreservation to the same value).
--
Jorgen Lundman | <lund...@lundman.net>
Unix Administrator | +81 (0)3 -5456-2687 ext 1017 (work)
Shibuya-ku, Tokyo | +81 (0)90-5578-8500 (cell)
Japan | +81 (0)3 -3375-1767 (home)
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss