Professional Web Applications Themes

inode - FreeBSD

What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it tells me there are not enough inodes ? Aldo there is diskspace availeble ? Does it mean there are to many directories ? Can you fix this ?...

  1. #1

    Default inode

    What is a inode ? I installed freebsd 5.3 on a 2gb harddisk and it
    tells me there are not enough inodes ? Aldo there is diskspace
    availeble ?

    Does it mean there are to many directories ? Can you fix this ?
    Gert Guest

  2. #2

    Default Re: inode

    Gert Cuykens wrote:
     
    I suppose there is no disk space available on some partition. When this
    message apears ? Or, you can check it out bu df -h command.

    Vladimir

    Vladimir Guest

  3. #3

    Default Re: inode

    On 2005-03-16 13:05, Gert Cuykens <com> wrote: 

    i-nodes are the areas where the file system saves information such as
    the owner, the size and pointers to the data area of a normal or special
    file or a directory.

    2 GB is a lot of space for a virgin FreeBSD installation. The base
    system takes up to 170 MB on a clean disk here.

    - Have you tweaked the newfs options that sysinstall used?
    - Have you installed any extra packages? How many and which?

    Giorgos Guest

  4. #4

    Default Re: inode

    On Wed, 16 Mar 2005 14:13:09 +0200, Giorgos Keramidas
    <upatras.gr> wrote: 
    >
    > i-nodes are the areas where the file system saves information such as
    > the owner, the size and pointers to the data area of a normal or special
    > file or a directory.
    >
    > 2 GB is a lot of space for a virgin FreeBSD installation. The base
    > system takes up to 170 MB on a clean disk here.
    >
    > - Have you tweaked the newfs options that sysinstall used?
    > - Have you installed any extra packages? How many and which?
    >[/ref]

    No i just installed 5.3 i386 base and ports and there is plenty of
    freespace on all default partitions availeble but when i do mkdir it
    tells me no inodes availeble.
    Gert Guest

  5. #5

    Default Re: inode

    On 2005-03-16 13:22, Gert Cuykens <com> wrote: 
    >>
    >> i-nodes are the areas where the file system saves information such as
    >> the owner, the size and pointers to the data area of a normal or special
    >> file or a directory.
    >>
    >> 2 GB is a lot of space for a virgin FreeBSD installation. The base
    >> system takes up to 170 MB on a clean disk here.
    >>
    >> - Have you tweaked the newfs options that sysinstall used?
    >> - Have you installed any extra packages? How many and which?[/ref]
    >
    > No i just installed 5.3 i386 base and ports and there is plenty of
    > freespace on all default partitions availeble but when i do mkdir it
    > tells me no inodes availeble.[/ref]

    Show us the output of:

    # df -ik

    Giorgos Guest

  6. #6

    Default Re: inode

    On Wed, 16 Mar 2005 14:27:21 +0200, Giorgos Keramidas
    <upatras.gr> wrote: 
    > >
    > > No i just installed 5.3 i386 base and ports and there is plenty of
    > > freespace on all default partitions availeble but when i do mkdir it
    > > tells me no inodes availeble.[/ref]
    >
    > Show us the output of:
    >
    > # df -ik
    >[/ref]

    $ df -ik
    Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on
    /dev/ad0s1a 253678 35430 197954 15% 981 32041 3% /
    devfs 1 1 0 100% 0 0 100% /dev
    /dev/ad0s1e 253678 6 233378 0% 3 33019 0% /tmp
    /dev/ad0s1f 673024 332902 286282 54% 87038 0 100% /usr
    /dev/ad0s1d 253678 240 233144 0% 98 32924 0% /var
    $

    Its only the /usr partition that seems to have inode problems
    Gert Guest

  7. #7

    Default Re: inode

    On 2005-03-16 13:49, Gert Cuykens <com> wrote: 
    >
    > $ df -ik
    > Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on
    > /dev/ad0s1a 253678 35430 197954 15% 981 32041 3% /
    > devfs 1 1 0 100% 0 0 100% /dev
    > /dev/ad0s1e 253678 6 233378 0% 3 33019 0% /tmp
    > /dev/ad0s1f 673024 332902 286282 54% 87038 0 100% /usr[/ref]

    Here you are. Your /usr partition has no free i-nodes. Probably
    because you used too large block/fragment sizes when it was newfs'd.

    You have two options, both of which involve a reinstallation:

    a) Resplit the disk giving more space to /usr.
    b) Use a single, big root partition.

    One possible layout, if you choose (a) could be:

    Filesystem Size Mount-point Other
    /dev/ad0s1a 100-200 MB / -
    /dev/ad0s1b ??? MB - (swap, tmpfs)
    /dev/ad0s1e 200-300 MB /var -
    /dev/ad0s1f rest /usr the rest of the disk

    You can then use /usr/home for the home directories of users, and have
    most of your space in /usr (where it is needed).

    Giorgos Guest

  8. #8

    Default Re: inode

    > Here you are. Your /usr partition has no free i-nodes. Probably 

    I pict default partitioning ? How big does the /usr need to be for
    base, ports mysql php apache ?

    Is there a make command that tells you how much space it needs to install ?
    Gert Guest

  9. #9

    Default Re: inode

    On 2005-03-16 14:21, Gert Cuykens <com> wrote: 
    >
    > I pict default partitioning ? How big does the /usr need to be for
    > base, ports mysql php apache ?[/ref]

    Well, the default is just that: a "default". It certainly doesn't fit
    all the possible setups and all the possible installations. It's not
    that bad to diverge from the default a bit, when needed.
     

    None that I know of.

    Giorgos Guest

  10. #10

    Default Re: inode


    * Giorgos Keramidas [2005-03-16 15:06 +0200] 
    >
    > You have two options, both of which involve a reinstallation:
    >
    > a) Resplit the disk giving more space to /usr.
    > b) Use a single, big root partition.[/ref]


    If he should not have the possibility to just wipe the entire disk to
    reinstall it (eg. this is his only disk and it is full of valuable data),
    he might be able to boot into single user, mount /usr and /tmp, and cram
    the entire contents of /usr into /tmp (using some sort of compression, e.g
    gzip) and then newfs /usr with more sensible values before restoring the
    contents from /tmp.

    Svein Guest

  11. #11

    Default Re: inode

    On 03/16/05 08:06:03, Giorgos Keramidas wrote: 
    > >
    > > $ df -ik
    > > Filesystem 1K-blocks Used Avail Capacity iused ifree %iused[/ref]
    > Mounted on 
    > /dev 
    > /tmp 
    > /usr
    >
    > Here you are. Your /usr partition has no free i-nodes. Probably
    > because you used too large block/fragment sizes when it was newfs'd.
    >
    > You have two options, both of which involve a reinstallation:
    >
    > a) Resplit the disk giving more space to /usr.
    > b) Use a single, big root partition.
    >
    > One possible layout, if you choose (a) could be:
    >
    > Filesystem Size Mount-point Other
    > /dev/ad0s1a 100-200 MB / -
    > /dev/ad0s1b ??? MB - (swap, tmpfs)
    > /dev/ad0s1e 200-300 MB /var -
    > /dev/ad0s1f rest /usr the rest of the
    > disk
    >
    > You can then use /usr/home for the home directories of users, and
    > have
    > most of your space in /usr (where it is needed).
    >[/ref]

    Maybe you could do 100-200MB for / and /var. Here is my system:


    $ df -h
    Filesystem Size Used Avail Capacity Mounted on
    /dev/ad0s2a 248M 66M 162M 29% /
    devfs 1.0K 1.0K 0B 100% /dev
    /dev/ad0s2e 248M 21M 207M 9% /tmp
    /dev/ad0s2f 27G 19G 5.4G 78% /usr
    /dev/ad0s2d 248M 40M 188M 17% /var
    /dev/ad0s1 8.0G 7.9G 153M 98% /usr/ntfs
    $

    Jason Guest

Similar Threads

  1. unexpected free inode
    By Ken V. Broezell {QMCS11} in forum Linux / Unix Administration
    Replies: 3
    Last Post: May 17th, 04:35 PM
  2. mv within the same filesystem, inode change allowed?
    By Michael in forum UNIX Programming
    Replies: 19
    Last Post: October 27th, 08:36 AM
  3. Locate a file by Inode
    By S Derman in forum UNIX Programming
    Replies: 5
    Last Post: July 11th, 08:03 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139