Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Using Fedora
FedoraForum Search

Forgot Password? Join Us!

Using Fedora General support for current versions. Ask questions about Fedora and it's software that do not belong in any other forum.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 1st July 2005, 12:14 PM
gatesession Offline
Registered User
 
Join Date: Apr 2005
Posts: 22
quotas ... /etc/fstab

I have searched the forums and found the articles and how-tos.
My problem is a bit different though.


I want to set quotas to /home.

This is my /etc/fstab:

HTML Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/                 /                       ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hdd1               /ftp                    vfat    defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /sys                    sysfs   defaults        0 0
/dev/hda1               swap                    swap    defaults        0 0
/dev/hdc                /media/cdrom            auto    pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed 0 0
/dev/fd0                /media/floppy           auto    pamconsole,exec,noauto,fscontext=system_u:object_r:removable_t,managed 0 0
There is no /home partition there.

If I want to set quotas I presume I need a partition.

This is what I think I have to do.

1. Create new partition with a ext3 filesystem.
2. unmount the existing /home directory
3. Move /home contents to me new partition "/home" with "dd" command?

Is this correct? Any suggestions?

What is LABEL=/ ???


Will my settings for Desktopn, etc be lost after moving the /home to new partition "/home" which I maybe need to create?
Thanx.
Reply With Quote
  #2  
Old 1st July 2005, 03:07 PM
markkuk Offline
Registered User
 
Join Date: Apr 2005
Location: Finland
Posts: 5,076
0. switch to single user mode with "telinit 1".
Quote:
Originally Posted by gatesession
1. Create new partition with a ext3 filesystem.
2. unmount the existing /home directory
You don't have any existing /home partition, so you can't unmount /home. Instead, you must mount the partition created in step 1 to a temporary location, e.g. /mnt.
Quote:
Originally Posted by gatesession
3. Move /home contents to me new partition "/home" with "dd" command?
3. Use "cp -a" to copy the contents of /home to the temporary mount from step 2.
4. Edit /etc/fstab to mount the new /home at next boot with the quota option.
Reply With Quote
Reply

Tags
or etc or fstab, quotas

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help with Quotas mtekc Using Fedora 7 17th November 2006 04:29 PM
quotas mcady_02 Using Fedora 0 28th March 2006 06:27 PM
[HOW-TO] Implementing Quotas zeky Guides & Solutions (No Questions) 0 3rd November 2005 09:49 AM


Current GMT-time: 04:28 (Saturday, 25-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat