On Sun 20 Oct 2019, Rich Shepard wrote: > > Wes, et al.: > > I set up the bank and all the vaults for my desktop. However, when I try to > initialize each dirvish tells me it cannot read the default.conf file. And, > after a while the mounted drive is changed by the system from /dev/sdc1 to > /dev/sdd1.
The device name should not matter. Use UUID to mount the disk: add a line to your /etc/fstab like this: UUID=33ff5097-54e1-4290-977f-369cff3b534a /bank ext4 noauto 0 0 Find the UUID with the blkid command. Of course use the correct mount point and filesystem type. The noauto means this filesystem isn't mounted automatically upon boot. The final 0 means that the system shouldn't try to fsck the disk at boot time, as it might not be there. > [root@salmo ~]# less /etc/fstab > ... > UUID=6e95864b-6291-4148-acd3-627542c8318f /mnt/backup ext4 defaults 1 2 Great, you already have UUID :-) I'd change the "defaults 1 2" though. > The external hard drive is mounted on /mnt/backup. The vaults are (in > alphabetical order) /salmo-data, /salmo-home, /salmo-opt, and /salmo-root. > Each has a dirvish/ subdirectory which contains a vault-specific > default.conf. default.conf is owned by root.root and has 644 perms. For > example: > > # less /mnt/backup/salmo-dirvish/dirvish/default.conf Hmm, "salmo-dirvish" is not listed above as one of the vaults? > client: r...@salmo.appl-ecosys.com > tree: /data > xdev: 0 > index: gzip > > [root@salmo ~]# dirvish --vault salmo.appl-ecosys.com --init > cannot open config file: default.conf With --vault you should specify the vault name, not the client. The hint is in the name of the option :) dirvish --vault salmo-dirvish --init Please also show your /etc/dirvish/master.conf Paul _______________________________________________ Dirvish mailing list Dirvish@dirvish.org http://www.dirvish.org/mailman/listinfo/dirvish