SUMMARY: tmpfs under zfs pool

From: Dimitar Vasilev <dimitar.vassilev_at_gmail.com>
Date: Fri Apr 03 2009 - 04:47:32 EDT
Thanks to Antony D'Atri and Casper Dik
Antony suggested using a ufs slice for tmp and Casper said that tmpfs
depends on the size of swap.
What I did is adding an entry in vfstab:

rpool/tmp2      -       /tmp    zfs     -       yes     -
swap - /tmp tmpfs - yes -
after setting mountpoint to legacy of course.
So if you don't like this - you can use  just
swap - /tmp tmpfs - yes size=Nm
where N is number of megabytes you need.
I'm more happy now. Have a great week-end!

2009/4/1 Dimitar Vasilev <dimitar.vassilev@gmail.com>:
> Hi all,
> Could someone give a hint if it's possible to create rpool/tmp, mount
> it as /tmp so that tmpfs has some disk-based back-end instead of
> memory-based size-limited one.
> When I do regular creation of rpool/tmp without setting any mountpoint
> options and entry in vfstab i'm dropped into single user, because
> fs-local service cannot mount the rpool/tmp fs.
> What I could do is set the mount point to legacy and describe it in
> vfstab for mounting so that tmpfs entry does not get blocked.
> Is this the way or there is another one that I have not yet thought of?
> Thanks in advance!
> Best regards,
> Dimitar
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Fri Apr 3 03:48:07 2009

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:44:13 EST