LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-06-2004, 02:45 PM   #1
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
Quota problems. Can't mount filesystem


hey,

I'm trying to set up quotas on my server so that my flatmates (who have accounts) don't use up all my space. I would like to set quotas on their home folders, which are located in /home

I have done the following:
0. Enabled quota in kernel and recompiled:
pi / # grep -i quota /usr/src/linux/.config
CONFIG_QUOTA=y
CONFIG_QUOTACTL=y

1. installed quota .

2. created the following entry in /etc/fstab:
/dev/hdb1 /home reiserfs defaults,usrquota 1 1

3. not mounted /home
4. turned quota on.

Firstly, I will highlight that I CAN mount /home if I remove the "usrquota" option.

At this stage (with "usrquota" in fstab) I tried to mount /home:

pi / # mount /home
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
or too many mounted file systems

and when I do:
pi / # quotacheck -va
quotacheck: Can't find filesystem to check or filesystem not mounted with quota option.

I get told the same thing.

As I said, I CAN mount the hard drive without the "usrquota" option, so it isn't a hardware problem.

I understand that I have to create the file: "aquota.user" in the filesystem which I will be mounting. This is what I haven't understood. Do I "touch acquota.user" in /home when the filesytem IS mounted or when /home ISN'T mounted? That is my first question.

In order make it when it isn't mounted, I have to take the "usrquota" option off and then mount the filesystem, umount it etc. I have done this.

I have also made hte files in /home when the filesystem wasn't loaded. HOwever, I still get no result.

What is my next move? It seems that the filesystem doesn't want to mount when i have the "usrquota"option on .

Thanks in advance for your help.
Hamish
 
Old 06-06-2004, 10:01 PM   #2
winsnomore
Member
 
Registered: May 2004
Location: USA
Distribution: #1 PCLinuxOS -- for laughs -> Ubuntu, Suse, Mepis
Posts: 315

Rep: Reputation: 31
I can asnwer the first part of your question only. You can't touch unless you mount the fs
 
Old 06-07-2004, 04:34 AM   #3
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Original Poster
Rep: Reputation: 30
Hey.

So I have to remove the "usrquota" option in fstab and then mount /dev/hdb1.
Then I touch the file.
Then I unmount /dev/hdb1 and replace "usrquote" in fstab.
Then I try to mount the drive?

Is that correct?

Thanks
Hamish
 
Old 06-22-2004, 07:25 AM   #4
[NL]_Target
Member
 
Registered: Aug 2003
Distribution: Arch Linux 0.7
Posts: 81

Rep: Reputation: 15
just a quick guess: Does Quota work at ALL on reiserfs ? I have read some time ago that it only works on EXT[2-3] filesystems...
 
Old 06-25-2004, 09:56 AM   #5
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Original Poster
Rep: Reputation: 30
Hey

No, it doesn't work at all. The posts/info I found about getting it to work were from 2002/2003 and it didn't work then.

It stills seems not to. I ended up using ext3.

Hamish
 
  


Reply



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
Having problems mounting hd. (mount: you must specify the filesystem type) brynjarh Linux - Newbie 5 01-05-2011 01:45 AM
mount: unknown filesystem type 'ntfs' when trying to mount windows drive... DiZASTiX Linux - Hardware 12 09-28-2008 07:29 PM
HELP!!! Can't mount filesystem!!! SteelTitan Linux - General 2 06-28-2005 01:57 PM
HELP: I cannot mount my filesystem. Manuel-H Linux - Software 1 06-19-2004 08:14 AM
Can't mount filesystem bureado Linux - Newbie 1 10-29-2003 05:04 PM

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

All times are GMT -5. The time now is 09:14 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