System Administration
cancel
Showing results for 
Search instead for 
Did you mean: 

Adding new disk to Tru64 Unix

N/A

Adding new disk to Tru64 Unix

Hi,

I have been working on VMS and I am new to Tru64 Unix and I have very less knowledge on Unix.

I have inserted one SCSI disk in Tru64 Unix system and i want to configure the disk, but the system has not detected the disk. I want to know is there any command which will make the system to detect the disk.

Something similar to:
$ mc sysman io auto
in VMS

It will be helpful if someone will provide me some link to some basic sysadmin unix commands.

Regards,
-ajaydec
7 REPLIES
Rob Leadbeater
Honored Contributor

Re: Adding new disk to Tru64 Unix

Hi,

It depends on the version of Tru64 that you're running.

On version 4.x you can use:

# scu scan edt

# scu show edt
will show you what disks you have connected.

On version 5.x you can use:

# hwmgr scan scsi

# hwmgr show scsi
will show you the SCSI devices.

Hope this helps,

Regards,

Rob
N/A

Re: Adding new disk to Tru64 Unix

Hi Rob,

Sorry not to mention the os version. I am runnig Tru64 5.1b
I done the same but it didn't work.

Regards,
-Nitin
Rob Leadbeater
Honored Contributor

Re: Adding new disk to Tru64 Unix

Hi,

Can you post the output of

# hwmgr view dev

How is the new disk connected ?

Cheers,

Rob
Steven Schweda
Honored Contributor

Re: Adding new disk to Tru64 Unix

> I have inserted one SCSI disk in Tru64 Unix
> system [...]

Does this disk appear in the SRM console
">>>show device" report? If the firmware
doesn't see it, Tru64 probably won't see it,
either.
Hein van den Heuvel
Honored Contributor

Re: Adding new disk to Tru64 Unix


For 5.1b, the hwmgr commands Rob showed should work and the new drive should have shown up as the highest dsk number.... IF it is direct attached scsi.

I like to do a #hwmgr show scsi > before.log
scan, and then #hwmgr show scsi > after.log
Then you can diff for the changes.

No need to get down to the SRM prompt.

But is it direct scsi? Where there still ID's available?
What does the existing configuration report?

Where did you insert it?
Into a so called 'internal slot'?
Is that connected to something? Good! :-)
What is it connected to?

Could it be an KZPAC... swxcr? You'll need RCU

Could it be connected behind an HSZ controller? You'll need to tell it to present the drive.

What box? DS20? what adapter? what controller? Some

If need be please post the output from hwmgr, or as Steve suggests, take down the system, start but do not boot, and at the SRM prompts do SHOW CONFIG and SHOW DEVICE
Shared output here in an attached .TXT file.

hth,
Hein.

N/A

Re: Adding new disk to Tru64 Unix

Hi All,

I have inserted 3 disks.

Rob,

Here is the output of hwmgr view dev after I inserted the disk:


# hwmgr view dev
HWID: Device Name Mfg Model Location
------------------------------------------------------------------------------
4: /dev/kevm
38: /dev/disk/floppy0c 3.5in floppy fdi0-unit-0
42: /dev/disk/dsk0c COMPAQ BB009135B4 bus-1-targ-1-lun-0
69: /dev/ntape/tape1 DEC TLZ09 (C)DEC bus-0-targ-0-lun-0
70: /dev/disk/dsk1c DEC RZ2DA-LA (C) DEC bus-1-targ-2-lun-0
71: /dev/disk/dsk2c COMPAQ BD018122C9 bus-1-targ-3-lun-0
72: (unknown) DEC RZ2DA-LA (C) DEC bus-1-targ-2-lun-0


How is the new disk connected ?
Its just a SCSI disk, I have inserted into a SCSI box in which system disk is already present.

Steven,

System is Alpha 1200.

Does this disk appear in the SRM console?
For this I need to shutdown the system but I don't want to do that.


Hein,

Here is the output of hwmgr show scsi after and before inserting the disks.

# hwmgr -show scsi

SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST
HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH
-------------------------------------------------------------------------
41: 0 EBUSINESS cdrom none 0 1 (null)
42: 2 EBUSINESS disk none 2 1 dsk0 [1/1/0]
43: 1 EBUSINESS tape none 0 1 (null)
69: 3 EBUSINESS tape none 0 1 tape1 [0/0/0]
70: 4 EBUSINESS disk none 2 2 dsk1
71: 5 EBUSINESS disk none 2 1 dsk2
72: 6 EBUSINESS disk none 0 1 (null)


>>> I have inserted 3 SCSI disk:

# hwmgr -scan scsi
hwmgr: Scan request successfully initiated

# hwmgr -show scsi

SCSI DEVICE DEVICE DRIVER NUM DEVICE FIRST
HWID: DEVICEID HOSTNAME TYPE SUBTYPE OWNER PATH FILE VALID PATH
-------------------------------------------------------------------------
41: 0 EBUSINESS cdrom none 0 1 (null)
42: 2 EBUSINESS disk none 2 1 dsk0 [1/1/0]
43: 1 EBUSINESS tape none 0 1 (null)
69: 3 EBUSINESS tape none 0 1 tape1 [0/0/0]
70: 4 EBUSINESS disk none 2 2 dsk1 [1/2/0]
71: 5 EBUSINESS disk none 2 1 dsk2 [1/3/0]
72: 6 EBUSINESS disk none 0 1 (null) [1/4/0]



I'll try to answer rest of your question to help me but it will be difficult for me to answer all. If possible let me know the command and I'll give you the output of the same.

But is it direct scsi?
don't know what's direct scsi is?
Where there still ID's available?
Yes, till now only one scsi disk is being connected to the system.
What does the existing configuration report?
Don't know what and how to check? :-(

Where did you insert it? Into a so called 'internal slot'? Is that connected to something? Good! :-) What is it connected to?
Itâ s connected to the system through single ended scsi cable. That's all I can tell. And the storage box in which it is inserted already contains OS disk and system is up and running

Could it be an KZPAC... swxcr? You'll need RCU
Could it be connected behind an HSZ controller? You'll need to tell it to present the drive.
Don't know....

What box? DS20? what adapter? what controller? Some
Alpha 1200
Single ended SCSI cable

Hope it will be sufficient to help me....

Regards,
ajaydec
Rob Leadbeater
Honored Contributor

Re: Adding new disk to Tru64 Unix

Hi,

Something looks a little wrong ...

The hwmgr view device output appears to show two devices at the same address:

70: /dev/disk/dsk1c DEC RZ2DA-LA (C) DEC bus-1-targ-2-lun-0
72: (unknown) DEC RZ2DA-LA (C) DEC bus-1-targ-2-lun-0

but that info looks different to the hwmgr show scsi output.

70: 4 EBUSINESS disk none 2 2 dsk1 [1/2/0]
72: 6 EBUSINESS disk none 0 1 (null) [1/4/0]

I'll take a guess that there's a SCSI ID conflict with the drive bays in the front of the 1200 and the internal CD ROM drive.

Try moving the lowest drive down a slot, so it should be on ID 5, and then do another hwmgr scan scsi.

Cheers,

Rob