LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-10-2007, 10:06 AM   #1
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,261

Rep: Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245
growisofs wrecked my disk!


I've just followed the instructions in the man page and tried to clear the files off a DVDRW disk with

growisofs -Z /dev/dvd=/dev/zero

After 20 minutes I got the message

:-[ WRITE@LBA=230540h failed with SK=5h/ASC=63h/ACQ=00h]: Input/output error
:-( write failed: Input/output error

The disk is now unrecognisable and a second attempt produced exactly the same error. The disk was OK immediately before the offending command, so it can hardly be damage. Is there another way to reformat a DVDRW? And what, if anything, did I do wrong?
 
Old 07-10-2007, 10:22 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,877

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
The process of clearing a dvd-rw is called blanking.

Quote:
Blanking DVD-RW discs

Working with rewritable media is no different from working with ordinary DVD-R media aside from the obvious fact that every now and then you may want to erase the data on them and start over. From the DVD+RW-Tools package we get the dvd+rw-format command that does this for us. It has two modes that can be used when erasing discs, either quick or full mode. In most cases, a quick erase is enough, and this will only take a minute or two (depending on your recorder), compared to the full-erase mode, that takes about the same time as writing a full-size to the media. (Or even longer, depending on the recorder you are using)

To perform a quick format, issue the following command:

dvd+rw-format -blank /dev/dvd

And here is the syntax for erasing the entire disc:

dvd+rw-format -blank=full /dev/dvd
Source: http://www-oss.fnal.gov/projects/fer...cdrecord3.html
 
Old 07-12-2007, 11:21 AM   #3
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,261

Original Poster
Rep: Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245
Thanks for an excellent reply. I read the books, I use apropos, and there's still stuff in my distro I can't find ...
 
Old 07-12-2007, 01:23 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
Originally Posted by DavidMcCann
Thanks for an excellent reply. I read the books, I use apropos, and there's still stuff in my distro I can't find ...
That might continue for years....

Slightly off-topic: I do not use re-writeable media (CD or DVD). The basic -R media is now pretty affordable, and I believe that it is more reliable than -RW.
 
Old 07-13-2007, 04:38 AM   #5
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,261

Original Poster
Rep: Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245
I wrote too soon... Attemps to use either version of

dv+rw-format -blank

gave the reply that this was an illegal operation and the suggestion that I should use -force or -lead-out, neither of which worked. This is a dead disk.

If anyone wonders why I tried to blank the disk in the first place, rather than just overwriting, so do I -- I think decades of floppies must have generated a conditioned reflex.

As for using DVD+R and discarding, what's going to happen to all those discarded disks? Have the three Rs not reached you yet, pixellany? REPAIR RECYCLE REUSE!
 
Old 07-24-2007, 07:40 AM   #6
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,285

Rep: Reputation: 61
Quote:
Originally Posted by DavidMcCann
I wrote too soon... Attemps to use either version of

dv+rw-format -blank

gave the reply that this was an illegal operation and the suggestion that I should use -force or -lead-out, neither of which worked. This is a dead disk.

If anyone wonders why I tried to blank the disk in the first place, rather than just overwriting, so do I -- I think decades of floppies must have generated a conditioned reflex.

As for using DVD+R and discarding, what's going to happen to all those discarded disks? Have the three Rs not reached you yet, pixellany? REPAIR RECYCLE REUSE!

I think this error only happens when you try to blank a dvd+rw disc with dvd+rw-format -blank command, I think this command only works for dvd-rw discs.

I have had just the same problem today and found you can use growisofs to zero fill the disc if needed.

Code:
growisofs -Z /dev/dvd=/dev/zero

 
Old 09-14-2007, 07:09 AM   #7
DavidMcCann
Senior Member
 
Registered: Jul 2006
Location: London
Distribution: CentOS, Salix
Posts: 4,261

Original Poster
Rep: Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245Reputation: 1245
In the unlikely event of anyone following this saga, the news is that the disk lives! Even though it was reported as unreadable by Linux, it could be written by Nautilus with no problem.

The moral may be that some of the old command-line utilities are just too old, and no longer compatible with the hardware.
 
Old 09-14-2007, 07:38 PM   #8
kwill
Member
 
Registered: Jul 2007
Location: Horowhenua New Zealand
Distribution: (X)(K)ubuntu PCLinuxOS Mepis Puppy
Posts: 67

Rep: Reputation: 18
Off topic but I thought the three R's were Reduce, Reuse, Recycle. On the topic (perhaps?) why will kubuntu K3 write a growisofs file but then it is not mountable by either konqueror or mount, no problem mounting with Mepis.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Is this harddrive wrecked? Dstruct0 Linux - Hardware 3 02-02-2007 12:23 AM
DVD writes bad data to disk when growisofs is executed from script akiladila Linux - Hardware 4 04-17-2006 06:30 PM
Wrecked Drive - Windows XP TheHunter990 General 5 01-08-2006 07:58 PM
Wrecked Hard-disk Need Help?! inkysplat Linux - General 2 08-15-2005 04:21 PM
2.6 kernel wrecked my system frieza Linux - Software 4 01-03-2004 04:46 PM


All times are GMT -5. The time now is 11:07 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration