PLEX86  x86- Virtual Machine (VM) Program
 Plex86  |  CVS  |  Mailing List  |  Download  |  Linux  |  Newsgroups

Growisofs IO errors


Your Ad Here

Your Ad Here

Can $1 be set in a script
On Thu, 30 Mar 2006 19:12:54 GMT, larryalk staggered into the Black Sun and said: This question has absolutely nothing to do with X...

Hi:

I am trying to burn Verbatim Datalife 4x DVD+RW media using a Panasonic SW-9573 drive on Suse 9.1 Linux 2.6.5. Using dvd+rw-tools-5.17.4.8.6-17.5.5 and mkisofs-2.01a27-21.

I created an image this way:

mkisofs -o cd-rw-test.dvdrw.backup.iso -R -J -v misc pdf junk

Which completed without difficulty.

I then try to burn with:

Defrag Constant HD accessing 738
hiwa Pertaining to the info within the above link I wish some of the more experienced Linux users would comment on editing, maintaining these cron files. I too have experienced this *seemingly* random once-in...

growisofs -dvd-compat -speed=4 -Zdev-dvdrw=cd-rw-test.dvdrw.backup.iso

I'm not sure if using it as an IDE device is a problem or not. I thought in kernel 2.6 we needn't worry about SCSI emulation stuff anymore.

What happens is that when the command is issued from the command line in konsole, it almost always works. Only sometimes it does something like this if I didn't eject and reload the media before trying to burn it:

About to execute 'builtindd if=cd-rw-test.dvdrw.backup.iso of=-dev-dvdrw obs=32k seek=0'dev-dvdrw: restarting DVD+RW format...dev-dvdrw: "Current Write Speed" is 4.1x1385KBps.

However, when I do the same commands from a script, I get very frequent problems. My script is below. Basically, I always eject and reload the tray before growisofs. Yet, about 20% of the time I get IO errors and a failed growisofs.

I'm wondering if simply the fact that on the CLI, the drive is usually done with it's checking out the disk before I attempt to burn. Whereas when in the script, growisofs is called immediately after the tray loads.

There are no automount functions running on this machine. Submount is though alive for USB removables. DVDs and CDs do not automount. Nor is the media mounted when I attempt to growisofs.

There are other errors as well. Sometimes it appears as if the write can't get started on the first blob:

About to execute 'builtindd if=cd-rw-test.dvdrw.backup.iso of=-dev-dvdrw obs=32k seek=0' Sleeping for 5 sec...4 sec...3 sec...2 sec...1 sec...0 sec...dev-dvdrw: "Current Write Speed" is 4.1x1385KBps.dev-dvdrw: flushing cachedev-dvdrw: writing lead-out

Note, I never have problems with this media when using K3b, so I don't believe it's the media.

Clues welcome. Thanks!

P.S. Script: #!-bin-bash

Error message mounting local file system upon boot Debian
On Thu, 23 Feb 2006 14:07:49 -0300, Ney AndrŽ de Mello Zunino staggered into the Black Sun and said: One of the filesystems inetc-fstab failed to mount at boot. The...

# This is a backup script for creating backup # archives on DVD+RW media and verifying them. # It logs its progress in a log file. It also shuts down the PC if desired. # Usage: # dvdrw.backup TYPE --shutdnpc # where TYPE is the first field of the name of the source list file. # Ex: # "test" to use the test.dvdr.backup.list source list file # # If the "--shutdnpc" option is given then the command: # "sudo shutdown -h now" will be given at the end of the script.

Defrag Constant HD accessing 737
In a message on 6 Apr 2006 18:27:15 -0700, wrote : There are several 'standard' cron jobs that Linux...

# We want to reside in the user's home cd

NAME=dvdrw.backup # name of this script BDIR=backup # the path under $HOME where this script lives LDIR=$BDIR-logs # the path under $HOME where logs go IDIR=cd-rw # the path under $HOME where ISO images go

DVDRWDEV=-dev-dvdrw # path to media writer device DVDRWMNT=-media-dvdrw # mount point for media

DVDRWSCSIDEV=ATA:3,0,0

if "x$1" = x ; then # there is nothing in $1 echo "Error: no arguments; don't know what to do!" exit 1 # If we get here there is something in $1, so don't need to quote it elif $1 = --shutdnpc ; then echo "Error: you can't make --shutdnpc the first argument!" exit 1 # If we get here we have at least some first argument other than # --shutdnpc

elif -s $BDIR-$1.$NAME.list ; then LIST=$BDIR-$1.$NAME.list else echo "Error: source list file doesn't exist or is empty!" exit 1 fi

SHUTDOWN=false

if "x$2" != x ; then # there is something in $2 so deal with it if $2 != --shutdnpc ; then echo "Error: second argument must be --shutdnpc or nothing!" exit 1 else # it must be --shutdnpc SHUTDOWN=true fi fi

LOGFILE=$LDIR-$1.$NAME.log

ReExporting NFS mounts under RHEL ES 3
I have a scenario where I have three linux hosts. Host A is on a production network. Host B has two NICs, one on the production network...

if -e $LOGFILE ; then echo "Moving old log file..." mv $LOGFILE $LOGFILE.old fi

date tee -a $LOGFILE

echo "We are in the $BDIR-$NAME script" tee -a $LOGFILE echo "Using source list file: $LIST" tee -a $LOGFILE echo "Creating ISO9660 image: $IDIR-$1.$NAME.iso" tee -a $LOGFILE

tee -a $LOGFILE

if ${PIPESTATUS0} = 0 ; then echo "ISO image created successfully." tee -a $LOGFILE else echo "There were errors creating ISO image, check source list file!" tee -a $LOGFILE exit 1 fi

# Good idea to reload tray before & after writing to reset drive # before and after write.

echo "Unmounting $DVDRWDEV..." tee -a $LOGFILE echo "Re-loading media tray..." tee -a $LOGFILE eject $DVDRWDEV eject -t $DVDRWDEV

SAMBA automatic remounting
On Fri, 31 Mar 2006 11:13:05 -0500, John-Paul Stewart staggered into the Black Sun and said: No idea, though there's got to be something you...

# Must use -dvd-compat to write lead-out properly so IO errors don't occur.

tee -a $LOGFILE

# There was a case where IO errors occured on the burn but growisofs returned # an OK exit status because it suceeded at reloading the platter before # exiting. See logs. What to do about this?

if ${PIPESTATUS0} = 0 ; then echo "DVD+RW filesystem created successfully." tee -a $LOGFILE else echo "There were errors burning the DVD+RW!" tee -a $LOGFILE exit 1 fi

# The growisofs command ejects and reloads the tray by itself, so we # needn't do it here. Or sometimes it doesn't. Ugh!

echo "Mounting and comparing source ISO image to media..." tee -a $LOGFILE

if ${PIPESTATUS0} != 0 ; then echo "ERROR: Could not mount media! Exiting..." tee -a $LOGFILE exit 1 fi

# This part isn't ready for prime time: #for d in `ls -aA $DVDRWMNT`; do #done

date tee -a $LOGFILE

if $SHUTDOWN = true ; then echo "Shutting Down Linux..." tee -a $LOGFILE sudosbin-shutdown -h now fi

-- Good day!

Christopher R. Carlen Principal Laser&Electronics Technologist Sandia National Laboratories CA USA NOTE, delete texts: "RemoveThis" and "BOGUS" from email address to reply.



Your Ad Here

List | Previous | Next

Error message mounting local file system upon boot Debian

Linux groups from Newsgroups

The #1 Usenet Provider on the Internet

Bad blocks in raid5 disk