File System size

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read how to get help
Post Reply
hnoon
Level 1
Level 1
Posts: 10
Joined: Sun Jun 09, 2019 2:26 am

File System size

Post by hnoon » Wed Jun 19, 2019 5:15 am

For some time my system has been telling me that I have very little available space (in the MBs). After moving some files to another drive there are now 3.7GB available. As opposed to on /dev/sda16 where I have like 29.3GB it says. Is there a way to make this other space the primary space that the system uses? When I click it under Devices it does say

Could not display "/media/root/H-STATE".
This location is not a folder.

I can't recall how I moved the files in the first place now. On the window it did say something like "Root Privileges" at the time

deepakdeshp
Level 15
Level 15
Posts: 5634
Joined: Sun Aug 09, 2015 10:00 am

Re: File System size

Post by deepakdeshp » Wed Jun 19, 2019 5:32 am

Post output of

Code: Select all

 df -m|grep sd
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
Regards,
Deepak

I am using Mint 19.2 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

User avatar
AndyMH
Level 8
Level 8
Posts: 2398
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: File System size

Post by AndyMH » Wed Jun 19, 2019 6:07 am

/dev/sda16 Why have you got 16 partitions on your primary drive? A screenshot from gparted would help (the df command in the previous post will only show mounted partitions).
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate

hnoon
Level 1
Level 1
Posts: 10
Joined: Sun Jun 09, 2019 2:26 am

Re: File System size

Post by hnoon » Wed Jun 19, 2019 10:33 am

Can't really explain why the 16 partitions. In fact, the first command suggested maybe 29 partitions. Clearly, I'm a newb. I can't really explain the drives existing in the screenshots. In a way, I suppose the solution of formatting and reinstalling everything is there though I would prefer not to
Attachments
Screenshot from 2019-06-19 19-30-11.png
Screenshot from 2019-06-19 19-25-29.png
Screenshot from 2019-06-19 19-25-29.png (10.99 KiB) Viewed 219 times

hnoon
Level 1
Level 1
Posts: 10
Joined: Sun Jun 09, 2019 2:26 am

Re: File System size

Post by hnoon » Wed Jun 19, 2019 10:47 am

No clue how all these partitions got created or if they are still needed. Most of them seem to be tiny. Honestly I didn't know what gparted was till you mentioned it.
Attachments
Screenshot from 2019-06-19 19-45-15.png
Screenshot from 2019-06-19 19-44-28.png

athi
Level 6
Level 6
Posts: 1254
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: File System size

Post by athi » Wed Jun 19, 2019 11:22 am

Was Chrome O/S ever installed on this PC? What is the history of the PC?

Those crdystub partitions are for Chrome O/S and/or Cloudready, and are unmounted.
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core duo.

deepakdeshp
Level 15
Level 15
Posts: 5634
Joined: Sun Aug 09, 2015 10:00 am

Re: File System size

Post by deepakdeshp » Wed Jun 19, 2019 1:36 pm

AndyMH wrote:
Wed Jun 19, 2019 6:07 am
/dev/sda16 Why have you got 16 partitions on your primary drive? A screenshot from gparted would help (the df command in the previous post will only show mounted partitions).
It will show free space and total space of partitions and not mounted partitions.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
Regards,
Deepak

I am using Mint 19.2 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

User avatar
AndyMH
Level 8
Level 8
Posts: 2398
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: File System size

Post by AndyMH » Wed Jun 19, 2019 3:37 pm

It will show free space and total space of partitions and not mounted partitions.
It doesn't show usage on unmounted file systems, from the man page:
This version of df cannot show the space available on unmounted file systems, because on most kinds of systems doing so requires very non‐ portable intimate knowledge of file system structures.
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate

deepakdeshp
Level 15
Level 15
Posts: 5634
Joined: Sun Aug 09, 2015 10:00 am

Re: File System size

Post by deepakdeshp » Wed Jun 19, 2019 3:42 pm

AndyMH wrote:
Wed Jun 19, 2019 3:37 pm
It will show free space and total space of partitions and not mounted partitions.
It doesn't show usage on unmounted file systems, from the man page:
This version of df cannot show the space available on unmounted file systems, because on most kinds of systems doing so requires very non‐ portable intimate knowledge of file system structures.
You are right! it will show the usage on the mounted file system. A new learning.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help, and keeps the forum clean.
Regards,
Deepak

I am using Mint 19.2 Cinnamon 64 bit with AMD A8/7410 processor . Memory 8GB

User avatar
AndyMH
Level 8
Level 8
Posts: 2398
Joined: Fri Mar 04, 2016 5:23 pm
Location: Wiltshire

Re: File System size

Post by AndyMH » Wed Jun 19, 2019 6:30 pm

I only knew because I've been using df a lot recently :)
Homebrew i5-8400+GTX1080 Cinnamon 19.0, 3 x Thinkpad T430 Cinnamon 19.0, i7-3632 , i5-3320, i5-3210, Thinkpad T60 19.0 Mate

hnoon
Level 1
Level 1
Posts: 10
Joined: Sun Jun 09, 2019 2:26 am

Re: File System size

Post by hnoon » Thu Jun 20, 2019 1:25 am

As the image shows, the space allocation is much better now. As I was deleting all the spare partitions, it did keep mentioning chromeOS. My attempts to install that must have resulted in all these spare partitions. Still a couple of queries:
1. What is all this data already being used?
2. How can I now access what is under /dev/sda16? It just shows up as a file under Files but says "Unkown file type" when I double click it.
Attachments
Screenshot from 2019-06-20 09-56-42.png

athi
Level 6
Level 6
Posts: 1254
Joined: Sun Mar 30, 2014 10:15 am
Location: USA

Re: File System size

Post by athi » Thu Jun 20, 2019 8:07 am

sda16 is formatted ext4 and not mounted. You can try mounting it with Disks or GParted and should be able to access the data then.

What O/S besides Chrome OS did you try to install before Mint? FYI: unless you are trying to do a multi boot, clean up the previous installations before installing the new O/S. Clearing the space is especially important on these smaller hdd.
Mint Mate 19.1. Main rig is HP 800G2 I5 6500 16GB ram, 120GB boot drive, 2x3TB, 1x4TB data drives. Oldest rig is Mate 18.3 on Dell D620 with 32bits core duo.

Post Reply

Return to “Newbie Questions”