Skip to content
This repository has been archived by the owner on Jan 16, 2025. It is now read-only.

adding option for subdir export #28

Open
thotz opened this issue Aug 28, 2018 · 0 comments
Open

adding option for subdir export #28

thotz opened this issue Aug 28, 2018 · 0 comments

Comments

@thotz
Copy link

thotz commented Aug 28, 2018

Currently volume can be export via following command storhuag export

Enhance current option take subdir as option as well.

So option will look like
storhaug export [subdir path]
It should be optional, by default it will take root as paremeter.

For the ease of management the it is better to store subdir configuration as different file than in same export conf file. So the way of storing export conf also need to be changed.

Following is one of the suggestion exports of each volume should belong to new directory, say if we have volume vol we need to export three subdirs subdir1, subdir2,subdir3 and "/" as well. The directory hierarchy will be
/exports/vol
|---- root.conf
|---- export.subdir1.conf
|-----export.subdir2.conf
|-----export.subdir3.conf

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant