On the “new style” devices with only 16MB Flash the “Files” section is a RAMdisk with the Flash memory in a “flash” sub directory.
On a “classic” device with 128MB Flash the “Files” section links directly to the Flash and I think there is no RAMdisk directory.
Is it possible to have a RAMdisk on those devices? Some of them have a lot of unused RAM that could store traces, logs etc before download.
indeed a RAMDisk would be very useful to keep sector writes as low as possible!!!
How about implementing this in the RC?
I want to run a script on a CCR that will require a temporary file and needs to run once a minute.
It would be nice when I could save the Flash by using RAMdisk for this.
It would be really useful. But instead damaging internal storage, you can use cheap external USB or SD storage. Unfortunately it is another source of failure…
I think I will use a USB stick. However, all the code for having a RAMdisk should already be available as the new 16GB Flash models all have it.
So it should be easy to add it for models like CCR as well. Our CCR has 2GB memory and it is almost all unused (no internet BGP tables).
With 16 GB of flash partitioning would be at least possible. ![]()
Yep. 16GB flash… What a sound of far future…
Well, 16MB of course(?).
At work I am replacing the 16GB M.2 Flash modules in thin clients with 120GB modules because of space shortage…
Unfortunately there is no M.2 slot in the CCR (only in the RB1100AHx4).
However, let’s not distract from the wish to have a RAMdisk capability in all models. It should be easy and useful.
CCR1072 does have a M.2 slot.
Normis, the point is elsewhere… What about to allow a user to configure ramdisk within the ros?
+1
RAM disk is very good.
I have 2 scripts that use priodical call fetch function.
+1, will be userfull for fetch scripts
+1
.
would be a neat thing
have a ppp-up (-down) script which needs helper-files to store dialer-states
… that’s scratchy … not so healthy for a flash or even for an usb-disk
… so definitly plus one
( … even in v6.44+ [letting v7 be a good man] … … wanna show this to my colleagues … … not only to my grandchilds : )
+100
Why this isn’t implemented already? I have CRS328-24P-4S+RM, it has 512 MB RAM and only 16 MB FLASH and it does NOT have USB port!
But that one should have a RAMdisk already. I am discussing RAMdisk on 128MB(and more) flash models, like the RB1100, RB2011, old RB750, CCR, etc.
But that one should have a RAMdisk already.
You are right. It was enough just to read the manual. Here is described:
Warning: > If device has a directory named “flash” > in its file list, then files which you want to be kept after system reboot/power cycle must be stored within it. As > anything outside of it is kept within a RAM disk > and will be lost upon reboot.
I though that “flash” is root directory and you cannot be (or move) outside, but yes you can.
Simply root “/” is above “/flash” and is invisible to non-trained eye. Weird UX, but shame on me.
+1 RAMdisk!
It would be great to see,
However I opened a ticket to request this as it would allow for a standard file structure, All devices have a flash folder rather than this mixture of some flash some not. Sadly support weren’t interested and just said no.
Maybe if they see this on the forum they might reconsider.
MT Support please please bring in a ramdisk system standard for all devices
I can understand why they would not want to change the directory structure of existing devices to match what is now on 16MB flash devices, because that would surprise existing users that are running user manager, dude, custom scripts, etc.
But I cannot understand why it is not possible to add ramdisk to existing devices and make e.g. a ramdisk subdirectory for that.
Probably that should have been done in the first place for the new models with small flash (some users were surprised that e.g. an export file saved in the root dir would be lost after reboot, and had to learn about the flash folder the hard way), but it is too late for that as well.
+1 RAM-disk!
For example, scripts could write there.