Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2022 14:47:12 -0700
From:      David Christensen <dpchrist@holgerdanske.com>
To:        questions@freebsd.org
Subject:   Re: mkdir error message -- what does this mean?
Message-ID:  <5f76c9e5-9312-3af9-0de5-6deadf4e3b1f@holgerdanske.com>
In-Reply-To: <CAFbbPuhuXZzK_vksdEzDWuaQOdOU3y8U_FgBY9ZE3O1p4sQEzQ@mail.gmail.com>
References:  <e293b9c3b1c168ad1eee3a65510b1aa9@nyclocal.net> <CAGBxaXnc_ornipZxX=NgoDagCjcU80vMXZ1EjZr8j-8RrcdJnw@mail.gmail.com> <CAFbbPuhXUqwcq%2BKsdD=q6C-w6JcypZLMKJGb9vUGp2k8r=G3=Q@mail.gmail.com> <d9c3811d-451d-e872-c883-efae6ace866e@holgerdanske.com> <CAFbbPuhuXZzK_vksdEzDWuaQOdOU3y8U_FgBY9ZE3O1p4sQEzQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 30, 2022 at 02:35:14PM -0400, Aryeh Friedman wrote:
 > What does the following mean?
 >
 > dnixon@sft:/tmp % sudo mkdir
 > /fsvc/clients/specMed/LIVE/master/h11a9fpp-mkknhbci-2hjvbpc
 > mkdir: /fsvc/clients/specMed/LIVE/master/h11a9fpp-mkknhbci-2hjvbpc:
 > Too many links


On 9/30/22 11:48, Paul Procacci wrote:
 >       31 EMLINK Too many links. Maximum allowable hard links to a
 >               single file has been exceeded (limit of 32767 hard links
 >               per file).


On 9/30/22 13:28, David Christensen wrote:
 > What file or command contains or produced the above?


On 9/30/22 13:59, Paul Procacci wrote:
> man errno


Thank you.


On Fri, Sep 30, 2022 at 4:19 PM David Christensen wrote:

 > Why '%' in the shell prompt?


On 9/30/22 13:41, Aryeh Friedman wrote:
 > Cut and paste error see below for full prompt ;-)

 > dnixon@sft:~ % echo $SHELL
 > /bin/tcsh

 > dnixon@sft:~ % sudo echo $SHELL
 > /bin/tcsh


Okay -- you and root both use tcsh(1).


 > dnixon@sft:~ % alias sudo
 > dnixon@sft:~ % type -t sudo
 > sudo is /usr/local/bin/sudo
 > -t: not found
 > dnixon@sft:~ %  which sudo
 > /usr/local/bin/sudo


Okay -- sudo(8) looks good.


 > dnixon@sft:~ %  sudo alias mkdir
 > alias: mkdir: not found
 > dnixon@sft:~ %  sudo type -t mkdir
 > mkdir is /bin/mkdir
 > -t: not found
 > dnixon@sft:~ % sudo which mkdir
 > /bin/mkdir


Okay -- mkdir(1) looks good.


 > dnixon@sft:~ %  mount | egrep "fsvc|clients|specMed|LIVE|master"


Okay -- the directory /fsvc/clients/specMed/LIVE/master is on the root 
filesystem.


 > dnixon@sft:~ % df -k
 > Filesystem  1024-blocks      Used     Avail Capacity  Mounted on
 > /dev/da0s1a   690629108 402119372 233259408    63%    /
 > devfs                 1         1         0   100%    /dev
 > /dev/da2p1     16233620    672392  14262540     5%    /db
 > fdescfs               1         1         0   100%    /dev/fd
 > procfs                4         4         0   100%    /proc
 > dnixon@sft:~ %


Okay -- the root filesystem is not full.


I think Paul found the problem -- the directory 
/fsvc/clients/specMed/LIVE/master is full.  Try these commands:

% ls -ld /fsvc

% ls -ld /fsvc/clients

% ls -ld /fsvc/clients/specMed

% ls -ld /fsvc/clients/specMed/LIVE

% ls -ld /fsvc/clients/specMed/LIVE/master


David



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5f76c9e5-9312-3af9-0de5-6deadf4e3b1f>