LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices

Reply
 
Search this Thread
Old 05-05-2005, 12:26 PM   #1
bplimpton
LQ Newbie
 
Registered: May 2005
Location: Colorado
Posts: 2

Rep: Reputation: 0
Adding Labels To fstab


Hello All

Right now when i do a df all i get is:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
279736320 28065536 237460944 11% /
/dev/sda1 101086 15603 80264 17% /boot
none 1037980 0 1037980 0% /dev/shm

The problem is that i need to set quotas on /home and /var/mail. I figured that the best way to do this is to create labels in fstab like /boot has for /home and /var so that i can then enable quotas on them and they will show up in a df as their own entries. When i edit my fstab to look like this:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/VolGroup00/LogVol00 / ext3 defaults,usrquota,grpquota 1 1
LABEL=/boot /boot ext3 defaults 1 2
LABEL=/var /var ext3 defaults,usrquota,grpquota 1 3
LABEL=/home /home ext3 defaults 1 4
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/hda /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0

and reboot, i get this error:
fsck.ext3: Unable to resolve 'LABEL=/home'
fsck.ext3: Unable to resolve 'LABEL=/var'

Is there something I am forgetting to do when i add a new label of am i going about this the wrong way???

Thanks for any guidance

Last edited by bplimpton; 05-05-2005 at 12:40 PM.
 
Old 05-09-2005, 12:27 AM   #2
RHELL
Member
 
Registered: Feb 2004
Location: Outermost mingetty
Distribution: RHEL3,RH4U4,Sol9, Sol10
Posts: 321

Rep: Reputation: 31
Use e2fslabel, or tune2fs -L to label the partitions. Otherwise mount cannot resolve the label to a partition name.
 
Old 05-09-2005, 11:34 AM   #3
bplimpton
LQ Newbie
 
Registered: May 2005
Location: Colorado
Posts: 2

Original Poster
Rep: Reputation: 0
Smile

Thanks. I though that there was something i was missing
 
  


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
cd labels? firedance Linux - Software 4 04-14-2008 08:19 AM
I cannot access EITHER CD drive! And there's no /dev/hdc or /dev/hdd or /dev/cdrom! Dmalic Linux - Hardware 13 11-18-2005 07:11 PM
Anyone have the Solris 9 Cd Labels? enine Solaris / OpenSolaris 2 02-17-2005 09:53 PM
Adding Dev Tools later on alejandro Linux - Software 4 07-09-2003 02:08 PM
ext3 labels and devfsd acid_kewpie Linux - General 11 05-15-2003 02:07 PM


All times are GMT -5. The time now is 01:37 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration