[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-lvm
Subject:    Re: [linux-lvm] Re: Recovering from disk failure
From:       Alasdair G Kergon <agk () uk ! sistina ! com>
Date:       2003-08-28 20:35:19
[Download RAW message or body]

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

_______________________________________________
linux-lvm mailing list
linux-lvm@sistina.com
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic