First post ever :o Installing a new partition in HP-UX help


 
Thread Tools Search this Thread
Operating Systems HP-UX First post ever :o Installing a new partition in HP-UX help
# 1  
Old 04-15-2005
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 Smilie

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
# 2  
Old 04-15-2005
Welcome! and have fun here!!! Smilie



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
# 3  
Old 04-15-2005
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 Smilie
# 4  
Old 04-15-2005
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?
# 5  
Old 04-15-2005
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
# 6  
Old 04-15-2005
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Shrink LVM partition & create new Linux Primary partition

Hello All, I have a Red Hat Linux 5.9 Server installed with one hard disk & 2 Partitions created on it as follows, /boot - Linux Partition & another is LVM - One VG & under that 5-6 Logical volumes(var,opt,home etc). Here my requirement is to take out 1GB of space from LVM ( Any logical... (5 Replies)
Discussion started by: gr8_usk
5 Replies

2. Filesystems, Disks and Memory

Ask concept soft partition vs hard partition

Hi Experts I would like to know different between soft partition concept and hard partition concept on solaris. Here is little explanation between soft partition concept and hard partition concept on solaris. Soft Partition: 1TB total space available in storage in all mapped to the OS to... (2 Replies)
Discussion started by: edydsuranta
2 Replies

3. Solaris

Partition overlaps another partition while creating new parition in solaris

hi all while formatting hard disk i am getting following error. Partition 1 ends at 266338338 It must be between 34 and 143374704. label error: EFI Labels do not support overlapping partitions Partition 8 overlaps partition 1. Warning: error writing EFI. Label failed. I have formatted the... (2 Replies)
Discussion started by: nikhil kasar
2 Replies

4. Shell Programming and Scripting

rsync from partition to partition fastest

Gentleman, Please move if I have chose the incorrect forum section. I am trying to move data that is not backed up from partition 1 to partition 2 on a SAN that has a GFS2 filesystem. Since the data is not backed up I am rsyncing this data and once verified I will delete from the source... (6 Replies)
Discussion started by: jaysunn
6 Replies

5. Windows & DOS: Issues & Discussions

Installing Ubuntu in the same partition as Vista

Hi , I hav a laptop with Vista, i need to install Ubuntu along with vista on it. But the problem is tht i donot hav a hard drive partition. though i have abt 70 gb of free space. the only other partition is "recovery" one, so i cnt play with it how shld i perform the installation ?? (4 Replies)
Discussion started by: akshay61286
4 Replies

6. Ubuntu

Re Installing windows XP after installing KUBUNTU

Hi I have dual operating system i.e Win XP and KUBUNTU. Now my windows XP is corrupted and i want to reinstall Win XP. So i just want to know Shall i have to reinstall Linux also or i can only reinstall win xp without affecting linux installation. Thanks Sarbjit (3 Replies)
Discussion started by: sarbjit
3 Replies

7. Linux

Installing Firefox and now ended up installing latest glibc

Hi all, I wanted to install the latest version of firefox 2 but it seems when I attempt to install it, it seems to be saying it is looking for c libraries version 2.3? I believe I currently have an older version of the c libraries. I am currently running Sun's JDS Linux 2003. My Mozilla web... (1 Reply)
Discussion started by: scriptingmani
1 Replies

8. UNIX for Dummies Questions & Answers

I've created a partition with GNU Parted, how do I mount the partition?

I've created a partition with GNU Parted, how do I mount the partition? The manual information at http://www.gnu.org/software/parted/manual/parted.html is good, but I am sure about how I mount the partition afterwards. Thanks, --Todd (1 Reply)
Discussion started by: jtp51
1 Replies

9. UNIX for Dummies Questions & Answers

understanding logical partition, physical partition

hi, 1) is logical partition the same as physical partition except that one is physical and the other is logical? 2) then it must a one to one ratio? (3 Replies)
Discussion started by: yls177
3 Replies
Login or Register to Ask a Question