RE: Cannot create any files on a filesystem
"Sharpe, Sam J" <sam.sharpe-AQ/[email protected]> Wed, 30 Jan 2008 15:01:59 -0000
| Newsgroups | gmane.linux.redhat.release.taroon.general |
|---|---|
| Message-ID | <[email protected]> |
> I am running RedHat AS release 3 Taroon update 4 on HP DL740 server. >=20 > When I login to my user account see the following shell prompt >=20 > -bash-2.05b$ >=20 > When normally I should be seeing the following shell prompt >=20 > [fred1@systema fred1]$ >=20 >=20 > Also when I create a file using vi editor and try to save the file, I > get > the an error message saying "text.txt" E212: Can't open file for > writing" and then I hit enter where upon > I am out back into vi. I can exit vi if I quit form it. You can't write to that filesystem, I can think of three possible options off the top of my head: 1) Your filesystem is mounted readonly (could be caused by an error on the filesystem) Run "mount" and check that the filesystem containing your home directory says rw after it. Post the output if you're not sure. "mount -o remount,rw" will make it writeable but you may need to run "fsck" on it if it's broken. 2) If you are running quotas, you are out of quota. Run "quota" and check that you are not over quota. Run edquota if necessary. 3) You are not on the right home filesystem. This could be because /home is not mounted or it could be because you have lost LDAP/NIS etc and you have been logged in with / as your home directory. -- Sam -- Taroon-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/taroon-list