LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 03-19-2011, 05:20 AM   #1
sandeep_hello
Member
 
Registered: Feb 2008
Posts: 58

Rep: Reputation: 1
Abstract lvm information Linux


Can anyone help me to write a script. I want to abstract some LVM information through script:

1) SAN disks allocated to the Linux Box which have a Volume Group with free space more than 10GB
2) SAN disks allocated to the Linux Box which don't have a LUN allocated to a Volume Group
3) SAN disks allocated to the Linux Box which don't have a pv or raw device allocated to the LUN.

So please suggest me.
 
Old 03-20-2011, 02:48 AM   #2
EricTRA
Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290Reputation: 1290
Hello,

What have you come up with so far? Post what you've got and where you're missing things or encountering errors. Nobody here will give you a ready made solution. Use the available commands for lvm in combination with grep, awk, sed. Put everything in a script and test.

Kind regards,

Eric
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trashed LVM partition information - Can I recover it? westiej Linux - Software 1 05-21-2009 02:09 AM
Abstract Console and LinuxConsole: Text Only Linux Without VGA btbx Linux - Kernel 1 10-05-2007 11:47 AM
A simple language abstract, please, re: making my Linux network public lhoff Linux - Networking 3 02-07-2002 09:52 AM


All times are GMT -5. The time now is 03:25 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration