- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: restore removed 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
08-25-2010 07:49 AM
08-25-2010 07:49 AM
restore removed lvol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2010 07:54 AM
08-25-2010 07:54 AM
Re: restore removed lvol
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2010 08:45 AM
08-25-2010 08:45 AM
Re: restore removed lvol
Please follow the steps.
1. Remove the character and block device files you have created.
2. Lvcreate -L lv_size_MB VG_NAME
3. mkdir DiR_OLD (Create the directory )
4. newfs -F vxfs /dev/VG_NAME/rLVOL_NAME
5. mount /dev/VG_NAME/LVOL_NAME DIR_OLD
6. Now restore all the files in DIR_OLD.
Thanks
Vivek Bhatia
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2010 08:50 AM
08-25-2010 08:50 AM
Re: restore removed lvol
Vivek - Thanks for the info, but that is a creation of a new lvol and a new file system. Not what I am asking for.
Anyway, a former co-worker was able to help out. I was lucky that all the lvols on the disk were contiguous. I was able to use the bdf output to get the number of PE's used for the lvol. I then did an lvcreate using the pe size and mounted it. I just barely dodged that bullet.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2010 05:18 AM
08-26-2010 05:18 AM
Re: restore removed lvol
Does it mean that you found the data untouched on the newly created LV? With a filesystem on it? What a luck... :)
Unix operates with beer.