You are not logged in.

#1 2017-06-24 17:51:24

mutronic
Member
Registered: 2017-06-24
Posts: 9

HDD space issue [Solved]

For some reason my arch installation doesn't read my full HDD. I partitioned the drive as follows:

Disk /dev/sda: 465.8 GiB, 500107862016 bytes, 976773168 sectors
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: dos
Disk identifier: 0xf5f0f7f4

Device     Boot    Start       End   Sectors   Size Id Type
/dev/sda1  *        2048  62916607  62914560    30G 83 Linux
/dev/sda2       62916608  67110911   4194304     2G 82 Linux swap / Solaris
/dev/sda3       67110912 976773167 909662256 433.8G 83 Linux

Both the sda1 and sda3 are directed to the Home folder, but arch only recognizes the sda1 and doesn't recognize the sda3. Is there a way I could make the sda3 partition show up?

Last edited by mutronic (2017-06-24 20:24:05)

Offline

#2 2017-06-24 17:54:51

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: HDD space issue [Solved]

Sounds like your /etc/fstab is messed up. Can you post its contents please.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2017-06-24 17:58:53

mutronic
Member
Registered: 2017-06-24
Posts: 9

Re: HDD space issue [Solved]

#
# /etc/fstab: static file system information
#
# <file system>    <dir>    <type>    <options>    <dump>    <pass>
# /dev/sda1
UUID=3040120e-2150-4c92-adda-05f21ee79813    /             ext4          rw,relatime,data=ordered    0 1
# /dev/sda2
UUID=53b1e244-c5a9-4e3a-8b74-b582495521bb       none         swap         defaults            0 0
# /dev/sda3
UUID=9c9917d0-21c3-4598-a4d2-932f97e58009    /home         ext4          rw,relatime,data=ordered    0 2

Last edited by mutronic (2017-06-24 17:59:13)

Offline

#4 2017-06-24 18:04:44

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: HDD space issue [Solved]

mutronic wrote:

Both the sda1 and sda3 are directed to the Home folder

This statement makes no sense, especially after posting your fstab. What, exactly, is the problem?

Offline

#5 2017-06-24 18:16:22

mutronic
Member
Registered: 2017-06-24
Posts: 9

Re: HDD space issue [Solved]

Arch acknowledges the sda1 partition but doesn't see the other partition, so it is limited to 30G of space instead of the full 466G.

Offline

#6 2017-06-24 18:17:42

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: HDD space issue [Solved]

And how do you know that? Nothing you've posted indicates a problem.

Offline

#7 2017-06-24 18:23:25

mutronic
Member
Registered: 2017-06-24
Posts: 9

Re: HDD space issue [Solved]

Because my "on this computer" folder indicates the sda1 drive but doesn't display the sda3 drive. So when installing apps, and I reach the 30G maximum, it tells me I'm out of space.

Offline

#8 2017-06-24 18:24:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: HDD space issue [Solved]

You have 30 GiB on your root partition, which is where things get installed to. That sounds like expected behavior.

Edit: and I have no idea what "on this computer" means, you're talking about some random graphical FM? Don't take that to mean anything.

Last edited by Scimmia (2017-06-24 18:27:05)

Offline

#9 2017-06-24 18:33:53

mutronic
Member
Registered: 2017-06-24
Posts: 9

Re: HDD space issue [Solved]

Can I combine the two partitions?

Last edited by mutronic (2017-06-24 18:34:33)

Offline

#10 2017-06-24 18:35:53

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: HDD space issue [Solved]

You chose the setup for a reason. How did you install Arch?

Offline

#11 2017-06-24 18:37:59

mutronic
Member
Registered: 2017-06-24
Posts: 9

Re: HDD space issue [Solved]

Well I chose the setup assuming I would be able to use both partitions, but this obviously isn't the case.

Offline

#12 2017-06-24 18:49:08

ugjka
Member
From: Latvia
Registered: 2014-04-01
Posts: 1,952
Website

Re: HDD space issue [Solved]

mutronic wrote:

Well I chose the setup assuming I would be able to use both partitions, but this obviously isn't the case.

You made this assumption without understanding the linux filesystem. Read this http://www.tldp.org/LDP/intro-linux/htm … 03_01.html

Offline

#13 2017-06-24 18:57:45

frostschutz
Member
Registered: 2013-11-15
Posts: 1,637

Re: HDD space issue [Solved]

Show `df -h`, `lsblk`, `blkid`

Online

#14 2017-06-24 20:14:07

mutronic
Member
Registered: 2017-06-24
Posts: 9

Re: HDD space issue [Solved]

df -h

dev             1.6G     0  1.6G   0% /dev
run             1.6G  1.5M  1.6G   1% /run
/dev/sda1        30G  6.7G   22G  24% /
tmpfs           1.6G  102M  1.5G   7% /dev/shm
tmpfs           1.6G     0  1.6G   0% /sys/fs/cgroup
tmpfs           1.6G  150M  1.5G  10% /tmp
/dev/sda3       426G  1.5G  403G   1% /home
tmpfs           323M   16K  323M   1% /run/user/120
tmpfs           323M  1.5M  321M   1% /run/user/1000

lsblk

NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 465.8G  0 disk
|-sda1   8:1    0    30G  0 part /
|-sda2   8:2    0     2G  0 part [SWAP]
`-sda3   8:3    0 433.8G  0 part /home

blkid

/dev/sda1: UUID="3040120e-2150-4c92-adda-05f21ee79813" TYPE="ext4" PARTUUID="f5f0f7f4-01"
/dev/sda2: UUID="53b1e244-c5a9-4e3a-8b74-b582495521bb" TYPE="swap" PARTUUID="f5f0f7f4-02"
/dev/sda3: UUID="9c9917d0-21c3-4598-a4d2-932f97e58009" TYPE="ext4" PARTUUID="f5f0f7f4-03"

Offline

#15 2017-06-24 20:17:42

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: HDD space issue [Solved]

So everything is as it should be.
sda1 is mounted at / and using 6.7 of 30GB
sda3 is mounted at /home and using 1.5 of 426GB

What's the problem?


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#16 2017-06-24 20:21:42

mutronic
Member
Registered: 2017-06-24
Posts: 9

Re: HDD space issue [Solved]

I think this was a misunderstanding on my part by misreading the GNOME interface.

Offline

#17 2017-06-24 20:22:16

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,313

Re: HDD space issue [Solved]

Wild guess: output of "id -u" and "echo $HOME"?

Offline

#18 2017-06-24 20:23:35

mutronic
Member
Registered: 2017-06-24
Posts: 9

Re: HDD space issue [Solved]

My apologies. I'll mark as solved.

Offline

Board footer

Powered by FluxBB