From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,f8c5dd11f980bdea X-Google-Attributes: gidfa528,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!t-online.de!news.task.gda.pl!not-for-mail From: Krzysiek Newsgroups: comp.unix.tru64 Subject: Re: disklabel fails with "Bad file number" Date: Sat, 20 Oct 2007 21:14:44 +0200 Organization: CI TASK http://www.task.gda.pl/ Message-ID: References: <1192783042.567073.44370@v29g2000prd.googlegroups.com> Reply-To: kpip@wp.pl NNTP-Posting-Host: host-81-190-0-155.gdynia.mm.pl Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Trace: news2.task.gda.pl 1192907686 25077 81.190.0.155 (20 Oct 2007 19:14:46 GMT) X-Complaints-To: abuse@news.task.gda.pl NNTP-Posting-Date: Sat, 20 Oct 2007 19:14:46 +0000 (UTC) User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) In-Reply-To: <1192783042.567073.44370@v29g2000prd.googlegroups.com> Xref: g2news2.google.com comp.unix.tru64:109 Hi, Please run : hwmgr -scan scsi , than hwmgr -show scsi , hwmgr -view dev and send output ... Mpatt@bigfoot.com pisze: > Hi Group, > We recently had a disk go awol from a single disk Tru64 V5.1B > box. In order to recover the system I did a fresh install to another > disk, installed Netbackup and then and then used Netbackup to restore > everything from the tape backup over the top of the new disk, choosing > to overwrite existing files. The system boots OK and looks fine except > it won't let me label a new disk (I want to make a copy of the current > disk in case this happens again). > > This is what I see: > > > root@D:/> hwmgr -view devices > HWID: Device Name Mfg Model Location > > ------------------------------------------------------------------------------ > ... > 97: dsk9 DEC HSG80 > IDENTIFIER=1002 #this is the current boot device > 98: dsk10 DEC HSG80 > IDENTIFIER=1001 #this is the new device I want to label > root@D:/> ls -l /dev/disk/dsk10* > brw------- 1 root system 19,195 Oct 18 11:28 /dev/disk/dsk10a > brw------- 1 root system 19,197 Oct 18 11:28 /dev/disk/dsk10b > brw------- 1 root system 19,199 Oct 18 11:28 /dev/disk/dsk10c > brw------- 1 root system 19,201 Oct 18 11:28 /dev/disk/dsk10d > brw------- 1 root system 19,203 Oct 18 11:28 /dev/disk/dsk10e > brw------- 1 root system 19,205 Oct 18 11:28 /dev/disk/dsk10f > brw------- 1 root system 19,207 Oct 18 11:28 /dev/disk/dsk10g > brw------- 1 root system 19,209 Oct 18 11:28 /dev/disk/dsk10h > root@D:/> disklabel -p dsk10 > disklabel: dsk10: Bad file number > root@D:/> disklabel -rw dsk10 > disklabel: dsk10: Bad file number > root@D:/> > > Can anyone tell me why this is happening, and what can be done about > it? > > > TIA for any help. >