Mike R.
asked on
Sol 8: Run "/tmp" in RAM (not swap, and not hdd)
Hey Gang,
Weird question. This is in relation to a customer’s requirement...so although there are probably far better ways of doing this...for the moment, I need to know how to do it this way.
I would like to set a Solaris 8 (02/02) system so the "/tmp” dir is mounted to RAM (I.E. as if it were mounted to a Windows ramdrive.) It would be acceptable to mount it directly...OR have it mount to swap (like normal) but set swap to RAM only (no hard drive access at all.)
This can be done through configuration editing, scripts during/after boot...whatever.
Thanks!
M
Weird question. This is in relation to a customer’s requirement...so although there are probably far better ways of doing this...for the moment, I need to know how to do it this way.
I would like to set a Solaris 8 (02/02) system so the "/tmp” dir is mounted to RAM (I.E. as if it were mounted to a Windows ramdrive.) It would be acceptable to mount it directly...OR have it mount to swap (like normal) but set swap to RAM only (no hard drive access at all.)
This can be done through configuration editing, scripts during/after boot...whatever.
Thanks!
M
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great...thanks makes sense (you are right about the mounting in the vfstab.) I will give this a shot Monday and see how we end up!
Thanks!
M
Thanks!
M
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I have not had a chance to really "test" the configuration...but so far, everything seems to be fine with /tmp mounted normally to a tmpfs, but having no physical swap. I agree with Nukfror, that running without physical swap is not recommended-and can lead to issues-but, for this particular install, it was a requirement.
It looks like I am not really going to be able to run the system through it paces for a while (things have started to pile up) so I am going to assign points and will re-visit the issue as a new question if it becomes necessary.
Thanks for all the help and input!
M
It looks like I am not really going to be able to run the system through it paces for a while (things have started to pile up) so I am going to assign points and will re-visit the issue as a new question if it becomes necessary.
Thanks for all the help and input!
M
ASKER
Is this correct?
Thanks!
M