On Mon, Jul 15, 2013 at 11:39 AM, harryxiyou <[email protected]> wrote:
> On Mon, Jul 15, 2013 at 5:25 PM, Helga Velroyen <[email protected]> wrote: > [...] > > The file /etc/ganeti/file-storage-paths is a text file that should > contain a > > list of paths that you want to use for either, file or shared file > storage. > > Currently (although that will change soon for file), you need to > configure > > the file and shared file storage paths at configure time, but you have to > > write them into the /etc/ganeti/file-storage-paths _additionally_. > > > > Thus, you need to do something like that: > > ./configure ... --with-file-storage-dir=MYDIR1 > > --with-shared-file-storage-dir=MYDIR2 > > > > And edit/create the /etc/ganeti/file-storage-paths containing at least > these > > two lines: > > MYDIR1 > > MYDIR2 > > > > You need to copy the /etc/ganeti/file-storage-paths file to all nodes, > for > > example using gnt-cluster copyfile: > > gnt-cluster copyfile /etc/ganeti/file-storage-paths > > > > Note: I will soon push a commit on master, where you cannot use > > --with-file-storage-dir at configure anymore, but use --file-storage-dir > on > > cluster init. > > > > Cannot do as what you said above, did I ignore anything? > It looks like you used --file-storage-dir with gnt-cluster init. But as far as I know, for now, you still have to use --with-file-storage-dir at configure time. Did you do that? Thanks, Michele
