LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 06-26-2019, 10:10 AM   #1
galen
Member
 
Registered: Sep 2003
Location: Halifax, Nova Scotia, Canada
Distribution: MX, Xubuntu, Zorin. BOYCOTTING: Vector, Beatrix, BLAG, Slackware. Life banned from: Facebook, Yahoo!
Posts: 190
Blog Entries: 1

Rep: Reputation: Disabled
backup dkopp giving mount status: 32 Broken pipe


Im running dkopp (sudo)
and executing a job
something simple /home/user/Pictures to DVD

but Broken Pipe occurs
mount status: 32 Broken pipe

anyone have experience with dkopp can help me fix this?

Quote:
shell: /usr/bin/growisofs -Z /dev/sr0 -r -graft-points -iso-level 4 -gui -V "dkopp" -use-the-force-luke=tty -use-the-force-luke=notray -path-list /root/.dkopp/diskfiles 2>&1
growisofs: Executing 'genisoimage -r -graft-points -iso-level 4 -gui -V dkopp -path-list /root/.dkopp/diskfiles | builtin_dd of=/dev/sr0 obs=32k seek=0'
growisofs: Warning: Creating ISO-9660:1999 (version 2) filesystem.
growisofs: Warning: ISO-9660 filenames longer than 31 may cause buffer overflows in the OS.
growisofs: 0.8 % /DATA/pictures/101MSDCF/DSC02354.JPG
growisofs: /dev/sr0: FEATURE 21h is not on, engaging DAO...
growisofs: /dev/sr0: reserving 1941166 blocks
growisofs: :-[ RESERVE TRACK failed with SK=3h/UNABLE TO RECOVER TABLE-OF-CONTENTS]: Input/output error
growisofs: /dev/sr0: "Current Write Speed" is 8.2x1352KBps.
growisofs: :-[ WRITE@LBA=0h failed with SK=3h/UNABLE TO RECOVER TABLE-OF-CONTENTS]: Input/output error
growisofs: :-( write failed: Input/output error
growisofs: genisoimage: Broken pipe. cannot fwrite 32768*1
growisofs status: 999 growisofs failure

shell: /usr/bin/growisofs -Z /dev/sr0 -r -graft-points -iso-level 4 -gui -V "dkopp" -use-the-force-luke=tty -use-the-force-luke=notray -path-list /root/.dkopp/diskfiles 2>&1
growisofs: Executing 'genisoimage -r -graft-points -iso-level 4 -gui -V dkopp -path-list /root/.dkopp/diskfiles | builtin_dd of=/dev/sr0 obs=32k seek=0'
growisofs: Warning: Creating ISO-9660:1999 (version 2) filesystem.
growisofs: Warning: ISO-9660 filenames longer than 31 may cause buffer overflows in the OS.
growisofs: 0.8 % /DATA/pictures/101MSDCF/DSC02354.JPG
growisofs: /dev/sr0: FEATURE 21h is not on, engaging DAO...
growisofs: /dev/sr0: reserving 1941166 blocks
growisofs: :-[ RESERVE TRACK failed with SK=3h/UNABLE TO RECOVER TABLE-OF-CONTENTS]: Input/output error
growisofs: /dev/sr0: "Current Write Speed" is 8.2x1352KBps.
growisofs: :-[ WRITE@LBA=0h failed with SK=3h/UNABLE TO RECOVER TABLE-OF-CONTENTS]: Input/output error
growisofs: :-( write failed: Input/output error
growisofs: genisoimage: Broken pipe. cannot fwrite 32768*1
growisofs status: 999 growisofs failure
backup time: 42 secs
backup speed: 94.94 MB/sec
*** BACKUP FAILED
added: media dvd-r

Last edited by galen; 06-28-2019 at 08:05 PM. Reason: added dvd-r
 
Old 06-27-2019, 01:19 AM   #2
scdbackup
Member
 
Registered: Oct 2013
Posts: 158

Rep: Reputation: Disabled
Hi,

the problem is between drive and medium. growisofs tries to let the
drive reserve the predicted size of the emerging ISO 9660 filesystem.
The drive replies by SCSI error code 3,57,00 which is classified by
the specs as "Medium Error". But it may also be the drive's fault.

The message "FEATURE 21h is not on, engaging DAO" indicates that your
medium is DVD-R or DVD-RW, and that the drive does not offer the
opportunity to write it with write type "Incremental". So growisofs
chooses the other type "Disk-At-Once", which needs the RESERVE TRACK
command.

If the medium is a DVD-RW, then try whether it helps to format it.
Code:
dvd+rw-format -force /dev/sr0
Formatted DVD-RW get written without RESERVE TRACK command.
Given that there are obvious hardware problems, this might fail too.

If the medium is DVD-R or if DVD-RW formatting does not bring success,
consider to try your medium in a different DVD drive or to try different
media in the drive which you use now.
I expect best chances for success with DVD+RW media. They are quite
different from DVD-R and normally more reliable than DVD-RW.
DVD+R are treated different from DVD-R, too.

Have a nice day

Thomas
 
2 members found this post helpful.
Old 06-27-2019, 01:36 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,129

Rep: Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121Reputation: 4121
Awesome response.
 
Old 06-28-2019, 10:31 AM   #4
galen
Member
 
Registered: Sep 2003
Location: Halifax, Nova Scotia, Canada
Distribution: MX, Xubuntu, Zorin. BOYCOTTING: Vector, Beatrix, BLAG, Slackware. Life banned from: Facebook, Yahoo!
Posts: 190

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
thanks
I think DVD- s have a reserved space for drm

I now wonder what backup tool to use to create RO disk & then stored offsite, any ideas?
mondo
cdrecord
bacula
cedar

I love deja-dup for offsite storage to cloud, but I don't need anything fancy for 50GB of photos

Last edited by galen; 06-28-2019 at 01:40 PM. Reason: added words
 
Old 06-28-2019, 10:49 AM   #5
scdbackup
Member
 
Registered: Oct 2013
Posts: 158

Rep: Reputation: Disabled
Hi,

> I think DVD- s have a reserved space for drm

That's not the problem here. The missing "TABLE-OF-CONTENTS" is the
place where burners record the start addresses and sizes of the "tracks"
and their attributions to "sessions".

The failed growisofs command with option -Z expects to be applied to
a medium which is overwritable or blank. DVD-R cannot be overwritable
and cannot get blanked after having been written.
So this media type must be yet unused or it is not suitable for
growisofs -Z. I.e. zero tracks in zero sessions have to recorded in the
table-of-content.


> I now wonder what backup tool to use to create RO offsite, any ideas

What's "RO" in this context ?

Well, i do my backups locally to DVD and BD by my own programs scdbackup
and xorriso. So remote storage is out of my scope.

Have a nice day

Thomas
 
1 members found this post helpful.
Old 06-28-2019, 04:29 PM   #6
galen
Member
 
Registered: Sep 2003
Location: Halifax, Nova Scotia, Canada
Distribution: MX, Xubuntu, Zorin. BOYCOTTING: Vector, Beatrix, BLAG, Slackware. Life banned from: Facebook, Yahoo!
Posts: 190

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
the limitations of dvd-r are a problem

I will check your software
http://scdbackup.sourceforge.net/main_eng.html
 
Old 06-28-2019, 07:06 PM   #7
galen
Member
 
Registered: Sep 2003
Location: Halifax, Nova Scotia, Canada
Distribution: MX, Xubuntu, Zorin. BOYCOTTING: Vector, Beatrix, BLAG, Slackware. Life banned from: Facebook, Yahoo!
Posts: 190

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by galen View Post
the limitations of dvd-r are a problem

I will check out your software
http://scdbackup.sourceforge.net/main_eng.html
scdbackup
is reporting errors, this and more
Quote:
Note: compiling with Large File Support
compiling program temp_lock.c
temp_lock.c: In function ‘Get_username’:
temp_lock.c:47:15: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘__uid_t {aka unsigned int}’ [-Wformat=]
sprintf(name,"uid_%ld",geteuid()
);

Last edited by galen; 06-28-2019 at 07:48 PM.
 
Old 06-28-2019, 07:50 PM   #8
galen
Member
 
Registered: Sep 2003
Location: Halifax, Nova Scotia, Canada
Distribution: MX, Xubuntu, Zorin. BOYCOTTING: Vector, Beatrix, BLAG, Slackware. Life banned from: Facebook, Yahoo!
Posts: 190

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by scdbackup View Post
Hi,

> I think DVD- s have a reserved space for drm

That's not the problem here. The missing "TABLE-OF-CONTENTS" is the
place where burners record the start addresses and sizes of the "tracks"
and their attributions to "sessions".

The failed growisofs command with option -Z expects to be applied to
a medium which is overwritable or blank. DVD-R cannot be overwritable
and cannot get blanked after having been written.
So this media type must be yet unused or it is not suitable for
growisofs -Z. I.e. zero tracks in zero sessions have to recorded in the
table-of-content.


> I now wonder what backup tool to use to create RO offsite, any ideas

What's "RO" in this context ?

Well, i do my backups locally to DVD and BD by my own programs scdbackup
and xorriso. So remote storage is out of my scope.

Have a nice day

Thomas
I tried to install your impressive software but sourceforge had 0.8 version.
I did find 0.9.2
./CONFIGURE_DVD
it reported similar errors

I will keep reading learning
thank you

Last edited by galen; 06-28-2019 at 08:06 PM. Reason: structure
 
Old 06-29-2019, 04:14 AM   #9
scdbackup
Member
 
Registered: Oct 2013
Posts: 158

Rep: Reputation: Disabled
Hi,

Quote:
temp_lock.c:47:15: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘__uid_t {aka unsigned int}’ [-Wformat=]
sprintf(name,"uid_%ld",geteuid()
Hm. In my version i have a "(long int)" cast operator which prevents
this warning. It is quite a harmless problem, though.

Quote:
I tried to install your impressive software but sourceforge had 0.8 version.
This explains a lot.

Please post the complete compiler warnings and error messages (as attachment,
if large) or send them to scdbackup@gmx.net .

-------------------------------------------------------------------------
Whatever, scdbackup is specialized on using multiple media for one
backup. As substitute for dkopp you should first explore xorriso, which
is the backend for a single medium.
It is packaged as binary with most distros.

Have a look at
https://www.gnu.org/software/xorriso/
and search for "The following command performs incremental backup.".
The example would have to be written as shell script and adjusted to the
names of your local files.

If you need a GUI, try xorriso-tcltk. (Packaged rarely by distros.
Just download
https://dev.lovelyhq.com/libburnia/l.../xorriso-tcltk
put it into /usr/bin and give it x-permissions.)
Klick on the dark "Help" button to the upper right
https://www.gnu.org/software/xorriso...ltk-screen.gif
nd read the description of
"- Burn a directory as only content onto a CD, DVD or BD"
"- Add more data to an appendable medium or to an ISO image data file"

Have a nice day

Thomas
 
1 members found this post helpful.
Old 06-29-2019, 06:34 AM   #10
galen
Member
 
Registered: Sep 2003
Location: Halifax, Nova Scotia, Canada
Distribution: MX, Xubuntu, Zorin. BOYCOTTING: Vector, Beatrix, BLAG, Slackware. Life banned from: Facebook, Yahoo!
Posts: 190

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
here's a hacked way to backup using 7z
and manually creating disks

eg
7z a photos.7z -v620m -mx=0 /DATA/pictures
then burn 7 archives to one DVD-R
then the next 7

not a great solution since it requires double disk space of source, and fragmented archives
 
Old 07-04-2019, 04:52 PM   #11
galen
Member
 
Registered: Sep 2003
Location: Halifax, Nova Scotia, Canada
Distribution: MX, Xubuntu, Zorin. BOYCOTTING: Vector, Beatrix, BLAG, Slackware. Life banned from: Facebook, Yahoo!
Posts: 190

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
now that I DVD+RWs and have formatted them.
dkopp will fail after the 1st disc is filled and the 2nd is installed
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP shell_exec() always gives error "Broken pipe" when using pipe burek Linux - Server 1 01-19-2012 06:04 AM
[SOLVED] How to handle a broken pipe exception (SIGPIPE) in FIFO pipe? zyroot998 Programming 5 03-03-2011 08:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration