Re: is my filesystem damaged?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/12/17 19:58, Neal Becker wrote:
> Ed Greshko wrote:
>
>> On 12/11/17 20:11, Neal Becker wrote:
>>> Since last boot, I've got this strange symptom. Filesystem is btrfs.  If
>>> I list my home dir with dired under emacs I see:
>>>
>>>     -rwxrwxr-x. 1 nbecker nbecker      207 Dec  3  2015 BACKUP.sh
>>>     -?????????? ? ?       ?              ?            ? .bash_history
>>>     -?????????? ? ?       ?              ?            ? .bash_history
>>>     -?????????? ? ?       ?              ?            ? .bash_history
>>>     -?????????? ? ?       ?              ?            ? .bash_history
>>>
>>> Attempt to list with ls gives:
>>>   /usr/bin/ls: cannot access '/home/nbecker/./.bash_history': No such
>>>   file
>>> or directory
>>>
>>>
>>> I think this means there is a directory entry, but the file doesn't
>>> exist?
>>> Any suggestion to most reliably repair the damage?  I don't care about
>>> losing the content of this file.
>>
>> I assume you're executing the commands as yourself.  If you "su -" and
>> become root do you see any difference?
>>
>>
> No, same result as root
> sudo ls -la .
> [sudo] password for nbecker: 
> ls: cannot access '.bash_history': No such file or directory
> ls: cannot access '.bash_history': No such file or directory
> ls: cannot access '.bash_history': No such file or directory
> ls: cannot access '.bash_history': No such file or directory
> ls: cannot access '.bash_history': No such file or directory
> ls: cannot access '.bash_history': No such file or directory
> total 11548
> ...
> -?????????? ? ?       ?              ?            ?  .bash_history
> -?????????? ? ?       ?              ?            ?  .bash_history
> -?????????? ? ?       ?              ?            ?  .bash_history
> -?????????? ? ?       ?              ?            ?  .bash_history
> -?????????? ? ?       ?              ?            ?  .bash_history
> -?????????? ? ?       ?              ?            ?  .bash_history
> ...

Very odd that it should repeat the message 6 times.....

Not that I'm confident this will be any different but how about disabling selinux
temporarily?

sudo setenforce 0 and then try ls?


-- 
Fedora Users List - The place to go to speculate endlessly

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux