From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Shaun.Racine@intier.com Newsgroups: gmane.os.tru64.managers Subject: hwmgr delete - HWMGR_REQ buffer contains bad parameters Date: Thu, 08 Jul 2004 14:28:40 +0000 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1089296954 8125 80.91.224.253 (8 Jul 2004 14:29:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Jul 2004 14:29:14 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Thu Jul 08 16:29:03 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1BiZtW-000282-00 for ; Thu, 08 Jul 2004 16:29:03 +0200 Original-Received: (qmail 15701 invoked by uid 5); 8 Jul 2004 14:28:55 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 15686 invoked by uid 49501); 8 Jul 2004 14:28:55 -0000 Original-Received: from Shaun.Racine@intier.com by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-4.7/5.0):. Processed in 0.445069 secs); 08 Jul 2004 14:28:55 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 8 Jul 2004 14:28:54 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I0J00EPREW5GP@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 08 Jul 2004 10:28:54 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0I0J00402EVYEC@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 08 Jul 2004 10:28:47 -0400 (EDT) Original-Received: from smtp2.msi-it.com (smtp2.msi-it.com [213.150.229.10]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0I0J00IGSEVWDB@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Thu, 08 Jul 2004 10:28:45 -0400 (EDT) Original-Received: from MSIFRAHUB02DS.magna-europa.com ([213.150.229.253]) by smtp2.msi-it.com (8.11.6/8.11.6) with ESMTP id i68EhFX12933 for ; Thu, 08 Jul 2004 16:43:15 +0200 Original-Received: from miskhill01ds ([172.28.44.3]) by msifrahub02ds (Lotus Domino Release 6.5.1) with ESMTP id 2004070816284128-216929 ; Thu, 08 Jul 2004 16:28:41 +0200 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 X-MIMETrack: Serialize by Router on MISKHILL01DS/SVR/MISKHill(Release 5.0.12 |February 13, 2003) at 08/07/2004 15:28:41, Itemize by SMTP Server on MSIFRAHUB02DS/SVR/MSI-HUB(Release 6.5.1|January 21, 2004) at 07/08/2004 04:28:41 PM, Serialize by Router on MSIFRAHUB02DS/SVR/MSI-HUB(Release 6.5.1|January 21, 2004) at 07/08/2004 04:28:43 PM, Serialize complete at 07/08/2004 04:28:43 PM Xref: main.gmane.org gmane.os.tru64.managers:7240 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7240 Hi All, ES40, HSG80 TRU64 V5.1A, patch kit 4. (T64V51AB21AS0004-20030206 OSF520) I am trying to delete a device which does not exist on our system, but get error; hwmgr: HWMGR_REQ buffer contains bad parameters or sizes are invalid. We have 2 ES40 which are connected to HSG80. Only one ES40 is booted at a time, the other is on standby (redundancy). Periodically we down the live ES40, at the HSG we disconnect and associate the disks to the alternate ES40 and boot this. Hence we get null devices for tape and cdrom, and I normally just delete these, then use dsfmgr to reassign to normal device file. But this one wont go.... all suggestions welcome. Here are the commands I've used; MARS:root> hwmgr -show scsi SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH ------------------------------------------------------------------------- 0: 10 MARS tape none 0 1 (null) 48: 1 MARS disk none 2 5 dsk0 [4/3/11] 49: 2 MARS disk none 2 5 dsk1 [4/3/12] 54: 0 MARS raid none 0 5 scp0 [4/3/0] 55: 3 MARS raid none 0 5 scp1 [4/1/0] 68: 7 MARS cdrom none 0 1 cdrom0 [2/0/0] 69: 6 MARS tape none 0 1 tape1 [1/6/0] MARS:root> hwmgr delete -id 0 hwmgr: HWMGR_REQ buffer contains bad parameters or sizes are invalid. MARS:root> hwmgr -show scsi -full -id 0 SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH ------------------------------------------------------------------------- 0: 10 MARS tape none 0 1 (null) WWID:03100032:" SONY SDX-300C **********" BUS TARGET LUN PATH STATE --------------------------------- 1 0 0 stale Thanks Shaun