<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: get volume status function in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/get-volume-status-function/m-p/4095564#M63115</link>
    <description>Hi, on linux i don't see no man entry for pstat nor the include files that you mentioned</description>
    <pubDate>Mon, 05 Nov 2007 14:05:04 GMT</pubDate>
    <dc:creator>anat heilper</dc:creator>
    <dc:date>2007-11-05T14:05:04Z</dc:date>
    <item>
      <title>get volume status function</title>
      <link>https://community.hpe.com/t5/operating-system-linux/get-volume-status-function/m-p/4095560#M63111</link>
      <description>Hi,&lt;BR /&gt;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?&lt;BR /&gt;Thaks,&lt;BR /&gt;anat</description>
      <pubDate>Thu, 01 Nov 2007 02:19:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/get-volume-status-function/m-p/4095560#M63111</guid>
      <dc:creator>anat heilper</dc:creator>
      <dc:date>2007-11-01T02:19:51Z</dc:date>
    </item>
    <item>
      <title>Re: get volume status function</title>
      <link>https://community.hpe.com/t5/operating-system-linux/get-volume-status-function/m-p/4095561#M63112</link>
      <description>Maybe your best option is to check the lvdisplay/lvs source code. This is why the open source world is too great.&lt;BR /&gt;&lt;BR /&gt;Cheers.</description>
      <pubDate>Thu, 01 Nov 2007 06:50:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/get-volume-status-function/m-p/4095561#M63112</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-11-01T06:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: get volume status function</title>
      <link>https://community.hpe.com/t5/operating-system-linux/get-volume-status-function/m-p/4095562#M63113</link>
      <description>That, or you could start with an 'strace lvdisplay /dev/&lt;VG&gt;/&lt;LV&gt;', and see if that gives you any clues.&lt;BR /&gt;&lt;BR /&gt;..&lt;BR /&gt;&lt;BR /&gt;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.. ;)&lt;/LV&gt;&lt;/VG&gt;</description>
      <pubDate>Thu, 01 Nov 2007 07:16:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/get-volume-status-function/m-p/4095562#M63113</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2007-11-01T07:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: get volume status function</title>
      <link>https://community.hpe.com/t5/operating-system-linux/get-volume-status-function/m-p/4095563#M63114</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;see the following for details :&lt;BR /&gt;    man pstat&lt;BR /&gt;    /usr/include/sys/pstat.h&lt;BR /&gt;    /usr/include/sys/pstat/*&lt;BR /&gt;    pstat_getlv&lt;BR /&gt;    pstat_getdisk&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;RD</description>
      <pubDate>Sun, 04 Nov 2007 07:51:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/get-volume-status-function/m-p/4095563#M63114</guid>
      <dc:creator>rajdev</dc:creator>
      <dc:date>2007-11-04T07:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: get volume status function</title>
      <link>https://community.hpe.com/t5/operating-system-linux/get-volume-status-function/m-p/4095564#M63115</link>
      <description>Hi, on linux i don't see no man entry for pstat nor the include files that you mentioned</description>
      <pubDate>Mon, 05 Nov 2007 14:05:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/get-volume-status-function/m-p/4095564#M63115</guid>
      <dc:creator>anat heilper</dc:creator>
      <dc:date>2007-11-05T14:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: get volume status function</title>
      <link>https://community.hpe.com/t5/operating-system-linux/get-volume-status-function/m-p/4095565#M63116</link>
      <description>Shalom, Anat,&lt;BR /&gt;&lt;BR /&gt;AFAIK, pstat is HP-UX specific utility.&lt;BR /&gt;&lt;BR /&gt;As for your question - I suggest you to ask it on some LVM forum/maillist, see for more info &lt;A href="http://www.ibm.com/developerworks/library/l-lvm2/?ca=dgr-lnxw02aLinuxLVM2&amp;amp;S_TACT=105AG" target="_blank"&gt;http://www.ibm.com/developerworks/library/l-lvm2/?ca=dgr-lnxw02aLinuxLVM2&amp;amp;S_TACT=105AG&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Nov 2007 04:36:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/get-volume-status-function/m-p/4095565#M63116</guid>
      <dc:creator>Vitaly Karasik_1</dc:creator>
      <dc:date>2007-11-06T04:36:41Z</dc:date>
    </item>
  </channel>
</rss>

