[TriLUG] Claiming an unused partition

Rick DeNatale rick.denatale at gmail.com
Wed Sep 15 13:36:04 EDT 2004


Thanks


On Wed, 15 Sep 2004 13:29:47 -0400, Jason Tower <jason at cerient.net> wrote:
> oops, that's mkfs.ext3 (or mke2fs -j) /dev/sdaX, not sdbX.  don't want
> to overwrite an existing filesystem :-)
> 
> jason
> 
> 
> 
> On Wednesday 15 September 2004 13:27, Jason Tower wrote:
> > just run fdisk /dev/sda and create a new partition, you can do this
> > on a running system just fine.  then run mkfs.ext3 (or mke2fs -j)
> > /dev/sdbX to make a filesystem on it.  create a mount point and mount
> > it, make an entry in /etc/fstab if you want to make it permanent and
> > you're all set, no rebooting required.
> >
> > jason
> >
> > On Wednesday 15 September 2004 13:20, Rick DeNatale wrote:
> > > I've got two 9GB SCSI drives.  fdisk -l reports:
> > >
> > > Disk /dev/sda: 9100 MB, 9100369920 bytes
> > > 255 heads, 63 sectors/track, 1106 cylinders
> > > Units = cylinders of 16065 * 512 = 8225280 bytes
> > >
> > >    Device Boot    Start       End    Blocks   Id  System
> > > /dev/sda1   *         1        13    104391   83  Linux
> > > /dev/sda2            14        78    522112+  82  Linux swap
> > >
> > > Disk /dev/sdb: 9100 MB, 9100369920 bytes
> > > 255 heads, 63 sectors/track, 1106 cylinders
> > > Units = cylinders of 16065 * 512 = 8225280 bytes
> > >
> > >    Device Boot    Start       End    Blocks   Id  System
> > > /dev/sdb1   *         1      1106   8883913+  83  Linux
> > >
> > > So I'm not using most of dev/sda, it only has two small partitions,
> > > boot and swap
> > >
> > > What's the best way to create a new partition or partitions in the
> > > unused space? Can I do this from a running system, or do I really
> > > need to reboot from a floppy? What's the best tool to use?
> > >
> > > I've never repartitioned a linux system before, so I'm a little
> > > skeered! I'm still running RH9 (I know, I know)
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc
>



More information about the TriLUG mailing list