Casper.Dik at Sun.COM wrote: > >> hi Jan (and all) >> >> My failure was when running >> >> # swap -d /dev/zvol/dsk/rpool/swap >> >> I saw this in my truss output. >> >> uadmin(16, 3, -2748781172232) Err#12 ENOMEM >> > > That sounds like "too much memory in use: can't remove swap".
It seems it also happens in situations when only small portion of swap is in use and there is enough free physical memory available to release swap device. I am not sure how memory management works, I was thinking that releasing swap device should be feasible in such situations, but maybe this is the limitation of memory management itself. Thank you, Jan