From: Ivan Hoe <ivanhoe_jack () hotmail ! com>
To: tru64-unix-managers
Subject: Summary : Device names
Date: Wed, 25 Oct 2000 15:06:13 +0000 [thread overview]
Message-ID: <97248643624634.tru64-unix-managers.marc@archive.invalid> (raw)
Hi,
Thanks to the all who reply.
Colin Walters
Brian Staab
Steve Smith
Morgan Rogers
All sugguested using "dsfmgr -m"
Must be that I was not clear in my inital question
I have a script for backup.
I am doing the following (for a few diskset)
1) add a disk to a mirrorset for cloning
2) break the disk from the mirror set and issue a new unit (D7)
3) issue the command hwmgr -scan scsi | grep (string of SCSI) > file
4) manipulate the file to get the new_dsk_name
5) issue a dsfmgr -m new_dsk_name wanted_dsk_name
6) backup the disk
Each time that is done, a new device (dsk name) will be created. This is too
messy for maintanence. I am looking for a method to fix the dsk_name like
MAKEDEV in version 4
Regards
>From: Ivan Hoe <ivanhoe_jack@hotmail.com>
>To: tru64-unix-managers@ornl.gov
>Subject: Device names
>Date: Wed, 25 Oct 2000 03:58:57 +0000 (GMT)
>
>Hi,
>
>We are currently running Tru64 Unix version 5.0A with a HSG 80 controller
>where we house the storage.
>
>How can I create a device with a fixed name (eg dsk21).
>
>Each time I create a device after deleting it (using hwmgr -scan scsi), a
>new device name appears (eg. dsk22 , then dsk23.....)
>But I like to keep the name to be dsk21.
>
>In Version 4, I can do this by using the MAKDEV with the bus-target-lun
>number.
>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
Share information about yourself, create your own public profile at
http://profiles.msn.com.
reply other threads:[~2000-10-25 15:06 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox