The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Installing Firefox and now ended up installing latest glibc scriptingmani Linux 1 08-09-2007 01:28 PM
Partition RaNoNeR Linux 3 07-29-2007 02:31 PM
I've created a partition with GNU Parted, how do I mount the partition? jtp51 UNIX for Dummies Questions & Answers 1 09-18-2006 08:01 AM
understanding logical partition, physical partition yls177 UNIX for Dummies Questions & Answers 3 11-15-2002 07:49 AM
partition chakradharm UNIX for Dummies Questions & Answers 1 11-13-2000 08:56 AM

Reply
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-15-2005
Registered User
 

Join Date: Apr 2005
Posts: 12
First post ever :o Installing a new partition in HP-UX help

Hey everyone this is my first post here, sure not to be my last

I'm working on an HP-UX (11i) machine and I'd like to add a partition to it, i need /bla/ which a certain megabyte size but i don't know how to do it, I can generally move around the os ok so im not completely illiterate,.. I know during installation it asks in a manger what partitions have what sizes/fixeddisks/range blablablah. You're answers are greatly appreciated!


-emplate
Reply With Quote
Forum Sponsor
  #2  
Old 04-15-2005
Kelam_Magnus's Avatar
Registered User
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
Welcome! and have fun here!!!



Since I have just recently done this. it can be pretty involved.

Im not sure I could have done it without having watched someone else build a new partition first. And that was on a box that already had an Npar which we were converting to Vpars.

There is quite a bit of knowledge to absorb. Start here:

http://docs.hp.com/en/oshpux11i.html...l%20Partitions

http://docs.hp.com/en/T1335-90018/index.html
__________________
My brain is your brain
Reply With Quote
  #3  
Old 04-15-2005
Registered User
 

Join Date: Apr 2005
Posts: 12
These are virtual partitions? I was looking more on the lines of just regular ones,.. im needing to throw one seperate just for specific software just to remain consistent really with some other servers,.. But I am reading through it thanks alot
Reply With Quote
  #4  
Old 04-15-2005
Registered User
 

Join Date: Apr 2005
Posts: 12
ok so i figured the wonders of SAM out,.. and it seems i want to make a new logical volume and throw it in say /test/ , but now i only have so much disk space, is there a way to modify the other partitions in sam to maybe decrease the partition sizes?
Reply With Quote
  #5  
Old 04-15-2005
Kelam_Magnus's Avatar
Registered User
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
Sorry I misunderstood your use of partitions... we dont use that word in relation to normal mountpoints. In HPUX partitions are typically used when partitioning a server into multiple OS instances.

I believe you meant a mounted filesystem (partition). If that is the case, then it is pretty easy to make one.

You need at least 1 disk available. You can name a Volume group anythign you wish and the Logical volume anything as well.

pvcreate /dev/dsk/cXtXdX
vgcreate /dev/vgXX
vgextend /dev/vgXX /dev/dsk/cXtXdX

lvcreate -n lvol /dev/vgXX
lvcreate -l #PE /dev/vgXX/lvol ## PE implies the default size of 4MB/PE ## lowercase ell

newfs -F vxfs /dev/vgtmp/rlvol
mkdir /mnt
mount /dev/vgXX/lvol /mnt
__________________
My brain is your brain
Reply With Quote
  #6  
Old 04-15-2005
Kelam_Magnus's Avatar
Registered User
 

Join Date: Aug 2001
Location: DFW McKinney, TX,
Posts: 1,069
Quote:
Originally Posted by emplate
ok so i figured the wonders of SAM out,.. and it seems i want to make a new logical volume and throw it in say /test/ , but now i only have so much disk space, is there a way to modify the other partitions in sam to maybe decrease the partition sizes?
It is not advisable to reduce existing lvols as you can damage data on the mountpoint, the best way is to backup your data and then blow away and recreate the lvol.

You could move all data off the mount point and then reduce it, but better to start clean...

Also, I prefer not to use SAM, it can hang and screw you up. I use command line as I showed above. That way you are in control. And you learn the commands more easily.
__________________
My brain is your brain
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 05:14 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0