1753417 Members
5196 Online
108793 Solutions
New Discussion юеВ

Re: HP-UX mirror disks

 
SOLVED
Go to solution
Mel Burslan
Honored Contributor

Re: HP-UX mirror disks

Also, please yake some time to assign points to the answers you have received here and in the past. You have not assigned any points to any of the answers given to your questions, until today. Here is the list of questions you asked:

https://forums11.itrc.hp.com/service/forums/pageList.do?userId=WW168242&listType=unassigned&forumId=1
________________________________
UNIX because I majored in cryptology...
cheesytime
Regular Advisor

Re: HP-UX mirror disks

sounds good, going step by step!

root@host:/dev/vg01 # vgcreate vg01 /dev/dsk/c4t4d0
Warning: Max_PE_per_PV for the volume group (65535) too small for this PV (71525).
Using only 65535 PEs from this physical volume.
Increased the number of physical extents per physical volume to 65535.
vgcreate: Volume group "/dev/vg01" could not be created:
VGRA for the disk is too big for the specified parameters. Increase the
extent size or decrease max_PVs/max_LVs and try again.

How do I fix that?
cheesytime
Regular Advisor

Re: HP-UX mirror disks

Mel:

I wasnt aware of that sumit points thing, i started submiting points with this thread in particular and will do so with the rest during the day.

Thanks.
cheesytime
Regular Advisor

Re: HP-UX mirror disks

Patric:

Thanks, mknod group c 64 0X030000 worked like charm, a space was needed between c and 64.

Now I get the following message when i run vgcreate

Warning: Max_PE_per_PV for the volume group (65535) too small for this PV (71525).
Using only 65535 PEs from this physical volume.
Increased the number of physical extents per physical volume to 65535.
vgcreate: Volume group "/dev/vg01" could not be created:
VGRA for the disk is too big for the specified parameters. Increase the
extent size or decrease max_PVs/max_LVs and try again.

Help me, im about to get tehre!
unix adm
Regular Advisor

Re: HP-UX mirror disks


vgcreate -l 255 -p 255 -e 5000 -s 64 /dev/vgtest /dev/dsk/c4t4d0


Its just that max PE per PV is limited to the 65535 value and with this big disk
you can just try increasing the PV size.


Good luck!

Rajeev
unix adm
Regular Advisor

Re: HP-UX mirror disks

srry I mean PE size instead of PV size, in the above command i have give PE size as 64 MB instead of default 4 mb.

Try the above command and it should work.


Thanks and Regards
Rajeev
cheesytime
Regular Advisor

Re: HP-UX mirror disks

Ra:

Worked like charm:

root@host:/dev/vg01 # vgcreate -l 255 -p 255 -e 5000 -s 64 /dev/vg01 /dev/dsk/c4t4d0
Volume group "/dev/vg01" has been successfully created.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf

root@host:/dev/vg01 # lvcreate -L 10240M /dev/vg01 -n orau8

Usage: lvcreate
[-A Autobackup]
[-d Schedule]
[-i Stripes -I StripeSize]
{-l LogicalExtentsNumber |
-L LogicalVolumeSize}
[-m MirrorCopies]
[-n LogicalVolumeName]
[-p Permission]
[-r Relocate]
[-s Strict]
[-C Contiguous]
[-D Distributed]
[-M MirrorWriteCache]
[-c MirrorConsistency]
VolumeGroupName
"-n": Too many arguments


I get that error now

Mel Burslan
Honored Contributor

Re: HP-UX mirror disks

you need to specify the volume group as the last entry on the line. Your command needs to be like this :

lvcreate -L 10240M -n orau8 /dev/vg01
________________________________
UNIX because I majored in cryptology...
Sharma Sanjeev
Respected Contributor

Re: HP-UX mirror disks

Hi

Use

lvcreate -L 10240 -n orau8 /dev/vg01

than

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
cheesytime
Regular Advisor

Re: HP-UX mirror disks

Mel:

amazing

root@host:/dev/vg01 # lvcreate -L 10240M -n orau8 /dev/vg01
Logical volume "/dev/vg01/orau8" has been successfully created with
character device "/dev/vg01/rorau8".
Logical volume "/dev/vg01/orau8" has been successfully extended.
Volume Group configuration for /dev/vg01 has been saved in /etc/lvmconf/vg01.conf

now in order to create a vxfs should I run

newfs -f vxfs -o largefiles /dev/vg01/orau8 ?