I have a problem on a backup agent job on centos7.
At the first backup all work good and job finish with success, but for a second start of job the result is a fail ( https://www.dropbox.com/s/3oae1kyg2jvy0 ... d.PNG?dl=0 ).
But i have understand why, it's because at the end of the first job some mount point don't have been umount.
mout | grep btrfs :
Code: Select all
/dev/veeamimage2 on /tmp/{d16184c2-727a-4eed-8542-b07907af32d1} type btrfs ([b]ro[/b],noexec,noatime,nodiratime,space_cache,subvolid=5,subvol=/)
/dev/veeamimage2 on /tmp/{d337dd46-eccb-43a2-845a-0bdb0b91a5c8} type btrfs ([b]ro[/b],noexec,noatime,nodiratime,space_cache,subvolid=5,subvol=/)
/dev/veeamimage2 on /tmp/{6575f5cd-c462-427f-a88c-f8d801f89ba0} type btrfs ([b]ro[/b],noexec,noatime,nodiratime,space_cache,subvolid=5,subvol=/)
veeammout.log :
Code: Select all
cat veeammount.log (10:17 : failed see screenshot // 10:34 Success after i umount manualy /dev/veeamimage2)
[26.01.2018 10:17:34] <140081338468288> cli | Initializing new log filter.
[26.01.2018 10:17:34] <140081338468288> vmnt | //////////////////////////////////////////////////////////////////////////
[26.01.2018 10:17:34] <140081338468288> vmnt | name /usr/sbin/veeammount
[26.01.2018 10:17:34] <140081338468288> vmnt | Mount
[26.01.2018 10:17:34] <140081338468288> vmnt | deviceName=/dev/veeamimage0
[26.01.2018 10:17:34] <140081338468288> vmnt | mountPointName=/tmp/{845d2a3d-9cef-4df0-a6ae-cf66d1783137}/
[26.01.2018 10:17:34] <140081338468288> vmnt | Mount Failed.
[26.01.2018 10:17:34] <140081338468288> vmnt | ERR |Failed to open [/dev/veeamimage0].
[26.01.2018 10:17:34] <140081338468288> vmnt | >> |Failed to get filesystem of device [/dev/veeamimage0].
[26.01.2018 10:17:34] <140081338468288> vmnt | >> |--tr:Mounting device [/dev/veeamimage0] on mount point [/tmp/{845d2a3d-9cef-4df0-a6ae-cf66d1783137}/] failed.
[26.01.2018 10:17:34] <140081338468288> vmnt | >> |An exception was thrown from thread [140081338468288].
[26.01.2018 10:34:02] <140295275800512> cli | Initializing new log filter.
[26.01.2018 10:34:02] <140295275800512> vmnt | //////////////////////////////////////////////////////////////////////////
[26.01.2018 10:34:02] <140295275800512> vmnt | name /usr/sbin/veeammount
[26.01.2018 10:34:02] <140295275800512> vmnt | Mount
[26.01.2018 10:34:02] <140295275800512> vmnt | deviceName=/dev/veeamimage0
[26.01.2018 10:34:02] <140295275800512> vmnt | mountPointName=/tmp/{318f0a0e-d2fa-4750-bd9d-9b86d31b6074}/
[26.01.2018 10:34:02] <140295275800512> lodev | Mount via syscall
[26.01.2018 10:34:02] <140295275800512> lodev | Mounting [/dev/veeamimage0] on [/tmp/{318f0a0e-d2fa-4750-bd9d-9b86d31b6074}/], fstype=[btrfs], flags=0x00000000c0ed0c08, data=[].
[26.01.2018 10:34:02] <140295275800512> vmnt | Mount ok.
[26.01.2018 10:34:03] <139906424330176> cli | Initializing new log filter.
[26.01.2018 10:34:03] <139906424330176> vmnt | //////////////////////////////////////////////////////////////////////////
[26.01.2018 10:34:03] <139906424330176> vmnt | name /usr/sbin/veeammount
[26.01.2018 10:34:03] <139906424330176> vmnt | Umount
[26.01.2018 10:34:03] <139906424330176> vmnt | deviceName=/dev/veeamimage0
[26.01.2018 10:34:03] <139906424330176> vmnt | Umount ok.
[26.01.2018 10:34:05] <139763102693312> cli | Initializing new log filter.
[26.01.2018 10:34:05] <139763102693312> vmnt | //////////////////////////////////////////////////////////////////////////
[26.01.2018 10:34:05] <139763102693312> vmnt | name /usr/sbin/veeammount
[26.01.2018 10:34:05] <139763102693312> vmnt | Mount
[26.01.2018 10:34:05] <139763102693312> vmnt | deviceName=/dev/veeamimage1
[26.01.2018 10:34:05] <139763102693312> vmnt | mountPointName=/tmp/{821fef43-32d4-4bf3-8e92-47fd0b194f94}/
[26.01.2018 10:34:05] <139763102693312> lodev | Mount via syscall
[26.01.2018 10:34:05] <139763102693312> lodev | Mounting [/dev/veeamimage1] on [/tmp/{821fef43-32d4-4bf3-8e92-47fd0b194f94}/], fstype=[btrfs], flags=0x00000000c0ed0c08, data=[].
[26.01.2018 10:34:05] <139763102693312> vmnt | Mount ok.
[26.01.2018 10:34:05] <139974656403392> cli | Initializing new log filter.
[26.01.2018 10:34:05] <139974656403392> vmnt | //////////////////////////////////////////////////////////////////////////
[26.01.2018 10:34:05] <139974656403392> vmnt | name /usr/sbin/veeammount
[26.01.2018 10:34:05] <139974656403392> vmnt | Umount
[26.01.2018 10:34:05] <139974656403392> vmnt | deviceName=/dev/veeamimage1
[26.01.2018 10:34:05] <139974656403392> vmnt | Umount ok.
[26.01.2018 10:34:06] <140641770620864> cli | Initializing new log filter.
[26.01.2018 10:34:06] <140641770620864> vmnt | //////////////////////////////////////////////////////////////////////////
[26.01.2018 10:34:06] <140641770620864> vmnt | name /usr/sbin/veeammount
[26.01.2018 10:34:06] <140641770620864> vmnt | Mount
[26.01.2018 10:34:06] <140641770620864> vmnt | deviceName=/dev/veeamimage2
[26.01.2018 10:34:06] <140641770620864> vmnt | mountPointName=/tmp/{1c427d32-a1ec-4e65-8ddf-10a2d9e96883}/
[26.01.2018 10:34:06] <140641770620864> lodev | Mount via syscall
[26.01.2018 10:34:06] <140641770620864> lodev | Mounting [/dev/veeamimage2] on [/tmp/{1c427d32-a1ec-4e65-8ddf-10a2d9e96883}/], fstype=[btrfs], flags=0x00000000c0ed0c08, data=[].
[26.01.2018 10:34:06] <140641770620864> vmnt | Mount ok.
[26.01.2018 10:34:06] <140262159144896> cli | Initializing new log filter.
[26.01.2018 10:34:06] <140262159144896> vmnt | //////////////////////////////////////////////////////////////////////////
[26.01.2018 10:34:06] <140262159144896> vmnt | name /usr/sbin/veeammount
[26.01.2018 10:34:06] <140262159144896> vmnt | Umount
[26.01.2018 10:34:06] <140262159144896> vmnt | deviceName=/dev/veeamimage2
[26.01.2018 10:34:06] <140262159144896> vmnt | Umount ok.
[26.01.2018 10:34:07] <140349226538944> cli | Initializing new log filter.
[26.01.2018 10:34:07] <140349226538944> vmnt | //////////////////////////////////////////////////////////////////////////
[26.01.2018 10:34:07] <140349226538944> vmnt | name /usr/sbin/veeammount
[26.01.2018 10:34:07] <140349226538944> vmnt | Mount
[26.01.2018 10:34:07] <140349226538944> vmnt | deviceName=/dev/veeamimage3
[26.01.2018 10:34:07] <140349226538944> vmnt | mountPointName=/tmp/{ace046a4-2945-437f-b571-ab86286a7ab0}/
[26.01.2018 10:34:07] <140349226538944> lodev | Mount via syscall
[26.01.2018 10:34:07] <140349226538944> lodev | Mounting XFS with [nouuid] option.
So two questions : - This bug about no umount point can be solved or i need to wait an update of the agent ?
- How to make a post script or script for Linux ?
I'm french, sorry for my english
Thank you