LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices

Closed Thread
 
LinkBack Search this Thread
Old 02-08-2006, 08:43 PM   #1
KitKat08
LQ Newbie
 
Registered: Feb 2006
Posts: 14

Rep: Reputation: 0
Problem with RAM disk


Hi, I'm a new Linux user. now I'm having problem with copying data to the ramdisk that i have created as follow.

dd if=/dev/zero of=/dev/ram0 bs=1k count=4096
mke2fs /dev/ram0
mount -t ext2 /dev/ram0 /mnt/ramdisk
cp -a . /mnt/ramdisk
umount /mnt/ramdisk

when i do the copying 'cp -a . /mnt/ramdisk' there is a message 'No space left on device.' After i tried to increase the ramdisk_size to 40 MB in GRUB, when i do the above command, it seems ok. But later i found out that i have make some mistakes and wanted to re-copy the data to the ramdisk by performing the above command, the message 'No space left on device' come again. Is there anyway to clear the data inside my ramdisk or ram0? so that i will have enough space for me to work on?
 
Old 02-09-2006, 08:57 AM   #2
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,068
Blog Entries: 4

Rep: Reputation: 385Reputation: 385Reputation: 385Reputation: 385
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.

http://www.linuxquestions.org/rules.php
 
  


Closed Thread


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting without RAM disk Tinku Linux - General 3 10-03-2005 02:57 PM
ram disk quiron Linux From Scratch 3 07-20-2005 02:43 AM
Ram disk consty Red Hat 1 05-11-2005 07:06 AM
ram disk problem with loading Mandrake (stage 2) OrganicOrange84 Linux - Newbie 1 08-11-2004 07:00 PM
RAM disk in SuSE? J_Szucs Linux - General 3 10-23-2003 08:54 PM


All times are GMT -5. The time now is 06:54 PM.

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
Open Source Consulting | Domain Registration