[CentOS] Centos7: Mount problem (Unit mnt-bk\x2dbenvet\x2d01.mount is bound to inactive unit dev-disk-by\x2dlabel-bk\x2dbenvet\x2d01.device. Stopping, too.

Sat Apr 2 23:58:42 UTC 2016
Dario Lesca <d.lesca at solinos.it>

Please, someone can help me to resolve this systemd issue?

It's possible disable the "piece of software" of systemd that unmount
my backup disk a second after I mount it?

Many thanks

Il giorno ven, 01/04/2016 alle 14.03 +0200, Dario Lesca ha scritto:
> On a server Centos 7.2  I insert my 1Tb usb disk and run
> 
> sudo mount LABEL=bk-benvet-01 /mnt/bk-benvet-01
> 
> the command seem to work but nothing is mounted
> 
> Into log I see this issue:
> 
> > 
> > apr 01 13:49:06 s-virt.dom.loc kernel: XFS (sdb1): Mounting V4
> > Filesystem
> > apr 01 13:49:06 s-virt.dom.loc kernel: XFS (sdb1): Ending clean
> > mount
> > apr 01 13:49:06 s-virt.dom.loc systemd[1]: Unit mnt-
> > bk\x2dbenvet\x2d01.mount is bound to inactive unit dev-disk-
> > by\x2dlabel-bk\x2dbenvet\x2d01.device. Stopping, too.
> > apr 01 13:49:06 s-virt.dom.loc systemd[1]: Unmounting /mnt/bk-
> > benvet-01...
> > apr 01 13:49:06 s-virt.dom.loc kernel: XFS (sdb1): Unmounting
> > Filesystem
> > apr 01 13:49:06 s-virt.dom.loc systemd[1]: Unmounted /mnt/bk-
> > benvet-01.
> I have try this:
> 
> > 
> > [root at s-virt ~]# systemctl start dev-disk-by\x2dlabel-
> > bk\x2dbenvet\x2d01.device
> > Job for dev-disk-byx2dlabel-bkx2dbenvetx2d01.device timed out.
> > [root at s-virt ~]# systemctl status dev-disk-by\x2dlabel-
> > bk\x2dbenvet\x2d01.device
> > ● dev-disk-byx2dlabel-bkx2dbenvetx2d01.device
> >    Loaded: loaded
> >    Active: inactive (dead)
> > 
> > apr 01 13:52:36 s-virt.vettorello.loc systemd[1]: Job dev-disk-
> > byx2dlabel-bkx2dbenvetx2d01.device/start timed out.
> > apr 01 13:52:36 s-virt.vettorello.loc systemd[1]: Timed out waiting
> > for device dev-disk-byx2dlabel-bkx2dbenvetx2d...ice.
> > apr 01 13:52:36 s-virt.vettorello.loc systemd[1]: Job dev-disk-
> > byx2dlabel-bkx2dbenvetx2d01.device/start failed wi...ut'.
> > Hint: Some lines were ellipsized, use -l to show in full.
> > [root at s-virt ~]# systemctl status dev-disk-by\x2dlabel-
> > bk\x2dbenvet\x2d01.device -l
> > ● dev-disk-byx2dlabel-bkx2dbenvetx2d01.device
> >    Loaded: loaded
> >    Active: inactive (dead)
> But nothing is changed
> 
> How to resolve this problem?
> 
> Many thanks
> 
-- 
Dario Lesca
(inviato dal mio Linux Fedora 23 Workstation)