LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-27-2016, 12:15 AM   #1
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Rep: Reputation: 169Reputation: 169
Empty partition showing 10.9 Gb in use ????


My sda1 partition is empty with no files or O.S.

Yet Gparted says it is using 10.9 Gb.

That makes no sense especially when Clonezilla spends a lot of time making an image of a empty partition.

Any explanation... a plasmoid ?? :-)
 
Old 08-27-2016, 05:28 AM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Without seeing all the numbers or the type of filesystem will assume ext4 I can only guess.

Parted will display the size of the partition as any empty container. A filesystem has overhead which is about 2% for ext4. In addition ext4 has 5% reserved space. So even though there are not any files written there is still used space.
 
Old 08-27-2016, 08:20 AM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,850

Rep: Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309Reputation: 7309
insufficient/misleading information. Please tell us what kind of filesystem is it, how it was created. A few words about its size....
 
Old 08-27-2016, 09:07 AM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
I suggest that you run fsck with the -N option to find out if the filesystem on the partition in question is corrupt.

------------------------
Steve Stites
 
Old 08-27-2016, 11:53 AM   #5
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
fsck from util-linux 2.27.1
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -da1 /dev/sda3
[/sbin/fsck.ext3 (1) -- /media/andy/MAXTOR_SDB1] fsck.ext3 -da1 /dev/sdb1
[/sbin/fsck.ext3 (1) -- /media/andy/MAXTOR_SDB5] fsck.ext3 -da1 /dev/sdb5
[/sbin/fsck.ext3 (1) -- /media/andy/MAXTOR_SDB2] fsck.ext3 -da1 /dev/sdb2

689 Gb is size of sda1.

So about 2 % is being taken up.
 
Old 08-27-2016, 01:52 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Post the output of the df command
 
Old 08-27-2016, 04:15 PM   #7
Fixit7
Senior Member
 
Registered: Mar 2014
Location: El Lago, Texas
Distribution: Ubuntu_Mate 16.04
Posts: 1,374

Original Poster
Rep: Reputation: 169Reputation: 169
Filesystem 1K-blocks Used Available Use% Mounted on
udev 3523968 0 3523968 0% /dev
tmpfs 708652 9680 698972 2% /run
/dev/sda3 619166160 13788432 573919184 3% /
tmpfs 3543244 588 3542656 1% /dev/shm
tmpfs 5120 4 5116 1% /run/lock
tmpfs 3543244 0 3543244 0% /sys/fs/cgroup
/dev/sdb5 101760368 43515744 53068816 46% /media/andy/MAXTOR_SDB5
/dev/sdb2 104112352 61164 98755932 1% /media/andy/MAXTOR_SDB2
/dev/sdb1 101397896 3558248 92682272 4% /media/andy/MAXTOR_SDB1
tmpfs 708652 24 708628 1% /run/user/1000
 
Old 08-27-2016, 05:51 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,703

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
argh...

The output of the parted -l command will display the size of the partition as an empty container.

The output of the df -h --si will show the size of the filesystem. The difference between the two is filesystem overhead i.e. inode table, superblock etc.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] is the partition empty or not? svengolster Linux - Newbie 8 12-14-2013 07:28 AM
How do I convert an empty ext3 partition to a jfs partition? lothario Linux - Software 3 02-28-2006 10:40 AM
How can I tell if a partition is empty? PenguinMolester Linux - Newbie 5 10-27-2004 07:46 AM
Empty Partition Systerektomy Linux - Newbie 1 04-28-2004 10:01 AM
strange partition table - boot partition empty etanter Linux - General 0 12-23-2003 09:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration