- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to create a disk in HPUX ?
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
03-25-2007 09:22 PM
03-25-2007 09:22 PM
How to create a disk in HPUX ?
I have to create a new disk in HPUX and need to place this disk under LVM control.
then convert into "Physical volume" using the command
pvcreate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2007 09:27 PM
03-25-2007 09:27 PM
Re: How to create a disk in HPUX ?
insf -C disk
Then pvcreate
Sometimes its easier to reboot the system, but that is only necessary for picky SAN disks.
vgextend vgroup
lvcreate -n lvolname
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-25-2007 09:31 PM
03-25-2007 09:31 PM
Re: How to create a disk in HPUX ?
if you are a complete newbie I would recommand the graphical System Admin Interface (SAM). For help use the command "man sam" from command line.
Review the commands generated afterwards in the samlog, that way you learn what commands were used.
You will find the System Admin Guides, accessible for free through, http://docs.hp.com/en/hpux11i.html
Other docs at:
http://docs.hp.com/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 07:55 AM
03-26-2007 07:55 AM
Re: How to create a disk in HPUX ?
If you have already connected the disk, then as root use sam. go to the disk devices.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 06:00 PM
03-26-2007 06:00 PM
Re: How to create a disk in HPUX ?
First run ioscan -fnC disk to confirm disk is detecting and take the hardware path
and run pvcreate -f /dev/rdsk/c#t#d#
and run vgextend and add the above disk
and create LV or you can extend LV.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 06:41 PM
03-26-2007 06:41 PM
Re: How to create a disk in HPUX ?
What do u mean by creating a new disk?..
Are u trying to create a disk(lun) from a storage?Do give details of the storage ..etc..
I f u want to (replace)initialize a new hdd ..you need to follow the process as told below.
First do ioscan and get the c#t#d# (device file for the specific drive)
2. Make sure which is ur drive before doing a pvcreate .
3. pvcreate /dev/rdsk/c#t#d# .
4.Once pvcreate is successful.you need to add the hdd to a volume group or create a new volume group.
please go throug the docs in hpdocs ..so as to be confident before doing the activity.
5.if pvcreate fails ..try the mediainit command.
It initializes the hdd and does a low level format.
Enjoy.. Creating..
Sandy_hp.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-26-2007 07:15 PM
03-26-2007 07:15 PM
Re: How to create a disk in HPUX ?
If you are really new to HP-UX, then the IMPORTANT thing is to identify and MAKE SURE that you use the CORRECT DISK with the pvcreate command.
The steps to use LVM are already told by others.
Regards,
Rasheed Tamton.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2007 12:37 AM
03-29-2007 12:37 AM
Re: How to create a disk in HPUX ?
how are you getting on with this problem ?
If the answers helped resolve the problem, could you please complete the thread by awarding points to helpful answers and summarising the solution for you.
This will help resolution of similar problems in the future.
http://forums1.itrc.hp.com/service/forums/helptips.do?#33 shows how to reward any useful answers given to your questions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2007 05:27 AM
03-29-2007 05:27 AM
Re: How to create a disk in HPUX ?
I would want to learn the command line. However 'SAM" can achive the same results.
command line:
pvcreate
vgextend
lvcreate
and then mirror the disk if needed.
sp,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-29-2007 08:09 AM
03-29-2007 08:09 AM
Re: How to create a disk in HPUX ?
pvcreate /dev/rdsk/c?t?d?
#####################
mkdir /dev/vg????
#####################
mknod /dev/vg????/group c 64 0x0?????
#####################
vgcreate /dev/vg??? /dev/dsk/c?t?d? /dev/dsk/c?t?d? (alternate link)
#####################
vgextend /dev/vg?? /dev/dsk/c?t?d? /dev/dsk/c?t?d?
#####################
lvcreate -L 18000 /dev/vg??
lvcreate -L 16000 /dev/vg??
#####################
mkdir /aqua/v1/CREDIT_SCORE
mkdir /aqua/tpwk
#####################
newfs -F vxfs -o largefiles /dev/vg??/lvol1
newfs -F vxfs -o largefiles /dev/vg??/lvol2
If newfs doesn't work, substitutute will mkfs
#####################
mount -F vxfs /dev/vg??/lvol1 /aqua/v1/CREDIT_SCORE
mount -F vxfs /dev/vg??/lvol2 /aqua/tpwk