[prev in list] [next in list] [prev in thread] [next in thread]
List: aix-l
Subject: Re: File on which LP
From: Hans-Dieter Kutz <hdkutz () HDKUTZ ! DE>
Date: 2006-09-15 16:01:01
Message-ID: 20060915160030.GK30139 () pago ! de
[Download RAW message or body]
On Fri, Sep 15, 2006 at 11:33:03AM -0400, Paul Guglielmino wrote:
> Sorry. Here's take 2, hit send too fast.
>
> Interesting question. I'm not sure if this works (or if there is a better way
> - which there probably is) but here's a stab at it using /etc/passwd as an
> example. Some output delete for easier reading.
>
> 1. fileplace -p /etc/passwd
> File: /etc/passwd Size: 53603 bytes Vol: /dev/hd4
> Blk Size: 4096 Frag Size: 4096 Nfrags: 14 Compress: no
>
> Physical Addresses (mirror copy 1) Logical
> Fragment
> ----------------------------------
> ----------------
> 11449289-11449292 hdisk0 4 frags 16384 Bytes, 28.6%
> 0111017-0111020
> 11449299-11449308 hdisk0 10 frags 40960 Bytes, 71.4%
> 0111027-0111036
>
> 2. frag size = 4k and starting frag is 0111017. 0111017*4/1024 = 433M. The
> file starts 433M into the filesystem.
>
> 3. Run lspv hdisk0 to get PP size.
> lspv hdisk0
> PP SIZE: 128 megabyte(s)
>
> 4. lslv -m hd4
> hd4:/
> LP PP1 PV1 PP2 PV2 PP3 PV3
> 0001 0329 hdisk0 0329 hdisk1
> 0002 0330 hdisk0 0330 hdisk1
> 0003 0331 hdisk0 0331 hdisk1
> 0004 0350 hdisk0 0350 hdisk1
> 0005 0365 hdisk0 0365 hdisk1
> 0006 0366 hdisk0 0366 hdisk1
> 0007 0367 hdisk0 0367 hdisk1
> 0008 0368 hdisk0 0368 hdisk1
> 0009 0369 hdisk0 0369 hdisk1
>
> This is a map of LPs to PPs. 433M into the file at 128M/PP means you are on
> the 4rd PP (0350) of the filesystem to get the file. That translates into LP4
> in our example. (433/128 = 3.38 which is just past PP 3)
>
> What do others think? Does this sound correct? Is there a better way?
>
> Very interesting question!
>
> Paul
Thanx for the quick answer.
Thumbling over some hotspot Reports from lvmstat of an Oracle Database on
JFS2. Just want to know what lies on my hotspot-LV's to move them to another
Disk.
Cheers,
ku
--
http://www.hdkutz.de
Luke Skywalker:
How did my father die?
Ben (Obi-Wan) Kenobi:
A young Jedi named Darth Vader, who was a pupil
of mine until he turned to evil, helped the
Empire hunt down and destroy the Jedi knights.
He betrayed and murdered your father.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic