On 12/05/2016 08:20 AM, Andreas Nilsson wrote:
On 2016-12-05 14:12, Stephen Gallagher wrote:
> On 12/03/2016 11:01 PM, Jon Stanley wrote:
>> Per the server SIG meeting last week, I've updated the requirements
>> doc for the NFS role
>>
(
https://docs.google.com/document/d/1jLyKsECdHdlKltmHGgf_-iOKj-hj4Qjbh5Zgm...)
>>
>> to clean up the user stories, and the actual requirements.
>>
>> I think that there's only one outstanding issue with this, and it
>> relates to the UI for creating the underlying storage.
> I think it would be best to have this discussion with Andreas Nilsson (CCed),
> who is the Cockpit UX designer.
>
> Andreas, the basic question is this: When exporting a new shared directory via
> NFS, should this UI also support/allow the creation of *new* volumes on the host
> machine? We currently have volume creation available in the storage
> functionality backed by storaged, of course.
>
> Do we need to provide a second, parallel implementation for the NFS sharing UI?
> There are pros and cons, of course.
I agree with both the pros and cons, and my answer right now is "I don't know
yet".
How do you envision things to work in the CLI workflow?
I'm actually not sure we're going to have a "workflow" at the
command-line.
Since we're planning to back as much of this as possible with Ansible, I would
expect this to be a declarative interface rather than an interactive one. In
which case, we would need to handle the storage creation and sharing as two
independent steps.
(It's important to note that, due to technology limitations, "under the
hood"
this will always need to happen in two steps, because storage always has to
exist and be mounted before the NFS daemon can start offering it).
I'm currently in the research phase of the Cockpit side of the
design. Right now
I'm collecting previous art and experimenting with NFS on my own systems to get
a feel for it.
https://github.com/cockpit-project/cockpit/wiki/Feature:-NFS-Server
Feel free to add any other examples of other projects who does file sharing.
I added a link to the Synology Disk Station interface.