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

Re: Cannot create files/directories that have numeric only names



Gary,

A kernel upgrade fixed the issue for a while but I ended up with an OS
reload.






On 12/6/07, Gary Waters <gwaters-web paradise caltech edu> wrote:
>
> Hello,
>
> I believe I have the same issue as Madan in the quote below, where I can
> not create files or directories that have numeric only names.
> This just started happening 2 days ago.
>
> I am running:
> RHEL AS 4 (Update 5)
> LVM with Filesystem = ext3
>
> Same Problem.
> How to reproduce:
> ======================
>
> root server [~]# mkdir 1
> mkdir: cannot create directory `1': No such file or directory
> root server
> [~]# mkdir 12
> mkdir: cannot create directory `12': No such file or directory
> root server [~]# mkdir 1a2
> root server [~]#
>
>
>
> Actual results:
> ======================
> mkdir: cannot create directory `1': No such file or directory
>
> This also includes numeric files..
> I can not create them via anything i can think of, via echo, dd, touch,
> etc etc.
> C programs, Perl, and Bash script can not write to them either.
>
> Expected results:
> ======================
> should be able to create a directory or a file with a numeric name
>
> ======================
>
> What I can do:
>
> I can write to the same filesystem over NFS on a different machine just
> fine.
>
> I can boot up off of a Live CD and write to the file system fine.
>
> ===============
> I tried using statically linked binaries like busybox, and I can not
> create the files.
>
> I did the rpm --verify on coreutils thinking something wrong there, but
> nothing showed up.
>
> I updated the system completely to RHEL AS 4 Update 6, (all packages
> including the kernel), and the problem still persists.
> ===============
>
> Suggestions?  Cures?
> I am looking at rebuilding the server, and lots of down time...
>
> Regards,
> Gary
>
>
> >   Re: unable to create any directory that uses numbers as the
> >   directory name
> >
> > ------------------------------------------------------------------------
> >
> >     * /From/: "Madan Thapa" <madan feedback gmail com>
> >     * /To/: "General Red Hat Linux discussion list" <redhat-list
> >       redhat com>
> >     * /Subject/: Re: unable to create any directory that uses numbers
> >       as the directory name
> >     * /Date/: Thu, 20 Sep 2007 23:15:57 +0530
> >
> > ------------------------------------------------------------------------
> > root server52 [~]# unalias mkdir
> > -bash: unalias: mkdir: not found
> > root server52 [~]#
> >
> >
> > I already mentioned mkdir had no alias set.
> >
> > Thanks
> >
> > On 9/20/07, m roth2006 rcn com <m roth2006 rcn com> wrote:
> > >
> > > Try this:
> > > unalias mkdir
> > >
> > >     mark
> > >
> > > ---- Original message ----
> > > >Date: Thu, 20 Sep 2007 18:50:25 +0530
> > > >From: "Madan Thapa" <madan feedback gmail com>
> > > >Subject: Re: unable to create any directory that uses numbers as the
> > > directory name
> > > >To: "General Red Hat Linux discussion list" <redhat-list redhat com>
> > > >
> > > >More info ................
> > > >
> > > >
> > > >Version-Release number of selected component (if applicable):
> > > >==================================================================
> > > >root server [~]# cat /etc/redhat-release
> > > >Red Hat Enterprise Linux ES release 4 (Nahant Update 5)
> > > >
> > > >root server [~]# uname -a
> > > >Linux server.integrityserver.net 2.6.9-55.ELsmp #1 SMP Fri Apr 20
> > > 17:03:35 EDT
> > > >2007 i686 i686 i386 GNU/Linux
> > > >root server [~]#
> > > >
> > > >
> > > >How reproducible:
> > > >======================
> > > >
> > > >root server [~]# mkdir 1
> > > >mkdir: cannot create directory `1': No such file or directory
> > > >root server [~]# mkdir 12
> > > >mkdir: cannot create directory `12': No such file or directory
> > > >root server [~]# mkdir 1a2
> > > >root server [~]#
> > > >
> > > >
> > > >
> > > >Actual results:
> > > >======================
> > > >mkdir: cannot create directory `1': No such file or directory
> > > >
> > > >
> > > >Expected results:
> > > >======================
> > > >should be able to create a directory
> > > >
> > > >Additional Info:
> > > >==================
> > > >root server [~]# ll $(which mkdir)
> > > >-rwxr-xr-x  1 root root 25060 Sep 19 15:46 /bin/mkdir*
> > > >root server [~]# rpm -qf $(which mkdir)
> > > >coreutils-5.2.1-31.6
> > > >root server [~]#
> > > >root server [~]# mount -a
> > > >root server [~]#
> > > >root server [~]#alias | grep mk
> > > >root server [~]#
> > > >
> > > >FSType = ext3
> > > >
> > > >
> > > >Thanks
> > > >
> > > >
> > > >
> > > >
> > > >On 9/20/07, Madan Thapa <madan feedback gmail com> wrote:
> > > >>
> > > >> All was working fine.. this issue came to notice yesterday. Anybody
> had
> > > >> such experience and any fix please?
> > > >>
> > > >>
> > > >>
> > > >>
> > > >>
> > > >> On 9/20/07, Bill Tangren < bjt usno navy mil> wrote:
> > > >> >
> > > >> > Madan Thapa wrote:
> > > >> > > Hello,
> > > >> > >
> > > >> > >
> > > >> > > unable to create any directory that uses numbers as the
> directory
> > > name
> > > >> > >
> > > >> > >
> > > >> > > root server [~]# mkdir 123
> > > >> > > mkdir: cannot create directory `123': No such file or directory
> > > >> > > root server [~]# mkdir 0
> > > >> > > mkdir: cannot create directory `0': No such file or directory
> > > >> > >
> > > >> > >
> > > >> > > Filesystem is not in readonly mode becasue I can create dir
> with a
> > > mix
> > > >> > of
> > > >> > > numbers and aplhabets.
> > > >> > >
> > > >> > > root server [~]# mkdir 1ab
> > > >> > > root server [~]#
> > > >> > >
> > > >> > >
> > > >> > > Please advise.
> > > >> >
> > > >> > [root mach2 ~]# mkdir 123
> > > >> > [root mach2 ~]# ls -ld 123
> > > >> > drwx------  2 root root 4096 Sep 20 09:09 123
> > > >> > [root mach2 ~]#
> > > >> >
> > > >> > I can. Not sure why you cannot.
> > > >> >
> > > >> >
> > > >> > --
> > > >> > redhat-list mailing list
> > > >> > unsubscribe mailto:redhat-list-request redhat
> com?subject=unsubscribe
> > > >> > https://www.redhat.com/mailman/listinfo/redhat-list
> > > >> >
> > > >>
> > > >>
> > > >--
> > > >redhat-list mailing list
> > > >unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> > > >https://www.redhat.com/mailman/listinfo/redhat-list
> > >
> > > --
> > > redhat-list mailing list
> > > unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> > > https://www.redhat.com/mailman/listinfo/redhat-list
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>


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