Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Mar 2006 10:30:12 -0500
From:      "Scott Hiemstra" <shiemstra@h2.com>
To:        <freebsd-questions@freebsd.org>
Subject:   Add partition to existing disk
Message-ID:  <20060329152813.002BE43D45@mx1.FreeBSD.org>

next in thread | raw e-mail | index | archive | help
I have an existing system which I cannot reinstall and sysinstall seems like
too much of a wizard to use on a well running existing system.  When I built
the system 2 years ago I decided to leave about 25GB of unpartitioned space
for future unknown projects, I now have a use for the space but I can't for
the life of me figure out exactly what steps are needed to use the space.

The system is configured as follows:
Dell PE 2650 with 3x36GB drives in a Hardware RAID 5 on a PERC controller
4.11-STABLE

And the currect disklabel is:
#disklabel aacd0s1
# /dev/aacd0s1c:
type: ESDI
disk: aacd0s1
label:
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 8849
sectors/unit: 142175187
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # milliseconds
track-to-track seek: 0  # milliseconds
drivedata: 0

8 partitions:
#        size   offset    fstype   [fsize bsize bps/cpg]
  a:  4096000        0    4.2BSD     2048 16384    90   # (Cyl.    0 - 254*)
  b:  3072000  4096000      swap                        # (Cyl.  254*- 446*)
  c: 142175187        0    unused        0     0        # (Cyl.    0 -
8849*)
  e: 12288000  7168000    4.2BSD     2048 16384    89   # (Cyl.  446*-
1211*)
  f:  4096000 19456000    4.2BSD     2048 16384    90   # (Cyl. 1211*-
1466*)
  g: 61440000 23552000    4.2BSD     2048 16384    89   # (Cyl. 1466*-
5290*)

As you can see I have space available from 84992000 through 142175187.  I
have done similar things in Solaris and other OS's but I'm just not sure
exactly what the FreeBSD steps are to utilize this space.

Any pointers are appreciated.


Thanks,
Scott






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060329152813.002BE43D45>