Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
12-02-2014, 11:38 PM
|
#1
|
LQ Newbie
Registered: Nov 2014
Posts: 2
Rep: 
|
Deepfreeze
I see dated threads on LQ about Deepfreeze, like this one, this one, this one, and even this tutorial.
I've also taken a look Ofris.
I'm trying to track down a product or a project that actually functions like Faronics Deepfreeze. Something that is
Quote:
a kernel-level driver that protects hard drive integrity by redirecting information being written to the hard drive or partition, leaving the original data intact. This redirected information is no longer referenced once the computer is restarted, thus restoring the system to its original state at the disk sector level. -- from Wikipedia
|
The issue I have with most suggestions I've seen on how to get Deepfreeze-like functionality -- including Ofris -- is that file read/write redirects are manually configured to happen in userland, whether it's via an rsync backup/restore, a dd backup/restore, or configuring certain mountpoints in fstab to use a tmpfs filesystem.
I'm looking for a kernel level driver that intercepts all read/writes and redirects to a temp space.
At one point in time, it seems like Faronics even offered a Linux version of Deepfreeze, but I can't seem to find that version of Deepfreeze anywhere on their website.
Is anyone aware if such a product or project exists for linux?
|
|
|
12-03-2014, 04:08 PM
|
#2
|
Senior Member
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,297
|
The simplest approach would be to install on an lvm and then boot a snapshot copy which uses a RAM-backed block device. That way any changes would go into RAM and be freed on shutdown, and you wouldn't have to copy the whole OS into memory. I'm not sure it would take any new code, just changes to init scripts.
|
|
|
12-03-2014, 06:53 PM
|
#3
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,363
|
Quote:
Originally Posted by deadbeef
The issue I have with most suggestions I've seen on how to get Deepfreeze-like functionality -- including Ofris -- is that file read/write redirects are manually configured to happen in userland, whether it's via an rsync backup/restore, a dd backup/restore, or configuring certain mountpoints in fstab to use a tmpfs filesystem.
I'm looking for a kernel level driver that intercepts all read/writes and redirects to a temp space.
|
Ain't going to happen. Even if overlayfs does make it upstream this time (3.18), you still have to setup the overlays.
You don't get nuthin fer nuthin.
Overlayfs has been fighting to get into the mainline for years - and aufs before that.
Snaps are useful, but you lose everything - incuding logs. May suit, or not depending on situation. Really handy after a botched update ...
|
|
|
12-04-2014, 11:36 AM
|
#4
|
LQ Newbie
Registered: Nov 2014
Posts: 2
Original Poster
Rep: 
|
Quote:
Originally Posted by syg00
Even if overlayfs does make it upstream this time (3.18), you still have to setup the overlays.
|
I tried to dig up more information about overlayfs, but it the impression I got is that the best way to learn about it is probably by reading the source code. The wikipedia page is pretty sparse...
Any pointers to good documentation for overlayfs?
Quote:
Originally Posted by syg00
Snaps are useful, but you lose everything - incuding logs. May suit, or not depending on situation. Really handy after a botched update ...
|
syg00, I'm not sure what you mean by "snaps". Is that LVM snapshots or something else?
Quote:
Originally Posted by smallpond
The simplest approach would be to install on an lvm and then boot a snapshot copy which uses a RAM-backed block device. That way any changes would go into RAM and be freed on shutdown, and you wouldn't have to copy the whole OS into memory. I'm not sure it would take any new code, just changes to init scripts.
|
Sounds like this might be the way to go, especially if syg00 is talking about LVM snapshots. I'm a little rusty with LVM, but I get the general concepts and remember most of the major commands. Could you point me in the right direction where I an learn more about how to boot an LVM snapshot into a RAM-backed block device?
|
|
|
12-05-2014, 01:55 AM
|
#5
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,363
|
Yes I was referring to snapshots - btrfs in my case, but conceptually similar to LVM.
There isn't much doco about overlayfs as it hasn't made it to the mainline kernel (yet). Ubuntu seem to have done a bit to make it available to their users - there is also overlayroot, a package (primarily) for Ubuntu.
Seems overlayfs may be in rawhide soon if you use Fedora.
|
|
|
All times are GMT -5. The time now is 11:52 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|