<?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: lvdisplay in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547073#M875178</link>
    <description>First thing to try:&lt;BR /&gt;&lt;BR /&gt;Check your /etc/fstab to see if this is perhaps an LV that is being used for secondary swap.  I just happen to have a /dev/vg00/lvol13 myself and it is used for swap.  Here is the entry from /etc/fstab:&lt;BR /&gt;&lt;BR /&gt;/dev/vg00/lvol13 ... swap defaults 0 0&lt;BR /&gt;&lt;BR /&gt;Second, go into SAM, then to DISKS AND FILE SYSTEMS, then to LOGICAL VOLUMES.  When the logical volume list comes up, look for lvol13 in the vg00 volume group.  It will list the LVs use (swap, dump, swap/dump, or HFS or VxFS if it is a filesystem) or its last know mount point.  If it lists a mount point you can then try mounting the LV manually by doing:&lt;BR /&gt;&lt;BR /&gt;mkdir /my_mount&lt;BR /&gt;mount /dev/vg00/lvol13 /my_mount&lt;BR /&gt;cd /my_mount&lt;BR /&gt;&lt;BR /&gt;and then see what you have.</description>
    <pubDate>Fri, 29 Jun 2001 18:53:09 GMT</pubDate>
    <dc:creator>Patrick Wallek</dc:creator>
    <dc:date>2001-06-29T18:53:09Z</dc:date>
    <item>
      <title>lvdisplay</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547066#M875171</link>
      <description>How can I identify what files/mount points there in a perticular logical volume.&lt;BR /&gt;&lt;BR /&gt;For example I want to know what is there in /dev/vg00/lvol13. I checked with bdf, lvdisplay and vgdisplay &lt;BR /&gt;&lt;BR /&gt;Any clue..?</description>
      <pubDate>Fri, 29 Jun 2001 18:20:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547066#M875171</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-06-29T18:20:33Z</dc:date>
    </item>
    <item>
      <title>Re: lvdisplay</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547067#M875172</link>
      <description>Hi,&lt;BR /&gt;Use bdf...&lt;BR /&gt;&lt;BR /&gt;All the best&lt;BR /&gt;Victor</description>
      <pubDate>Fri, 29 Jun 2001 18:23:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547067#M875172</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2001-06-29T18:23:21Z</dc:date>
    </item>
    <item>
      <title>Re: lvdisplay</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547068#M875173</link>
      <description>What are you looking for?&lt;BR /&gt;bdf should do, or mount, usuall you add a file system in a logical volume that is mounted at the mountpoint specified&lt;BR /&gt;all this information is found with e.g. mount:&lt;BR /&gt;# mount&lt;BR /&gt;/ on /dev/vg00/lvol3 log on Fri Jan 12 22:16:43 2001&lt;BR /&gt;/stand on /dev/vg00/lvol1 defaults on Fri Jan 12 22:16:44 2001&lt;BR /&gt;/work on /dev/r5vg02/lvol6 delaylog on Fri Jan 12 22:16:54 2001&lt;BR /&gt;/var on /dev/vg00/lvol8 delaylog on Fri Jan 12 22:16:54 2001&lt;BR /&gt;/var/opt/oracle on /dev/r5vg02/lvol4 delaylog on Fri Jan 12 22:16:54 2001&lt;BR /&gt;/var/opt/app/budget on /dev/r5vg02/lvol5 delaylog on Fri Jan 12 22:16:55 2001&lt;BR /&gt;/usr on /dev/vg00/lvol7 delaylog on Fri Jan 12 22:16:55 2001&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;What else are you looking for?</description>
      <pubDate>Fri, 29 Jun 2001 18:32:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547068#M875173</guid>
      <dc:creator>Victor BERRIDGE</dc:creator>
      <dc:date>2001-06-29T18:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: lvdisplay</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547069#M875174</link>
      <description>Victor,&lt;BR /&gt;&lt;BR /&gt;I've this logical volume named /dev/vg00/lvol13 I want to know how this lvol is being used as.&lt;BR /&gt;bdf doesnot show this entry. vgdiplay -v /dev/vg00 shows the entry of lvol13 . lvdiaply -v /dev/vg00/lvol13 also gives the details with physical disk. I wan to know what is there in this perticular lvol.&lt;BR /&gt;Hope I'm clear this time</description>
      <pubDate>Fri, 29 Jun 2001 18:41:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547069#M875174</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-06-29T18:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: lvdisplay</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547070#M875175</link>
      <description>Hi Uday:&lt;BR /&gt;&lt;BR /&gt;'bdf' will only show mounted devices.  Try mounting your device first.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 29 Jun 2001 18:43:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547070#M875175</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-06-29T18:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: lvdisplay</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547071#M875176</link>
      <description>Hi, try this:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/sh &lt;BR /&gt;# &lt;BR /&gt;# Report the mountpoint for each argument on the command line &lt;BR /&gt;# &lt;BR /&gt;# Usage: &lt;BR /&gt;# mymountpt / /tmp /var/tmp /opt &lt;BR /&gt;# &lt;BR /&gt;set -u &lt;BR /&gt;if [ $# -lt 1 ] &lt;BR /&gt;then &lt;BR /&gt;echo &lt;BR /&gt;echo "Usage: $(basename $0) file_or_dir [ file_or_dir ....]" &lt;BR /&gt;echo " (to report where the file or directory is mounted)" &lt;BR /&gt;exit 1 &lt;BR /&gt;fi &lt;BR /&gt;for DIR in $@ &lt;BR /&gt;do &lt;BR /&gt;if [ -f $DIR -o -d $DIR ] &lt;BR /&gt;then &lt;BR /&gt;MNTPNT=$(/usr/bin/bdf $DIR | /usr/bin/grep -v ^Filesystem | /usr/bin/awk '{print&lt;BR /&gt; $NF}') &lt;BR /&gt;echo "$DIR is mounted at: $MNTPNT" &lt;BR /&gt;else &lt;BR /&gt;echo "$DIR is not a file or directory." &lt;BR /&gt;fi &lt;BR /&gt;done &lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Rob&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Jun 2001 18:46:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547071#M875176</guid>
      <dc:creator>Rob Smith</dc:creator>
      <dc:date>2001-06-29T18:46:40Z</dc:date>
    </item>
    <item>
      <title>Re: lvdisplay</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547072#M875177</link>
      <description>Hi:&lt;BR /&gt;&lt;BR /&gt;I think I know what you are asking and I assume you have a logical volume that you don't know if it is a filesystem or not.&lt;BR /&gt;&lt;BR /&gt;1) Run fsck -m and then do an echo $?&lt;BR /&gt;e.g. fsck -F vxfs -m /dev/vg00/lvol13&lt;BR /&gt;echo $?&lt;BR /&gt;If the resullt is 0; it is a vxfs filesystem suitable for mountinh; if the result is 32 more checks need to be done but it is a vxfs filesystem; 33 means it it already mounted; &amp;gt; 33 indicates that it is not a vxfs filesystem or is very corrupt&lt;BR /&gt;If you got a &amp;gt;33 error code then try it as an hfs filesystem&lt;BR /&gt;fsck -F hfs -m /dev/vg00/lvol13&lt;BR /&gt;echo $?&lt;BR /&gt;The same result codes apply.&lt;BR /&gt;&lt;BR /&gt;If you get a 32 you then need to run fsck without -m to clean up the filesystem.&lt;BR /&gt;You can then mount the filesystem.&lt;BR /&gt;mkdir /mydir&lt;BR /&gt;mount -F vxfs (or hfs) /dev/vg00/lvol13 /mydir&lt;BR /&gt;&lt;BR /&gt;If you got a &amp;gt; 33 result code on both types of filesystems, then there is nothing filesystem related there. Perhaps it was used as a dump or swap area. You can also use the dd command to look at /dev/vg00/lvol13.&lt;BR /&gt;&lt;BR /&gt;Clay&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Jun 2001 18:47:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547072#M875177</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-06-29T18:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: lvdisplay</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547073#M875178</link>
      <description>First thing to try:&lt;BR /&gt;&lt;BR /&gt;Check your /etc/fstab to see if this is perhaps an LV that is being used for secondary swap.  I just happen to have a /dev/vg00/lvol13 myself and it is used for swap.  Here is the entry from /etc/fstab:&lt;BR /&gt;&lt;BR /&gt;/dev/vg00/lvol13 ... swap defaults 0 0&lt;BR /&gt;&lt;BR /&gt;Second, go into SAM, then to DISKS AND FILE SYSTEMS, then to LOGICAL VOLUMES.  When the logical volume list comes up, look for lvol13 in the vg00 volume group.  It will list the LVs use (swap, dump, swap/dump, or HFS or VxFS if it is a filesystem) or its last know mount point.  If it lists a mount point you can then try mounting the LV manually by doing:&lt;BR /&gt;&lt;BR /&gt;mkdir /my_mount&lt;BR /&gt;mount /dev/vg00/lvol13 /my_mount&lt;BR /&gt;cd /my_mount&lt;BR /&gt;&lt;BR /&gt;and then see what you have.</description>
      <pubDate>Fri, 29 Jun 2001 18:53:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547073#M875178</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2001-06-29T18:53:09Z</dc:date>
    </item>
    <item>
      <title>Re: lvdisplay</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547074#M875179</link>
      <description>Thanks Folks,&lt;BR /&gt;&lt;BR /&gt;The lvol is unused. /etc/fstab don't have entry for this. &lt;BR /&gt;</description>
      <pubDate>Fri, 29 Jun 2001 19:05:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547074#M875179</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-06-29T19:05:24Z</dc:date>
    </item>
    <item>
      <title>Re: lvdisplay</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547075#M875180</link>
      <description>Hello Uday,&lt;BR /&gt;&lt;BR /&gt;It's nice that someone solved your problem but four other people tried to help you.   You should assign them points too.  Just a thought.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;John &lt;BR /&gt;</description>
      <pubDate>Fri, 29 Jun 2001 19:10:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547075#M875180</guid>
      <dc:creator>John_44</dc:creator>
      <dc:date>2001-06-29T19:10:48Z</dc:date>
    </item>
    <item>
      <title>Re: lvdisplay</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547076#M875181</link>
      <description>Hi Uday:&lt;BR /&gt;&lt;BR /&gt;Just because /etc/fstab doesn't contain an entry doesn't necessarily mean that there aren't viable files on the logical volume.&lt;BR /&gt;&lt;BR /&gt;Before you destroy it, you might want to check it with 'fstyp' to see if it returns a filesystem:&lt;BR /&gt;&lt;BR /&gt;# fstyp /dev/vgXX/lvolXX&lt;BR /&gt;&lt;BR /&gt;If it shows "vxfs" or "hfs" then try mounting it on a dummy directory of your choice to see if there's anything you want in it!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Fri, 29 Jun 2001 19:13:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547076#M875181</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-06-29T19:13:23Z</dc:date>
    </item>
    <item>
      <title>Re: lvdisplay</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547077#M875182</link>
      <description>Hold on... John,&lt;BR /&gt;&lt;BR /&gt;I'm working on that.. but some time this site is real s.l..o...w!&lt;BR /&gt;Thanks&lt;BR /&gt;USA&lt;BR /&gt;</description>
      <pubDate>Fri, 29 Jun 2001 19:21:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvdisplay/m-p/2547077#M875182</guid>
      <dc:creator>Uday_S_Ankolekar</dc:creator>
      <dc:date>2001-06-29T19:21:07Z</dc:date>
    </item>
  </channel>
</rss>

