- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvremove: Can't get minor number of LVOL
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
06-27-2007 08:05 PM
06-27-2007 08:05 PM
i tried to remove a LVOL, but i got following error:
lvremove: Can't get minor number of logical volume "/dev/vgatvmovp_db1/OVOP_opc_6_00".
i saw also, the Raw Device doesn't exists.
i don't know, how to remove the LVOL ?
regards,Tom
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2007 09:16 PM
06-27-2007 09:16 PM
SolutionBut I would ask other members to confirm this method/suggest changes before trying it :)
Make sure the lvol is unmounted.
You should create the block and character device files:
Do ll /dev/vg*/group to see the list of minor numbers currently in use. Choose the next one in sequence. e.g. 0x040001
mknod /dev/vgXXX/lvol1 b 64 0x040001
mknod /dev/vgXXX/rlvol1 c 64 0x040001
(each lvol has a block (b)and char(c) device)
View with "lvdisplay /dev/vgXXX/lvol1"
If both lvol's are accessable you can then you can look at removing the lvol's using lvremove command:
lvremove /dev/vgXXX/lvol1
I again would wait for others to comment on this BEFORE implementing Tom.
rgds,
Brian
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2007 10:04 PM
06-27-2007 10:04 PM
Re: lvremove: Can't get minor number of LVOL
I would go with what Brian says.
Just two notes. To find the minor number of the logical volume run the following:
strings /etc/lvmconf/vgatvmovp_db1.mapfile
to pick up the logical volume number.
Also remember that the minor number is in hexidecimal so the 10th lvol will show up as 10 but when running mknod it will be 0xYY000a where YY is your major number.
HTH
Andrew Y
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2007 10:16 PM
06-27-2007 10:16 PM
Re: lvremove: Can't get minor number of LVOL
After doing this you should be able to remove the lvol.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2007 11:29 PM
06-27-2007 11:29 PM
Re: lvremove: Can't get minor number of LVOL
i made the steps of brian and it works. thank's a lot for your helpful informations.
kind regards,Tom
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2007 11:31 PM
06-27-2007 11:31 PM
Re: lvremove: Can't get minor number of LVOL
i made the steps of brian and it works. thank's a lot for your helpful informations.