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

Re: [linux-lvm] Re: Recovering from disk failure



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 uk sistina com



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