Real Madrid were in cruise control in the first leg of the round of 32 as they defeated Melilla 4-0 away in the Copa del Rey, with new interim manager Santiago Solari coaching his side in his first match in charge on Wednesday.
Barcelona left it until injury time at the end of the first leg to claim a slim 1-0 advantage over Cultural Leonesa on the road.
There were away victories for Getafe and Real Valladolid, both earning 2-1 wins against Cordoba and Mallorca, respectively.
Alaves and Girona couldn't be separated in their clash, with the pair completing a thrilling 2-2 draw.