- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remove logical volumes when disk system crashed.
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
09-06-2005 08:03 AM
09-06-2005 08:03 AM
remove logical volumes when disk system crashed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 08:07 AM
09-06-2005 08:07 AM
Re: remove logical volumes when disk system crashed.
lvremove -f /dev/vg01/lvol1
lvremove -f /dev/vg01/lvol2
lvremove -f /dev/vg01/lvol3
if yes, what and if you get any error messages ?
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 08:31 AM
09-06-2005 08:31 AM
Re: remove logical volumes when disk system crashed.
Alongwith this also remove the lost disks information from the VG using
#vgreduce -f /dev/vgxx
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 08:41 AM
09-06-2005 08:41 AM
Re: remove logical volumes when disk system crashed.
You can do as follows.
lvremove -f /dev/vg01/lvol1
lvremove -f /dev/vg01/lvol2
lvremove -f /dev/vg01/lvol3
vgreduce -f /dev/vg01
[ NOTE: The above command does not require a physical volume argument. It
must be run on a active volume group. ]
The LVM configuration information stores in /etc/lvmtab and /etc/lvmconf/vg01.conf ( for vg01 )
You can see
# strings /etc/lvmtab
# vgcfgrestore -n /dev/VG01 -l
to see the list of physical volumes on vg01.
Cheers ,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-06-2005 08:43 AM
09-06-2005 08:43 AM
Re: remove logical volumes when disk system crashed.
# vgcfgrestore -n /dev/VG01 -l
should be
# vgcfgrestore -n /dev/vg01 -l
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-07-2005 12:57 AM
09-07-2005 12:57 AM
Re: remove logical volumes when disk system crashed.
vgexport /dev/vg01 the old volume group. lvremove complained about no physical volumes attached.
Ron