[linux-lvm] Re: Recovering from disk failure
Alasdair G Kergon
agk at uk.sistina.com
Fri Aug 29 07:09:08 UTC 2003
On Thu, Aug 28, 2003 at 08:52:19PM +0200, M?ns Rullg?rd wrote:
> --partial option, it won't let me see them at all.
Should do, if you create /dev/ioerror with dmsetup as a device
bigger than the device you lost.
e.g.
cat > tab1 << EOF
0 10000000 error
EOF
dmsetup create ioerror tab1
ln -s /dev/mapper/tab1 /dev/ioerror
Replace the 10000000 with a number slightly bigger than the
size of your problem disk in sectors. [device size in bytes / 512]
[Need to bring dmsetup(8) up-to-date.]
Alasdair
--
agk at uk.sistina.com
More information about the linux-lvm
mailing list