- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Problem Creating volume for 500GB on HP-UX
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
Forums
Discussions
Discussions
Discussions
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
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-16-2008 11:05 PM
11-16-2008 11:05 PM
and EVA 3000.
oracle 10g ASM installed on the system.
1. I create the vdisk in HP EVA3000 of 500GB and present to HP-UX 11.23i
2. I issue this command in HP-UX
# mkdir /dev/vgarchlog
# mknod /dev/vgarchlog/group c 64 0x010000
# pvcreate /dev/rdsk/c12t0d3
Physical volume "/dev/rdsk/c12t0d3" has been successfully created
# vgcreate -e 8192000 -s 16 /dev/vgarchlog /dev/rdsk/c12t0d3
no divice file exist in /dev.
can someone help me please.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2008 11:13 PM
11-16-2008 11:13 PM
Re: Problem Creating volume for 500GB on HP-UX
that can be allocated from any of the
physical volumes in the volume group. The
default value for max_pe is 1016. However,
if the size of any physical volume exceeds
1016 times the pe_size, the default value for
max_pe is adjusted to match the physical
volume size. The maximum number of physical
extents can be a value in the range 1 to
65535.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2008 11:18 PM
11-16-2008 11:18 PM
SolutionConfirm the minor number is unique. 0x010000 should not be used by any other VG.
#ll /dev/*/group -> will list the existing group files.
Other one is maximum PE per PV. It should be maximum of 65535. Also specify block device file for the disk.
#vgcreate -s 65535 -e 16 /dev/vgarchlog /dev/dsk/c12t0d3
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 08:55 AM
11-17-2008 08:55 AM
Re: Problem Creating volume for 500GB on HP-UX
As per Ganesh pls check ur minor number.
#mkdir /dev/vgarchlog
# ll /dev/*/group --> It lists how many vg's in your server
# mknod dev/vgarchlog/group c 64 0x010000 Give the new minor no
Ex:
0x100000 if this is not exists inside /dev/*/group
#vgcreate -s 32 /dev/vgarchlog /dev/rdsk/c12t0d3
This is per PE size is 32
after you can create LV as per your requirement.
-e for max_pe. This maximum value is 65535.
Regards
-VRS-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 09:00 AM
11-17-2008 09:00 AM
Re: Problem Creating volume for 500GB on HP-UX
Ex:
Max Pe is 65535
Per PE is 64
U can able create 65535*64 = 4194240
Regards
-VRS-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 11:13 AM
11-17-2008 11:13 AM
Re: Problem Creating volume for 500GB on HP-UX
try this..
vgcreate -e 8192000 -s 16 /dev/vgarchlog /dev/dsk/c12t0d3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 11:35 AM
11-17-2008 11:35 AM
Re: Problem Creating volume for 500GB on HP-UX
vgcreate -e 8192000 -s 16 /dev/vgarchlog /dev/dsk/c12t0d3
I have always created mine with -e 2157 and also put a sizing on the number of max PV allowed in the volume group, because I find if you take the default (16) client will always need more. My command would look something like this, but also understand those settings can be adjusted to whatever YOU need:
vgcreate -e 2157 -p 99 -s 16 /dev/vgarchlog /dev/dsk/c12t0d3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2008 05:31 PM
11-17-2008 05:31 PM
Re: Problem Creating volume for 500GB on HP-UX
I read your step:
# mkdir /dev/vgarchlog -->OK
# mknod /dev/vgarchlog/group c 64 0x010000 --> OK
# pvcreate /dev/rdsk/c12t0d3 --> ok but you can use -f option ( pvcreate -f /dev/rdsk/c12t0d3)
# vgcreate -e 8192000 -s 16 /dev/vgarchlog /dev/rdsk/c12t0d3 --> not ok because:
1. for create volume group must use physical disk ( /dev/dsk/cxtydz) not raw disk ( /dev/rdsk/cxtydz)
2. for create 500 GB you can used option -s 8 . -e option for create max pe in pv ( max 65535)
for pe size = 4 MB it can accomodate disk eq. 4 MB * 65535 = 250 GB.
for pe size = 8 MB it can accomodate disk eq. 8 MB * 65535 = 500 GB.
for pe size = 16 MB it can accomodate disk eq. 16 MB * 65535 = 1 TB.
so if your disk 500 GB please used pe size 8 MB or more ( for other purpose, need more disk ex 700 GB please used 16).
Max pe per pv only 65535 cant more than your need ( 8192000 ).
I hope it can help you.
Thanks
Freddy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2008 04:16 AM
11-18-2008 04:16 AM
Re: Problem Creating volume for 500GB on HP-UX
# ll /dev/*/group
crw-r----- 1 root sys 64 0x000000 May 18 2007 /dev/vg00/group
crw------- 1 root sys 64 0x010000 Nov 18 13:49 /dev/vgarchlog/group
crw-rw-rw- 1 root sys 64 0x080000 Aug 8 2007 /dev/vgora/group
crw------- 1 root sys 64 0x010000 Nov 6 10:42 /dev/vgrmanbkp/group
i created new one.
1. # mknod /dev/vgarchlog/group c 64 0x020000
2. # pvcreate -f /dev/rdsk/c12t0d3
3. # vgcreate -e 65535 -s 16 /dev/vgarchlog /dev/dsk/c12t0d3
Volume group "/dev/vgarchlog" has been successfully created.
thanks to all.
it works.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-18-2008 04:20 AM
11-18-2008 04:20 AM
Re: Problem Creating volume for 500GB on HP-UX
# ll /dev/*/group
crw-r----- 1 root sys 64 0x000000 May 18 2007 /dev/vg00/group
crw-rw-rw- 1 root sys 64 0x080000 Aug 8 2007 /dev/vgora/group
crw------- 1 root sys 64 0x010000 Nov 6 10:42 /dev/vgrmanbkp/group
#
use diffrent minor no for the volume group.
# mknod /dev/vgarchlog/group c 64 0x020000 --> OK
# ll /dev/*/group
crw-r----- 1 root sys 64 0x000000 May 18 2007 /dev/vg00/group
crw------- 1 root sys 64 0x020000 Nov 18 13:49 /dev/vgarchlog/group
crw-rw-rw- 1 root sys 64 0x080000 Aug 8 2007 /dev/vgora/group
crw------- 1 root sys 64 0x010000 Nov 6 10:42 /dev/vgrmanbkp/group
# pvcreate -f /dev/rdsk/c12t0d3
Physical volume "/dev/rdsk/c12t0d3" has been successfully created.
# vgcreate -e 65535 -s 16 /dev/vgarchlog /dev/dsk/c12t0d3
Volume group "/dev/vgarchlog" has been successfully created.
Volume Group configuration for /dev/vgarchlog has been saved in /etc/lvmconf/vga
rchlog.conf