[Linux-cluster] fs.sh status hangs after device failures

Lon Hohberger lhh at redhat.com
Mon Apr 19 14:52:30 UTC 2010


On Mon, 2010-04-19 at 14:07 +0000, jose nuno neto wrote:
> Hellos
> 
> Im testing SAN under Multipath failures and founding a behavior on the
> fs.sh that is not what I wanned.
> 
> On simulating a SAN failure either with portdown on the san switch or on
> the OS ( echo offline > /sys/block/$DEVICE/device/state ) the fs.sh status
> script doesn't give back an error.
> 
> I looked at the script and think it hangs on the ls or touch test (depends
> on timings )
> In fact if I issue an ls/touch on the failed mountpoints it hangs forever.

Set multipath configuration to "no_path_retry fail"


> If I fail the devices with /sys/block/$DEVICE/device/delete then the touch
> test returns an error and service switches.

Right.

-- Lon




More information about the Linux-cluster mailing list