Description of problem: When `gluster volume create' is executed, parent directories are not created during volume creation. If a larger number of nodes exist during volume creation it is cumbersome to login to each node to create the necessary parent directories. Version-Release number of selected component (if applicable): NA How reproducible: Always Steps to Reproduce: 1. gluster volume create foo node1:/tmp/1/2/non/existant/dir 2. 3. Actual results: Unable to create volume, directory does not exist. Expected results: Should create the necessary parent directories on the fly. Additional info:
Need policy makers to approve this. Last debate was if by mistake user did '/data/glsuter/exprot/vol1' instead of '/data/gluster/export/vol1', he may end up creating a directory with wrong name. One thing we can do is we can add a 'force' option to volume create, which can create parent directories.
Kaushal, Could you confirm that the following patch fixes this bug? http://review.gluster.com/3378
The requested behavior is already implemented in upstream. Hence, closing the bug.