- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ioctl error doing vgcreate
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
07-31-2001 08:03 AM
07-31-2001 08:03 AM
Hardware: Superdome partition (2)
Diskinfo: HDS
# diskinfo (just 1 of 4) /dev/rdsk/c3t0d0
SCSI describe of /dev/rdsk/c3t0d0:
vendor: HITACHI
product id: OPEN-E-CVS
type: direct access
size: 10240560 Kbytes
bytes per sector: 512
Problem: I have 4 fiber (non-switched)attached HDS disk, each with alternate paths. These disk are shared between two servers/partitions. I can execute a pvcreate without a problem. Yet, I can not create a volume group using these volumes. I get the following message:
===============================================
# vgcreate /dev/vg01 /dev/dsk/c3t0d0
Increased the number of physical extents per physical volume to 2500.
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 validated the disk are shared between the servers as required. I have been able to write to the actual device files -- just this problem with LVM.
Any comments, remarks or help is appreciated.
Thank you,
Frank
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2001 08:14 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2001 08:22 AM
07-31-2001 08:22 AM
Re: ioctl error doing vgcreate
# ll /dev/*/group
crw-rw-rw- 1 root sys 64 0x000001 Jul 30 17:41 /dev/vg01/group
I beleive the vgroup was created correctly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-31-2001 08:58 AM
07-31-2001 08:58 AM
Re: ioctl error doing vgcreate
Bill is correct, you have a wrong minor number it should be like: 0x010000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2001 02:13 AM
08-01-2001 02:13 AM
Re: ioctl error doing vgcreate
is an incorrect device file for vg01.. in fact as the kernel believes, this is vg00 lvol1.
The vg was created incorrectly.
rm -rf /dev/vg01
mkdir /dev/vg01
ll /dev/*/group
choose a unique id for the vg
mknod /dev/vg01/group c 64 0x010000
then vgcreate ....
Did you use SAM or command line to create the group file??
Later,
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2001 06:54 AM
08-01-2001 06:54 AM