Page 1 of 3 123 LastLast
Results 1 to 10 of 28

Thread: files in home directory being deleted or reverting to an old version

  1. #1

    Default files in home directory being deleted or reverting to an old version

    I have had two systems now with a very strange problem. On both systems after a reboot and auto login to the primary (and only) user account files and indeed a whole directory were simply gone as well as desktop settings also held in the users home seem to have reverted to original settings.

    On one of the machines an employee had this happen again but this time it not only lost some files and directories but for a few files were replaced by the old (a week ago) versions of the same file. In fact he said it was just like the system going back to a week ago, desktop background and all. The only curious thing though is Rendering reverted back to the default (XRender) but it had been changed to 3 weeks ago to OpenGL (to allow 3D flgrx to work) and this reverted back to XRender.

    I have used OpenSuse for years and am very Linux knowledgeable and have never seen anything like it. It is a very disturbing behavior though. Is there anyone else out there who has observed this or something similar occurring?? Any ideas what may cause this behavior??

    The only theory I have is something that KDE or related "user services" is doing that is supposed to be a new feature but is really horribly buggy.

    I am using OpenSuSe 12.3 with updates as of about 3 weeks ago, the KDE desktop, EXT4 filesystems (separate root and /home), AMD Radeon graphics with Catalyst driver. Overall nothing real special. System otherwise is very stable.

  2. #2
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: files in home directory being deleted or reverting to an oldversion

    On 2013-04-19 03:26, skull33 wrote:

    > On one of the machines an employee had this happen again but this time
    > it not only lost some files and directories but for a few files were
    > replaced by the old (a week ago) versions of the same file. In fact he
    > said it was just like the system going back to a week ago, desktop
    > background and all.


    This can be done if you use btfrs. Please verify what filesystem you
    actually use.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  3. #3
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: files in home directory being deleted or reverting to an old version

    Quote Originally Posted by skull33 View Post
    I have had two systems now with a very strange problem. On both systems after a reboot and auto login to the primary (and only) user account files and indeed a whole directory were simply gone as well as desktop settings also held in the users home seem to have reverted to original settings.

    On one of the machines an employee had this happen again but this time it not only lost some files and directories but for a few files were replaced by the old (a week ago) versions of the same file. In fact he said it was just like the system going back to a week ago, desktop background and all. The only curious thing though is Rendering reverted back to the default (XRender) but it had been changed to 3 weeks ago to OpenGL (to allow 3D flgrx to work) and this reverted back to XRender.

    I have used OpenSuse for years and am very Linux knowledgeable and have never seen anything like it. It is a very disturbing behavior though. Is there anyone else out there who has observed this or something similar occurring?? Any ideas what may cause this behavior??

    The only theory I have is something that KDE or related "user services" is doing that is supposed to be a new feature but is really horribly buggy.

    I am using OpenSuSe 12.3 with updates as of about 3 weeks ago, the KDE desktop, EXT4 filesystems (separate root and /home), AMD Radeon graphics with Catalyst driver. Overall nothing real special. System otherwise is very stable.
    So I did not understand just how many user computers are in this group with a problem of losing files or folders. I have seen the XRender/OpenGL problem with nVIDIA video cards and the solution is to upgrade to kernel to version 3.8. As for the files/folders issue, I have not see it, but I promptly upgraded the kernel on all installed PC's with openSUSE 12.3, so perhaps you might make the same choice. Have a look at this blog on the subject: openSUSE and Installing New Linux Kernel Versions - Blogs - openSUSE Forums. As for the file/folder issue, why not show us your fstab files. Open up terminal, type in the following command:

    Code:
    cat /etc/fstab
    Copy the resulting text into a forum message using the advanced forum message editor. Once the text is pasted here, highlight it and press the code # tag to encase it in a code # block. You might want to supply more that one fstab file from different PC's reported to have the problem and consider that kernel upgrade.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  4. #4
    Join Date
    May 2010
    Location
    Space Colony Lagrange Point 22° à, 77° Ƅ, 56° ɤ, 99° ɜ
    Posts
    3,166

    Default Re: files in home directory being deleted or reverting to an old version

    Quote Originally Posted by skull33 View Post
    I have had two systems now with a very strange problem. On both systems after a reboot and auto login to the primary (and only) user account files and indeed a whole directory were simply gone as well as desktop settings also held in the users home seem to have reverted to original settings.
    What about rest of disk other than *home*. Any software missing on these systems ?
    GNOME Version 3.20.2
    openSUSE Leap 42.3 64-bit

    www.vazhavandan.blogspot.com

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,996
    Blog Entries
    14

    Default Re: files in home directory being deleted or reverting to an old version

    And /home is on the same machine, not an NFS mount from a server??
    I've never seen this. And have my doubts whether this is actually possible without having btrfs.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: files in home directory being deleted or reverting to an oldversion

    On 04/19/2013 03:26 AM, skull33 wrote:
    > I have had two systems now with a very strange problem. . .
    > On one of the machines an employee had this happen again but this time
    > it not only lost some files and directories but for a few files were
    > replaced by the old (a week ago) versions of the same file.


    in addition to the btrfs question not yet answered, i wonder since
    this is a work environment: you must have some sort of iron clad
    backup system in place....please describe it...does it include
    (maybe) scripts run by cron using (say) rsync...

    the reason i ask (now, i know almost nothing about systemD, but) i
    have heard that _some_ scrips/services/other magic that have been
    useful for years don't automatically "just work" on 12.3's systemd...

    have you been keeping up with systemd?

    just saying.

    --
    dd
    http://tinyurl.com/DD-Caveat

  7. #7
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,996
    Blog Entries
    14

    Default Re: files in home directory being deleted or reverting to an oldversion

    Quote Originally Posted by DenverD View Post
    On 04/19/2013 03:26 AM, skull33 wrote:
    > I have had two systems now with a very strange problem. . .
    > On one of the machines an employee had this happen again but this time
    > it not only lost some files and directories but for a few files were
    > replaced by the old (a week ago) versions of the same file.


    in addition to the btrfs question not yet answered, i wonder since
    this is a work environment: you must have some sort of iron clad
    backup system in place....please describe it...does it include
    (maybe) scripts run by cron using (say) rsync...

    the reason i ask (now, i know almost nothing about systemD, but) i
    have heard that _some_ scrips/services/other magic that have been
    useful for years don't automatically "just work" on 12.3's systemd...

    have you been keeping up with systemd?

    just saying.

    --
    dd
    DD Caveat
    The way it is described by the OP, the only way this can happen is the restore of some snapshot. No filesystem is capable to go back a week on it's own. Systemd IMHO is not involved.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  8. #8
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: files in home directory being deleted or reverting to an oldversion

    On 2013-04-19 12:19, dd wrote:
    >
    > in addition to the btrfs question not yet answered, i wonder since this
    > is a work environment: you must have some sort of iron clad backup
    > system in place....please describe it...does it include (maybe) scripts
    > run by cron using (say) rsync...


    Good point...

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: files in home directory being deleted or reverting to an oldversion

    On 2013-04-19 12:56, Knurpht wrote:

    > The way it is described by the OP, the only way this can happen is the
    > restore of some snapshot. No filesystem is capable to go back a week on
    > it's own. Systemd IMHO is not involved.


    Not systemd, that's not the point.

    It is possible, being an work place situation, that there is a
    backup/restore solution in use. Such a setup could, should be able, to
    restore files to a previous point in time.

    This would be controlled by scripts, services, etc. It is just possible
    that those services are not configured properly after the migration to
    systemd. It is also possible that those scripts were simply misused,
    triggered by mistake, accident, etc.

    That would explain a file reversal without using btfrs. It is worth
    investigating.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 12.1 x86_64 "Asparagus" at Telcontar)

  10. #10

    Default Re: files in home directory being deleted or reverting to an old version

    Thanks for all the ideas. Unfortunately I guess I am looking for someone else who has actually experienced this behavior, seeing is believing in this case.

    In reply to the posts, with some good suggestions. I am definitely using EXT4. The OpenGL/XRender is not really the primary issue just an example of a setting that we changed from default and reverted. My fstab has nothing special in it. The home directory is NOT a networked directory it is however a separate file system although this config is common. So any more ideas would be welcome or as I noted someone else actually seeing this happen.

    It does not appear to affect anything but stuff in /home which in this case is just a single user, this tells me it is probably something that runs as part of the desktop (just with that users permissions). Just a theory.

    I have to say there is not enough time in the day to keep up with new services and desktop helpers. Kinda wish for the old days and would really like the OpenSuSe folks to at least provide the option of NOT starting all the **** automatically and allowing during install or easily at the desktop the admin or user to select what they want happening in the background. Except for a few kernel services you can have a perfectly useable desktop Linux without this.

    I manage the systems and am not using any third party backup/restore. Work does get backed up by simply tar'ing key directories to a flash drive periodically using a very simple (one line) script.

    I do have a theory that would involve a failure accompanied by a brain dead move by a developer. Way back when (a decade ago) there was a distro that for whatever reason did not always mount /home so it was therefore sometimes empty. This would prevent proper login by anyone but root. I guess if the same thing was happening AND some program came along and attempted to restore the user(s) in /home from some automatic archive this could lead to something similar?? What could be doing the automatic archive, not sure, I did notice there is something called snapper that takes automatic snapshots and allows you to retrieve them. I do not know much about it. Maybe Snapper gone wild? Again just a theory.

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •