On May 8, 2010, at 8:57 AM, Brandon High wrote:

> On Thu, Apr 22, 2010 at 11:59 AM, Karl Dalen <k_d...@hotmail.com> wrote:
>> If I want to reduce the I/O accesses for example to SSD media on a laptop
>> and I don't plan to run any big applications is it safe to delete the swap 
>> file ?
> 
> When installing on a small drive (eg: 8GB thumb drive), the installer
> doesn't create a swap or dump volume.
> 
> I imagine it's OK to do, but if the system needs to page, you'll get
> out of memory errors.

Duh :-)  Same thing happens when you run out of swap space and
memory.

>> How do I configure opensolairs to run without swap ?
> 
> Remove the line from /etc/vfstab and reboot.

No need to reboot.  Just edit the /etc/vfstab and use "swap -d" 
to remove the swap device.
 -- richard

-- 
ZFS storage and performance consulting at http://www.RichardElling.com










_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to