It can take quite a while to erase an iPad if you have a lot of content on it. It could take a few hours in fact and it would be barely noticeable on the progress bar. However if it has been a while and you have seen absolutely no movement in the progress bar, then there could be a problem.
Read this for some more information that might be helpful.