- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Doesn't create /dev/vg*/group file mknod command o...
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-17-2010 06:01 AM
05-17-2010 06:01 AM
Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
So I used vgexport –s –m /tmp/vgda1.map /dev/vgda1 to export the vg.
Then created new directory for new vgname as
#mkdir /dev/vgxa1
And then tried to create node file using
#mknod /dev/vgxa1/group c 64 0x020000 .
But it’s not creating the group file and even not throwing any error message after executed mknod command.
xxxx:root/dev>mkdir /dev/vgtest
xxxx:root/dev>mknod /dev/vgtest/group c 64 0x020000
xxxx:root/dev>ll /dev/vgtest/group
/dev/vgtest/group not found
xxxx:root/dev>cd /dev/vgtest/
xxxxroot/dev/vgtest>ll
Same problem if I try creating new node file using mknod command
Could you please assist in order to get create the group file under /dev/vg**/ ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 06:06 AM
05-17-2010 06:06 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1425824
but I'm sure the vgimport command will create the group file automagically (since 2008 or 2009 release).
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 06:11 AM
05-17-2010 06:11 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
http://docs.hp.com/en/5992-6576/ch03s03.html#bajhhfje
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 06:12 AM
05-17-2010 06:12 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
xxxx:root/dev>vgimport -s -m /tmp/vgda1.map /dev/vgxa1
vgimport: "/dev/vgxa1/group": not a character device.
xxxx:root/dev>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 06:12 AM
05-17-2010 06:12 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
please let me know th eout put of the below command.
ll /dev/*/group
Regrads,
Prasanth Thomas.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 06:14 AM
05-17-2010 06:14 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
else probably a tusc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 06:14 AM
05-17-2010 06:14 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
xxxx:root/>ll /dev/vg*/group
crw-r----- 1 root sys 64 0x000000 Feb 22 16:58 /dev/vg00/group
crw-r----- 1 root sys 64 0x030000 May 14 14:43 /dev/vgda2/group
xxxx:root/>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 06:16 AM
05-17-2010 06:16 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
Did you try the vgimport as mentioned in the link above?
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 06:21 AM
05-17-2010 06:21 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
xxxx:root/>vgimport -v -N -m /tmp/vgda1.map /dev/vgxa1
Usage: vgimport
[-p]
[-v]
[-s]
[-m MapFile]
[-N]
VolumeGroupName PhysicalVolumePath...
or: vgimport [-p] [-v] [-m MapFile] -f InFile VolumeGroupName
xxxx:root/>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 06:21 AM
05-17-2010 06:21 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
I agree with Laurent's thinking: look for special characters that mask finding the name you expect:
# ls -lb /dev/vg*
...will show non-printing characters as octal.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 06:29 AM
05-17-2010 06:29 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
/dev/vg00:
total 0
crw-r----- 1 root sys 64 0x000000 Feb 22 16:58 group
brw-r----- 1 root sys 64 0x000001 Mar 26 15:32 lvol1
brw-r----- 1 root sys 64 0x000002 Feb 22 16:58 lvol2
brw-r----- 1 root sys 64 0x000003 Feb 22 16:58 lvol3
brw-r----- 1 root sys 64 0x000004 Feb 22 16:58 lvol4
brw-r----- 1 root sys 64 0x000005 Feb 22 16:58 lvol5
brw-r----- 1 root sys 64 0x000006 Feb 22 16:58 lvol6
brw-r----- 1 root sys 64 0x000007 Feb 22 16:58 lvol7
crw-r----- 1 root sys 64 0x000001 Feb 22 16:58 rlvol1
crw-r----- 1 root sys 64 0x000002 Feb 22 16:58 rlvol2
crw-r----- 1 root sys 64 0x000003 Feb 22 16:58 rlvol3
crw-r----- 1 root sys 64 0x000004 Feb 22 16:58 rlvol4
crw-r----- 1 root sys 64 0x000005 Feb 22 16:58 rlvol5
crw-r----- 1 root sys 64 0x000006 Feb 22 16:58 rlvol6
crw-r----- 1 root sys 64 0x000007 Feb 22 16:58 rlvol7
/dev/vgda2:
total 0
crw-r----- 1 root sys 64 0x030000 May 14 14:43 group
brw-r----- 1 root sys 64 0x030001 May 17 14:05 lvtss6
crw-r----- 1 root sys 64 0x030001 May 17 14:05 rlvtss6
/dev/vgtest:
total 0
/dev/vgxa1:
total 0
xxxx:root/dev/vgxa1>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 06:34 AM
05-17-2010 06:34 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
Is this a LVM 1.0 or 2.x group?
"...
major is the major number for the group device file. For a Version 1.0 volume group, it is 64. For a Version 2.x volume group, it is 128."
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 06:37 AM
05-17-2010 06:37 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
please run the below commands and let me know the o/p
#cd /
#mkdir /dev/vgxx
#mknod /dev/vgxx/group c 64 0x010000
xx- vg extension which you need.
Rgds,
PT.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 06:41 AM
05-17-2010 06:41 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
# which mknod
# what /usr/sbin/mknod
use
/usr/sbin/mknod in place of a simple mknod
to be sure there is no alias
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 06:48 AM
05-17-2010 06:48 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
if not then try wiht minor number consecutive of vg00, as i can see 0x030000 is assign to vgda2.
First remove what you have created :
#mkdir /dev/vgxa1
#mknod /dev/vgxa1/group c 64 0x010000
then do
vgimport -sv -m
All the best....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 06:49 AM
05-17-2010 06:49 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
this is for your reply.
Below have attached the LVM, kernel Bundle and patch verison on my server.
Vgdisplay and lvmadm command doesn't show the LVM verison,
xxxx:root/dev>swlist -l product|grep LVM
LVM B.11.31 LVM
LVM-Core B.11.31 HP-UX Kernel support for the logical volume manager
LVM-MirrorDisk B.11.31 MirrorDisk/UX
PHKL_39606 1.0 PRM/FSS cumulative patch with LVM enhancement
xxxx:root/dev>swlist | grep -E "gold|qpk|Bundle"
# Bundle(s):
BUNDLE B.2010.05.08 Patch Bundle
Base-VXFS B.11.31 Base VxFS File System 4.1 Bundle for HP-UX
Base-VXVM B.4.10.032 Base VERITAS Volume Manager Bundle 4.1 for HP-UX
OnlineDiag B.11.31.01.03 HPUX 11.31 Support Tools Bundle, February 2007
QPKBASE B.11.31.1003.347a Base Quality Pack Bundle for HP-UX 11i v3, March 2010
# Product(s) not contained in a Bundle:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 06:57 AM
05-17-2010 06:57 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
This for your reply
xxxx:root/dev>which mknod
/sbin/mknod
xxxx:root/>/sbin/mknod /dev/vgxa1/group c 64 0x020000
xxxx:root/>ll /dev/vgxa1/group
/dev/vgxa1/group not found
xxxx:root/>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 07:00 AM
05-17-2010 07:00 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 07:02 AM
05-17-2010 07:02 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 07:03 AM
05-17-2010 07:03 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 07:05 AM
05-17-2010 07:05 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
I tried with new minor number and vgname but still having same issue.
xxxx:root/dev>mkdir /dev/vgtest1
xxxx:root/dev>ll /dev/vg*/group
crw-r----- 1 root sys 64 0x000000 Feb 22 16:58 /dev/vg00/group
crw-r----- 1 root sys 64 0x030000 May 14 14:43 /dev/vgda2/group
xxxx:root/dev>/sbin/mknod /dev/vgtest1/group c 64 0x050000
xxxx:root/dev>ll /dev/vg*/group
crw-r----- 1 root sys 64 0x000000 Feb 22 16:58 /dev/vg00/group
crw-r----- 1 root sys 64 0x030000 May 14 14:43 /dev/vgda2/group
xxxx:root/dev>
Vgdisplay command doesn't show the LVM verison.please see below
xxxx:root/dev>vgdisplay -v vgda2
--- Volume groups ---
VG Name /dev/vgda2
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 1
Open LV 1
Max PV 16
Cur PV 8
Act PV 8
Max PE per PV 1717
VGDA 16
PE Size (Mbytes) 64
Total PE 13736
Alloc PE 13736
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 07:07 AM
05-17-2010 07:07 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=BaseLVM
rgds,
PT.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 07:14 AM
05-17-2010 07:14 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
please find attached list of files under /dev directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 07:16 AM
05-17-2010 07:16 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2010 07:23 AM
05-17-2010 07:23 AM
Re: Doesn't create /dev/vg*/group file mknod command on hp-ux11i v3
unix:/root# lvmadm -t
rgds,
PT