- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Create file system in RAM on Linux box?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2008 11:26 PM
03-16-2008 11:26 PM
I would like to create a file system RAM for disk performance measuring purpose.
Any one that could help me out?
Thanks in advance, /Joakim
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2008 02:27 AM
03-17-2008 02:27 AM
Re: Create file system in RAM on Linux box?
Some forms of Linux already do this to an extent.
none 1014M 0 1014M 0% /dev/shm
I've never bothered to try and write a file to it and recommend not filling it up.
I just copied a small file into it and deleted it without difficulty.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2008 01:33 PM
03-17-2008 01:33 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2008 11:52 PM
03-17-2008 11:52 PM
Re: Create file system in RAM on Linux box?
It's simple:
# make the mount point for our temporary filesystem
mkdir /mnt/tmpfs
# create and mount a 100 megabyte (100M) temporary memory filesystem
sudo mount -osize=100m tmpfs /mnt/tmpfs -t tmpfs
(from http://256.com/gray/docs/misc/linux_memory_tmp_filesystem_fs.shtml)
for more - http://www.mjmwired.net/kernel/Documentation/filesystems/ramfs-rootfs-initramfs.txt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2008 02:13 AM
03-18-2008 02:13 AM
Re: Create file system in RAM on Linux box?
I added "ramdisk_size=10000000" in "/boot/grub/meny.lst" as boot option. Rebooted and then run "mkfsreiser" on /dev/ram0 and mounted it on /mnt. (=10 GB disk in RAM)
I havn't tried the tmpfs way but will do so later.
/Joakim