Operating System - Tru64 Unix
1748051 Members
5062 Online
108758 Solutions
New Discussion юеВ

Adding a new Hard Disk

 
aique
Frequent Advisor

Adding a new Hard Disk

Hi, can anybody give me any document which can help me in Adding new hard disk in Tru64 v5.1, Thanks.
9 REPLIES 9
Venkatesh BL
Honored Contributor

Re: Adding a new Hard Disk

Is the new disk not recognized by the OS?
aique
Frequent Advisor

Re: Adding a new Hard Disk

this is new disk and system has recognized it. what i want the remaining steps in order to make is accessible.
Venkatesh BL
Honored Contributor

Re: Adding a new Hard Disk

Did the system created new device files for it...such as /dev/disk/dskn[a-h]?

If so, then you can start using it.
Ivan Ferreira
Honored Contributor

Re: Adding a new Hard Disk

Use hwmgr v d to identify the new disk.

Write a new label to the disk:

disklabel -rw

Create a domain on the new disk, for example on dsk3 partition c (partition c is the whole disk)


mkfdmn /dev/disk/dsk3c new_domain

Create a fileset in the domain:

mkfset new_domain new_fileset

Mount the fileset:

mkdir /new_fileset
mount new_domain#new_fileset /new_fileset

Add an entry in /etc/fstab for the new fileset.

All this you can see in the system administration manual available at the tru64 doc page.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Ross Minkov
Esteemed Contributor

Re: Adding a new Hard Disk


This is what I do when adding new disks:

1. physically add new disk drive(s); if disks are on HSxxx controllers don't forget to enable_access
2. on the server run "hwmgr -scan comp" (or "hwmgr -scan scsi")
3. wait a minute
4. verify with hwmgr -v d (the new disk usually apears at the end of the list)
5. dsfmgr -vFV
6. dn_setup -sanity_check (just to make sure everything is OK -- If the check is successful, the message Passed is displayed.)

(Note: At boot time, the system script file /sbin/dn_setup runs and
uses dsfmgr command options to poll the system for new devices
and, if any are found, creates device special files for those devices.)

Then follow what Ivan wrote on how to create an AdvFS domain & fileset(s) and mount it/them and add it/them to /etc/fstab file for automatic mounting on boot.

HTH,
Ross
BuleSea111
New Member

Re: Adding a new Hard Disk

Very good!



LuRan
klbblk
Advisor

Re: Adding a new Hard Disk

to Ross Minkov
I think that I do the following steps should be replaced to the above steps 2-6:
1. physically add new disk drive(s); if disks are on HSxxx controllers don't forget to enable_access
2. shutdown -h now
3. physically power off this machine , an then power it on again
4. login to the system as root
5. hwmgr ├в v d

Ross Minkov
Esteemed Contributor

Re: Adding a new Hard Disk

Well, I assumed that we were talking about a server with hot plug disks. In that case you don't need to shutdown / power off the system. If you are working on a Alpha workstation with internal non hot plug disks then yes, you have to power it off to add the disks.

-Ross
aique
Frequent Advisor

Re: Adding a new Hard Disk

Use hwmgr v d to identify the new disk.

Write a new label to the disk:

disklabel -rw

Create a domain on the new disk, for example on dsk3 partition c (partition c is the whole disk)


mkfdmn /dev/disk/dsk3c new_domain

Create a fileset in the domain:

mkfset new_domain new_fileset

Mount the fileset:

mkdir /new_fileset
mount new_domain#new_fileset /new_fileset

Add an entry in /etc/fstab for the new fileset.

All this you can see in the system administration manual available at the tru64 doc page.