-
Notifications
You must be signed in to change notification settings - Fork 0
Home
#RamDev
Here's some extra info
While the sync task is running you can find a log of the rsync activity in:
/tmp/ramdev_sync_[pid].log
When the file syncing is shutdown it will remove this file, so for now you should copy it manually if you need to keep a copy.
If you'd like to shutdown ramdev monitoring gracefully without shutting down the ramdisk send it a 'QUIT' signal.
$ kill -s QUIT pid
If the ramdisk is lost for some reason don't worry. Rsync will keep your files in sync within a second of being changed in the ramdisk. Worst case you're behind by a second if you lose power. However, your folders will need to be cleaned up until the ramdev fix
command is available.
- If the project folder is still linked to the ramdisk remove it.
unlink originalname
- Move the hard disk copy of your project folder back in place.
mv originalname_ramdev originalname
- There is no step 3. Thats all, just repeat for each project folder that was linked to the ramdrive.
At this point you are recovered and can run ramdev up
again. ramdev up
will cancel the spinup if the folders don't look right, so it's safe to try.