LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

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

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
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,059

Rep: Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971
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
clcbluemont
Member
 
Registered: Feb 2009
Distribution: Slackware
Posts: 95

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.
 
  


Reply

Tags
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 10:13 AM.

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