Output from lspv - amended

Output from lspv - amended

Post by Lawry Sim » Thu, 27 May 1999 04:00:00



$ lspv -l hdisk1
hdisk1:
LV NAME               LPs   PPs   DISTRIBUTION          MOUNT POINT
hd1                          243   243   76..103..64..00..00   /home
hd2                          8        8       00..00..08..00..00     /usr

Sorry, what I meant was...

Is there any way that I can list the files from /usr that are actually on
hdisk1 ?
Thanks,
--
Lawry Simm
Technical Consultant - Lynx Heywood Limited
(remove the hairy thing from my reply-to address to mail me)

 
 
 

Output from lspv - amended

Post by Scott L. Field » Thu, 27 May 1999 04:00:00


Not easily. You would need to use the "fileplace" command on every file
in /usr to map where it is stored.

"fileplace" is part of the performance toolbox LPP.

Hope that helps.


> $ lspv -l hdisk1
> hdisk1:
> LV NAME               LPs   PPs   DISTRIBUTION          MOUNT POINT
> hd1                          243   243   76..103..64..00..00   /home
> hd2                          8        8       00..00..08..00..00     /usr

> Sorry, what I meant was...

> Is there any way that I can list the files from /usr that are actually on
> hdisk1 ?
> Thanks,


 
 
 

Output from lspv - amended

Post by Igor P. Merk » Sat, 29 May 1999 04:00:00



> $ lspv -l hdisk1
> hdisk1:
> LV NAME               LPs   PPs   DISTRIBUTION          MOUNT POINT
> hd1                          243   243   76..103..64..00..00   /home
> hd2                          8        8       00..00..08..00..00     /usr

> Sorry, what I meant was...

> Is there any way that I can list the files from /usr that are actually on
> hdisk1 ?
> Thanks,
> --
> Lawry Simm
> Technical Consultant - Lynx Heywood Limited
> (remove the hairy thing from my reply-to address to mail me)

I guess, you have the /usr file system split on hdisk0 and hdisk1, right?
This should do the job, but file per file, one after another:
find . -exec fileplace -piv {} \;

Hope this helps. Regards, Igor

 
 
 

1. Output from lspv

lspv -l hdisk1 shows me the following...

$ lspv -l hdisk1
hdisk1:
LV NAME        LPs   PPs   DISTRIBUTION          MOUNT POINT
hd1                   243   243   76..103..64..00..00   /home
hd2                   8       8        00..00..08..00..00      /usr

Is there any way that I can list the files in /usr that are on hd2 ?

Thanks,
--
Lawry Simm
Technical Consultant - Lynx Heywood Limited
(remove the hairy thing from my reply-to address to mail me)

2. iptables/MASQUERADE packets stuck in PREROUTING

3. Re-arrange lspv output order

4. Memory usage of apache under Solaris

5. df -Ik and lspv hdiskxxx

6. gpm and mouse questions

7. lspv is not showing all hdisks in rootvg!

8. Looking for Slip for X86!

9. lspv and lsdev -l on solaris

10. Where is "snoop" under HPUX ? (Amended)

11. shell script to amend robocopy report

12. Amending the dumb terminfo file to print leading spaces

13. lilo.conf amended file but still no joy