Operating System - HP-UX
1823090 Members
3946 Online
109646 Solutions
New Discussion юеВ

adding 2 18.2 GB seagate drives

 
SOLVED
Go to solution
ajax13
Frequent Advisor

adding 2 18.2 GB seagate drives

Hi,
We want to add more disk storage to our hp/ux b.11.0 machine. We are planning on getting 2 18.2 GB seagate drives. I never added hardware to a server. I am wondering what need to be done to install. Would the server( once these drives are in the disk array and start the server) know about these drives or I need to do something to let the server find these drives?

Any help is appreciated.
Thanks
6 REPLIES 6
James R. Ferguson
Acclaimed Contributor
Solution

Re: adding 2 18.2 GB seagate drives

Hi Samir:

When new hardware is installed, device files are automatically created for new hardware during bootup. You should be able to do an 'ioscan -fnC disk' after installation and see your new disk.

...JRF...
A. Clay Stephenson
Acclaimed Contributor

Re: adding 2 18.2 GB seagate drives

Hi Samir,

The general answer to your question is no. You mentioned an array and by that what kind of array do you mean? For example, if this is a 12H AutoRAID, the array will immediately recognize and use the new disks. However, in this case, you will not see any more available capacity the drives will be used to make the AutoRAID more efficient. You can then 'bind' a LUN to create a new device and that can be used by the OS. If you are adding to a JBOD (A3312) then the operation system can create new raw and block devices for you but again
you will not be able to use them directly.

The good news is that all of this can be done
using SAM and is not difficult. It will configure LUN's, create device nodes, make volume groups, logical volumes, and filesystems.

If you are not familiar with this process, I would let the HP guys do this for you (but watch very carefully). They will make sure that
SCSI ID's are set properly and the devices are properly cabled and if needed setup/extend the filesystems for you.

Regards, Clay
If it ain't broke, I can fix that.
MANOJ SRIVASTAVA
Honored Contributor

Re: adding 2 18.2 GB seagate drives

Hi Samir

Are you adding the disk to Jamica Box, Internal to the HP Machine ?? . In either case you need to know the following:

1. List of already present SCSI devices with their path name since the new disks should not use the same id's as the one present before.Do a ioscan -fnC disk before adding.

2. Once the devices are configured ie sensed by the kernel you can see them by doing ioscan -fnC disk after adding the disks. Then run insf -e incase the device files are not created.

3. Since I assume you would not be mirroing them follow the steps.

mkdir /dev/vgXX
mknod /dev/vgXX/group C 64 0x000000 ( use a new no ) not used in other group under other vg's
pvcreate -f /dev/rdsk/cxtydz ( for bothe the new disks )
vgcreate /dev/vgXX /dev/dsk/cxtydz
vgextend /dev/vgXX /dev/dsk/cxtydz

lvcreate -L 36000 -F vxfs - o largefiles /dev/vgXX ( add other options incase you want to change Block Size ,)

mkdir /< new directory > where you need to mount this new partition

mount /dev/vgXX/lvol1 /< new directory>

also add the enteries in the /etc/fstab file.

Incase all this seems to be complicated just use SAM , pick up the new unused disk ( path you have got form the ioscan command ) and use them to cretae a new volume group and then built the mount point on the volume group

Manoj Srivastava
Vic Parker
Frequent Advisor

Re: adding 2 18.2 GB seagate drives


Hi Samir,

I am assuming that this system currently has SCSI drives attached to it, so there should be no concerns about the appropriate SCSI drivers being loaded in the kernel. Once you install the drives the system will find them after you do an: ioscan -fn. If the drives are internal you will have the system turned off anyway, and it will discover a the new drives and add device files when the system boots. If the drives are external and you are not going to bring the system down. Once the drive are installed, connected and powered, issue the command:" ioscan -fnC disk",
note the newly installed disk (they should be claimed).
Issue the command: "insf" to install the device files and you are all ready to go with LVM or however you want to utilize your new storage.

Don't forget to check for unique SCSI ID's before you install.

Cheers,

Vic
code your own, or follow the rules
Shahul
Esteemed Contributor

Re: adding 2 18.2 GB seagate drives

Hi

If U add HDD, system will automatically sense those. After system comes up verify whether it is sensed or not by using this command

#ioscan -fnC disk

Then find out ur newly added HDDs by using its SCSI ID. Again veryfy by using this

#diskinfo /dev/rdsk/cxtxdx

Now depends up on ur requirement create PVs VGs Lvols ...etc.

Best of luck

Shahul
ajax13
Frequent Advisor

Re: adding 2 18.2 GB seagate drives

Thanks alot everyone, I don't have the drives as of yet, but I have good info that could get me going.