From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,37d794fa2fcd88bb,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-10-24 21:48:09 PST Path: bga.com!news.sprintlink.net!howland.reston.ans.net!swrinde!ihnp4.ucsd.edu!scripps.edu!scripps.edu!not-for-mail From: sheehan@riscsm.scripps.edu (Brian Sheehan) Newsgroups: comp.sys.dec Subject: re: dump problem on Alpha w/ OSF/1 Date: 20 Oct 1994 11:36:14 -0700 Organization: The Scripps Research Institute Distribution: world Message-ID: <386dau$bgq@riscsm.scripps.edu> NNTP-Posting-Host: riscsm.scripps.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit On Oct 13 there was a question about dumping to tape from an Alpha w/ OSF/1. The error messages look just like the ones I started getting a few months back on my Alpha 3000/600 w/ OSF/1. The symptoms were also the same although rebooting didn't help me at all. > We have a DEC 3000 model 400 running OSF/1 V2.0 that just started having > problems with dump. We had been doing nightly dumps over the network > with the occasional local dump for several months without any problems. > Starting two weeks ago, we get the following error: > > dump: Dumping from host avalon.lowell.edu > dump: Date of this level 0 dump: Thu Oct 13 08:43:18 1994 MST > dump: Date of last level 0 dump: the start of the epoch > dump: Dumping /dev/rrz3a (/) to standard output > dump: Mapping (Pass I) [regular files] > dump: Mapping (Pass II) [directories] > dump: Cannot get semaphores > get_semaphore(): semget() for fifo_free_semid: No space left on device > dump: SIGTERM received -- Try rewriting ^ > dump: Unexpected signal -- cannot recover ------- *CLUE* > dump: The ENTIRE dump is aborted > dump: SIGTERM received -- Try rewriting > dump: Unexpected signal -- cannot recover > dump: The ENTIRE dump is aborted Finally I noticed the "no space on device" error message. It turns out (and I suspect you may have the same setup) that you need to tell the tape drive it needs to be rewound. However, as you correctly pointed out: [... stuff deleted...] > .....tar does seem to work, so it > doesn't seem to be a problem writing to the tape device. Sounds like a bug somewhere that if you use a /dev/nrmt devive with the dump command it finally realizes that you can't put more stuff on the same tape and tells you so (never mind that you can change the tape, use tar,cpio etc.). Anyway, the workaround I use (finally, after much waffle, here it is!) is to specify the rewind device for the last filesystem dumped onto the tape. Here's the exerpt from the dump script that's relevant: > /sbin/dump -$argv[1]uf /dev/nrmt0h / > /sbin/dump -$argv[1]uf /dev/nrmt0h /usr > /sbin/dump -$argv[1]uf /dev/nrmt0h /var > /sbin/dump -$argv[1]uf /dev/rmt0h /export/ruska ^ *rewind*----------------------- With this the problem hasn't bothered me since. My bet is that you dump several filesystems onto one tape, or else you'd be hanging around at night just to change tapes!. Hope this helps! Brian -- Brian Sheehan As usual, my opinions are my own etc.. The Scripps Research Institute La Jolla, CA (619)554-4233 sheehan@ruska.scripps.edu