-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I''d like to give my machine a little more swap. I ran: zfs get volsize rpool/swap and saw it was 2G So I ran: zfs set volsize=4G rpool/swap to double it. zfs get shows it took affect, but swap -l doesn''t show any change. I ran swap -d to remove the device, and then swap -a to re-add it, and it still shows 2G (about 4 million blocks). How do I make the change take affect? -Kyle -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (MingW32) iQEcBAEBAgAGBQJM3xiQAAoJEEADRM+bKN5wbEsH/3Kp1l3NqO62Z6g8GteXN5t3 PpV/x9MnLsfCohM8ye8ThsMWkiGyNUWYJ0rp43wNu/6pqz1uBMPO4JCxOmUNaKXp KSkyA3ZPCO3D49quXJac7uS5aRhyXi2RHoKBDpV4DMeq3cjYr3pfwl5EZgICKxSw govRsdpf3VVEHvYx+pJ4p7Tbvz/Ig1dA/R4rgMnTi5NO/S3wTRG65ESBJI/v3rAA RyXeICg1Ni7wBdUM1LOpbHSJ4uIHAPMvZNuSiG6Hh4XGUy3ihMexWUp9qc6+V3lR De+83rsQpXqgR4d5V1YaQk7msuINN2uhwKQOxT6xhClH4ni+9DV+2l2ABETT1MI=wR3h -----END PGP SIGNATURE-----
On 11/14/10 12:00 PM, Kyle McDonald wrote:> Hi all, > > I''d like to give my machine a little more swap. > > I ran: > > zfs get volsize rpool/swap > > and saw it was 2G > > So I ran: > > zfs set volsize=4G rpool/swap > > to double it. zfs get shows it took affect, but swap -l doesn''t show > any change. > I ran swap -d to remove the device, and then swap -a to re-add it, and > it still shows 2G (about 4 million blocks). > > How do I make the change take affect? > >Add the extra blocks as another volume, see http://blogs.sun.com/chrisg/entry/don_t_reboot_to_add> -Kyle > -----BEGIN PGP SIGNATURE----- >PGP signatures are a PITA on mail lists! -- Ian.
On Nov 13, 2010, at 18:53, Ian Collins wrote:>> How do I make the change take affect? >> > > Add the extra blocks as another volume, see > > http://blogs.sun.com/chrisg/entry/don_t_reboot_to_addIf the OP has a support contract he may want to contact Oracle and get placed on the list for: http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6765386 The more people ''complain'' the higher priority it will be made. Squeaky wheels and all that. :)
On 2010-Nov-14 07:53:05 +0800, Ian Collins <ian at ianshome.com> wrote:>> -----BEGIN PGP SIGNATURE----- >> >PGP signatures are a PITA on mail lists!Only when the mailing list software is broken. Signatures are probably more relevant on mailing lists than elsewhere and this is the only mailing list I''m subscribed to where signatures get mangled. -- Peter Jeremy
On Sat, Nov 13, 2010 at 3:00 PM, Kyle McDonald <kmcdonald at egenera.com> wrote:> to double it. zfs get shows it took affect, but swap -l doesn''t show > any change. > I ran swap -d to remove the device, and then swap -a to re-add it, and > it still shows 2G (about 4 million blocks). > > How do I make the change take affect?You can also disable swap and zfs destroy the old swap volume, re-create it and re-add. It should pick up the new size. -B -- Brandon High : bhigh at freaks.com