You are not logged in.

#1 2014-02-04 16:18:48

mcmillhj
Member
Registered: 2014-02-04
Posts: 8

[SOLVED] After install, my home directory is only 100MB

Hello,

I just completed my first Arch install on non-virtualized hardware and everything seems to be fine. I partitioned my harddrive using this scheme:

boot:  250M
swap: 2G
root: 20G
home: rest of drive, ~475G

Everything seemed to be great, I install X and gnome then cinnamon without problem. But as I started to setup by desktop I saw an error "home directory only has 82KB of space left".

Looking at Nemo, my home directory has KBs of space left but for some reason I have a 474GB device mounted under /dev/sda4 (which is where my home directory was for the install)

Any thoughts on ways to repair this? Or do I have to start over?

Thanks.
Hunter

Last edited by mcmillhj (2014-02-04 16:59:21)

Offline

#2 2014-02-04 16:22:23

ce1984
Member
Registered: 2014-01-24
Posts: 41

Re: [SOLVED] After install, my home directory is only 100MB

During the install did you create the fstab?

Can you post the output of

lsblk

and the contents of /etc/fstab?

If you're following the wiki, you shoud have run

genfstab -U -p /mnt >> /mnt/etc/fstab

Last edited by ce1984 (2014-02-04 16:24:01)

Offline

#3 2014-02-04 16:23:39

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED] After install, my home directory is only 100MB

Please post your "/etc/fstab" file and the output of "lsblk /dev/sda".

Offline

#4 2014-02-04 16:26:08

mcmillhj
Member
Registered: 2014-02-04
Posts: 8

Re: [SOLVED] After install, my home directory is only 100MB

Yes, after I created and wrote the partitions I used the genfstab script to create my /etc/fstab file genfstab -p /mnt >> /mnt/etc/fstab

lsblk output:  (looks off, as you suspected):

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk
├─sda1   8:1    0   250M  0 part /boot
├─sda2   8:2    0     4G  0 part [SWAP]
├─sda3   8:3    0    20G  0 part /
└─sda4   8:4    0 441.5G  0 part /run/media/hunter/e939dc16-13a9-4ab9-b2e6-0fa0503935d9
sr0     11:0    1  1024M  0 rom 

Where it says /run/media I was expected /home because that is where it was mounted during install

current /etc/fstab:

#
# /etc/fstab: static file system information
#
# <file system>    <dir>    <type>    <options>    <dump>    <pass>
# UUID=03eaf53c-907f-4333-9a49-6c1ab4402275
/dev/sda3               /             ext4          rw,relatime,data=ordered    0 1

# UUID=51d4b9dc-0ac8-46d5-8cab-776adac2d54b
/dev/sda1               /boot         ext4          rw,relatime,stripe=4,data=ordered    0 2

# UUID=51d4b9dc-0ac8-46d5-8cab-776adac2d54b
/dev/sda1               /home         ext4          rw,relatime,stripe=4,data=ordered    0 2

# UUID=d4c4d78c-744e-40dd-ba5d-a24b3ee13179
/dev/sda2               none          swap          defaults      0 0

Last edited by mcmillhj (2014-02-04 16:27:05)

Offline

#5 2014-02-04 16:27:48

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [SOLVED] After install, my home directory is only 100MB

Not an Installation issue, moving to NC...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#6 2014-02-04 16:31:57

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,375

Re: [SOLVED] After install, my home directory is only 100MB

mcmillhj wrote:

Yes, after I created and wrote the partitions I used the genfstab script to create my /etc/fstab file genfstab -p /mnt >> /mnt/etc/fstab

lsblk output:  (looks off, as you suspected):

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk 
├─sda1   8:1    0   250M  0 part /boot
├─sda2   8:2    0     4G  0 part [SWAP]
├─sda3   8:3    0    20G  0 part /
└─sda4   8:4    0 441.5G  0 part /run/media/hunter/e939dc16-13a9-4ab9-b2e6-0fa0503935d9
sr0     11:0    1  1024M  0 rom  

Where it says /run/media I was expected /home because that is where it was mounted during install

current /etc/fstab:

# 
# /etc/fstab: static file system information
#
# <file system>	<dir>	<type>	<options>	<dump>	<pass>
# UUID=03eaf53c-907f-4333-9a49-6c1ab4402275
/dev/sda3           	/         	ext4      	rw,relatime,data=ordered	0 1

# UUID=51d4b9dc-0ac8-46d5-8cab-776adac2d54b
/dev/sda1           	/boot     	ext4      	rw,relatime,stripe=4,data=ordered	0 2

# UUID=51d4b9dc-0ac8-46d5-8cab-776adac2d54b
/dev/sda1           	/home     	ext4      	rw,relatime,stripe=4,data=ordered	0 2

# UUID=d4c4d78c-744e-40dd-ba5d-a24b3ee13179
/dev/sda2           	none      	swap      	defaults  	0 0

/boot and /home have the same GUID (according to genfstab).  So if you check mount you'll see that they've mounted over each other.  It also calls /boot and /home on /dev/sda1.  Just change /home so that it uses /dev/sda4 and it should work.  Are you using mbr or gpt?

Last edited by nomorewindows (2014-02-04 16:34:17)


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#7 2014-02-04 16:46:38

mcmillhj
Member
Registered: 2014-02-04
Posts: 8

Re: [SOLVED] After install, my home directory is only 100MB

Alright here is what I did to resolve this, after normorewindows pointed out the partitions were mounted over each other I copied my /home folder to /dev/sda4 and updated my /etc/fstab file. Rebooting produced the partitions that I originally suspected.

Thanks.
Hunter

Offline

#8 2014-02-04 16:52:55

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,822

Re: [SOLVED] After install, my home directory is only 100MB

If this is solved, please edit your first post and prepend [SOLVED] to the thread title.  We ask that you do this as we really have no way to know when you regard it as solved smile


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB