Well first of all dirvish is probably just erroring out because it can't find a file somewhere in /mnt/backup. I know this from your ls command, it gave an error when you tried to view the contents of your backup directory. This probably isn't a dirvish problem so we can set it aside for a bit.
It sounds like this system is having issues mounting that USB device. In your previous message you mentioned that it worked, so it sounds like its losing track of something. When you see the input/output error from ls, run the following commands and post the output: $ cd / $ mount $ umount /mnt/backup $ mount $ mount /mnt/backup Since you added the UUID in fstab I'd like to see which block device your system is looking at when reading through it. Also, in this situation fdisk isn't actually that helpful. Since you are switching to UUID we need to use other commands to find out what is where. To clarify some confusion on why this is happening, drive letters are assigned dynamically as drives are plugged in. So for example, if you unplug sda and sdb, then plug sdb back in, it will show as sda. What might be happening is that you have a different (and potentially unrelated) device plugged in and showing up as /dev/sdc and intermittently dropping off, so this drive shows up in weird places. Switching to UUID mountpoints makes that less of a problem so I would focus on using mount and lsblk to troubleshoot. On Sun, Oct 20, 2019 at 1:43 PM Rich Shepard <[email protected]> wrote: > On Sun, 20 Oct 2019, Ben Koenig wrote: > > > Ah I was about to ask about that. One of the things that trips me up > about > > manual edits in /etc/fstab is that if you make a change to a drive that > is > > already mounted, it doesn't automatically re-mount it with the new > > parameters. > > > > Does dirvish work now? > > Ben, > > Nope. I can't figure out what's going on. For example, > > [root@salmo /etc/postfix]# cd /mnt/backup/ > [root@salmo /mnt/backup]# ls > ls: reading directory '.': Input/output error > > [root@salmo /mnt/backup]# fdisk -l > Device Start End Sectors Size Type > /dev/sdc1 2048 3907029134 3907027087 1.8T Linux filesystem > > It keeps switching that external drive between /dev/sdc1/ and /dev/sdd1/, > which hasn't happened with any external USB block device before. > > When I cd to /mnt/backup/salmo-*/dirvish/ and run 'dirvish --vault > salmo.appl-ecosys.com --init' it tells me, 'cannot open config file: > default.conf', yet > -rw-r--r-- 1 root root 67 Oct 19 13:54 default.conf > > What might prevent dirvish opening that file since it can be read by anyone > and everyone? > > Regards, > > Rich > > > > > > _______________________________________________ > PLUG mailing list > [email protected] > http://lists.pdxlinux.org/mailman/listinfo/plug > _______________________________________________ PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
