Re: BD-RE mount problem

2012-08-09 Thread Thomas Schmitt
Hi, > > fd = open("/dev/sr0", O_RDWR); > root@transponder:/home/garydale# ./open_sr0 > open: fd= -1 , errno= 30 > open: Read-only file system This is surprising, because xorriso uses open(..., O_RDWR | O_NDELAY); when it acquires a drive. (I would have expected to see the error with write()

Re: [Bulk] Re: BD-RE mount problem

2012-08-09 Thread Gary Dale
On 09/08/12 04:36 PM, Thomas Schmitt wrote: Hi, # xorriso -scsi_log on -dev /dev/sr0 -format "full" ... xorriso : FAILURE : libburn indicates failure with formatting. It should have reported the SCSI error (will have to dig for that). That error came with command FORMAT UNIT FORMAT UNIT 04

Re: BD-RE mount problem

2012-08-09 Thread Thomas Schmitt
Hi, > # xorriso -scsi_log on -dev /dev/sr0 -format "full" > ... > xorriso : FAILURE : libburn indicates failure with formatting. It should have reported the SCSI error (will have to dig for that). That error came with command FORMAT UNIT > FORMAT UNIT > 04 11 00 00 00 00 > To drive: 12b > 00 82

Re: [Bulk] Re: BD-RE mount problem

2012-08-09 Thread Gary Dale
On 09/08/12 02:39 PM, Thomas Schmitt wrote: Hi, I also tried using K3B to burn as udf. mkisofs print size result: 0 (0 bytes) This looks like a different problem. A size prediction of 0 is hardly to explain by any state of the target medium. How large should the result have been ? 59M or there

Re: BD-RE mount problem

2012-08-09 Thread Gary Dale
On 09/08/12 01:45 PM, Thomas Schmitt wrote: Hi, Yes, I have read-write permissions. Something does not work properly. Are any related messages to see in the output of dmesg ? Nothing in dmesg | tail or syslog just now when I tried a dvd+rw-format -force=full. I tried xorriso to fix the

Re: BD-RE mount problem

2012-08-09 Thread Thomas Schmitt
Hi, > I also tried using K3B to burn as udf. > mkisofs print size result: 0 (0 bytes) This looks like a different problem. A size prediction of 0 is hardly to explain by any state of the target medium. How large should the result have been ? What do you get from xorriso -outdev /dev/sr0 -bla

Re: BD-RE mount problem

2012-08-09 Thread Thomas Schmitt
Hi, > Yes, I have read-write permissions. Something does not work properly. Are any related messages to see in the output of dmesg ? > I tried xorriso to fix the disc as well but it also fails. What did you try and what did it report when it failed ? (We could get a log of SCSI commands from x

Re: BD-RE mount problem

2012-08-09 Thread Gary Dale
On 09/08/12 12:08 PM, Thomas Schmitt wrote: Hi, [i am subscribed to cdwrite@other.debian.org, not to debian-user] You could use sequential burn programs like growisofs or xorriso. Both can add files to ISO 9660 filesystems on BD-RE. Those filesystems are mountable read-only. If you canafford t

Re: BD-RE mount problem

2012-08-09 Thread Gary Dale
On 09/08/12 01:19 PM, Keith McKenzie wrote: On 9 August 2012 17:43, Gary Dale wrote: Already tried that. dd complains: dd: opening `/dev/sr0': Read-only file system It sounds like it is mounted; try unmounting it,& then try dd again. root@transponder:/home/garydale# umount /dev/sr0 umo

Re: BD-RE mount problem

2012-08-09 Thread Gary Dale
On 09/08/12 12:08 PM, Thomas Schmitt wrote: Hi, [i am subscribed to cdwrite@other.debian.org, not to debian-user] I tried a new disc again, and this time formatted it through K3B instead of using dvd+rw-format directly. I don't know what K3B does as "formatting", but dvd+rw-format does only a

Re: BD-RE mount problem

2012-08-09 Thread Thomas Schmitt
Hi, [i am subscribed to cdwrite@other.debian.org, not to debian-user] > > >I tried a new disc again, and this time formatted it through K3B > > >instead of using dvd+rw-format directly. I don't know what K3B does as "formatting", but dvd+rw-format does only a hardware level formatting. It does n

Re: BD-RE mount problem

2012-08-09 Thread Chris Bannister
[Ccing cdwrite@other.debian.org] Any ideas? On Tue, Aug 07, 2012 at 03:49:13PM -0400, Gary Dale wrote: > On 06/08/12 11:51 PM, Gary Dale wrote: > >I've been using BD-RE discs for backups on a Debian/Squeeze server > >for a couple of years now. In the last week or so the backups have > >been faili