Re: no space left on device,. Error writing.
Joerg Schilling <[email protected]> Fri, 23 Jun 2006 09:27:21 +0200
| Newsgroups | gmane.comp.archivers.star.user |
|---|---|
| Message-ID | <449B97D9.nailMN01NEWV1@burner> |
jon fritsch <[email protected]> wrote: > Star-users, > > I was having the problem with a tape drive quitting on > a multivolume backup about a month ago. I posted it > to the list and the general consensus was that there > was a problem with some later kernels. > > I switched to Centos 4.3 (repackaged redhat) running > 2.6.9-34.0.1.ELsmp . I am using a DAT 20/40 tape > drive and trying to use DAT 12/24 (DDS-3) tapes in it. It seems that there still is a problem with the tape driver. > I have issued the following commands. Each time the > tape writes to the end of the tape and give me the > error below (or something close to the error below). > > star cv multivol f=/dev/st0 /mnt/files/ > star cv multivol tsize=11800M f=/dev/st0 /mnt/files/ > star cv multivol tsize=12000M f=/dev/st0 /mnt/files/ > > > star: No space left on device. Error writing > '/dev/st0'. > star: 1021370 blocks + 0 bytes (total of 10458828800 > bytes = 10213700.00k). > star: The following problems occurred during archive > processing: > star: Cannot: stat 1, open 0, read/write 0. Size > changed 0. > star: Missing links 0, Name too long 0, File too big > 0, Not dumped 0. The correct return value for writing to the end of a "device" is just 0 without setting errno. Returning -1 and setting errno to ENOSPC would be correct if "/dev/st0" was a file on a filled up filesystem. > I'm sure I am doing something stupid, but I don't know > what. my guess is that I have to tell star that I am > not using DDS-4 tapes in the drive. I thought the > tsize= parameter would do that, but it's not working. > Perhaps I am doing something wrong???? Unless you do not have a "/dev/st0" device node and thus just did write to the filesystem instead of writing to the tape drive, you need to report thje driver bug to the Linux kernel people and wait for it to be fixed. Jörg -- EMail:[email protected] (home) Jörg Schilling D-13353 Berlin [email protected] (uni) [email protected] (work) Blog: http://schily.blogspot.com/ URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily