Prev: Concatentating Solaris-10 DVD downloded from sun.com.
Next: Some warning whilst starting Solaris 10 x86
From: Tony Walton on 8 Feb 2005 12:28 User-Agent: Unison/1.5.2 On 2005-02-08 17:51:14 +0000, gl(a)csdsun1.arlut.utexas.edu (Jay G. Scott) said: > In article <4208e98d$0$28978$e4fe514c(a)news.xs4all.nl>, > Frank <no(a)spam.org> wrote: >> Hello, >> >> I noticed that there is a limit on the amount of links (or directories) >> in a directory. {snip} >> Can this be tuned somehow? > > yes. ... is the wrong answer. The link count for a directory (or in fact for any file on a UFS filesystem) is limited to 32767, as the link count in the inode is a short int (see /usr/include/sys/fs/ufs_inode.h). This means you can have a maximum of 32765 subdirectories in a directory (the other two links already being taken by '.' and '..'). -- Tony
From: Roland Mainz on 8 Feb 2005 14:06 Tony Walton wrote: > > In article <4208e98d$0$28978$e4fe514c(a)news.xs4all.nl>, > > Frank <no(a)spam.org> wrote: > >> Hello, > >> > >> I noticed that there is a limit on the amount of links (or directories) > >> in a directory. > > {snip} > >> Can this be tuned somehow? > > > > yes. > > .. is the wrong answer. > > The link count for a directory (or in fact for any file on a UFS > filesystem) is limited to 32767, as the link count in the inode is a > short int (see /usr/include/sys/fs/ufs_inode.h). This means you can > have a maximum of 32765 subdirectories in a directory (the other two > links already being taken by '.' and '..'). How will ZFS deal with the problem ? Just increase the datatype for the link counter to 2^32 or 2^64 or will a completely different approach be used ? ---- Bye, Roland -- __ . . __ (o.\ \/ /.o) roland.mainz(a)nrubsig.org \__\/\/__/ MPEG specialist, C&&JAVA&&Sun&&Unix programmer /O /==\ O\ TEL +49 641 7950090 (;O/ \/ \O;)
From: Casper H.S. Dik on 8 Feb 2005 14:56 Frank <no(a)spam.org> writes: >I noticed that there is a limit on the amount of links (or directories) >in a directory. Apparently a directory can contain about 2^15 >subdirectories (32765) but after that the following message appears: Correct. >mkdir: Failed to make directory "blah"; Too many links >I'm running Solaris 9 4/03 64bit with kernel patch 117171-17. This all >takes place on UFS filesystem on SVM device. >Is this limit a limit of UFS or Solaris? UFS. >Are there other filesystems available that do not have this limit or do >have a higher limit? "ZFS" (which doesn't exist yet). >Can this be tuned somehow? No. Casper -- Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems. Statements on Sun products included here are not gospel and may be fiction rather than truth.
First
|
Prev
|
Pages: 1 2 Prev: Concatentating Solaris-10 DVD downloded from sun.com. Next: Some warning whilst starting Solaris 10 x86 |