- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: lvcreate error
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
Discussions
Discussions
Discussions
Forums
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
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
тАО04-12-2006 02:01 AM
тАО04-12-2006 02:01 AM
When trying to create logical volumes I am getting the following error:
lvcreate: "/dev/vg01/group": not a character device.
Any idea why?
Cheers!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2006 02:05 AM
тАО04-12-2006 02:05 AM
Re: lvcreate error
Please provide the exact command creating this lvol
--
Grych
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2006 02:06 AM
тАО04-12-2006 02:06 AM
Re: lvcreate error
what does ll /dev/vg01 give you for the group file??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2006 02:06 AM
тАО04-12-2006 02:06 AM
Re: lvcreate error
Do you have other LV in vg01 or this is a new Volume Group? Have you done all commands neccesary to create the volume group? For example:
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x030000
pvcreate /dev/rdsk/c1t0d0
pvcreate /dev/rdsk/c1t2d0
vgcreate -s 2 /dev/vg01 /dev/dsk/c1t0d0 /dev/dsk/c1t2d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2006 02:06 AM
тАО04-12-2006 02:06 AM
Re: lvcreate error
Use any name other than 'group'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2006 02:08 AM
тАО04-12-2006 02:08 AM
Re: lvcreate error
I would suggest using SAM. It easy for standard tasks such as LVM configuration. Also prevents typing mistakes.
Can you do a:
ll /dev/vg01
dr-xr-xr-x 2 root sys 96 Aug 5 2005 vg01
ll /dev/vg01/group
cr--r--r-- 1 root sys 64 0x020000 Aug 5 2005 group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2006 02:08 AM
тАО04-12-2006 02:08 AM
SolutionCheck the /dev/vg01/group file - it should look like:
crw-r--r-- 1 root sys 64 0x010000
The key is the "c". IF it's "b" then it's defined as a block device.
Proper mknod command would look like:
mknod group c 64 0x010000
Again the "c" is the key.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2006 02:08 AM
тАО04-12-2006 02:08 AM
Re: lvcreate error
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
then do your vgcreate...
Also, make sure you don't have the same minor number as another vg.
ll /dev/vg*/group
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2006 02:08 AM
тАО04-12-2006 02:08 AM
Re: lvcreate error
Do an ls -l /dev/vg* and post the output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2006 02:09 AM
тАО04-12-2006 02:09 AM
Re: lvcreate error
Does your group file look like?
crw-r----- 1 root sys 64 0x000000 Aug 20 1997 /dev/vg01/group
That is, did you use 'mknod' to create the volume group device file? like:
# mknod /dev/vgXY/group c 64 0x010000
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2006 02:27 AM
тАО04-12-2006 02:27 AM
Re: lvcreate error
Please find the attached document for creating Physical and logical volumes, It will help you.
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2006 04:17 AM
тАО04-12-2006 04:17 AM
Re: lvcreate error
Your help has helped me through!
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2006 09:44 PM
тАО04-12-2006 09:44 PM