- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to add disk
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
Discussions
Discussions
Forums
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
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
тАО11-06-2008 06:24 AM
тАО11-06-2008 06:24 AM
pls need steps not pdf docs
Thanks in advance
cheers
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2008 06:31 AM
тАО11-06-2008 06:31 AM
Solutionhttp://docs.hp.com/en/B2355-90950/ch06.html
Chapter 6 Administering a System: Managing Disks and Files
with many useful information, examples, steps, ...
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2008 06:34 AM
тАО11-06-2008 06:34 AM
Re: how to add disk
The help and commands you can cut and paste are in those docs.
ioscan -fnC disk
# after installation to get you the new disk devices
pvcreate
vgextend
lvcreate or levextend to create a new lvm or extend and existing one onto your shiney new disks.
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
тАО11-06-2008 06:42 AM
тАО11-06-2008 06:42 AM
Re: how to add disk
Initialize a disk for use with LVM
pvcreate /dev/rdsk/c0t1d0
Create the device structure needed for a new volume group :
cd /dev
mkdir vgdata
cd vgdata
mknod group c 64 0x010000
Create volume group vgdata :
vgcreate vgdata /dev/dsk/c0t1d0
Display volume group vgdata :
vgdisplay -v vg01
Add another disk to volume group :
pvcreate /dev/rdsk/c0t4d0
vgextend vg01 /dev/dsk/c0t4d0
Create a 100 MB logical volume lvdata :
lvcreate -L 100 -n lvdata vgdata
newfs -F vxfs /dev/vgdata/rlvdata
Extend logical volume to 200 MB :
lvextend -L 200 /dev/vgdata/lvdata
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2008 07:02 AM
тАО11-06-2008 07:02 AM
Re: how to add disk
and ofcouse the handy steps given is very good and helpful.
once again thanks guys for your quick response.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-06-2008 07:05 AM
тАО11-06-2008 07:05 AM
Re: how to add disk
To create a logical volume, do the following procedure:
Select one or more disks. ioscan(1M) shows the disks attached to the system and their device file names.
Initialize each disk as an LVM disk by using the pvcreate command. For example, enter:
pvcreate /dev/rdsk/c0t0d0
Note that using pvcreate will result in the loss of any existing data currently on the physical volume.
You use the character device file for the disk.
This example shows the device file name for an HP 9000 (PA-RISC) System; on an HP Integrity Server, make sure that the device file specifies the HP-UX partition number. For example, enter:
pvcreate /dev/rdsk/c3t1d0s2
Once a disk is initialized, it is called a physical volume.
Pool the physical volumes into a volume group. To complete this step:
Create a directory for the volume group. For example:
mkdir /dev/vgnn
Create a device file named group in the above directory with the mknod command.
mknod /dev/vgnn/group c 64 0xNN0000The c following the device file name specifies that group is a character device file.
The 64 is the major number for the group device file; it will always be 64.
The 0xNN0000 is the minor number for the group file in hexadecimal. Note that each particular NN must be a unique number across all volume groups.
For more information on mknod, see mknod(1M); for more information on major numbers and minor numbers, see Configuring HP-UX for Peripherals.
Create the volume group specifying each physical volume to be included using vgcreate. For example:
vgcreate /dev/vgnn /dev/dsk/c0t0d0
Use the block device file to include each disk in your volume group. You can assign all the physical volumes to the volume group with one command. No physical volume can already be part of an existing volume group.
Once you have created a volume group, you can now create a logical volume using lvcreate. For example:
lvcreate /dev/vgnn
Using the above command creates the logical volume /dev/vgnn/lvoln with LVM automatically assigning the n in lvoln.
When LVM creates the logical volume, it creates the block and character device files and places them in the directory /dev/vgnn.