HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Missing LV
Operating System - HP-UX
1834594
Members
4276
Online
110069
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
08-03-2001 05:20 PM
08-03-2001 05:20 PM
Do I get any points for asking questions ?? :) I've lost a logical volume. I'm not going to go into too much detail, but I removed it by mistake via "rm". It didn't have anything on it, but now I've got question marks in my pvdisplay in the status where that logical volume used to be. How can I clear up the status ?? I'm on HP-UX 11.0
TIA
Brian
TIA
Brian
Follow The Path With Heart
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-03-2001 06:27 PM
08-03-2001 06:27 PM
Solution
Hi Brian:
No points for you. I've never done what you did but I think that this will fix you. I use vg02 lvol4 as my example but you should get the idea. I don't know if you removed both the character special device and the block special device but I'll illustrate both.
as root
cd /dev/vg02
mknod lvol4 b 64 0x020004
mknod rlvol4 c 64 0x020004
chmod 640 lvol4 rlvol4
chown root:sys lvol4 rlvol4
The first 4 hex digits in the minor device number following the 0x should match all the remaining entries and the last 2 should indicate which logical volume from 01 through ff.
In the future, try using the lvremove command; it works a bit better.
Regards, Clay
No points for you. I've never done what you did but I think that this will fix you. I use vg02 lvol4 as my example but you should get the idea. I don't know if you removed both the character special device and the block special device but I'll illustrate both.
as root
cd /dev/vg02
mknod lvol4 b 64 0x020004
mknod rlvol4 c 64 0x020004
chmod 640 lvol4 rlvol4
chown root:sys lvol4 rlvol4
The first 4 hex digits in the minor device number following the 0x should match all the remaining entries and the last 2 should indicate which logical volume from 01 through ff.
In the future, try using the lvremove command; it works a bit better.
Regards, Clay
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2001 04:36 PM
08-05-2001 04:36 PM
Re: Missing LV
Other than using mknod to re-make those devices (the best), I believed that you could also try recover those device files back from your last valid file system backup. Maybe you could restore those files back to a temporary directory for checking first before futher actions. This should work even both block and character device had been removed.
sleepycasper
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2001 09:19 AM
08-06-2001 09:19 AM
Re: Missing LV
Well thanx for the help on the mknod command. I ended up converting all my hex to decimal so I could see which one was missing. I then just replaced that with the mknod, and were back in business :) I didn't intend to remove them via "rm" it was fumbly fingers at the end of the day. I was actually moving them, because I didn't like the name I had given them. I did remove both devices, because after I had realized that I had removed the block special device, I saw the mess I had and thought that maybe if I'd removed the character device, that would clean things up.... wrong :( I was just in the process of creating the logical volumes so I hadn't had time to get a backup of them yet. Thanx again for your help :)
Follow The Path With Heart
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP