LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 07-18-2016, 09:58 AM   #1
CptSupermrkt
LQ Newbie
 
Registered: Dec 2014
Posts: 5

Rep: Reputation: Disabled
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...)
 
Old 07-19-2016, 04:44 AM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926
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.
 
Old 07-19-2016, 12:35 PM   #3
CptSupermrkt
LQ Newbie
 
Registered: Dec 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
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!
 
Old 07-19-2016, 12:39 PM   #4
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 21 MATE
Posts: 8,048
Blog Entries: 5

Rep: Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926Reputation: 2926
Quote:
Originally Posted by CptSupermrkt View Post
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. :-)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple Apache Servers - Shared Storage markgrinceri Linux - Newbie 5 03-29-2015 02:33 PM
[SOLVED] Shared Storage okcomputer44 Linux - Virtualization and Cloud 8 06-27-2014 05:34 AM
Bash quesion - scp on multiple hosts to multiple directories in each one mierea.ciprian Programming 2 06-22-2012 12:27 PM
Share local disk storage between hosts. jt1 Linux - Server 1 07-20-2010 11:53 PM
XFS: xfs_quota don't wanr me a message when bsoft quota is reached mgumbau Linux - General 0 08-10-2009 08:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:11 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration