Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #200107
| From | Zenaan Harkness <zenaan@freedbms.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: File with weird permissions, impossible to delete |
| Date | 2018-09-14 03:10 +0200 |
| Message-ID | <wxKMp-2mp-3@gated-at.bofh.it> (permalink) |
| References | <wwPuN-2dQ-1@gated-at.bofh.it> <wwQAy-34k-7@gated-at.bofh.it> <wx06R-dm-1@gated-at.bofh.it> <wx28F-1kd-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Sep 11, 2018 at 09:21:50PM -0400, Gene Heskett wrote: > On Tuesday 11 September 2018 19:13:58 Ben Caradoc-Davies wrote: > > > On 12/09/2018 00:59, Greg Wooledge wrote: > > > On Tue, Sep 11, 2018 at 01:52:15PM +0200, Pétùr wrote: > > >> I have some files, with weird permissions: > > >> # ls -la > > >> d-wS--S--T 2 1061270772 2605320832 4096 oct. 7 2412 index.html > > > > > > Obvious file system corruption. Unmount, fsck, re-mount, and then > > > be prepared to restore the data from your last good backup if/when > > > the fsck failed to repair everything. > > > > I would also use journalctl to look for any i/o errors on the affected > > device. > > > > What hardware and kernel and filesystem? ext4 filesystem corruption is > > rare and usually suggests a hardware fault. > > > > I would run a full hardware test, including CPU and RAM, and a long > > SMART test on the storage if it is capable. SMART self-tests will not > > usually detect drive data transmission errors caused by cable > > problems, but the SMART logs should list the CRC error count which can > > indicate unreliable cables or controller connectors. > > > > I would first identify the *cause* and replace all unreliable hardware > > before bothering to restore from backup. If you have noticed some > > corruption, you likely also have some unnoticed corruption. Continuing > > to use unreliable hardware wastes your time and endangers your data. > > > > Kind regards, > > I will 2nd and 3rd Bens advice. Bad cables have been the huge majority of > such nefarious goings on. Particularly if they are bright red and 4+ > years old, put a tail on the log, and prod the cable gently with a > wooden pencil. If the log blows up, bad cable, replace it with any > color but red. Preferably a month ago... zfs ftw (although there's still a need for a "read back every block written, and double check its hash, before committing" which is a requested feature hopefully soon in the works (for those who can stomach the ACK latency involved). zfs is still more certain than everything else available, even without the above feature. zfs "scrubbing" (around since dot) gives a time-delay version of this feature, which is insufficient for the truly paranoid, or for those struggling with intermittently bad cables. Good luck, Here's the feature request, subscribe (or add a heart or thumbs up to the original post in the thread) to voice your interest: Verify disks writes #2526 https://github.com/zfsonlinux/zfs/issues/2526
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-11 14:00 +0200
Re: File with weird permissions, impossible to delete <tomas@tuxteam.de> - 2018-09-11 14:10 +0200
Re: File with weird permissions, impossible to delete "Thomas Schmitt" <scdbackup@gmx.net> - 2018-09-11 14:20 +0200
Re: File with weird permissions, impossible to delete Gene Heskett <gheskett@shentel.net> - 2018-09-11 14:20 +0200
File with weird permissions, impossible to delete Martin <keine-eile@online.de> - 2018-09-11 14:30 +0200
Re: File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-11 14:50 +0200
Re: File with weird permissions, impossible to delete Martin <keine-eile@online.de> - 2018-09-11 15:10 +0200
Re: File with weird permissions, impossible to delete "Thomas Schmitt" <scdbackup@gmx.net> - 2018-09-11 17:00 +0200
Re: File with weird permissions, impossible to delete Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2018-09-11 18:20 +0200
Re: File with weird permissions, impossible to delete Michael Stone <mstone@debian.org> - 2018-09-11 19:00 +0200
Re: File with weird permissions, impossible to delete David Wright <deblis@lionunicorn.co.uk> - 2018-09-11 15:30 +0200
Re: File with weird permissions, impossible to delete Erik Christiansen <dvalin@internode.on.net> - 2018-09-11 15:00 +0200
Re: File with weird permissions, impossible to delete Greg Wooledge <wooledg@eeg.ccf.org> - 2018-09-11 15:10 +0200
Re: File with weird permissions, impossible to delete Michael Stone <mstone@debian.org> - 2018-09-11 16:50 +0200
Re: File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-11 17:30 +0200
Re: File with weird permissions, impossible to delete Martin <keine-eile@online.de> - 2018-09-11 19:40 +0200
Re: File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-11 19:50 +0200
Re: File with weird permissions, impossible to delete mick crane <mick.crane@gmail.com> - 2018-09-11 20:30 +0200
Re: File with weird permissions, impossible to delete Joe Pfeiffer <pfeiffer@cs.nmsu.edu> - 2018-09-11 21:10 +0200
Re: File with weird permissions, impossible to delete Felix Miata <mrmazda@earthlink.net> - 2018-09-12 01:50 +0200
Re: File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-12 12:10 +0200
Re: File with weird permissions, impossible to delete Michael Stone <mstone@debian.org> - 2018-09-11 20:30 +0200
Re: File with weird permissions, impossible to delete David Wright <deblis@lionunicorn.co.uk> - 2018-09-11 22:30 +0200
Re: File with weird permissions, impossible to delete Ben Caradoc-Davies <ben@transient.nz> - 2018-09-12 01:20 +0200
Re: File with weird permissions, impossible to delete Gene Heskett <gheskett@shentel.net> - 2018-09-12 03:30 +0200
Re: red SATA cable corruption (was: File with weird permissions, impossible to delete) Felix Miata <mrmazda@earthlink.net> - 2018-09-12 03:40 +0200
Re: red SATA cable corruption (was: File with weird permissions, impossible to delete) Gene Heskett <gheskett@shentel.net> - 2018-09-12 04:40 +0200
Re: red SATA cable corruption Felix Miata <mrmazda@earthlink.net> - 2018-09-12 05:10 +0200
Re: red SATA cable corruption Gene Heskett <gheskett@shentel.net> - 2018-09-12 08:10 +0200
Re: red SATA cable corruption Curt <curty@free.fr> - 2018-09-12 13:40 +0200
OT high-power radio broadcasting (was Re: red SATA cable corruption) Marty <martyb@ix.netcom.com> - 2018-09-14 20:40 +0200
Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Gene Heskett <gheskett@shentel.net> - 2018-09-14 22:00 +0200
Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Nicholas Geovanis <nickgeovanis@gmail.com> - 2018-09-18 21:20 +0200
Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Gene Heskett <gheskett@shentel.net> - 2018-09-18 22:00 +0200
Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Brian <ad44@cityscape.co.uk> - 2018-09-18 22:10 +0200
Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Nicholas Geovanis <nickgeovanis@gmail.com> - 2018-09-18 23:20 +0200
Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Dominic Knight <dominicknight@gmx.com> - 2018-09-18 23:40 +0200
Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Nicholas Geovanis <nickgeovanis@gmail.com> - 2018-09-19 00:20 +0200
Re: OT high-power radio broadcasting (was Re: red SATA cable corruption) Martin <keine-eile@online.de> - 2018-09-19 10:20 +0200
Re: File with weird permissions, impossible to delete Zenaan Harkness <zenaan@freedbms.net> - 2018-09-14 03:10 +0200
Re: File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-18 15:00 +0200
Re: File with weird permissions, impossible to delete David Wright <deblis@lionunicorn.co.uk> - 2018-09-18 16:10 +0200
Re: File with weird permissions, impossible to delete Pétùr <peturvilj@gmail.com> - 2018-09-18 16:20 +0200
Re: File with weird permissions, impossible to delete David Wright <deblis@lionunicorn.co.uk> - 2018-09-18 17:30 +0200
csiph-web