Hey Peng, Have a look at this conversation (Reply by Allen, specifically): http://search-hadoop.com/m/jMq8W145e04
Basically, you may have to run the lockd service, which NFS requires to lock files (server and client machines both need it). On Sun, Jun 26, 2011 at 2:03 PM, 吕鹏 <lvpengd...@gmail.com> wrote: > Hi > I want to use nfs to save a copy of the data in namenode, and the nfs > dir /mnt/nfs/dfs/ can be read and written. Things seem to be right, but when > i format the hdfs, "ERROR common.Storage: Cannot create lock on > /mnt/nfs/dfs/name/in_use.lock" occur. > how to solve the problem? > Peng -- Harsh J