How do I speed up startup and shutdown?Forum: Other Help Topics Topic: How do I speed up startup and shutdown? started by: jhsu Posted by jhsu on Sep. 06 2007,03:29
When I shut down, the "backing up files to /mnt/hda3 mounted on /dev/hda3" stage bogs the process down. When I start up, the "restoring backup files from /mnt/hda3 mounted on /dev/hda3" stage bogs the process down.Is there ANYTHING I can do to speed this up? Posted by Juanito on Sep. 06 2007,03:37
Use the "dma" boot code?
Posted by roberts on Sep. 06 2007,03:44
What is taking up all the space?Fat mail client? Hopefully NOT extensions! Do you REALLY have that much dynamic content? If it is static then move out of the backup/restore into a personal extension. Posted by jhsu on Jan. 14 2008,02:52
What exactly is dynamic content? And what is meant by moving something out of the backup/restore into a personal extension? I have no idea what this means. Posted by Juanito on Jan. 14 2008,03:39
Dynamic content is something (files) that changes almost everytime you use dsl and thus should be added to your backup.If you are currently restoring plenty of files that do not change each time you use dsl, then you can add these files to a mydsl extension - this will avoid having to back them up and restore them every time. Posted by ^thehatsrule^ on Jan. 14 2008,05:55
Try pasting the output of `ls -l backup.tar.gz` and perhaps `tar ztvf bakup.tar.gz` and `showbootcodes` (though I suppose your sig represents that? If so, just add "dma")You may be able to see what's holding it up. Posted by jhsu on Jan. 14 2008,14:14
Output of ls -l backup.tar.gz:-rw-r--r-- 1 root root 291517938 Jan 13 23:55 backup.tar.gz Output of tar ztvf bakup.tar.gz: a LONG LONG list of what seems to be every file in my home/dsl directory Output of showbootcodes: root=/dev/hda1 quiet vga=normal noacpi noapm dma noscsi frugal home=hda3 opt=hda3 mydsl=hda3/mydsl Posted by Juanito on Jan. 14 2008,15:31
- by default, every file in /home/dsl will be backed up... Modify /home/dsl/.filetool.list if you want to change this. Posted by ^thehatsrule^ on Jan. 14 2008,16:49
291mb compressed data... no wonder it takes so long.Since you're already have a persistent home ("home=hda3") there is no need to restore and backup. I suppose you could delete the backup.tar.gz and/or boot with norestore. Posted by roberts on Jan. 14 2008,19:25
If you have a persistent home on hda3 and your backup on hda3, what happens when hda3 fails? No a good backup plan.Is all that data in your home directory really dynamic (used and changes frequently)? I might guess that you are using a fat mail client? If is movies, or other large static (not changing content) I would move them out of the home directory on to another persistent store, or place them in a personal extension ( like a factored backup). If factoring to a manageable size is not practical then I would consider rsync. A good backup plan for a traditional hard drive install, or hybrid (persistent stores, home, opt, ...) using rsync onto a separate drive with saving only changed files works quite nicely with DSL. I use this to manage a local copy of all mydsl extensions. Posted by jhsu on Jan. 15 2008,00:14
[quote=^thehatsrule^,Jan. 14 2008,11:49][/quote]
In other words, home=hda3 and the restore/backup (to hda3) option are incompatible with each other. Correct? If I'm using home=hda3, then the restore/backup should be on external media (such as sda1) and not hda3. Correct? Posted by lucky13 on Jan. 15 2008,00:47
No, I think "redundant" is the correct word. Your data are already on the partition. Do you need a back up of everything that's on that partition? Weed out what you don't need backed up. I don't use restore if I already have /home and mydsl on a partition, I just back up files as needed. EDIT: The backup won't do you any good if it's on that partition (which is already persistent) if it crashes. |