You are not logged in.

#1 2011-11-03 01:19:42

Tae
Member
Registered: 2010-08-31
Posts: 32

[Solved] cfdisk: 128 GB, mkfs: 26 GB

Hi there:

I had 2 NTFS partitions in the same HD wherein Arch is installed. I unmounted and eliminate them with cfdisk and then did a new partition with all the free space, resulting in 128 GB. Then I formatted:

sudo mkfs.ext3 /dev/sda1 -L home

or

sudo mke2fs -t ext3 -L home /dev/sda1

or

sudo mke2fs -t ext4 -L home /dev/sda1

or

sudo mkfs.ext4 /dev/sda1 -L home

or

sudo mkfs.ext4 /dev/sda1

Then

sudo mount -a

But with all the commands, all I get is a new partition of 26GB, reported by Nautilus and df -h. No errors. According to cfdisk the partition still have a size of 128 GB and doesn't have any associated label, according to Nautilus it does. Any clue why this may be happenig?

Thanks beforehand.

Last edited by Tae (2012-12-16 14:11:39)

Offline

#2 2011-11-03 15:03:15

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [Solved] cfdisk: 128 GB, mkfs: 26 GB

You sure you really wanted to format sda1? 'mount -a' will only mount the partitions listed in fstab (do you have the partition correctly listen in fstab?), also did you force a reload of the partition table _before_ formatting the partition?

Whats the output of 'fdisk -l /dev/sda' ?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#3 2011-11-29 00:58:47

Tae
Member
Registered: 2010-08-31
Posts: 32

Re: [Solved] cfdisk: 128 GB, mkfs: 26 GB

I did not reload the partition table. I had always created them when installing a new system, so I did not know I had to do it ^ ^ Thanks for the help, R00KIE.

Offline

Board footer

Powered by FluxBB