On Tue, 29 Aug 2017 13:17:31 +0200
Dominique Dumont wrote:
> On Monday, 28 August 2017 14:25:15 CEST James H. H. Lampert wrote:
> > Can anybody advise me on how to set this thing up so that if it's
> > plugged in, it will mount, to a consistent mountpoint, whether anybody's
> > signed on to Gnome
Ok. As it stands now, I have only the "case 1" fstab entry in place, and
after this line of the backup script:
cd /media/ExternalHD/Backups
I've added these lines:
if [ "$?" = "1" ]; then
mount /media/ExternalHD
cd /media/ExternalHD/Backups
fi
which (at least in theory) should mount the e
Op 29-08-17 om 20:05 schreef James H. H. Lampert:
On 8/29/17, 3:58 AM, Frank wrote:
That looks a lot more complicated than the solution I found a couple of
years ago (in a blog posting which - unfortunately - no longer
exists...). I also created a file in /etc/udev/rules.d/, but all it
contains
On 8/29/17, 11:59 AM, Dominique Dumont wrote:
Depending on the bahavior you want, you should choose one of the 2 lines, but
not both. I believe the latter triggers the "Duplicate entry" warning .
So if you want your device to be mounted when inserted, choose the line with
defaults,noatime,auto,n
On Tuesday, 29 August 2017 11:46:34 CEST James H. H. Lampert wrote:
> > LABEL=ExternalHD /media/ExternalHD auto defaults,noatime,auto,nofail 0 2
> > LABEL=ExternalHD /media/ExternalHD auto
> > defaults,x-systemd.automount,x-systemd.device-timeout=5,noatime,noauto 0
> > 2
> One odd thing, with those
On 8/29/17, 4:17 AM, Dominique Dumont wrote:
I wrote this blog a while ago for this kind of problem:
https://ddumont.wordpress.com/2016/04/24/automount-usb-devices-with-systemd/
That worked. It mounts on IPL, is available from an ssh session before
anybody has signed on to Gnome, it mounts (af
On 8/29/17, 3:58 AM, Frank wrote:
That looks a lot more complicated than the solution I found a couple of
years ago (in a blog posting which - unfortunately - no longer
exists...). I also created a file in /etc/udev/rules.d/, but all it
contains is:
ENV{ID_FS_USAGE}=="filesystem|other|crypto", E
On Monday, 28 August 2017 14:25:15 CEST James H. H. Lampert wrote:
> Can anybody advise me on how to set this thing up so that if it's
> plugged in, it will mount, to a consistent mountpoint, whether anybody's
> signed on to Gnome or not? And when it's inevitably replaced, its
> replacement will co
Op 29-08-17 om 03:33 schreef Ben Caradoc-Davies:
I have not tried this but a udev rule might be your next step:
https://www.axllent.org/docs/view/auto-mounting-usb-storage/
That looks a lot more complicated than the solution I found a couple of
years ago (in a blog posting which - unfortunatel
On 28/08/17 18:07, Ben Caradoc-Davies wrote:
> The above lines give me fixed mount points based on filesystem labels
> (LABEL), but UUID will also work. Device names are no good as they are
> by default dynamically assigned for USB storage devices.
To complement the information given by Ben Carado
On 29/08/17 12:19, James H. H. Lampert wrote:
First, I was able to relabel the drive as a suitably generic
"ExternalHD," and when I unplugged it and plugged it back in, it mounted
(albeit still under a user-specific, auto-created mount point) as that
label.
With the drive automounted, I did a "
On 8/28/17, 4:07 PM, Ben Caradoc-Davies wrote:
I am not sure about the background automounting, but I get consistent
mount points and mount settings with entries like these in /etc/fstab:
LABEL=Backup/media/backup ext4
noatime,noauto,user,errors=remount-ro 0
On 29/08/17 09:25, James H. H. Lampert wrote:
Can anybody advise me on how to set this thing up so that if it's
plugged in, it will mount, to a consistent mountpoint, whether anybody's
signed on to Gnome or not?
I am not sure about the background automounting, but I get consistent
mount point
Greetings:
I'm in the process of setting up a new server, running Debian Jessie
8.9, replacing a Windows Server 2003 box (the same physical hardware).
One of the functions of this server is to automatically (via a script
run from cron) back up data (mostly on other servers, via FTP and SCP)
14 matches
Mail list logo