Newly Partitioned Secondary Hard drive has 15.70 GiB already used

Hello Everyone. New to Linux/Manjaro. I made the leap to switch from Windows today and installed Manjaro Kde version on my PC.

I saw that my secondary hard drive still had files and folders from my Windows installation and I couldn’t delete them. I found this archived topic and it helped me format the hard disk: [Preformatted text](https://archived.forum.manjaro.org/t/folders-are-locked-can-access-to-them-but-cant-delete-permanently/25964/14)

But now I see 15.70 GiB of used space on this newly partitioned hard drive. Is this normal?

The only folder I see in the hard drive is lost+found, which I cannot delete.

Please let me know more. Thanks!

Linux has several filesystems ext4, btrfs,… and you should not try to install Linux on ntfs.
If you have formatted the drive with a Linux filesystem, then this is ok.
All Linux filesystems have a journal, which consumes space on the drive.
The filesystem itself needs spcae on the disc.

1 Like

It’s probably the reserved space for root.

1 Like

No, not normal.

Give real information about the disk, the partition, that we can look at. From what you say this is not normal but you may give improper information. What is output of lsblk and df -Th commands for example?

Possible, but that would mean he roughly has a 300GB disk/partition then?

1 Like

The information about the partition is not enough to give an proper answer.
Ext4 has default 5% reserved space on the partition.

2 Likes

Hi @vaishnav.gade, and welcome!

As mentioned by others, this is both normal, and not. So to give a more correct answer, we need more information. To that end, please provide the output for

sudo fdisk -h

P.S.: When providing terminal output, wrap the text in 3 backticks (```) before as well as after the text. Like this:

```
pasted text
```

This will just cause it to be rendered like this:

Ut placerat placerat
commodo
placerat tristique nunc
amet dolor quam ex quis
ac maximus
pellentesque magna
purus quam rutrum
cursus enim ac et purus magna.

instead of like this:

Ut placerat placerat commodo placerat tristique nunc amet dolor quam ex quis ac maximus pellentesque magna purus quam rutrum cursus enim ac et purus magna.

making it much more legible, thus easier for those trying to provide assistance and increasing your chances to receive said assistance.

Alternatively, paste the text, select it all and press the “Preformatted text” (</>) button on the toolbar.

1 Like

Hi @omano here is the output for those commands:

df -Th:

Filesystem     Type      Size  Used Avail Use% Mounted on
dev            devtmpfs  7.8G     0  7.8G   0% /dev
run            tmpfs     7.8G  1.5M  7.8G   1% /run
/dev/sda1      ext4      440G   16G  402G   4% /
tmpfs          tmpfs     7.8G   38M  7.8G   1% /dev/shm
tmpfs          tmpfs     7.8G   18M  7.8G   1% /tmp
tmpfs          tmpfs     1.6G   84K  1.6G   1% /run/user/1000
/dev/sdb1      ext4      916G   28K  870G   1% /run/media/ellimist/HDD

lsblk:

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda      8:0    0 447.1G  0 disk 
└─sda1   8:1    0 447.1G  0 part /
sdb      8:16   0 931.5G  0 disk 
└─sdb1   8:17   0 931.5G  0 part /run/media/ellimist/HDD

Thank you for taking the time!

The drive is partitioned with Ext4 and it might be just that, it is the default 5%. Just want to confirm, since others seems to think it might not be normal.

Thanks for taking the time!

Hi @Mirdarthos, thanks!

Here is the output for sudo fdisk -h :

Usage:
 fdisk [options] <disk>         change partition table
 fdisk [options] -l [<disk>...] list partition table(s)

Display or manipulate a disk partition table.

Options:
 -b, --sector-size <size>      physical and logical sector size
 -B, --protect-boot            don't erase bootbits when creating a new label
 -c, --compatibility[=<mode>]  mode is 'dos' or 'nondos' (default)
 -L, --color[=<when>]          colorize output (auto, always or never)
                                 colors are enabled by default
 -l, --list                    display partitions and exit
 -x, --list-details            like --list but with more details
 -n, --noauto-pt               don't create default partition table on empty devices
 -o, --output <list>           output columns
 -t, --type <type>             recognize specified partition table type only
 -u, --units[=<unit>]          display units: 'cylinders' or 'sectors' (default)
 -s, --getsz                   display device size in 512-byte sectors [DEPRECATED]
     --bytes                   print SIZE in bytes rather than in human readable format
     --lock[=<mode>]           use exclusive device lock (yes, no or nonblock)
 -w, --wipe <mode>             wipe signatures (auto, always or never)
 -W, --wipe-partitions <mode>  wipe signatures from new partitions (auto, always or never)

 -C, --cylinders <number>      specify the number of cylinders
 -H, --heads <number>          specify the number of heads
 -S, --sectors <number>        specify the number of sectors per track

 -h, --help                    display this help
 -V, --version                 display version

Available output columns:
 gpt: Device Start End Sectors Size Type Type-UUID Attrs Name UUID
 dos: Device Start End Sectors Cylinders Size Type Id Attrs Boot End-C/H/S Start-C/H/S
 bsd: Slice Start End Sectors Cylinders Size Type Bsize Cpg Fsize
 sgi: Device Start End Sectors Cylinders Size Type Id Attrs
 sun: Device Start End Sectors Cylinders Size Type Id Flags

For more details see fdisk(8).

Thanks for taking the time!

ERGH!!! :man_facepalming: I meant

sudo fdisk -l

So, so, so sorry.

1 Like

No worries :slight_smile:

sudo fdisk -l

Disk /dev/sda: 447.13 GiB, 480103981056 bytes, 937703088 sectors
Disk model: SanDisk SDSSDA48
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x3e36439f

Device     Boot Start       End   Sectors   Size Id Type
/dev/sda1  *     2048 937697984 937695937 447.1G 83 Linux


Disk /dev/sdb: 931.51 GiB, 1000204886016 bytes, 1953525168 sectors
Disk model: WDC WD10EZEX-00W
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 6C346C37-1B75-F74A-B645-B1826C788C83

Device     Start        End    Sectors   Size Type
/dev/sdb1   2048 1953523711 1953521664 931.5G Linux filesystem

Just to add to this, it is /dev/sdb(1) that I see taking extra space.

And I still can’t create new folders in this drive. Which I’m guessing I’ll have to create a new topic for?

Thanks!

It looks perfectly normal to me. Some of the space on a hard drive is used by the hard drive itself. As example, here is my 5TB’s output:

Disk /dev/sda: 4.55 TiB, 5000981078016 bytes, 9767541168 sectors
Disk model: ST5000VX0011-1T3
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: FDA7E649-5048-9045-9D94-CED7ECF3B0C8

Device     Start        End    Sectors  Size Type
/dev/sda1   2048 9767541134 9767539087  4.5T Linux filesystem

1 Like

Thank you so much! I just wanted confirmation. The hard drive still doesn’t let me create new files, so I wasn’t sure if it was properly formatted.

That might be permissions only, but for that a new thread is better, yes.

1 Like

This doesn’t show normal to me, lsblk and fdisk -l should show 476,8 G if that is a 512GB disk, instead it shows 447,1G.

Could it be a ghost partition? I remember those in Winblows back in the time.

1 Like

That is an interesting observation. Not sure if that might be a ghost partition.

When installing Manjaro, I chose the option to wipe out all data and then install. So, in theory it might be something non-windows related. I might be wrong.

If I remember correctly Winblows keeps a secret hidden partition which contains the OS for you to recover, I think you should have deleted it in the first place because Manjaro’s installer maybe “saw” only your previous “working” partition, which it told you to wipe out, but I’m not sure right now, have to research it, except someone else already knows.

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.