Professional Web Applications Themes

out of space - Sun Solaris

hi all, I have a test box that I have been mucking around on. I installed Solaris 9 and samba and webmin which all work great. (thanks in a large part to help I got here). I am trying to test cups printing and the ESP Print Pro from easysw. I was having trouble getting it to compile correctly. anyway I did a df -k and got bash-2.05# df -k Filesystem kbytes used avail capacity Mounted on /dev/dsk/c0d0s0 1454526 1384207 12138 100% / /dev/dsk/c0d0p0:boot 11484 1509 9975 14% /boot /proc 0 0 0 0% /proc mnttab 0 0 0 0% ...

  1. #1

    Default out of space

    hi all, I have a test box that I have been mucking around on. I installed
    Solaris 9 and samba and webmin which all work great. (thanks in a large part
    to help I got here).

    I am trying to test cups printing and the ESP Print Pro from easysw. I was
    having trouble getting it to compile correctly. anyway I did a df -k and got

    bash-2.05# df -k
    Filesystem kbytes used avail capacity Mounted on

    /dev/dsk/c0d0s0 1454526 1384207 12138 100% /
    /dev/dsk/c0d0p0:boot 11484 1509 9975 14% /boot
    /proc 0 0 0 0% /proc
    mnttab 0 0 0 0% /etc/mnttab
    fd 0 0 0 0% /dev/fd
    swap 836404 20 836384 1% /var/run
    swap 836388 4 836384 1% /tmp
    /dev/dsk/c0d0s7 3818830 851667 2928975 23% /export/home

    I looked at it a said ....bugger / is full.

    Is there any easy way to get around this? like mount another disk or should
    I just start over and format it and give my self ALOT more room on the /
    partition next time...........LOL

    tia

    PS no need to comment on my stupidity or lack of intelligence or grammatical
    mistakes am 2003, don't need it today thank you very much.


    NM Guest

  2. #2

    Default Re: out of space

    NM wrote:
     

    I would guess the problem is that all your programs go into /usr (usually)
    and you dont have a /usr slice (partition) - so everything ends up in the
    root partition (/usr hangs off root right?).

    You probably have enough space to repartition without re-installing (ie,
    boot in run level 1, move /usr to /export/home, resize root, resize
    /export/home, make reclaimed space /usr etc....if you know how to do this -
    great, if not, either figure it out or re-install). However this may not
    be possible depending on how your slices are laid out.

    Here's my suggestion for repartitioning:
    Kb Mb
    Root (/) 10% 695763.2 679.46
    /boot 5% 347881.6 339.73
    /var/run 10% 695763.2 679.46
    /tmp 10% 695763.2 679.46
    /export/home 25% 1739408 1698.64
    /usr 40% 2783052.8 2717.83
    -----------------------------------------
    100% 6957632 6794.56

    HTH - play with the numbers a little based on your current setup (hint - use
    "du -s" to get summaries of the disk usage per directory etc) so that it
    works.

    Cheers,

    --James
    __________________________________
    A random quote of nothing:

    BOFH excuse #329:

    Server depressed, needs Prozak

    Centurion Guest

  3. #3

    Default Re: out of space


    "Centurion" <com> wrote in message
    news:grayonline.id.au... [/ref]
    installed [/ref]
    was [/ref]
    on 
    >
    > I would guess the problem is that all your programs go into /usr (usually)
    > and you dont have a /usr slice (partition) - so everything ends up in the
    > root partition (/usr hangs off root right?).
    >
    > You probably have enough space to repartition without re-installing (ie,
    > boot in run level 1, move /usr to /export/home, resize root, resize
    > /export/home, make reclaimed space /usr etc....if you know how to do[/ref]
    this - 
    use 
     
    experience anyway............:)

    cheers m8


    NM Guest

  4. #4

    Default Re: out of space

    HI,


    NM wrote: 
    The simplest and best way is to have a huge /, put /var in a 1-2 GB
    partition, a 1GB swap and the rest all of it to /.

    There are many opinions on having filesystems in different partitions,
    but the main reason for that is to have the filesystems on different
    disks and in the old times for restore purpose.

    Today it is 2003 :))

    But they way, if you need to make a filesystem that has been mounted on
    one place appear in a new place, avoid linking try to use lofs instead
    see a piece of /etc/vfstab here where /export/u4/SunOS/5.8/sparc/csw is
    remounted in /opt/csw

    /export/u4/SunOS/5.8/sparc/csw - /opt/csw lofs 2 yes -

    /michael

    Michael Guest

  5. #5

    Default Re: out of space



    "Michael Laajanen" <com> wrote in message
    news:com... [/ref]
    installed [/ref]
    part [/ref]
    was [/ref]
    got [/ref]
    should 
    > The simplest and best way is to have a huge /, put /var in a 1-2 GB
    > partition, a 1GB swap and the rest all of it to /.
    >
    > There are many opinions on having filesystems in different partitions,
    > but the main reason for that is to have the filesystems on different
    > disks and in the old times for restore purpose.
    >
    > Today it is 2003 :))
    >
    > But they way, if you need to make a filesystem that has been mounted on
    > one place appear in a new place, avoid linking try to use lofs instead
    > see a piece of /etc/vfstab here where /export/u4/SunOS/5.8/sparc/csw is
    > remounted in /opt/csw
    >
    > /export/u4/SunOS/5.8/sparc/csw - /opt/csw lofs 2 yes -
    >
    > /michael
    >[/ref]

    oh ok...............I think i get it .............

    good idea

    thanks a bunch man

    cheers Michael


    NM Guest

  6. #6

    Default Re: out of space



    "Michael Laajanen" <com> wrote in message
    news:com... [/ref]
    installed [/ref]
    part [/ref]
    was [/ref]
    got [/ref]
    should 
    > The simplest and best way is to have a huge /, put /var in a 1-2 GB
    > partition, a 1GB swap and the rest all of it to /.
    >
    > There are many opinions on having filesystems in different partitions,
    > but the main reason for that is to have the filesystems on different
    > disks and in the old times for restore purpose.
    >
    > Today it is 2003 :))
    >
    > But they way, if you need to make a filesystem that has been mounted on
    > one place appear in a new place, avoid linking try to use lofs instead
    > see a piece of /etc/vfstab here where /export/u4/SunOS/5.8/sparc/csw is
    > remounted in /opt/csw
    >
    > /export/u4/SunOS/5.8/sparc/csw - /opt/csw lofs 2 yes -
    >
    > /michael
    >[/ref]

    thanks again I have decided to refresh my solaris install skills and start
    over ;-)
    I will be giving a lot more room to the / slice

    thanks again and thanks for the lofs hint


    NM Guest

Similar Threads

  1. Not enough space
    By Min_Suk@adobeforums.com in forum Adobe Acrobat Windows
    Replies: 2
    Last Post: June 9th, 10:18 AM
  2. max hdd space
    By gkranis in forum Sun Solaris
    Replies: 4
    Last Post: September 10th, 07:54 PM
  3. used space for DMS
    By Philip Nelson in forum IBM DB2
    Replies: 1
    Last Post: August 5th, 03:47 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