- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgcreate: Cannot open the control file "/dev/vgsan...
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
05-22-2007 11:15 PM
05-22-2007 11:15 PM
So far i have executed fllowing comands..
1)insf -e
2)ioscan -fnCkdisk
Output/New Disk
disk 4 255/255/0/0.4 sdisk CLAIMED DEVICE HSV110 (C)COMPAQ
/dev/dsk/c12t0d4 /dev/rdsk/c12t0d4
3)umask 022
4)pvcreate /dev/rdsk/c12t0d4
5)mkdir /dev/vgsan_os
6)ls -l /dev/*/group
root@bhluksap2:/dev/vgsan_os> ls -l /dev/*/group
crw-r----- 1 root sys 64 0x000000 Feb 19 20:06 /dev/vg00/group
crw-r--r-- 1 root sys 64 0x080000 Apr 18 12:14 /dev/vg_temp/group
crw-rw-rw- 1 root sys 64 0x040000 Feb 21 16:04 /dev/vgdev_data/group
crw-rw-rw- 1 root sys 64 0x030000 Feb 21 14:27 /dev/vgdev_os/group
crw-r--r-- 1 root sys 64 0x070000 Apr 18 13:23 /dev/vgprod_os/group
crw-r--r-- 1 root sys 64 0x090000 May 8 11:15 /dev/vgprod_os2/group
crwxrwxrwx 1 root sys 64 0x100000 May 23 11:28 /dev/vgsan_os/group
crw-rw-rw- 1 root sys 64 0x020000 Feb 20 15:37 /dev/vgtest_data/group
crw-rw-rw- 1 root sys 64 0x010000 Feb 20 15:37 /dev/vgtest_os/group
7)mknod /dev/vgsan_os/group c 64 0x100000
Output :
crw-r--r-- 1 root sys 64 0x100000 May 23 11:28 /dev/vgsan_os/group
8) vgcreate vgsan_os /dev/dsk/c12t0d4
Output :
vgcreate: Cannot open the control file "/dev/vgsan_os/group":
No such device
I have tried changing the permissions of following folder and files..
drwxrwxrwx 2 root sys 96 May 23 11:28 vgsan_os
crwxrwxrwx 1 root sys 64 0x100000 May 23 11:28 group
but no luck,
In the beginning i did made one mistake, which was i used one used minor number 0x90000. i removed the created file directory using command
rmdir /dev/vsan_os
and started creating the sile system again from beginning.
I guess this is what causing the problem somewhere.
what is proper way to remove mknod file system?
or am i doing something wrong?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 11:35 PM
05-22-2007 11:35 PM
SolutionWhat is de kernel value maxvgs
grep maxvgs /stand/system
If no value is returned then it is the default of 10
You are using the hexadecimal value 10 => 16 in decimal.
Maxvgs must be at least 16.
But ID 5 is stil free in your case
rm /dev/vgsan_os/group
mknod /dev/vgsan_os/group c 64 0x050000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 11:51 PM
05-22-2007 11:51 PM
Re: vgcreate: Cannot open the control file "/dev/vgsan_os/group":
Your Vg don't have data or LV.
Try by vgexport /de/vgsan_os
This will remove the directory and mknod
entry so that you can start a fresh vg.
or
You can remove that particular mknod entry by
rm.
Select the monor number carefully
thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 11:53 PM
05-22-2007 11:53 PM
Re: vgcreate: Cannot open the control file "/dev/vgsan_os/group":
Your Vg don't have data or LV.
Try by vgexport /dev/vgsan_os
This will remove the directory and mknod
entry so that you can start a fresh vg.
or
You can remove that particular mknod entry by
rm.
Select the monor number carefully
thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 11:57 PM
05-22-2007 11:57 PM
Re: vgcreate: Cannot open the control file "/dev/vgsan_os/group":
Luk is correct: you are exceeding maxvgs. However, this is a good opportunity to increase the value of this tunable to accommodate future inclusion of additional VGs. But don't set the value too high, as system resources will be wasted.
According to maxvgs(5):
Recommended values
10-256
The value for maxvgs should be no larger than the anticipated needs of the system. Resources are reserved for the number of volume groups indicated, so setting an unnecessarily large maxvgs value on systems with limited resources is not advisable. Conversely, it does not make sense to set maxvgs to a low value since it will likely have to be raised later when a greater number of volume groups is utilized.
Under HP-UX 11iv1:
# kmtune -s maxvgs='
Under HP-UX 11iv2:
# kctune maxvgs='
After changing this tunable, the kernel must be recompiled and the system rebooted.
Under HP-UX 11iv3:
Parameter is obsolete; LVM handles up to 256 VGs dynamically.
PCS
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-22-2007 11:59 PM
05-22-2007 11:59 PM
Re: vgcreate: Cannot open the control file "/dev/vgsan_os/group":
I ran following commands which fixed my problem.
root@bhluksap2:/dev> mknod /dev/vgsan_os/group c 64 0x050000
root@bhluksap2:/dev> vgcreate vgsan_os /dev/dsk/c12t0d4
Increased the number of physical extents per physical volume to 17919.
Volume group "/dev/vgsan_os" has been successfully created.
Volume Group configuration for /dev/vgsan_os has been saved in /etc/lvmconf/vgsan_os.conf
root@bhluksap2:/dev>