You are not logged in.

#1 2013-02-18 05:28:20

ryanvade
Member
Registered: 2013-01-23
Posts: 72

Home folder is 22.6 MB. Home partition is 30 GB. What canIdo[SOLVED]

Hello every one.  I installed Arch on an old laptop.  The home partition is 30 GB.  I then created 2 user accounts.  Both have folder sizes of only 22.6 MB.  Yet the home partition is clearly bigger. I have confirmed the partition is mounted at the right location.  (Fstab and Gparted). Is there any way to expand them? I have searched the forums and have found nothing.

Last edited by ryanvade (2013-02-24 02:19:14)

Offline

#2 2013-02-18 06:10:47

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: Home folder is 22.6 MB. Home partition is 30 GB. What canIdo[SOLVED]

A directory is not of absolute size.  That is, you do not define the size, and is only limited by the space available on the partition.  So maybe you only have 22.6MB of stuffs in your /home?

Offline

#3 2013-02-18 08:23:09

satanselbow
Member
Registered: 2011-06-15
Posts: 516

Re: Home folder is 22.6 MB. Home partition is 30 GB. What canIdo[SOLVED]

What does

lsblk /dev/sdX

have to say on the subject?

Online

#4 2013-02-18 15:25:20

ANOKNUSA
Member
Registered: 2010-10-22
Posts: 2,141

Re: Home folder is 22.6 MB. Home partition is 30 GB. What canIdo[SOLVED]

+1 WonderWoofy.  The OP clearly doesn't  know the difference between a folder and a partition. (storage space occupied by data vs. total storage space available).

Offline

#5 2013-02-18 15:45:13

ryanvade
Member
Registered: 2013-01-23
Posts: 72

Re: Home folder is 22.6 MB. Home partition is 30 GB. What canIdo[SOLVED]

Let me explain in more detail.  I must have said this wrong.  I have confirmed that the home partition is 30 GB.  From Gparted, fstab, and disk analyser.  lsblk also confirms it:
--sda2   8:2 0 30.9G 0 part /home

Both of the created users have home folders.  (well that is a given) But they can't use more then 22.6 MB. then the home folders are considered FULL.  I have tried using quotas to fix this and it did not work.

Does this help explain my problem?  I just want each user to be able to use around 15 GB for their home folders. On the 30 GB partition.
I will post a picture of disk analyser to show my problem soon.

Offline

#6 2013-02-18 15:51:18

ryanvade
Member
Registered: 2013-01-23
Posts: 72

Re: Home folder is 22.6 MB. Home partition is 30 GB. What canIdo[SOLVED]

http://i1251.photobucket.com/albums/hh5 … f8ed86.png

http://i1251.photobucket.com/albums/hh5 … 591af5.png

So just to clarify, my users are being limited to 22.6 MB.



-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

Offline

#7 2013-02-18 15:52:12

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: Home folder is 22.6 MB. Home partition is 30 GB. What canIdo[SOLVED]

I don't really know of a way (short of creating separate partitions) to limit each user to 15GB a piece.  I just don't that you can simply impose limitations like that on a given subdirectory.

So on your /home partition, can you create a new directory (folder in your parlance) and put some crap in there that exceeds this magical 22.6MB?  Maybe create a directory like /home/test as root, and then again as root try and put some stuff there that exceeds this limitation?  If you can do it as UID 0, then you are running into a permissions problem of some kind.

I think without more information though, this is really not a solvable situation, as it is rather hard to decipher what you are actually experiencing.

Offline

#8 2013-02-19 00:29:18

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 5,661

Re: Home folder is 22.6 MB. Home partition is 30 GB. What canIdo[SOLVED]

What exactly happens if one of the users tries to create a new folder or document in their home directory?

I can't remember how that utility displays information but I'm not convinced it is showing you what you think it is.


How To Ask Questions The Smart Way | Help Vampires

Arch Linux | x86_64 | GPT | EFI boot | grub2 | systemd | LVM2 on LUKS
Lenovo x121e | Intel(R) Core(TM) i3-2367M CPU @ 1.40GHz GenuineIntel | Intel Centrino Wireless-N 1000 | US keyboard with Euro | 320G 7200 RPM Seagate HDD

Offline

#9 2013-02-19 00:46:29

progandy
Member
Registered: 2012-05-17
Posts: 2,143

Re: Home folder is 22.6 MB. Home partition is 30 GB. What canIdo[SOLVED]

ryanvade wrote:

So just to clarify, my users are being limited to 22.6 MB.

Wrong. The displayed 22.6 MB is just the current size of all existing files and directories. Empty space is not counted.
Both users can utilize the full 30GB of the partition minus the disk space used by the other.

Edit: The arch wiki has some information about disk quota to hinder users from seizing all available space: https://wiki.archlinux.org/index.php/Disk_Quota

Last edited by progandy (2013-02-19 00:53:22)

Offline

#10 2013-02-19 01:01:42

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: Home folder is 22.6 MB. Home partition is 30 GB. What canIdo[SOLVED]

Hey, those quota tools are pretty neat. Thanks progandy!

Offline

#11 2013-02-19 06:43:05

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Home folder is 22.6 MB. Home partition is 30 GB. What canIdo[SOLVED]

The folder is not limited to 22.6 MB.

You probably just don't have the permission to write in another user's folder, so log in as that particular user ("admin" or whatever), and then you should be able to write in your user folder. Don't log in as root (and don't use sudo either) when creating folders or files that don't have anything to do with the OS itself.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#12 2013-02-24 02:16:59

ryanvade
Member
Registered: 2013-01-23
Posts: 72

Re: Home folder is 22.6 MB. Home partition is 30 GB. What canIdo[SOLVED]

Fixed. Thanks!!

Offline

#13 2013-02-24 03:22:34

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,412

Re: Home folder is 22.6 MB. Home partition is 30 GB. What canIdo[SOLVED]

So what did you do to "fix" it?  These forums are a two way street.  They are here for someone like you to get help, but also for future users to use as a potential solution for themselves.  So you need to post what you did to fix your issue (though I don't think there was ever really a true issue here).

Offline

Board footer

Powered by FluxBB