cannot upload data using scp, Read-only file system
I am trying to upload data to a server to the be user dir (using be account, be@xxx), but got a "Read-only file system" error.
Checking the server, i see that the permission is changed. I don't remember changing them.. not sure what happened. Try to login as root and change the permission to 777 with -R, but it did not work, Quote:
|
The permissions on those directories are such that their owners can write into them. The "readonly filesystem" message probably means the whole filesystem has flipped into readonly mode. This can happen if errors are detected on the drive. Check the system logs to see if there is any message about readonly.
You might need to repair the filesystem, and possibly replace the disk if it is going bad. |
I grep the /var/log/ directory for the readonly, and got following messages, not sure what it mean
Quote:
The disk is formated with ext3 fs. |
Find out what device the drive is, e.g. this in a terminal
Code:
$ cd /the/directory/you/could/not/write/to Code:
/dev/sda5 on /home type ext3 (ro) If it is mounted read only (i.e. you see the ro at the end of the line), grep for the device name in the log directory. In my case that would be done with the command: Code:
grep sda5 /var/log/* |
All times are GMT -5. The time now is 12:27 AM. |