OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: daniel paranhos zitterbart (bert_at_ch5.de)
Date: Tue Oct 15 2002 - 09:23:15 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    hej folks

    I'm maintaining a little server, and now i got a problem:

    my root partition / filled up to 93%
    here what df says:

    rootfsi-server:~# df
    Filesystem 512-blocks Used Avail Capacity Mounted on
    /dev/sd0a 581022 512500 39472 93% /
    /dev/sd0b 7614704 617388 6616582 9% /home

    while installing i made a mistake and confused the df print of openbsd
    which shows 512k blocks with the linux's one that shows 1M blocks. But i
    realised it too late.
    now root is 250Megs, and that a little bit too small.
    But theres a lot of place available at /home, and the data at /home
    maybe saved on another server, so i could erase it and delete the
    partition.
    Now my question:
    is there possibility to resize / while the system is mounted.
    Unfortunately, im in sweden and my server is in germany, so there is no
    possibilty to use a bootdisk or things likt that. I've got only ssh.
    here the fdisk printout, only for interests:
    rootfsi-server:~# fdisk sd0
    Disk: sd0 geometry: 527/255/63 [8466255 Sectors]
    Offset: 0 Signature: 0xAA55
             Starting Ending LBA Info:
     #: id C H S - C H S [ start: size ]
    ------------------------------------------------------------------------
     0: 00 0 0 0 - 0 0 0 [ 0: 0 ]
    unused
     1: 00 0 0 0 - 0 0 0 [ 0: 0 ]
    unused
     2: 00 0 0 0 - 0 0 0 [ 0: 0 ]
    unused
    *3: A6 0 1 1 - 526 254 63 [ 63: 8466192 ] OpenBSD

    tia

    daniel paranhos zitterbart

    -- 
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Daniel Paranhos Zitterbart		
    

    ircnet: #ch5 (irc.uni-erlangen.de) mail: bertch5.de PGP public key at http://bert.ch5.de +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++