Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I increase the number of inodes when creating a new file system?

0
Posted

How can I increase the number of inodes when creating a new file system?

0

There is a limit on the number of inodes per cylinder group (2048). Large disks (2-4GB) are setup so that each cylinder group is quite large (>5MB) so that when ‘newfs’ creates the file system, it hits the limit quickly and you end up with a disk with a “small” amount of inodes. The trick is to use the ‘-c’ option to ‘newfs’ to make each cylinder smaller by reducing the number of cylinders per group. In many cases, ‘newfs -c 8’ works well. Of course, you should use this in combination with the ‘-i’ option as well.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123