On Sat, 24 Dec 2005 14:40:57 -0500
Phil Stracchino <[EMAIL PROTECTED]> wrote:

> Hi Jeff!
Hi Phil!
> 
> > 3999 Device "DVD Writer" not found or could not be opened.
> 
> This is a key error message, both times that it occurs above.
> 
> 
> > I don't know. It's almost like it's trying to mount the disc and,
> > failing, assumes it can't access the disc. If it fails it should
> > assume that it's a non-formatted disc, shouldn't it? Can you mount
> > a blank disc under Linux?
> 
> No, you can't.  Remember that you mount filesystems, not devices.  You
> cannot mount (from the shell) a blank disk that doesn't have a
> filesystem on it, because there's no filesystem to mount.
>
That's pretty much what I thought.
> 
> 
> > #
> > # A DVD device
> > #
> > Device {
> >   Name = "DVD-Writer"
> 
> And this is why that's a key error message above.  Look carefully at
> this line and the error again, and you'll spot the problem.
> 
Well, damn. Some mistakes don't stop happening, even after 40 years. 

(Makes a mental note to check the default installed configs for future
recommendations.)

OK, here's what I get.

%bconsole
Connecting to Director 192.168.10.12:9101
1000 OK: badb-dir Version: 1.38.2 (20 November 2005)
Enter a period to cancel a command.
*mount
Using default Catalog name=MyCatalog DB=bacula
The defined Storage resources are:
     1: File
     2: DVD
Select Storage resource (1-2): 2
3902 Cannot mount Volume on Storage Device "DVD-Writer" (/dev/cd0)
because: Couldn't rewind device "DVD-Writer" (/dev/cd0): ERR=dev.c:689
Rewind error on "DVD-Writer" (/dev/cd0). ERR=Inappropriate ioctl for
device.

3905 Device "DVD-Writer" (/dev/cd0) open but no Bacula volume is
mounted. If this is not a blank tape, try unmounting and remounting the
Volume. You have messages.
*label
The defined Storage resources are:
     1: File
     2: DVD
Select Storage resource (1-2): 2
Enter new Volume name: DVDTest001
Automatically selected Pool: Default
Connecting to Storage daemon DVD at 192.168.10.12:9103 ...
Sending label command for Volume "DVDTest001" Slot 0 ...
3912 Failed to label Volume: ERR=dev.c:689 Rewind error on
"DVD-Writer" (/dev/cd0). ERR=Inappropriate ioctl for device.

Label command failed for Volume DVDTest001.
Do not forget to mount the drive!!!
*

Am I using the correct device? Or maybe I screwed up and got an
unpatched DVD+RW tool back on there when I was fiddling around? I'll
check that shortly.

Thing is, /dev/cd0 is the only device that DVD+RW tools seems to want
to talk to.

badb# dvd+rw-mediainfo /dev/acd0
/dev/acd0: unable to open: Inappropriate ioctl for device
badb# dvd+rw-mediainfo /dev/cd0
INQUIRY:                [DVDRW   ][IDE 16X         ][A190]
GET [CURRENT] CONFIGURATION:
 Mounted Media:         1Ah, DVD+RW
 Current Write Speed:   4.0x1385=5540KB/s
 Write Speed #0:        4.0x1385=5540KB/s
 Write Speed #1:        2.0x1385=2770KB/s
 Speed Descriptor#0:    00/2295103 [EMAIL PROTECTED]/s
[EMAIL PROTECTED]/s Speed Descriptor#1:    00/2295103
[EMAIL PROTECTED]/s [EMAIL PROTECTED]/s READ DVD STRUCTURE[#0h]:
 Media Book Type:       92h, DVD+RW book [revision 2]
 Media ID:              PHILIPS/041
 Legacy lead-out at:    2295104*2KB=4700372992
READ DISC INFORMATION:
 Disc status:           complete
 Number of Sessions:    1
 State of Last Session: complete
 Number of Tracks:      1
 BG Format Status:      suspended
READ TRACK INFORMATION[#1]:
 Track State:           complete
 Track Start Address:   0*2KB
 Free Blocks:           0*2KB
 Track Size:            2295104*2KB
FABRICATED TOC:
 Track#1  :             [EMAIL PROTECTED]
 Track#AA :             [EMAIL PROTECTED]
 Multi-session Info:    [EMAIL PROTECTED]
READ CAPACITY:          2295104*2048=4700372992
badb# dvd+rw-mediainfo /dev/pass0
/dev/pass0: unable to open: Operation not permitted
badb# dvd+rw-mediainfo /dev/xpt0
/dev/xpt0: unable to open: Operation not permitted

I'll go do an upgrade, make distclean and a complete patch/reinstall
of the tools now and see what happens.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to