[linux-lvm] LE/PE Question
Heinz J . Mauelshagen
mauelshagen at sistina.com
Thu Nov 21 05:04:01 UTC 2002
On Tue, Nov 19, 2002 at 09:50:39PM +0100, kalle at idlar.nu wrote:
> Hi!
>
> Im researching some diffrent what-if-scenarios to be more prepared if our lvm fails.
> and I'm wondering..Is there any utility to find which file (or fs inode) a specific LE/PE is assigned to?
# lvdisplay -v /dev/YourVG/YourLV # displays mapping logical -> physical extents
# lvdisplay -v /dev/YourPV # displays mapping physical -> logical extents
> What I would like to acomplish it to be able to know what files are located on a specific disk in a
>
> VG/LV. So if I detect that a disk in a LV is starting to fail I would like to know which files are more
>
> likely to be non-recoverable.
You need to 'ask' the filesystem, where it puts stuff ;)
I.e. "debugfs /dev/YourVG/YourLV" for ext[23].
>
>
> Thanks!
>
>
> Regards
> Kalle
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm at sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
--
Regards,
Heinz -- The LVM Guy --
*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf
Germany
Mauelshagen at Sistina.com +49 2626 141200
FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
More information about the linux-lvm
mailing list