Partitioning & mounting - please confirm/correct my understanding
Posted on 2003-03-28
I'm learning about partitioning and mounting today, as I ran out of space on my root mount.
I started out with the following partitions:
# hda1 Boot Primary Linux ext2 2500.49
# hda2 Primary Linux swap 254.99
# hda3 Primary Linux 2500.49
# Logical Free Space 1192.68
# root@julia:~# df
# Filesystem 1k-blocks Used Available Use% Mounted on
# /dev/hda1 2365268 2178684 64492 98% /
Not knowing if hda3 was contains information, I decided to play it safe and test this by creating a new partition (cfdisk & reboot) at /dev/hda5 (why wasn't it assigned 4 ?), used mkfs to format (is that a correct term? "build a Linux file system" sounds weird) and then mounted it succesfully.
After this, it is my understanding that hda3 is partitioned (during installation I guess), yet never formatted (and mounted), as I get the following error when I try to mount it:
# root@julia:~# mount /dev/hda3 /tmp/testmount/ -t autofs
# mount: wrong fs type, bad option, bad superblock on /dev/hda3,
# or too many mounted file systems
(before I used mkfs on hda5, I tried to mount it and got this error, which lead me to my assumption that the formating step was missing)
Is my assumption correct that this space is currently unused and that all I need to do is format and mount it?
Thanks for your patience,