From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1020c6,dfed7024a33ed070,start X-Google-Attributes: gid1020c6,public X-Google-Thread: 111c93,dfed7024a33ed070,start X-Google-Attributes: gid111c93,public From: Andrew Swan Subject: getting a dump script to work Date: 1998/07/22 Message-ID: #1/1 X-Deja-AN: 374017710 Sender: andrew@spider.chiswick.anprod.csiro.au X-Nntp-Posting-Host: spider.chiswick.anprod.csiro.au Organization: CSIRO Australia Newsgroups: comp.unix.admin,comp.os.linux.alpha hi - i have a problem getting a dump script working on an alpha with redhat 5.1. the script contains commands like this: /sbin/dump 0bdfnus 126 54000 /dev/nst0 6000 /dev/sda6 /sbin/dump 0bdfnus 126 54000 /dev/nst0 6000 /dev/sda12 ... plus a few other partitions. if i run each dump command from the command prompt everything works ok. but in the script, the first "dump" will work and the second will crash, with this message: + echo Level 0 dump of file system /dev/sda6 or / + /sbin/dump 0bdfnus 126 54000 /dev/nst0 6000 /dev/sda6 DUMP: No group entry for operator. DUMP: Date of this level 0 dump: Thu Jul 23 00:15:00 1998 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/sda6 (/) to /dev/nst0 DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 102025 tape blocks on 0.06 tape(s). DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: DUMP: 102565 tape blocks on 1 volumes(s) DUMP: level 0 dump on Thu Jul 23 00:15:00 1998 DUMP: Closing /dev/nst0 DUMP: DUMP IS DONE + echo Dump complete filesystem / + echo Level 0 dump of file system /dev/sda12 or / + /sbin/dump 0bdfnus 126 54000 /dev/nst0 6000 /dev/sda12 DUMP: No group entry for operator. DUMP: Date of this level 0 dump: Thu Jul 23 00:17:43 1998 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping /dev/sda12 (/home) to /dev/nst0 DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 70686 tape blocks on 0.04 tape(s). DUMP: dumping (Pass III) [directories] DUMP: master/slave protocol botched. DUMP: The ENTIRE dump is aborted. can someone tell me what's happening? thanks -- Andrew Swan CSIRO Animal Production Pastoral Research Laboratory Armidale 2350 AUSTRALIA ph. +61 (0)2 67761377 fax +61 (0)2 67761333 email: andrew@chiswick.anprod.csiro.au