- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- New disk Installation 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
12-12-2006 05:06 PM - last edited on 03-16-2014 09:30 PM by Lisa198503
12-12-2006 05:06 PM - last edited on 03-16-2014 09:30 PM by Lisa198503
Hi all,
I'm trying to add new disks on a HP-UX system. I have some problems with it.
Well, I have done next steps:
0.- Search new disks:
ioscan –fnC disk
1.- Initialize disks for use with LVM.
root@dumbo:/opt/omni/lbin> pvcreate -f /dev/rdsk/ch6t12d1
Physical volume "/dev/rdsk/ch6t12d1" has been successfully created.
root@dumbo:/opt/omni/lbin> pvcreate -f /dev/rdsk/ch6t12d2
Physical volume "/dev/rdsk/ch6t12d2" has been successfully created.
root@dumbo:/opt/omni/lbin> pvcreate -f /dev/rdsk/ch6t12d3
Physical volume "/dev/rdsk/ch6t12d3" has been successfully created.
root@dumbo:/opt/omni/lbin> pvcreate -f /dev/rdsk/ch6t12d4
Physical volume "/dev/rdsk/ch6t12d4" has been successfully created.
2.-Create device structure:
cd /dev
mkdir vgHITACHI_SI_6
cd vgHITACHI_SI_6
mknod group c 64 0x500000
3.- Create vg’s:
vgcreate vgHITACHI_SI_6 /dev/dsk/ch6t12d1
...
And I receive the error:
“#vgcreate vgHITACHI_SI_6 /dev/dsk/ch6t12d1
vgcreate: Cannot open the control file "/dev/vgHITACHI_SI_6/group":
No such device”
Any idea about this trouble?
Thanks in advance.
P.S. This thread has been moved from Disk to HP-UX > LVM and VxVM. -HP Forum Moderator
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 05:48 PM
12-12-2006 05:48 PM
Re: New disk Installation on HP-UX
This is wrong
mknod group c 64 0x500000
Must be
mknod group c 54 0x050000
(I suppose the number 5 is unique in your system)
If have more then 10 VGs you need to increase the kernel parameter max_vgs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 06:28 PM
12-12-2006 06:28 PM
Re: New disk Installation on HP-UX
Ex:
0x480000
0x490000
Then, next unique number free is 0x50.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 06:57 PM
12-12-2006 06:57 PM
Re: New disk Installation on HP-UX
64 0x000000 Apr 18 2002 /dev/vg00/group
64 0x050000 Feb 25 2003 /dev/vg01/group
64 0x170000 Apr 10 2006 /dev/vgDES6i/group
64 0x010000 Sep 12 2003 /dev/vgDUMBO/group
64 0x060000 May 20 2004 /dev/vgHITACHI_1/group
64 0x160000 Mar 24 2006 /dev/vgHITACHI_10/group
64 0x120000 May 20 2004 /dev/vgHITACHI_2/group
64 0x090000 May 20 2004 /dev/vgHITACHI_3/group
64 0x110000 May 20 2004 /dev/vgHITACHI_4/group
64 0x100000 May 20 2004 /dev/vgHITACHI_5/group
64 0x080000 May 20 2004 /dev/vgHITACHI_6/group
64 0x130000 May 20 2004 /dev/vgHITACHI_7/group
64 0x140000 May 20 2004 /dev/vgHITACHI_8/group
64 0x150000 Mar 24 2006 /dev/vgHITACHI_9/group
64 0x190000 Jun 5 2004 /dev/vgHITACHI_P1/group
64 0x200000 Jun 5 2004 /dev/vgHITACHI_P2/group
64 0x210000 Jun 5 2004 /dev/vgHITACHI_P3/group
64 0x220000 Jun 5 2004 /dev/vgHITACHI_P4/group
64 0x350000 Oct 26 12:10 /dev/vgHITACHI_SI_1/group
64 0x360000 Oct 26 12:29 /dev/vgHITACHI_SI_2/group
64 0x370000 Oct 2 11:01 /dev/vgHITACHI_SI_3/group
64 0x380000 Oct 2 11:39 /dev/vgHITACHI_SI_4/group
64 0x410000 Feb 10 2006 /dev/vgHITACHI_SI_5/group
64 0x500000 Dec 12 09:40 /dev/vgHITACHI_SI_6/group
64 0x020000 May 25 2004 /dev/vgHITACHI_ofa/group
64 0x280000 Feb 21 2006 /dev/vgPRSCS/group
64 0x450000 Jun 2 2006 /dev/vgTSEBS_1/group
64 0x460000 Jun 2 2006 /dev/vgTSEBS_2/group
64 0x470000 Jun 2 2006 /dev/vgTSEBS_3/group
64 0x480000 Jun 2 2006 /dev/vgTSEBS_4/group
64 0x490000 Jun 2 2006 /dev/vgTSEBS_5/group
64 0x440000 Jun 2 2006 /dev/vgTSEBS_6/group
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 07:16 PM
12-12-2006 07:16 PM
Re: New disk Installation on HP-UX
The 4 new SAN disks are:
/dev/dsk/ch6t12d1
/dev/dsk/ch6t12d2
/dev/dsk/ch6t12d3
/dev/dsk/ch6t12d4
--> #ioscan -fnC disk:
Result:
disk 622 0/4/2/0.97.4.19.0.12.1 dlmfdrv CLAIMED DEVICE HITACHI DF600F
/dev/dlm/c6t12d1 /dev/dsk/ch6t12d1 /dev/rdsk/ch6t12d1
disk 623 0/4/2/0.97.4.19.0.12.2 dlmfdrv CLAIMED DEVICE HITACHI DF600F
/dev/dlm/c6t12d2 /dev/dsk/ch6t12d2 /dev/rdsk/ch6t12d2
disk 624 0/4/2/0.97.4.19.0.12.3 dlmfdrv CLAIMED DEVICE HITACHI DF600F
/dev/dlm/c6t12d3 /dev/dsk/ch6t12d3 /dev/rdsk/ch6t12d3
disk 548 0/4/2/0.97.4.19.0.12.4 dlmfdrv CLAIMED DEVICE HITACHI DF600F
/dev/dlm/c6t12d4 /dev/dsk/ch6t12d4 /dev/rdsk/ch6t12d4
--> #pvdisplay /dev/dsk/ch6t12d1
Result:
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/ch6t12d1" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/ch6t12d1"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 07:20 PM
12-12-2006 07:20 PM
Re: New disk Installation on HP-UX
SCSI describe of /dev/rdsk/ch6t12d1:
vendor: HITACHI
product id: DF600F
type: direct access
size: 24576000 Kbytes
bytes per sector: 512
#diskinfo /dev/rdsk/ch6t12d2
SCSI describe of /dev/rdsk/ch6t12d2:
vendor: HITACHI
product id: DF600F
type: direct access
size: 24576000 Kbytes
bytes per sector: 512
#diskinfo /dev/rdsk/ch6t12d3
SCSI describe of /dev/rdsk/ch6t12d3:
vendor: HITACHI
product id: DF600F
type: direct access
size: 24576000 Kbytes
bytes per sector: 512
#diskinfo /dev/rdsk/ch6t12d4
SCSI describe of /dev/rdsk/ch6t12d4:
vendor: HITACHI
product id: DF600F
type: direct access
size: 24576000 Kbytes
bytes per sector: 512
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-12-2006 08:15 PM
12-12-2006 08:15 PM
Re: New disk Installation on HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 03:48 PM
12-13-2006 03:48 PM
Re: New disk Installation on HP-UX
Any idea?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2006 06:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2006 09:03 PM
12-17-2006 09:03 PM
Re: New disk Installation on HP-UX
Now, the highest number used is 49.
But I have some numbers that are smaller and that are not been used.
Can I use this smaller numbers? number 42 or 43 for example?
This might cause any error?
Thanks in advance.
I prefer not to increase MAXVGS, because it involves reboot the machine.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2006 09:08 PM
12-17-2006 09:08 PM
Re: New disk Installation on HP-UX
Each Volumegroup must have a unique number.
Ps : points are always appreciated
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2006 09:43 PM
12-17-2006 09:43 PM
Re: New disk Installation on HP-UX
root@dumbo:/dev/vgHITACHI_SI_6> ll
total 0
crw-rw-rw- 1 root sys 64 0x430000 Dec 18 11:23 group
But when I create de VG:
# vgcreate vgHITACHI_SI_6 /dev/dsk/ch6t12d1 /dev/dsk/ch6t12d2 /dev/dsk/ch6t12d3 /dev/dsk/ch6t12d4
Increased the number of physical extents per physical volume to 5999.
vgcreate: Volume group "/dev/vgHITACHI_SI_6" could not be created:
Device busy
Any idea for "device busy" error?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 10:17 PM
12-19-2006 10:17 PM
Re: New disk Installation on HP-UX
#pvcreate -f /dev/rdsk/ch6t12d1
Physical volume "/dev/rdsk/ch6t12d1" has been successfully created.
#pvcreate -f /dev/rdsk/ch6t12d2
Physical volume "/dev/rdsk/ch6t12d2" has been successfully created.
#pvcreate -f /dev/rdsk/ch6t12d3
Physical volume "/dev/rdsk/ch6t12d3" has been successfully created.
#pvcreate -f /dev/rdsk/ch6t12d4
Physical volume "/dev/rdsk/ch6t12d4" has been successfully created.
#vgcreate vgHITACHI_SI_6 /dev/dsk/ch6t12d1 /dev/dsk/ch6t12d2 /dev/dsk/ch6t12d3 /dev/dsk/ch6t12d4
It was a confusion with dsk and rdsk.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2006 10:19 PM
12-19-2006 10:19 PM