Re: Stange : directories and files in / duplicated !!



On 27 déc, 21:24, Dances With Crows <danceswithcr...@xxxxxxx> wrote:
bra...@xxxxxxxxx staggered into the Black Sun and said:

[Does] somebody know how we can obtain this strange situation:

results of (ls -ltr) in /
drwxr-xr-x 17 root root 4096 oct 24 15:07 usr
drwxr-xr-x 17 root root 4096 oct 24 15:07 usr
drwxr-xr-x 23 root root 4096 nov 7 18:13 var
drwxr-xr-x 23 root root 4096 nov 7 18:13 var
[snip]
When I remove a duplicated [file] or a directory, and [do] "ls -ltr",
I [get]:
?--------- ? ? ? ? ? somme
[Do you] have any [explanation] of [these] problems?

Your filesystem's totally hosed. Anytime you get a ? in the first char
of an ls -l, you have serious filesystem screwage. mount / -o
remount,ro , then fsck /dev/whereverrootis . Better yet, mke2fs -j the
affected filesystems, then restore all your data from your last known
good backup.

I got a "?" when I delete file or directory. My goal was to remove
only one of duplicated files or directory. Obviously this lets file or
directory in this strange state. This was a test to see if I can "rm"
one of two /bin, for exemple !
- What can can behind the duplicated files and directories? The
presence of "deport_root -> / " ? a "mount", "mv" or "cp" commands ?

- Can I reboote before applying "remount,ro , then fsck /dev/
whereverrootis" and let OS make fsck at boot ?

Thanks




.