LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 01-27-2019, 06:00 PM   #1
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Rep: Reputation: 21
Home Is Full


I booted 18.0 Cinnamon 64bit and got notice that there was no room in Home. 750 GB HDD. An hour earlier home had about 250 GB in it. The drive is backed up to a 1 TB HDD which shows that home has about 250 GB in it.

I had removed the 750 GB HDD earlier and was running a live session. I shut down the live session. Looked like the computer was shutdown. Black screen, no flashing HDD indicator, or other lights. I thought the laptop was off so I inserted the 750 GB drive (the HDD caddy just slides in on this laptop) I think the laptop was still on when I inserted the HDD and that's what causing the problem. I ran System Monitor. It showed the CPU flatlining at 100%.

At Accessories > Disks, Smart indicates the Drive is OK. At Disks there is an option to restore disk image. Should I do that? Wuold it be OK to rsync particular folders to the other drive?

Any way to recover the previously unused space?

mint@mint ~ $ inxi -F | more
System: Host: mint Kernel: 4.4.0-21-generic x86_64 (64 bit) Desktop: Cinnamon 3.0.6
Distro: Linux Mint 18 Sarah
Machine: System: Dell (portable) product: Inspiron 1520
Mobo: Dell model: 0KY767 Bios: Dell v: A09 date: 07/11/2008
CPU: Dual core Intel Pentium Dual T2370 (-MCP-) cache: 1024 KB
clock speeds: max: 1733 MHz 1: 1333 MHz 2: 1067 MHz
Graphics: Card: Intel Mobile GM965/GL960 Integrated Graphics Controller (primary)
Display Server: X.Org 1.18.3 drivers: intel (unloaded: fbdev,vesa) Resolution: 1280x800@60.00hz

GLX Renderer: Mesa DRI Intel 965GM GLX Version: 2.1 Mesa 11.2.0
Audio: Card Intel 82801H (ICH8 Family) HD Audio Controller driver: snd_hda_intel
Sound: Advanced Linux Sound Architecture v: k4.4.0-21-generic
Network: Card-1: Broadcom BCM4401-B0 100Base-TX driver: b44
IF: eth0 state: down mac: 00:1d:09:d7:0c:79
Card-2: Broadcom BCM4312 802.11b/g LP-PHY driver: wl
IF: wlp12s0 state: dormant mac: 00:1f:3a:b1:f0:eb
Card-3: Edimax EW-7811Un 802.11n Wireless Adapter [Realtek RTL8188CUS] driver: rtl8192cu
IF: wlx74da386f57f5 state: N/A mac: N/A
Drives: HDD Total Size: 750.2GB (93.1% used) ID-1: /dev/sda model: ST9750420AS size: 750.2GB

Partition: ID-1: / size: 2.0G used: 202M (11%) fs: overlay dev: N/A
ID-2: swap-1 size: 4.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda6

RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 59.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 181 Uptime: 31 min Memory: 717.9/3942.4MB Client: Shell (bash) inxi
: 2.2.35

mint@mint ~ $
 
Old 01-27-2019, 06:17 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,804
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
What does 'df -h' report? It seems you may have an older installation where the root filesystem also contains the entirety of /home. You may be overdue for some ordinary maintenance, such as 'apt-get autoremove' and/or 'apt-get clean'.
 
Old 01-27-2019, 07:04 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
"inxi -F" should show the disk partitions. Can you make that command "df-hT", and what does this show
Code:
sudo parted /dev/sda "print free"
Any messages for /dev/sda in the liveCD logs ?.

Last edited by syg00; 01-27-2019 at 07:06 PM. Reason: messages
 
Old 01-27-2019, 07:21 PM   #4
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Original Poster
Rep: Reputation: 21
$ df -h
Filesystem Size Used Avail Use% Mounted on
udev 2.0G 0 2.0G 0% /dev
tmpfs 395M 6.2M 389M 2% /run
/dev/sda5 28G 15G 12G 55% /
tmpfs 2.0G 25M 2.0G 2% /dev/shm
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 2.0G 0 2.0G 0% /sys/fs/cgroup
/dev/sda7 657G 647G 0 100% /home
cgmfs 100K 0 100K 0% /run/cgmanager/fs
tmpfs 395M 12K 395M 1% /run/user/1000


inxi -F
System: Host: tom-Inspiron-1520120 Kernel: 4.4.0-141-generic x86_64 (64 bit) Desktop: Cinnamon 3.0.7
Distro: Linux Mint 18 Sarah
Machine: System: Dell (portable) product: Inspiron 1520
Mobo: Dell model: 0KY767 Bios: Dell v: A09 date: 07/11/2008
CPU: Dual core Intel Pentium Dual T2370 (-MCP-) cache: 1024 KB
clock speeds: max: 1733 MHz 1: 1733 MHz 2: 1733 MHz
Graphics: Card: Intel Mobile GM965/GL960 Integrated Graphics Controller (primary)
Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) Resolution: 1280x800@60.00hz
GLX Renderer: Mesa DRI Intel 965GM GLX Version: 2.1 Mesa 17.0.7
Audio: Card Intel 82801H (ICH8 Family) HD Audio Controller driver: snd_hda_intel
Sound: Advanced Linux Sound Architecture v: k4.4.0-141-generic
Network: Card-1: Broadcom BCM4401-B0 100Base-TX driver: b44
IF: eth0 state: down mac: 00:1d:09:d7:0c:79
Card-2: Broadcom BCM4312 802.11b/g LP-PHY driver: wl
IF: wlp12s0 state: up mac: 00:1f:3a:b1:f0:eb
Drives: HDD Total Size: 750.2GB (95.1% used) ID-1: /dev/sda model: ST9750420AS size: 750.2GB
Partition: ID-1: / size: 28G used: 15G (55%) fs: ext4 dev: /dev/sda5
ID-2: /home size: 657G used: 647G (100%) fs: ext4 dev: /dev/sda7
ID-3: swap-1 size: 4.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 70.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 176 Uptime: 10 min Memory: 1050.4/3942.0MB Client: Shell (bash) inxi: 2.2.35



$ df-hT
df-hT: command not found



$ sudo parted /dev/sda "print free"
[sudo] password for tom:
Model: ATA ST9750420AS (scsi)
Disk /dev/sda: 750GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos
Disk Flags:

Number Start End Size Type File system Flags
32.3kB 1048kB 1015kB Free Space
1 1048kB 750GB 750GB extended boot
5 1049kB 30.0GB 30.0GB logical ext4
6 30.0GB 34.0GB 3999MB logical linux-swap(v1)
7 34.0GB 750GB 716GB logical ext4
750GB 750GB 156MB Free Space


Any messages for /dev/sda in the liveCD logs ?. I will have to boot up a Live session to do that.
 
Old 01-27-2019, 07:33 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I was under the impression you couldn't boot the system - look at your (real) logs then. Sorry about that command - should be a blank before the minus; don't bother, we have the info now.
Sure enough, /home is full. Run this, then start pruning.
Code:
sudo du /home -xh | sort -hr | head - 15
 
Old 01-27-2019, 08:19 PM   #6
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Original Poster
Rep: Reputation: 21
I am now booted to Mint Cinnamon 18.0 Live. (that's what I installed with bask in 2016) Where do I find the Live Logs in 18?

Home is full, but of what? An hour before this happened there was only about 250 GB in home.

When I run sudo du /home -xh | sort -hr | head - 15 is that when I begin pruning?

When look at home on the hdd I do not see anything unusual. Looks pretty much like my other 1 TB drive that has my home copied it. It is about 250GB. I am guessing that about 500GB of blank space is being interpreted as being occupied.

$ sudo du /home -xh | sort -hr | head - 15
==> standard input <==
0 /home/mint/Videos
0 /home/mint/Templates
0 /home/mint/Public
0 /home/mint/Pictures
0 /home/mint/Music
0 /home/mint/.mozilla/firefox/mwad0hks.default/webapps
0 /home/mint/.mozilla/firefox/mwad0hks.default/storage/temporary
0 /home/mint/.mozilla/firefox/mwad0hks.default/storage/permanent/chrome/idb/2918063365piupsah.files
0 /home/mint/.mozilla/firefox/mwad0hks.default/storage/permanent/chrome/idb
0 /home/mint/.mozilla/firefox/mwad0hks.default/storage/permanent/chrome
head: cannot open '15' for reading: No such file or directory

I am currently going through each folder in home to see how big they are. I will add them up and I am guessing the total will be around 250 GB. So far none of them have more than I would expect.
 
Old 01-27-2019, 08:26 PM   #7
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Sorry my keyboard must be playing up - that should be "head -n 15". Even so, it should give you "human readable" sizes - did you run that on the "real" system, not the liveCD I hope.
 
Old 01-27-2019, 08:27 PM   #8
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,804
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Quote:
Originally Posted by borgward View Post
I am currently going through each folder in home to see how big they are. I will add them up and I am guessing the total will be around 250 GB. So far none of them have more than I would expect.
You might like to try the cli command ncdu for this purpose. It incorporates navigation and handles the adding for you, and sorts with most heavily used location at the top.
 
Old 01-27-2019, 08:59 PM   #9
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by syg00 View Post
Sorry my keyboard must be playing up - that should be "head -n 15". Even so, it should give you "human readable" sizes - did you run that on the "real" system, not the liveCD I hope.
yeah, that was from the drive in question, not live. I am now live.

Last edited by borgward; 01-27-2019 at 09:01 PM.
 
Old 01-27-2019, 09:14 PM   #10
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Original Poster
Rep: Reputation: 21
can anything be done if the total of the individual folders equal about 250GB?
 
Old 01-27-2019, 10:35 PM   #11
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,125

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
[deleted]

Sorry - didn't read properly.

Last edited by syg00; 01-27-2019 at 10:55 PM.
 
Old 01-27-2019, 10:48 PM   #12
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,804
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
Quote:
Originally Posted by borgward View Post
can anything be done if the total of the individual folders equal about 250GB?
Make sure your file manager isn't one that keeps hidden files hidden. If you've only accounted for 250G on a partition of 657G, you've not accounted for but a fraction of what's there. Try using ncdu or nc in an Xterm or vtty. They don't hide anything AFAICT. If you switch an nc panel into full width mode (Listing format menu after opening menu with F9 and down arrow), you'll get more and better info about the files and directories shown.
 
Old 01-28-2019, 01:14 AM   #13
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by syg00 View Post
Code:
sudo du /home -xh | sort -hr | head -n 15
please execute this command on the real /home.
it will show us what is taking up so much space.
 
Old 01-28-2019, 02:14 AM   #14
borgward
Member
 
Registered: Apr 2005
Location: Austin, Texas
Distribution: Feather, Darn Small Linux
Posts: 504

Original Poster
Rep: Reputation: 21
Quote:
Originally Posted by mrmazda View Post
You might like to try the cli command ncdu for this purpose. It incorporates navigation and handles the adding for you, and sorts with most heavily used location at the top.
I did ncdu
I could not copy the results. I am sending from another computer as FF is wonky on the laptop.
The first line of ncdu shows 424.3 GiB - on sdb!? There is no sdb. No other drive connected right now. Disks gui ID's the drive as sda. Adding the 423.578 to the total below brings the total to 655.578 GiB

215.5 GiB
6343 MiB = 6.1943 GiB
36445KiB = 0.0347 GiB

Total = 231.2780 GiB
 
Old 01-28-2019, 02:33 AM   #15
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,804
Blog Entries: 1

Rep: Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066Reputation: 2066
What do you see when you press <ENTER> while the highlight is on the 424.3 GiB line?
 
  


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
Store ecryptfs files inside home folder when enabling full home folder encryption in Linux Murz Linux - Security 4 10-27-2018 03:57 AM
LXer: Home, Sweet Home: Sweet Home 3D 2.1 Linux Version LXer Syndicated Linux News 0 10-06-2009 03:10 PM
contents of 'home' directory found at sda5: mounted as /home, and also on sda6:/home leswatson Linux - Newbie 4 04-18-2008 04:02 PM
Put a 2nd kanotix at hdb 3/,-4/home. 1st is at hdb8/,-9/home.#2 is using 1st's /home sleekmason Linux - General 3 12-09-2006 09:21 AM
Which distributions do not support --full-time for ls (ls --full-time)? GCS Linux - Distributions 0 07-28-2004 01:25 AM

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

All times are GMT -5. The time now is 05:10 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