- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgcreate : invalid ioctl
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
09-17-2001 06:12 AM
09-17-2001 06:12 AM
vgcreate : invalid ioctl
We have connected out new L-class to an EMC Symmetrix frame . I can see all the disks
I need and do diskinfo on them. I do have one
problem: my LVM system pukes when trying to
do vgcreate on those disks.( pvcreate was fine)
vgcreate -e 6144 -p 78 /dev/vg01 /dev/dsk/c13t0d0 /dev/dsk/c16t8d0
gives me:
vgcreate: Volume group "/dev/vg01" could not be created:
Inappropriate ioctl for device - the command was attempted on a
logical volume device rather than the control device.
I have looked at all the patches I had for other machines and installed :
PHCO_23876
PHCO_23651
PHKL_18543
PHKL_20016
PHKL_24943
PHKL_22785
PHKL_23939
PHKL_24027
PHKL_25188
PHSS_23996
The problem did not go away.
Does anyone have an idea what that message might mean?
Thanks a lot,
--dimitry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 06:17 AM
09-17-2001 06:17 AM
Re: vgcreate : invalid ioctl
The first thing I would check is the /dev/vg01/group file, concentrating on the major and minor numbers. The major number should be 64 and the minor number should be something like 0x0nn000, where nn should be in the range 00 - maxfiles (in hex).
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 06:21 AM
09-17-2001 06:21 AM
Re: vgcreate : invalid ioctl
You'll need to do a pvcreate -f on the EMC devices before you can use vg/lv commands on them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 06:26 AM
09-17-2001 06:26 AM
Re: vgcreate : invalid ioctl
I think the first thing I would do is start over beginning with a vgexport /dev/vg01 to clean everything up. Next do a strings /etc/lvmtab to check that all is as it should be.
Next follow the normal steps:
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
(assuming 0x010000 is the desired minor device)
then issue your vgcreate command. I assume the two device nodes you list are the correct primary amd alternate paths for the same device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 06:27 AM
09-17-2001 06:27 AM
Re: vgcreate : invalid ioctl
minor number was 0x000001 instead of 0x010000
Therefore, it complained about logical volume
Thanks,
--dimitry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-17-2001 12:26 PM
09-17-2001 12:26 PM