Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* disklabel fails with "Bad file number"
@ 2007-10-19  8:37 Mpatt
  2007-10-20 19:14 ` Krzysiek
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Mpatt @ 2007-10-19  8:37 UTC (permalink / raw)


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.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-10-23 20:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-19  8:37 disklabel fails with "Bad file number" Mpatt
2007-10-20 19:14 ` Krzysiek
2007-10-21 18:23 ` JLPARSEC
2007-10-22 11:27 ` Mpatt
2007-10-23  5:36 ` Uusimäki
2007-10-23 20:36   ` martyn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox