Add your second disk name in dfs.data.dir . Refer - http://hadoop.apache.org/core/docs/r0.19.1/cluster_setup.html
dfs.data.dir = Comma separated list of paths on the local filesystem of a DataNode where it should store its blocks. If this is a comma-delimited list of directories, then data will be stored in all named directories, typically on different devices. -- Ravi On 4/10/09 6:01 AM, "Harshal" <[email protected]> wrote: Hi, On a particular datanode I have /dev/sda1 (root partition) which hdfs shows properly. Now I have added another disk which is appearing as /dev/sdb1, what changes I need to make in hadoop-site.xml so that the second disk is also used ? --Harshal Ravi --
