Reformat / resize an external hard drive removed from a NAS
Quit Disk Utility. Try this command in the terminal:

defaults write com.apple.DiskUtility DUDebugMenuEnabled 1


Relaunch Disk Utility. Select Show every partion from the now present Debug menu. See if you can find some hidden partitions and remove them!