HPE GreenLake Administration
Operating System - HP-UX
1832783
Members
3537
Online
110045
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
06-18-2008 09:00 AM
06-18-2008 09:00 AM
I have executred de following command:
lvremove -f -A y /dev/vg01/lvol1
Did i lost all data or just lvm configuration on disk?
Is it possible to recover the data with lvm commands?
Thanks
Márcio
lvremove -f -A y /dev/vg01/lvol1
Did i lost all data or just lvm configuration on disk?
Is it possible to recover the data with lvm commands?
Thanks
Márcio
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2008 09:25 AM
06-18-2008 09:25 AM
Solution
Hi,
no you lost just lvm configuration.
you should run vgcfgrestore for all disks containing your lv. with -A option vg information is backed up in . you can check conf file
ls /etc/lvmconf/vg01.conf and lvm configuration:
vgcfgrestore -n /dev/vg01 -l
first deactivate vg :vgchange -a n vg01
then do vgcfgrestore for all disks in vg:
vgcfgrestore -n /dev/vg01 /dev/rdsk/cxtydz
activate vgchange -a y vg01
and check filesystem with fsck.
Hope it helps.
Kenan.
no you lost just lvm configuration.
you should run vgcfgrestore for all disks containing your lv. with -A option vg information is backed up in . you can check conf file
ls /etc/lvmconf/vg01.conf and lvm configuration:
vgcfgrestore -n /dev/vg01 -l
first deactivate vg :vgchange -a n vg01
then do vgcfgrestore for all disks in vg:
vgcfgrestore -n /dev/vg01 /dev/rdsk/cxtydz
activate vgchange -a y vg01
and check filesystem with fsck.
Hope it helps.
Kenan.
Computers have lots of memory but no imagination
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2008 09:28 AM
06-18-2008 09:28 AM
Re: lvremove
Shalom,
No, the data is probably recoverable.
You should be able to recover whats there so long as its not been over-written.
http://docs.hp.com/en/B2355-90672/ch03s10.html
SEP
No, the data is probably recoverable.
You should be able to recover whats there so long as its not been over-written.
http://docs.hp.com/en/B2355-90672/ch03s10.html
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2008 08:29 AM
06-19-2008 08:29 AM
Re: lvremove
Hello Kenan,
Your solution worked just fine!
Thanks,
Regards,
Márcio
Your solution worked just fine!
Thanks,
Regards,
Márcio
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