Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Backup no longer working, 'Broken pipe'< Next Oldest | Next Newest >
tawalker Offline





Group: Members
Posts: 73
Joined: Dec. 2004
Posted: June 22 2005,06:30 QUOTE

Since I upgraded my pen drive install to DSL 1.1, the backup function no longer works.

When it is invoked during DSL shutdown, the 'tar' command used to backup the required files appears to fail with a 'Broken pipe' error - I think I get the same result starting it from the DSL 'desktop' menu in X.

Any ideas what could cause this? At least I have a previous backup to fall back on, but it would be welcome if everything worked properly again :)

Many thanks,
Tim.
Back to top
Profile PM 
rpcyan
Unregistered






Posted: Aug. 05 2005,14:01 QUOTE

i am experiencing the same problem, except I am running runlevel 2 so no X.  Any help?
Back to top
rpcyan Offline





Group: Members
Posts: 4
Joined: Aug. 2005
Posted: Aug. 12 2005,14:19 QUOTE

Managed to solve my own problem after spending a number of hours on it.

Running DSL on a USB thumbdrive w/ that has only a single partition (i.e. sda1). USB-HDD boot type, although I don't think that matters to this problem.

Anyway, sda1 needs to be unmounted prior to shutdown for the backup to work.  For anybody experiencing these problems, here's the solution:

1) rename your backup.tar.gz to something without a .tar.gz extension (if you can afford to delete it you might as well since we have to replace it)

2) reboot so you have a "backup free" environment.

3) edit /opt/powerdown.sh to unmount /mnt/sda1 prior to backup

4) reboot; new backup.tar.gz will be created and one will not end up with "broken pipe" error messages on shutdown

A helpful hint: I cleaned out the powerdown.sh and bootlocal.sh so all they do is call to scripts on sda1 (bootlocal.sh obviously mounts sda1 prior to calling it).  That way I can modify the scripts regardless of whether the backup.tar.gz is working and I don't have to remaster the KNOPPIX image.

I hope this helps people out; I was unable to find any relevant posts on this isue previously.
Back to top
Profile PM 
Reresh Offline





Group: Members
Posts: 8
Joined: Jan. 2005
Posted: Aug. 16 2005,09:05 QUOTE

rpcyan, thanks for sharing that. I am using similar setup and have the same problem. I copied over backup.tar.gz for safekeeping, then deleted it on USB pendrive and then modified powerdown.sh to

".......then filetool.sh unmount /mnt/sda1 backup noprompt; fi "

Is that what you had in mind?

On powerdown it the system reports "invalid back up device".
Back to top
Profile PM 
Reresh Offline





Group: Members
Posts: 8
Joined: Jan. 2005
Posted: Aug. 16 2005,09:22 QUOTE

Separately - when I try to mount sda1 (withing emelfm file browser), it tells me that /dev/sda1 already mounted or /mnt/sda1 busy.

and

mount: according to mtab, /dev/sda1 is mounted on /cdrom

Of course I read the contents of the USB pendrive by mounting /cdrom.

My thoughts are that when running from USB pendrive, its mounted as cdrom.

Because my PC doesn't have USB support in BIOS, I am using DSL on CD to boot to boot manager, and the choosing to run from the PenDrive by using "dsl fromhd=/dev/sda1".
Back to top
Profile PM 
4 replies since June 22 2005,06:30 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Backup no longer working

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code