You are not logged in.
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
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
What does
lsblk /dev/sdX
have to say on the subject?
Offline
+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
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
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
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
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.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
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)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |
Offline
Hey, those quota tools are pretty neat. Thanks progandy!
Offline
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.
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
Fixed. Thanks!!
Offline
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