1992.12.23

SUBJECT: "no inodes free" error¿¡ ´ëÇØ

DESCRIPTION:
* disk space´Â ¿©À¯ Àִµ¥µµ ¶Ç´Â "no space left on device"¶ó´Â ¸Þ½ÃÁö¿Í ÇÔ²²
  inode ¾î¼±¸ Çϸ鼭 fileÀÌ »ý¼ºµÇÁö ¾Ê´Â °æ¿ì°¡ Á¾Á¾ ÀÖ´Ù.
* ÀÌ´Â 'diskÀÇ ÇÑ partition Áï filesystemÀÌ °¡Áú ¼ö ÀÖ´Â file ¼ö' Áï 'inode °¹¼ö'¸¦
  ÀÌ¹Ì ÃÊ°úÇÏ¿´±â ¶§¹®¿¡ ¹ß»ýÇÏ´Â °æ¿ìÀÌ´Ù.
  SunOS´Â default·Î 2048 byte¿¡ ´ëÇØ inode Çϳª¸¦ ÇÒ´çÇÑ´Ù.
  Áï diskÀÇ ÇÑ partition(filesystem)Àº partition(filesystem) Àüü Å©±â¸¦
  2048 byte·Î ³ª´« °á°ú°ª ¸¸Å­À» inode °¹¼ö·Î °¡Áö´Â °Í.
  µû¶ó¼­ ÇÑ partitionÀÌ °¡Áö°í ÀÖ´Â ÃÖ´ë inode ¼ö¸¦ ÃÊ°úÇÏ¿©
  fileÀÌ »ý¼ºµÇ·Á´Â °æ¿ì ÀÌ·± error°¡ ¹ß»ýÇÏ´Â °ÍÀÌ´Ù.
* ¹®Á¦ÀÇ ÇØ°áÀº ÇÑ partitionÀÌ °¡Áö°í ÀÖ´Â inodeÀÇ °¹¼ö¸¦ ´Ã¸®¸é µÇ´Â °ÍÀÌ°í
  file systemÀ» ¸¸µé¶§ À̸¦ Á¶Á¤ÇÏ¸é µÈ´Ù.
* ÇØ°á ÀýÂ÷
  1) ¹®Á¦ ¹ß»ýÇÑ partitionÀ» dump ¹Þ´Â´Ù.
  2) ÇØ´ç partitionÀÇ newfs½Ã "-i" optionÀ» »ç¿ëÇÏ¿© inode°¹¼ö¸¦ ´Ã·Á ÁØ´Ù. 
        # newfs -i 1024
     "1024"´Â file systemÀÇ inode density·Î inode´ç ÇÒ´çµÇ´Â byte¸¦ ÀǹÌÇÑ´Ù.
     +-----------------------------------------+
     |   # umount /user                        |
     |   # newfs -i 1024 /dev/rsd1g            |
     |   # fsck /dev/sd1g                      |
     |   # mount /dev/sd1g /user               |
     |   # df -i                               |
     +-----------------------------------------+
  3) dump¹Þ¾Ò´ø °ÍÀ» restore½ÃŲ´Ù.


Revision History
Created        on Nov. 23 ,1992