1

from multipath manpage:

-F     flush all unused multipath device maps

is this a safe operation? I have a bunch of old dead paths and would like to clear them out, but want to make sure it's absolutely safe to do. I've heard ql-scan-lun.sh -r, which is supposed to do the same thing, can interrupt visibility of all the LUNS. using qlogic qla2xxx hbas.

sysadmin1138
  • 133,124
  • 18
  • 176
  • 300
carillonator
  • 815
  • 3
  • 12
  • 22

1 Answers1

4

Yes, it is safe. However, if any other subsystem is using them (lvm, mount) or you have queued I/Os the paths won't be flushed and you'll need to figure out why.

Edit: use -f device to be safe.

See http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Online_Storage_Reconfiguration_Guide/removing_devices.html

Mark Wagner
  • 18,019
  • 2
  • 32
  • 47