- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- get volume status function
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-31-2007 07:19 PM
тАО10-31-2007 07:19 PM
get volume status function
I'm trying to find a function(like lvdisplay, but through C code) that get the status of a device ( volume), weather it is online/offline according to it's major and minor number. Is there such functions?
Thaks,
anat
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-31-2007 11:50 PM
тАО10-31-2007 11:50 PM
Re: get volume status function
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-01-2007 12:16 AM
тАО11-01-2007 12:16 AM
Re: get volume status function
..
unfortunately, my test box at home which has LVM is LVM 1, so it's rather different.. All my LVM2 boxes aren't using LVM.. Go figure.. ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-04-2007 12:51 AM
тАО11-04-2007 12:51 AM
Re: get volume status function
I am not sure what you are actually looking, but there is a pstat interface which can give you a lot of status information on processes,disk,lv,memory etc.
see the following for details :
man pstat
/usr/include/sys/pstat.h
/usr/include/sys/pstat/*
pstat_getlv
pstat_getdisk
Regards,
RD
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2007 06:05 AM
тАО11-05-2007 06:05 AM
Re: get volume status function
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2007 08:36 PM
тАО11-05-2007 08:36 PM
Re: get volume status function
AFAIK, pstat is HP-UX specific utility.
As for your question - I suggest you to ask it on some LVM forum/maillist, see for more info http://www.ibm.com/developerworks/library/l-lvm2/?ca=dgr-lnxw02aLinuxLVM2&S_TACT=105AG