Totality in a solar eclipse can last as long as (a maximum of) 7 minutes and 31 seconds; and totality in a lunar eclipse can last as long as (a maximum of) 1 hour and 47 minutes. To verify this, the image below is a scan taken from A Dictionary of Astronomy, revised edition, edited by Ian Ridpath, published by Oxford University Press, 2003, page 464, search term - "Totality".