Ph9214 Posted December 14, 2016 Share Posted December 14, 2016 This guide http://www.observium.org/docs/persistent_ramdisk/ (which I will make a modified version of soon) can be used (without some parts) to make a persistent ram disk [glow=red,2,300]***MAKE SURE YOU PUT THE BACKUP ON ONE OF YOUR ARRAY DRIVES !!!NOT!!! ANYWHERE ELSE WHICH INCLUDES THE VAR FOLDER MENTIONED IN THE TUTORIAL***[/glow] I do NOT know if the mounting/creation config file will persist over reboots but the backup folder will stay if you put it on the array Quote Link to comment
trurl Posted December 14, 2016 Share Posted December 14, 2016 Not sure if I get your meaning, but the /var folder is not on the boot USB, it is in RAM. The only folder on the boot USB is /boot. The disks and user shares are in /mnt. All other OS folders are in RAM. When you boot up, the OS folders are unpacked fresh from bzroot,bzimage into RAM. So, if you write to one of those OS folders, such as /var, then you are writing into a RAM disk of sorts. Quote Link to comment
Ph9214 Posted December 14, 2016 Author Share Posted December 14, 2016 sorry about that, I meant to say, don't put ANY files on a tempfs that is not backed up frequently (like every minute), I have experienced the horror of my batch file (in the home directory) disappearing after a reboot! Quote Link to comment
garycase Posted December 14, 2016 Share Posted December 14, 2016 Just curious what the use case is for this. With the speeds of modern SSDs, and the typical uses of UnRAID, I don't see any advantage to even bothering with a RAM Disk vs. a high-speed cache drive. Also, your first post says "This guide" => but there's no link to anything -- where is the actual guide? Quote Link to comment
dmacias Posted December 14, 2016 Share Posted December 14, 2016 sorry about that, I meant to say, don't put ANY files on a tempfs that is not backed up frequently (like every minute), I have experienced the horror of my batch file (in the home directory) disappearing after a reboot! I have a Command Line plugin that backs up /root on system shutdown then restores it on startup. It's useful for bash history, ssh authorized keys, mc and htop settings and any scripts you have there. It also includes shellinabox, which is a web based terminal. And an awesome ascii lime and system info when you log in. Quote Link to comment
Ph9214 Posted December 15, 2016 Author Share Posted December 15, 2016 Just curious what the use case is for this. With the speeds of modern SSDs, and the typical uses of UnRAID, I don't see any advantage to even bothering with a RAM Disk vs. a high-speed cache drive. Also, your first post says "This guide" => but there's no link to anything -- where is the actual guide? oops forgot the link and you are right, but just in case you had insane amounts of ram this could be useful, I thought it would also be intresting Quote Link to comment
Ph9214 Posted December 15, 2016 Author Share Posted December 15, 2016 sorry about that, I meant to say, don't put ANY files on a tempfs that is not backed up frequently (like every minute), I have experienced the horror of my batch file (in the home directory) disappearing after a reboot! I have a Command Line plugin that backs up /root on system shutdown then restores it on startup. It's useful for bash history, ssh authorized keys, mc and htop settings and any scripts you have there. It also includes shellinabox, which is a web based terminal. And an awesome ascii lime and system info when you log in. what is it? Quote Link to comment
dmacias Posted December 15, 2016 Share Posted December 15, 2016 sorry about that, I meant to say, don't put ANY files on a tempfs that is not backed up frequently (like every minute), I have experienced the horror of my batch file (in the home directory) disappearing after a reboot! I have a Command Line plugin that backs up /root on system shutdown then restores it on startup. It's useful for bash history, ssh authorized keys, mc and htop settings and any scripts you have there. It also includes shellinabox, which is a web based terminal. And an awesome ascii lime and system info when you log in. what is it? http://lime-technology.com/forum/index.php?topic=42683.msg406446.msg#406446 Quote Link to comment
Ph9214 Posted December 15, 2016 Author Share Posted December 15, 2016 sorry about that, I meant to say, don't put ANY files on a tempfs that is not backed up frequently (like every minute), I have experienced the horror of my batch file (in the home directory) disappearing after a reboot! I have a Command Line plugin that backs up /root on system shutdown then restores it on startup. It's useful for bash history, ssh authorized keys, mc and htop settings and any scripts you have there. It also includes shellinabox, which is a web based terminal. And an awesome ascii lime and system info when you log in. what is it? http://lime-technology.com/forum/index.php?topic=42683.msg406446.msg#406446 thx I'll try that when I get home Quote Link to comment
garycase Posted December 16, 2016 Share Posted December 16, 2016 Just curious what the use case is for this. With the speeds of modern SSDs, and the typical uses of UnRAID, I don't see any advantage to even bothering with a RAM Disk vs. a high-speed cache drive. Also, your first post says "This guide" => but there's no link to anything -- where is the actual guide? oops forgot the link and you are right, but just in case you had insane amounts of ram this could be useful, I thought it would also be intresting So did you forget it again I assume you meant to include it with this comment, but there's still no link 8) Quote Link to comment
CHBMB Posted December 16, 2016 Share Posted December 16, 2016 Just curious what the use case is for this. With the speeds of modern SSDs, and the typical uses of UnRAID, I don't see any advantage to even bothering with a RAM Disk vs. a high-speed cache drive. Also, your first post says "This guide" => but there's no link to anything -- where is the actual guide? oops forgot the link and you are right, but just in case you had insane amounts of ram this could be useful, I thought it would also be intresting So did you forget it again I assume you meant to include it with this comment, but there's still no link 8) You just missed it Gary, it's a RAM link, it's not persistent.... Quote Link to comment
Ph9214 Posted December 16, 2016 Author Share Posted December 16, 2016 Just curious what the use case is for this. With the speeds of modern SSDs, and the typical uses of UnRAID, I don't see any advantage to even bothering with a RAM Disk vs. a high-speed cache drive. Also, your first post says "This guide" => but there's no link to anything -- where is the actual guide? oops forgot the link and you are right, but just in case you had insane amounts of ram this could be useful, I thought it would also be intresting So did you forget it again I assume you meant to include it with this comment, but there's still no link 8) sorry I just updated the original post and didn't think about putting it in the reply Quote Link to comment
Ph9214 Posted December 16, 2016 Author Share Posted December 16, 2016 Just curious what the use case is for this. With the speeds of modern SSDs, and the typical uses of UnRAID, I don't see any advantage to even bothering with a RAM Disk vs. a high-speed cache drive. Also, your first post says "This guide" => but there's no link to anything -- where is the actual guide? oops forgot the link and you are right, but just in case you had insane amounts of ram this could be useful, I thought it would also be intresting So did you forget it again I assume you meant to include it with this comment, but there's still no link 8) You just missed it Gary, it's a RAM link, it's not persistent.... ;D Quote Link to comment
DoeBoye Posted December 16, 2016 Share Posted December 16, 2016 You just missed it Gary, it's a RAM link, it's not persistent.... LOL! genius!!!! Sigh. Hardware humour. Does it get any better??? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.