From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jonathan Williams Newsgroups: gmane.os.tru64.managers Subject: SUMMARY: creating device special files Date: Mon, 25 Nov 2002 15:55:12 -0500 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <078e01c294c4$f2f55360$8315000a@shubertorg.com> References: <5.1.0.14.2.20021125152343.02ff4e38@mail-hub.optonline.net> <077a01c294c2$78e70ed0$8315000a@shubertorg.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1038257716 1999 80.91.224.249 (25 Nov 2002 20:55:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 25 Nov 2002 20:55:16 +0000 (UTC) Return-path: Original-Received: from sws1.ctd.ornl.gov ([160.91.20.101]) by main.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 18GQG9-0000Vo-00 for ; Mon, 25 Nov 2002 21:55:13 +0100 Original-Received: (qmail 20262 invoked by uid 5); 25 Nov 2002 20:57:08 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 20253 invoked by uid 49493); 25 Nov 2002 20:57:08 -0000 Original-Received: from jonathw@shubertorg.com by sws1 by uid 49491 with qmail-scanner-1.14 (clamscan: 0.51. spamassassin: 2.50-cvs. Clear:SA:0(-4.5/5.0):. Processed in 0.508256 secs); 25 Nov 2002 20:57:08 -0000 Original-Received: from unknown (HELO emroute2.cind.ornl.gov) (128.219.159.41) by 0 with SMTP; 25 Nov 2002 20:57:07 -0000 Original-Received: from emroute2.cind.ornl.gov (LOCALHOST [127.0.0.1]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H65000HJGV2RI@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 25 Nov 2002 15:57:07 -0500 (EST) Original-Received: from mailhost.Shubertorg.com (mailhost.shubertorg.com [207.246.208.40]) by emroute2.cind.ornl.gov (PMDF V6.1-1 #39060) with ESMTP id <0H6500558GV00R@emroute2.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 25 Nov 2002 15:57:00 -0500 (EST) Original-Received: from memnoch [207.238.217.205] by mailhost.Shubertorg.com (SMTPD32-7.13) id AF4B7F7018E; Mon, 25 Nov 2002 15:59:55 -0500 Original-To: tru64-unix-managers@ornl.gov X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-Priority: 3 X-MSMail-priority: Normal X-Declude-Sender: jonathw@shubertorg.com [207.238.217.205] X-Declude-Spoolname: D8f4b07f7018eecc7.SMD X-Note: This E-mail was scanned for spam. Xref: main.gmane.org gmane.os.tru64.managers:2558 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:2558 Ok...simple enough answer. I neglected to mention that I was using the -e option (i.e. dsfmgr -e dsk6 dsk34) Bluejay Adametz suggested using the -m (move) option instead. I tried that, and it worked like a charm. Apparently the -m doesn't care what you move the device to, and just creates the special files for you. Jonathan Williams Unix Systems Administrator The Shubert Organization, Inc. ----- Original Message ----- From: "Jonathan Williams" To: Sent: Monday, November 25, 2002 3:37 PM Subject: creating device special files > We just got a brand new system in (ES45 running 5.1a), and going through the > configuration process, I came across a question. All of our systems have access > to all of the disks out on the SAN. All of the systems see these disks as > different names (one system might call a given disk "dsk10", while another > system will call it "dsk23". I want to have this new system match device > numbers with one of the other servers. I found the nice "dsfmgr" command to be > capable of renaming a disk (swapping out the device special files for a disk). > The thing that I've run into though, is that it will only work if both sets of > device special files exist on the system (so renaming dsk5 to dsk4 works great, > but if I want to rename dsk4 to dsk47 (and there are no dsk47 device special > files), it will not work. > > So basically I'm wondering how I can create new device special files for > non-existent disks? Is this possible? This system sees disks 0 through dsk33. > I need some of the disks to be renamed with numbers higher than 33 so that it > matches the other system (for example, dsk6 needs to be dsk34). Any help would > be wonderful. TIA > > Jonathan Williams > Unix Systems Administrator > The Shubert Organization, Inc. > >