Backup agent for Linux servers and workstations on-premises or in the public cloud
Post Reply
daereth
Lurker
Posts: 2
Liked: never
Joined: Dec 12, 2016 10:22 pm
Full Name: Steve Rosebush
Contact:

Remove veeamsnapshotdata.0 file

Post by daereth » Dec 13, 2016 7:16 am

Hi there,

Does anyone here know how to remove the /veeamsnapshotdata.0 the agent leaves behind?? I have one of 1.4G that I would like to remove but even root cannot remove the file. I have even removed Veeam completely from my system and I still can't remove this data.

Code: Select all

rm: cannot remove '/veeamsnapshotdata.0': Operation not permitted
Thanks!

PTide
Veeam Software
Posts: 4246
Liked: 349 times
Joined: May 19, 2015 1:46 pm
Contact:

Re: Remove veeamsnapshotdata.0 file

Post by PTide » Dec 13, 2016 8:39 am

Hi,

First of all I'd like to draw your attention to the fact that GA version will be released this week, so keep an eye on our announcements.

Secondly, if you cannot remove something even with root then you should check if the file has immutable flag set and remove it if needed:

Code: Select all

[root@centos7 ~]# lsattr 12
----i--------e-- 12
[root@centos7 ~]# rm 12
rm: remove regular empty file ‘12’? y
rm: cannot remove ‘12’: Operation not permitted
[root@centos7 ~]# chattr -i 12
[root@centos7 ~]# lsattr 12
-------------e-- 12
[root@centos7 ~]# rm 12
rm: remove regular empty file ‘12’? y
[root@centos7 ~]#
Thanks

daereth
Lurker
Posts: 2
Liked: never
Joined: Dec 12, 2016 10:22 pm
Full Name: Steve Rosebush
Contact:

Re: Remove veeamsnapshotdata.0 file

Post by daereth » Dec 13, 2016 10:25 pm

Hi Ptide,

I totally forgot about lsattr and immutable flags, bit rusty. ;)

Thanks for the assist and I *just* got your announcement of GA will give that a go.

Cheers,
Steve

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest