Quota in linux cluster file system

29 views
Skip to first unread message

vivek mishra

unread,
Apr 30, 2012, 2:07:02 AM4/30/12
to live-into-linux
Dear All
We have configure Ftp cluster in rhel6.1 64 bit. Now customer wants
to implement quota so that user have limitation to upload data file.
We want the 5gb limitation to user.
We have configure the /var/www/ftp mount ponit failover in cluster.
There is no entry in /etc/fstab for that mount point.
Pl help to resolve the issue.


Regards
vivek

Rajveer Singh

unread,
Apr 30, 2012, 2:18:22 AM4/30/12
to live-in...@googlegroups.com
While configuration of filesystem in cluster, please specify mount options for acl. it's equivalent to passing mount option using -o when we try to mount any filesystem manually from command line.


vivek

--
You received this message because you are subscribed to the Google Groups "live-into-linux" group.
To post to this group, send email to live-in...@googlegroups.com.
To unsubscribe from this group, send email to live-into-lin...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/live-into-linux?hl=en.


vivek mishra

unread,
May 5, 2012, 1:25:54 AM5/5/12
to live-in...@googlegroups.com
Actually Customer wants to implement quota for some user so that who can upload the data in ftp server in limitation.

shailes...@gmail.com

unread,
May 5, 2012, 7:51:20 AM5/5/12
to live-in...@googlegroups.com
GFS has its own quota system and you can use that, if your FS is GFS.

In case, the FS is not GFS and you are having active-passive, you would need to include the quota file reconstruct commands in your service script, so that the quota gets enforced.

Hope this helps.
Sent on my BlackBerry® from Vodafone

From: vivek mishra <2007v...@gmail.com>
Date: Sat, 5 May 2012 10:55:54 +0530
Subject: Re: Quota in linux cluster file system

vivek mishra

unread,
May 7, 2012, 8:53:23 AM5/7/12
to live-in...@googlegroups.com
Pl go in detail, what you want to say.

vivek mishra

unread,
May 7, 2012, 10:16:25 AM5/7/12
to live-in...@googlegroups.com
File System is ext4.And also sending the cluster.conf with attachment.


On Mon, May 7, 2012 at 7:34 PM, <shailes...@gmail.com> wrote:
Ok, what is your file system and can you please share your cluster.conf and service script.

Sent on my BlackBerry® from Vodafone

From: vivek mishra <2007v...@gmail.com>
Date: Mon, 7 May 2012 18:23:23 +0530
cluster.conf

shailes...@gmail.com

unread,
May 7, 2012, 10:04:32 AM5/7/12
to live-in...@googlegroups.com
Ok, what is your file system and can you please share your cluster.conf and service script.
Sent on my BlackBerry® from Vodafone

From: vivek mishra <2007v...@gmail.com>
Date: Mon, 7 May 2012 18:23:23 +0530

Shailesh Mathur

unread,
May 9, 2012, 10:57:47 AM5/9/12
to live-in...@googlegroups.com
Ok, you have some issues and 2 options to achieve the quota implemented.

Issues:
In case, if any of your file system is not mounted or IP is not mapped to the interface, still the cluster will try to start the vsftp service. If you need to make sure that the service gets started only, if IP is mapped and file systems are mounted, configure it as nested.

Options:
1. Modify the /etc/init.d/vsftpd file and add commands for quota implementation in start
2. Create a new init script, have the quota related commands there and call /etc/init.d/vsftpd
3. Create a new init script for quota commands and call that as a second service, where you'll be able to just stop quota service and will have FTP running without limits.

Hope this helps!!!
Reply all
Reply to author
Forward
0 new messages