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@s-virt ~]# systemctl start dev-disk-by\x2dlabel-bk\x2dbenvet\x2d01.device Job for dev-disk-byx2dlabel-bkx2dbenvetx2d01.device timed out. [root@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@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
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@s-virt ~]# systemctl start dev-disk-by\x2dlabel- bk\x2dbenvet\x2d01.device Job for dev-disk-byx2dlabel-bkx2dbenvetx2d01.device timed out. [root@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@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
Il giorno sab, 02/04/2016 alle 18.04 -0600, Frank Cox ha scritto:
On Sun, 03 Apr 2016 01:58:42 +0200 Dario Lesca wrote:
Please, someone can help me to resolve this systemd issue?
systemctl reset-failed
Thanks Frank, but I have try this command, none is changed:
[root@s-virt ~]# [root@s-virt ~]# [root@s-virt ~]# journalctl -f & [1] 46372 [root@s-virt ~]# systemctl reset-failed apr 03 02:21:23 s-virt.vettorello.loc polkitd[984]: Registered Authentication Agent for unix-process:46376:195208129 (system bus name :1.7882 [/usr/bin/pkttyagent --notify-fd 5 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8) apr 03 02:21:23 s-virt.vettorello.loc polkitd[984]: Unregistered Authentication Agent for unix-process:46376:195208129 (system bus name :1.7882, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale it_IT.UTF-8) (disconnected from bus)
[root@s-virt ~]# mount -a apr 03 02:21:31 s-virt.vettorello.loc kernel: XFS (sdb1): Mounting V4 Filesystem apr 03 02:21:31 s-virt.vettorello.loc kernel: XFS (sdb1): Ending clean mount apr 03 02:21:31 s-virt.vettorello.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 03 02:21:31 s-virt.vettorello.loc systemd[1]: Unmounting /mnt/bk- benvet-01... apr 03 02:21:31 s-virt.vettorello.loc kernel: XFS (sdb1): Unmounting Filesystem apr 03 02:21:31 s-virt.vettorello.loc systemd[1]: Unmounted /mnt/bk- benvet-01.
Some other suggest?
Thanks
Il giorno dom, 03/04/2016 alle 02.23 +0200, Dario Lesca ha scritto:
Some other suggest?
I have update and reboot the server tonight and now the disk is mounted.
[lesca@s-virt ~]$ rpm -q systemd systemd-219-19.el7_2.7.x86_64
Probably the bug was correct.
Thanks
-- Dario Lesca (inviato dal mio Linux Fedora 23 Workstation)