Ramdisk Size

Greg Kurtzer gmkurtzer at lbl.gov
Mon Sep 22 13:43:44 EDT 2003

Kernel arg: 'ramdisk=n' (ie. ramdisk=1024000 for a 1G ram disk). We
typically don't go over several hundred MB's, so let me know how this works.
Also, this works with standard kernels (kernel.org and the RH kernel).


On Mon, Sep 22, 2003 at 01:04:11AM -0500, Eric R Johnson told me:
> I would like to create a large ramdisk to keep a database which will be 
> searched often, but not changed.
> The only thing I currently know how to do to create a ramdisk is:
> mke2fs /dev/ram0
> mount /dev/ram0 /tmp/ramdisk0
> The only problem is that this creates a 4MB ramdisk, and I would like 
> something on the order of 1GB.
> I tried running menuconfig and changing the default ramdisk size to 1GB, 
> making the kernel, and rebooting.  Now when I run menuconfig, it shows 
> the ramdisk size as 1GB, but when I execute the mke2fs /dev/ram0, it 
> still only creates a 4MB ramdisk.
> Can someone point me in the right direction?
> Thanks,
> Eric

Greg M. Kurtzer, CSE: Linux cluster specialist
Lawrence Berkeley National Laboratory
Contact: O=510.495.2307, P=510.448.4540, M=510.928.9953
1 Cyclotron Road MS:50C-3396, Berkeley, CA 94720
http://www.lbl.gov, http://scs.lbl.gov/, http://lug.lbl.gov/
Email: GMKurtzer_at_lbl.gov, Text: 5109289953_at_mobileatt.net
Beowulf mailing list, Beowulf at beowulf.org
To change your subscription (digest mode or unsubscribe) visit http://www.beowulf.org/mailman/listinfo/beowulf

More information about the Beowulf mailing list