Operating System - HP-UX
1752679 Members
5095 Online
108789 Solutions
New Discussion юеВ

Re: How to create disk partiton

 
SOLVED
Go to solution
Sajjad Sahir
Honored Contributor

Re: How to create disk partiton

yes
if u want one more disk like this one u have to present the disk from storage, once u added disk from storage
u have to find the lun number.
evainfo -i
xpinfo -i it dependes on storage
once u got lun number
u have to create device files
by using insf -C disk
then u can create new physical volume based on that lun, please tell us which storage u are using

thanks and regards

Sajjad Sahir
Kenan Erdey
Honored Contributor

Re: How to create disk partiton

Hi,

disk partitioning is only for boot disks. and it's up to three.

have a look at thread:

http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1110904



Computers have lots of memory but no imagination
Chris2005
Regular Advisor

Re: How to create disk partiton

As stated before there is spare space on that disk drive to create a second disk (partition).

I still would like to know how to do that. Furthermore I noticed via ioscan (look above) that there are already multiple other disks (partitions) available. How do I check which one is empty?
Sunny123_1
Esteemed Contributor

Re: How to create disk partiton

Hi

Use pvdisplay {disk path} to see the info of PV
likid0
Honored Contributor

Re: How to create disk partiton

Chris2005

Partition1 example(c1t0d1s1) is for efi you need it to boot you system

And Partition3 example(c1t0d1s3) is for hp support tools normally it has 500 megs only.

and you can have 3 partions tops, so you it's complicated
Windows?, no thanks
Heironimus
Honored Contributor

Re: How to create disk partiton

You seem quite convinced that there is empty space on the disk, even though that would be a highly abnormal configuration for any modern HP-UX system. What makes you so certain that you have empty space on the disk that you could use?
Chris2005
Regular Advisor

Re: How to create disk partiton

Ok I have 2720 of free PE.

# vgdisplay
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 9
Open LV 9
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 4328
VGDA 4
PE Size (Mbytes) 16
Total PE 4342
Alloc PE 1622
Free PE 2720
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0

But when extending it says there is not enough:

# lvextend -L 304 /dev/vg00/lvol3
lvextend: Not enough free physical extents available.
Logical volume "/dev/vg00/lvol3" could not be extended.
Failure possibly caused by contiguous allocation policy.
Failure possibly caused by strict allocation policy

What could be the problem?
Heironimus
Honored Contributor
Solution

Re: How to create disk partiton

If lvol3 is configured to require contiguous allocation (which it probably is, check in lvdisplay) then you won't be able to extend it because lvol4 is right behind it on the disk. Contiguous allocation for stuff in vg00 is one of those little nuisances in HP-UX.
Chris2005
Regular Advisor

Re: How to create disk partiton

Ok I've made a lvol10 now and mounted that to the point in the file system tree that needed the extra space.

Thanx for helping.

Still I'm wondering how to make another disk (partition) from the space left on that disk drive. Anyone?
Heironimus
Honored Contributor

Re: How to create disk partiton

OK, I'll ask it again: why are you so sure that there is free space on the underlying disk? A typical configuration for an Integrity boot disk would be a small EFI slice, a small utility slice, and a slice with the entire rest of the disk assigned to vg00. Slices (partitions) aren't really supported in modern HP-UX, using them in a very specific manner on Itanium boot disks is a special case.