Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
07-18-2016, 09:58 AM
|
#1
|
LQ Newbie
Registered: Dec 2014
Posts: 5
Rep: 
|
xfs_quota on storage shared by multiple hosts
I've got an array that is connected to multiple hosts via Infiniband. The filesystem of the array is xfs, so I'd like to institute quotas on a per-user basis using the xfs_quota program. I'm unsure about what the implications are of using xfs_quota on a storage system that is shared among multiple hosts. For example, do I need to set the quota limits on each individual host that has access to the array? Or is the quota metadata stored *on* the array, i.e. I only need to set the limit on one machine and it will be respected on all machines that have access to the array?
(Apologies if this is the wrong forum...it's partially software related (xfs_quota), but also partially hardware related...)
|
|
|
07-19-2016, 04:44 AM
|
#2
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Since no-one has replied yet, can I suggest that you try the XFS mailing list ( http://xfs.org/index.php/XFS_email_list_and_archives)?
I'd be interested to hear the answer.
|
|
|
07-19-2016, 12:35 PM
|
#3
|
LQ Newbie
Registered: Dec 2014
Posts: 5
Original Poster
Rep: 
|
Quote:
Originally Posted by hydrurga
I'd be interested to hear the answer.
|
Since I couldn't use the production machines for testing, I just took two random desktops, had one export a directory, and the other access it via nfs. On the desktop serving/exporting the directory, xfs_quota commands work to both set and get quota information. After setting a limit on the server/exporting desktop for a particular user, the remote machine accessing it via nfs respected the quota for that user (I couldn't create a file larger than the limit, with the expected "disk quota exceeded" message! xfs_quota doesn't report anything on the client host, so all setting/getting of data needs to be done on the server, but yeah, overall it looks like the quota metadata is stored on the filesystem itself. Problem solved!
|
|
|
07-19-2016, 12:39 PM
|
#4
|
LQ Guru
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
|
Quote:
Originally Posted by CptSupermrkt
Since I couldn't use the production machines for testing, I just took two random desktops, had one export a directory, and the other access it via nfs. On the desktop serving/exporting the directory, xfs_quota commands work to both set and get quota information. After setting a limit on the server/exporting desktop for a particular user, the remote machine accessing it via nfs respected the quota for that user (I couldn't create a file larger than the limit, with the expected "disk quota exceeded" message! xfs_quota doesn't report anything on the client host, so all setting/getting of data needs to be done on the server, but yeah, overall it looks like the quota metadata is stored on the filesystem itself. Problem solved!
|
Excellent. Thanks for the info.
If you wish, you can mark this thread as "Solved" using Thread Tools. I like self-solving threads. :-)
|
|
|
All times are GMT -5. The time now is 03:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|