<?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: FileDisk map location in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431467#M3206</link>
    <description>Keith,&lt;BR /&gt;Maybe the df command can help you. It reports the number of free file system disk blocks, but the output contains the name of the file system.&lt;BR /&gt;&lt;BR /&gt;example:&lt;BR /&gt;#df wtmp&lt;BR /&gt;/var  (/dev/vg00/lvol8):   899572 blocks  119866 i-nodes&lt;BR /&gt;</description>
    <pubDate>Wed, 19 Jul 2000 05:58:18 GMT</pubDate>
    <dc:creator>Patrick Wessel</dc:creator>
    <dc:date>2000-07-19T05:58:18Z</dc:date>
    <item>
      <title>FileDisk map location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431464#M3203</link>
      <description>I am trying to write a script that will let map what files are on what disks, % of file/disk, size of file... But I'm not sure what utility is used in HP-UX to discover the location of a file.  On AIX it's 'fileplace'... Can anyone point me in the right dirrection?  Thanks very much for any assistance</description>
      <pubDate>Tue, 18 Jul 2000 20:23:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431464#M3203</guid>
      <dc:creator>Keith Tyson</dc:creator>
      <dc:date>2000-07-18T20:23:03Z</dc:date>
    </item>
    <item>
      <title>Re: FileDisk map location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431465#M3204</link>
      <description>Don't believe one exists. If I am reading the post correctly, you are talking one long out put. &lt;BR /&gt;&lt;BR /&gt;What may help is a utility called "locate" Same thing as doing find on the system for all files and redirecting into a file. As for size/usage, etc. that will probably be up to the script you are writing. I would think it is a very CPU intensive application.</description>
      <pubDate>Tue, 18 Jul 2000 20:31:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431465#M3204</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-07-18T20:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: FileDisk map location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431466#M3205</link>
      <description>Keith:&lt;BR /&gt;&lt;BR /&gt;Have you tried using the 'find' command similar to the following:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   find . -name filename -exec ll {} ;&lt;BR /&gt;&lt;BR /&gt;This will locate the filename and perform a long listing of it (including file size). You can then extract the file size using 'awk' or 'cut', e.g.&lt;BR /&gt;&lt;BR /&gt;   find  . -name filename -exec ll {} ;|awk '{print $5}'&lt;BR /&gt;&lt;BR /&gt;I hope this helps.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Jul 2000 20:35:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431466#M3205</guid>
      <dc:creator>Steven W. Illgen</dc:creator>
      <dc:date>2000-07-18T20:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: FileDisk map location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431467#M3206</link>
      <description>Keith,&lt;BR /&gt;Maybe the df command can help you. It reports the number of free file system disk blocks, but the output contains the name of the file system.&lt;BR /&gt;&lt;BR /&gt;example:&lt;BR /&gt;#df wtmp&lt;BR /&gt;/var  (/dev/vg00/lvol8):   899572 blocks  119866 i-nodes&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Jul 2000 05:58:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431467#M3206</guid>
      <dc:creator>Patrick Wessel</dc:creator>
      <dc:date>2000-07-19T05:58:18Z</dc:date>
    </item>
    <item>
      <title>Re: FileDisk map location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431468#M3207</link>
      <description>The 'du' command might help.&lt;BR /&gt;&lt;BR /&gt;something like 'du -k /'</description>
      <pubDate>Wed, 19 Jul 2000 06:08:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431468#M3207</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-07-19T06:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: FileDisk map location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431469#M3208</link>
      <description>find &amp;amp; du only let me know the location of the file in relationship to the volume or file system.  I'm trying to write a script that will tell me which disk or disks a file actually resides on.  In AIX there is a add-on utility calle 'fileplace'.  Among other things, it tells the location of the file in relationship to the disks and how that files is stripped.</description>
      <pubDate>Wed, 19 Jul 2000 14:00:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431469#M3208</guid>
      <dc:creator>Keith Tyson</dc:creator>
      <dc:date>2000-07-19T14:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: FileDisk map location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431470#M3209</link>
      <description>I would have to say that you can do your search by filesystem, get the LVM info for that filesystem, then do the lvdisplay, vgdisplay, pvdisplay on the filesystem. The use of these commands will provide the info you are seeking. &lt;BR /&gt;&lt;BR /&gt;There are scripts available out there (in this forum for example) that will detail the mirroring and stripping info but these do not go to the file level. I would question why going to the file level to find the stripping setup? It isn't necessary by the file, do it by the logical volume or the volume group.</description>
      <pubDate>Wed, 19 Jul 2000 14:08:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431470#M3209</guid>
      <dc:creator>Rick Garland</dc:creator>
      <dc:date>2000-07-19T14:08:35Z</dc:date>
    </item>
    <item>
      <title>Re: FileDisk map location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431471#M3210</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;i have written (quick and dirty) a C programm&lt;BR /&gt;that does something like fileplace.&lt;BR /&gt;Look at the attachment.&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Andrew</description>
      <pubDate>Wed, 19 Jul 2000 14:11:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431471#M3210</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-07-19T14:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: FileDisk map location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431472#M3211</link>
      <description>du has an -x option that only reports on a specific device (so lvol) and find can do the same.&lt;BR /&gt;&lt;BR /&gt;as both find and du will report the full path name it wouldn't be impossible to do it by filesystem.</description>
      <pubDate>Wed, 19 Jul 2000 14:11:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431472#M3211</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-07-19T14:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: FileDisk map location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431473#M3212</link>
      <description>also something like utree &lt;A href="http://hpux.cs.utah.edu/ftp/hpux/Users/utree-3.4/" target="_blank"&gt;http://hpux.cs.utah.edu/ftp/hpux/Users/utree-3.4/&lt;/A&gt; might be ok&lt;BR /&gt;&lt;BR /&gt;or even better might be vtree :- &lt;A href="http://hpux.cs.utah.edu/ftp/hpux/Users/vtree-1.0/" target="_blank"&gt;http://hpux.cs.utah.edu/ftp/hpux/Users/vtree-1.0/&lt;/A&gt;</description>
      <pubDate>Wed, 19 Jul 2000 14:20:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431473#M3212</guid>
      <dc:creator>Andy Monks</dc:creator>
      <dc:date>2000-07-19T14:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: FileDisk map location</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431474#M3213</link>
      <description>I'm not sure what you are looking for. But this is a solution to what I understood. It prints an lvdisplay of the lvol the file belongs to. And the lvdisplay contains the divice file of the disk..:&lt;BR /&gt;&lt;BR /&gt;lvdisplay -v ` df -n $FILE_YOU_ARE_LOOKING_FOR | awk '{print $2}' | tr -d "("` | awk '{print $2}' | grep /dev/dsk&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It's not really nice... but maybe it helps</description>
      <pubDate>Wed, 19 Jul 2000 14:31:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filedisk-map-location/m-p/2431474#M3213</guid>
      <dc:creator>Patrick Wessel</dc:creator>
      <dc:date>2000-07-19T14:31:24Z</dc:date>
    </item>
  </channel>
</rss>

