On 25/04/15 21:07, Carlos E. R. wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2015-04-25 08:34, Bob Williams wrote:
Have a look at that directory and the files in it. Perhaps wrong permissions :-?
You copied files as root. Perhaps they are now owned by root.
Hi Carlos, Thanks for your continued interest. I have now established that I have a btrfs filesystem problem, not a linux permissions problem. /home is on a btrfs raid1 array, mirroring both data and metadata. Somehow there must have been a bad shutdown (ISTR a brief power cut a few days ago), which has left the filesystem in an unsafe state. Btrfs responds by making the filesystem read-only, even if the OS thinks it's read-write. 'btrfs check' run on either of the unmounted /home devices gives line after line of parent transid verification failures. The last few lines are retyped below (I'm sending this from a different machine): ... parent transid verify failed on 222388969472 wanted 658362 found 656682 parent transid verify failed on 4028227584 wanted 658356 found 657902 root 2778 inode 3051948 errors 400, nbytes wrong warning line 2104 found 548489650966 bytes used err is 1 total csum bytes: 1166534872 total tree bytes: 2437394432 total fs tree bytes: 803016704 total extent tree bytes: 149839872 btree space waste bytes: 443944348 file data blocks allocated: 3915207680000 referenced 1695262269440 Btrfs v3.16.2+20141003 :~ # The 'official' way to repair this is to run 'btrfs check --repair', but the man page is full of dire warnings that this may make things worse, and every reference I've found online is a year or more out of date. I've posted in the linux-btrfs list, but I think they've all gone away for the weekend. I'll wait till tomorrow, then if there's still no answer I think I'll try that command. The worst that can happen is I have to restore my data from backup (well, the stuff I've backed up) but that's about 600GiB. -- Bob Williams -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org