- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Adding new disk to hpux 10.20
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2000 01:33 AM
12-05-2000 01:33 AM
I have a new external disk that I want to add to the back of a hp visualize that we have here.
In solaris i would add the disk to the back and do a boot -r from the ok prompt. This would reconfigure /dev and /devices and all i would need to do then is format it and mkfs.
What is the equivalent process in hp-ux ?
I have tried searching the itrc for this but they have returned nothing of use that I can find. Any help appreciated.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2000 01:48 AM
12-05-2000 01:48 AM
Re: Adding new disk to hpux 10.20
Use SAM for you will not have to know all the commands for the beginning...
Good luck
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2000 01:54 AM
12-05-2000 01:54 AM
Re: Adding new disk to hpux 10.20
Shut down the system, connect the disk and start up.
Make sure that the new disk has an unique SCSI-ID.
After reboot new device entries can be found at /dev/dsk/c#t#d0 and /dev/rdsk/c#t#do (raw device).
If you don't want to use LVM you could make a filesysteme with
newfs -F vxfs /dev/rdsk/c#t#d0
and mount it ie:
mkdir /mnt
mount /dev/dsk/c#t#d0 /mnt
To make it permanent edit /etc/fstab ie:
/dev/dsk/c#t#d0 /mnt vxfs rw,suid,delaylog,datainlog 0 2
If you want to use LVM you could add the disk with SAM into a (new) volume group and create log. volumes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2000 01:59 AM
12-05-2000 01:59 AM
Re: Adding new disk to hpux 10.20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2000 02:08 AM
12-05-2000 02:08 AM
SolutionAssuming that you have the correct SCSI termination and the disk is the correct type for the type of SCSI bus it is connected to (single-ended versus fast/wide) then do the following:
To check to see if the disk can be seen by the workstation then power up the workstation and interupt the boot sequence by hitting any key within 10 seconds when prompted to do so (some times the monitors on these take a while to power up and you may miss the 10 second message - just keep hitting the escape key till you see something like a boot-admin> prompt)
When you get the boot admin prompt then type in the word 'search' and hit enter. This should list all scsi devices. If you don't see your new disk then re-check your SCSI termination and correct bus connection and try again. Alos check you are not using a SCSI address that is already in use.
Once you see the disk then you can proceed to do a full boot, easiest way is to just hit the power on the workstation and let the boot go through.
When HP-UX boots up it will autocreate the device files for your disk, block device will be created under /dev/dsk and raw under /dev/rdsk.
You can confirm that HP-UX has done this by doing:
ioscan -funC disk
You should see a list of disks and their associated device file names, including your new disk.
You have a number of options available to create a filesystem:
LVM partitioning or Whole of disk approach
HFS or JFS filesystem.
It may help for you to give us an idea of what you want to use the disk for.
Anyway, here is how I would use the whole disk for a JFS filesystem using LVM with a logical volume in vg00:
pvcreate -f /dev/rdsk/c?t?d?
(You need to replace the question marks with the correct numbers as shown by the ioscan output as mentioned above.)
vgextend /dev/vg00 /dev/dsk/c?t?d?
lvcreate -L (mbytes) -n lvname /dev/vg00 /dev/dsk/c?t?d?
(Replace (mbytes) with the size of the disk, replace lvname with a useful name)
Create a filesystem:
newfs -F vxfs /dev/vg00/rlvname
Create a mount point directory with mkdir:
mkdir /mountpoint
Mount it:
mount /dev/vg00/lvname /mountpoint
Then update /etc/fstab to mount this filesystem each time you boot.
If you are unsure about using these commands then you can use sam to make things easier. Just type sam at the prompt, selct Disks and Filesystems and follow your nose from there. Once sam has finished then view /var/sam/log/samlog to see what commands were used.
Regards, trevor