Prev: Concatentating Solaris-10 DVD downloded from sun.com.
Next: Some warning whilst starting Solaris 10 x86
From: Frank on 8 Feb 2005 11:32 Hello, 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: 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? Are there other filesystems available that do not have this limit or do have a higher limit? Can this be tuned somehow? Regards, Frank
From: Jay G. Scott on 8 Feb 2005 12:51 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. Apparently a directory can contain about 2^15 >subdirectories (32765) but after that the following message appears: > >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? >Are there other filesystems available that do not have this limit or do >have a higher limit? >Can this be tuned somehow? yes. RTM: specifically, mkfs, tunefs, newfs, and similar. i know it's there but i haven't had to do it, so where it is, i don't remember. there's a default number of inodes determined by file system size, and you're going to alter that. j. > >Regards, >Frank -- Jay Scott 512-835-3553 gl(a)arlut.utexas.edu Head of Sun Support, Sr. Operating Systems Specialist Applied Research Labs, Computer Science Div. S224 University of Texas at Austin
From: Frank on 8 Feb 2005 12:07 Jay G. Scott wrote: [...] > > yes. > > RTM: specifically, mkfs, tunefs, newfs, and similar. i know it's there but i > haven't had to do it, so where it is, i don't remember. there's a default > number of inodes determined by file system size, and you're going > to alter that. > > j. > [] I know about the inode density (-i option to newfs), but that is not the problem here. There are lots of inodes free on the filesystem, but the thing is that in a "directory" there can only be 2^15 subdirectories or links. This is another limit. Regards,
From: Darren Dunham on 8 Feb 2005 12:17 Frank <no(a)spam.org> wrote: > Hello, > 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: > 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? No. > Can this be tuned somehow? No. It's fundamental. The inode contains the number of links for each inode. Creating a subdirectory means increasing the link count of the parent directory. At some point, the limit of the number of links that the inode can record is reached. You would have to change the on-disk format of an inode to modify it. http://groups-beta.google.com/group/comp.unix.solaris/browse_thread/thread/b3fedfc2f09af135 -- Darren Dunham ddunham(a)taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. >
From: Darren Dunham on 8 Feb 2005 12:24 Darren Dunham <ddunham(a)redwood.taos.com> wrote: >> Are there other filesystems available that do not have this limit or do >> have a higher limit? > No. Oops. Read that wrong. Actually, I don't know what limits are present in other filesystems (other than VxFS appears to have the same one). QFS/SAM-FS.. ?? Multi-TB UFS.. ?? ZFS may well remove that limit. -- Darren Dunham ddunham(a)taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. >
|
Next
|
Last
Pages: 1 2 Prev: Concatentating Solaris-10 DVD downloded from sun.com. Next: Some warning whilst starting Solaris 10 x86 |