Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Linux - Kernel This forum is for all discussion relating to the Linux kernel.


  Search this Thread
Old 04-14-2011, 12:45 PM   #1
Registered: Feb 2009
Distribution: Slackware
Posts: 109

Rep: Reputation: 15
RAM DISK Filesystem options

We are currently running a ext2 formatted ramdisk in diskless units. We need a static sized filesystem. All the articles we have found in searches seem to be pretty old. Are the other options that might provide better performance or capabilities? Is there an article out there that articulates different options particularly well?
Old 04-15-2011, 06:04 AM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,640

Rep: Reputation: 2091Reputation: 2091Reputation: 2091Reputation: 2091Reputation: 2091Reputation: 2091Reputation: 2091Reputation: 2091Reputation: 2091Reputation: 2091Reputation: 2091
Depends how early in the boot sequence you need the f/s.
RAMDISK is so last century, but it does have some (very specific) uses. Presuming you can mount after the kernel has loaded, look at using a tmpfs instead - you don't need to set it up or format a f/s; all handled in kernel cache. You can set a max size as well.

When the lxr site comes back online have a read of this (or look in your kernel source tree if you have it).

Edit: you said "static sized" - I gave you a maximum size option. Is "static" an absolute requirement ?.

Last edited by syg00; 04-15-2011 at 06:06 AM.
Old 04-15-2011, 02:20 PM   #3
Registered: Feb 2009
Distribution: Slackware
Posts: 109

Original Poster
Rep: Reputation: 15
I see that ramfs will continue growing until RAM runs out, this is not good us. While I have turned off all logging and auditing gets sent to a centralized server, I am not sure how long it would take to max RAM with ramfs.

tmpfs also does not look like an option as all the examples I have seen require a nfs or afs server to serve out the root partition.

Our systems have to be self reliant after PXE booting. Thanks for for your time.


diskless, filesystems, ramdisk

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cfdisk and NTFS filesystem options clifford227 Linux - Newbie 4 04-10-2011 12:13 PM
[SOLVED] What are appropriate filesystem options for backups? Nylex Linux - General 6 03-19-2011 05:02 AM
DVD-RAM Filesystem - Which is best? Retrievil_Knievil Linux - Hardware 14 06-04-2009 01:28 PM
How to pass filesystem options for gnome-mount? thesource2 Linux - Software 0 06-24-2006 02:46 AM
Ext2 Filesystem in RAM Fernando Linux - General 0 03-21-2002 02:32 AM

All times are GMT -5. The time now is 08:26 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration