|
I learned from reading remote_dir.sh that in addition to lfs setdirstripe, there is a -c option to lfs mkdir that creates striped directories. Is this documented anywhere? It is not in the usage message for lfs mkdir or in the man page.
There also appears to be a -D option to set default striping on a new directory, which acts the same way as lfs setdirstripe.
Updating the usage messages (and the man page) should be part of adding these new options if we want users to be able to use them.
[lfs setdirstripe is also absent from the lfs man page]
Should -D work when creating a new directory? It does not currently. If it's not supposed to work, that should be reflected in the usage message for lfs setdirstripe and lfs mkdir [since all of the other options work when making a new directory]...
It also seems like it should have a helpful error message, rather than "unable to open":
lfs setdirstripe -i 3 -c 3 -D test_dir5
unable to open 'test_dir5': No such file or directory (2)
error: setdirstripe: create stripe dir 'test_dir5' failed
|