Re: Cannot create any files on a filesystem

"Anoop Chandran" <[email protected]> Wed, 30 Jan 2008 20:38:22 +0530
Newsgroups gmane.linux.redhat.release.taroon.general
Message-ID <[email protected]>
--===============0147600097==
Content-Type: multipart/alternative; 
	boundary="----=_Part_19254_25644760.1201705702345"

------=_Part_19254_25644760.1201705702345
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

On Jan 30, 2008 8:31 PM, Sharpe, Sam J <sam.sharpe-AQ/[email protected]> wrote:

> > I am running RedHat AS release 3 Taroon update 4 on HP DL740 server.
> >
> > When I login to my user account see the following shell prompt
> >
> > -bash-2.05b$
> >
> > When normally I should be seeing the following shell prompt
> >
> > [fred1@systema fred1]$
> >
> >
> > 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.
>

One other thing I can think of is, if the home directory was recently moved
(or copied)
and you have SELinux enabled, you won't be able to access the home
directory.



>
> --
> Sam
>
>
> --
> Taroon-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/taroon-list
>



-- 
- Anoop
 <>_<>

------=_Part_19254_25644760.1201705702345
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

<br><div class="gmail_quote">On Jan 30, 2008 8:31 PM, Sharpe, Sam J &lt;<a href="mailto:sam.sharpe-AQ/[email protected]">sam.sharpe-AQ/[email protected]</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">&gt; I am running RedHat AS release 3 Taroon update 4 on HP DL740 server.<br>&gt;<br>&gt; When I login to my user account see the following shell prompt<br>&gt;<br>&gt; -bash-2.05b$<br>&gt;<br>&gt; When normally I should be seeing the following shell prompt<br>
&gt;<br>&gt; [fred1@systema fred1]$<br>&gt;<br>&gt;<br>&gt; Also when I create a file using vi editor and try to save the file, I<br>&gt; get<br>&gt; the an error message saying &quot;text.txt&quot; E212: Can&#39;t open file for<br>
&gt; writing&quot; and then I hit enter where upon<br>&gt; I am out back into vi. I can exit vi if I quit form it.<br><br></div>You can&#39;t write to that filesystem, I can think of three possible<br>options off the top of my head:<br>
<br>1) Your filesystem is mounted readonly (could be caused by an error on<br>the filesystem)<br><br>Run &quot;mount&quot; and check that the filesystem containing your home directory<br>says rw after it. Post the output if you&#39;re not sure. &quot;mount -o<br>
remount,rw&quot; will make it writeable but you may need to run &quot;fsck&quot; on it<br>if it&#39;s broken.<br><br>2) If you are running quotas, you are out of quota. Run &quot;quota&quot; and<br>check that you are not over quota. Run edquota if necessary.<br>
<br>3) You are not on the right home filesystem. This could be because /home<br>is not mounted or it could be because you have lost LDAP/NIS etc and you<br>have been logged in with / as your home directory.<br></blockquote>
<div><br>One other thing I can think of is, if the home directory was recently moved (or copied)<br>
and you have SELinux enabled, you won&#39;t be able to access the home directory.<br><br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>--<br><font color="#888888">Sam<br></font><div><div></div><div class="Wj3C7c"><br><br>--<br>Taroon-list mailing list<br><a href="mailto:[email protected]">[email protected]</a><br><a href="https://www.redhat.com/mailman/listinfo/taroon-list" target="_blank">https://www.redhat.com/mailman/listinfo/taroon-list</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>- Anoop<br> &nbsp;&lt;&gt;_&lt;&gt;

------=_Part_19254_25644760.1201705702345--


--===============0147600097==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
Taroon-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/taroon-list
--===============0147600097==--