When you buy ginger, chances are you will have a piece much larger than the 1″ you need for a particular recipe. If that is the case, pop the rest of it in a ziploc (or other freezer-safe bag) and put it in the freezer.
It will last for eons that way, and you will always have fresh ginger on hand. Which is helpful when trying to make authentic meals out of the dredges of your pantry.
Also, when frozen, ginger is even easier to grate.