Cara membtasi kapasitas Storage LTSP client

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
maverick29
Posts: 28
Joined: 11 Oct 2010, 10:36
Location: Gorontalo

Cara membtasi kapasitas Storage LTSP client

Postby maverick29 » 13 Nov 2010, 23:18

Misi gan,,,
saya mo tanya,,bagaimana cara membatasi atau membagi bagi kapasitas Hardisik pada PC server LTSP yang kemudian akan di alokasikan merata untuk setiap client, misalnya ada 20 client dan dan kapasitas HDD pada workstation server sebesar 250 GB.

terimakasih.
User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Re: Cara membtasi kapasitas Storage LTSP client

Postby MasDjo » 14 Nov 2010, 13:25

Mungkin bisa diaplikasikan yg namanya DISK QUOTA, saya sendiri belum pernah mencobanya, dulu memang sempat kepikir untuk membuat batasan (quota) tsb.
Bisa cek di Disk Quota in Ubuntu

Ini cuplikannya :
Tampilkan
Quotatool is a utility to set filesystem quotas from the commandline. Most quota-utilities are interactive, requiring manual intervention from the user. Quotatool on the other hand is not, making it suitable for use in scripts and other non-interactive situations. This is very useful to edit disk quotas from scripts.

Install quota tools using the following command

sudo apt-get install quota quotatool

Edit /etc/fstab and add usrquota and grpquota options to the mount point which contains the home directories. For me this was the root mount point, but it will depends on how you did your partitoning (it could be that you made a separate mount point for /home).

sudo gedit /etc/fstab

The entry should read something like:

# /dev/hda1 UUID=4ea80ca3-37b7-447e-831a-700a38627029 / ext3 defaults,errors=remount-ro,usrquota,grpquota 0 1

Finish setup with the following series of commands

sudo touch /quota.user /quota.group

sudo chmod 600 /quota.*

sudo mount -o remount /

sudo quotacheck -avugm

sudo quotaon -avug

That�s it
User avatar
maverick29
Posts: 28
Joined: 11 Oct 2010, 10:36
Location: Gorontalo

Re: Cara membtasi kapasitas Storage LTSP client

Postby maverick29 » 14 Nov 2010, 14:43

okeh mas,,,,,segera menuju TKP,,
User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Re: Cara membtasi kapasitas Storage LTSP client

Postby MasDjo » 14 Nov 2010, 21:49

Untuk lebih mudahnya, bisa tengok di Catatan tentang disk Quota

Return to “Ubuntu Server”

Who is online

Users browsing this forum: No registered users and 9 guests