How do I remount partitions already under the root partition for options like quotas

I have a Redhat Enterprise 5 installation. I'd like to set up a quota on a sub directory under the root drive.
I've changed fstab so it now has this...
LABEL=/crawford                      /crawford              ext3         defaults,usrquota   0 0
The directory is called crawford and is writeable and available.
But when I try to run the mount command to get the new options I see this...
mount: special device LABEL=/crawford does not exist.

Am I missing something obvious here ? Help would be welcome.



astincrawfordAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

savoneCommented:
taken from redhat documentation:

At this point you must remount each file system whose fstab entry has been modified. You may be able to simply umount and then mount the file system(s) by hand, but if the file system is currently in use by any processes, the easiest thing to do is to reboot the system.


Find the rest of it here:
http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/admin-primer/s1-storage-quotas.html
0
astincrawfordAuthor Commented:
that didnt work im afraid - rebooting the box brought no change.
Just to clarify I have just 1 filesystem on the bbox i.e /

as a SUBdirectory of / I have /crawford.

I'd like to renoubt just this directory with the usrquota option but I find this doesn't work.
any ideas ?
0
savoneCommented:
Can you post the output of df -h

If /crawford is a subdirectory and not its own filesystem you will not be able to put quotas on just that directory.  Please post the output from df -h and I will be able to help further.

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
elf_binCommented:
You've instructed fstab to "hunt" partitions for the extfs label "/crawford", but we can not find a partition labeled as such (is probably just crawford, not /crawford).  What label did you assign when you created the file system?  If you can't remember (and assuming you're not using LVM or RAID here), type e2label <partition_of_crawford> i.e.: e2label /dev/sdb1

Hope this helps
0
astincrawfordAuthor Commented:
thank you very much - it just looked like it was on the same filesystem so I couldn't set up quotas on it anyway - just wanted to clarify this.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.