Re: [linux-lvm] pv_move_pe() error again :/

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Heinz J . Mauelshagen, on Freitag, 7. September 2001 12:46 wrote:
[cut]
> Well, assuming your disk has a flaw, the only way to work around your
> problem is patching pv_move_pe() in order to ignore read errors (this takes
> place around line 520 in LVM 1.0) which will cause a copy of the data to
> some other device with probably flaky data in it.

search a bit through the file... but i actually don't know what to change 
there... would a single 
   ret:=1;
just before
   pe_moved += ret;
help ? 

> In case you've got some filesystem data in there, fsck will complain
> accordingly and some file or metadata of the filesystem will be gone which
> will cause more or less filesystem data loss.

loose some bytes is nothing against the whole lvm... ;)
fejf

- -- 
Backups are usefull. Most often when you don't have one ;)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE7mLNS7Xtp66ctWuIRAgRGAKDL9Us+S5NUHUhOhymfTidbzJYOTwCgg9ti
WFlbMA5xs29zsHYyOLiA0EM=
=uSq4
-----END PGP SIGNATURE-----



[Index of Archives]     [Gluster Users]     [Kernel Development]     [Linux Clusters]     [Device Mapper]     [Security]     [Bugtraq]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]

  Powered by Linux