- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to find unused disk in LVM if i have 500 d...
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
Discussions
Discussions
Forums
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
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
тАО10-18-2008 06:14 PM
тАО10-18-2008 06:14 PM
how to find unused disk in LVM if i have 500 disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2008 06:57 PM
тАО10-18-2008 06:57 PM
Re: how to find unused disk in LVM if i have 500 disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-18-2008 07:11 PM
тАО10-18-2008 07:11 PM
Re: how to find unused disk in LVM if i have 500 disk
but i need some other way to find hardware path or disk name (c*t*d*) from command yes i know it is little bit defficult to compare 500 disk info for lvmtab and ioscan output if there is any other command to check it is very good to know
I need some way without using Script
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2008 01:25 PM
тАО10-19-2008 01:25 PM
Re: how to find unused disk in LVM if i have 500 disk
> yes i know it is little bit defficult to compare 500 disk info for lvmtab and ioscan output...I need some way without using Script
Well then, how about a pencil and some paper?
Why would you *NOT* want to write a script that would simply your labor? There's nothing wrong with not knowing how to do something. There's everything wrong, though, with not trying. Don't reject something just because you may not be comfortable with it.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2008 07:11 PM
тАО10-19-2008 07:11 PM
Re: how to find unused disk in LVM if i have 500 disk
Sam -> disks
It should give you a list of every disk and what it is used for.
(It might take a while since sam is doing a ioscan and cross referencing what it finds on each disk)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2008 08:10 PM
тАО10-19-2008 08:10 PM
Re: how to find unused disk in LVM if i have 500 disk
the easiest thing is to make a list of used disks from lvmtab and make a list with all the disk in the ssystem. then write a simple for loop to compare both and echo the the output if the disk is not found in the lvmtab. this works 100% only if you have all the paths configured in the vg's If some alt path is missed out then you have for do a manula comaprison to find the alt path also.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2008 08:27 PM
тАО10-19-2008 08:27 PM
Re: how to find unused disk in LVM if i have 500 disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-19-2008 08:28 PM
тАО10-19-2008 08:28 PM