Koozali.org: home of the SME Server

Problem with fstab?

Offline jreijsenbach

  • ****
  • 71
  • +0/-0
    • http://www.bh24.net
Problem with fstab?
« on: March 29, 2005, 01:07:44 AM »
Hi all,

Today I ran into the following error:

Cannot query your quota for 'abuse' on '/dev/hdd3'
Quota error (are you using NFS?): Not a standard file system Cannot query your quota for 'auke' on '/dev/hdd3'
it repeats this error for all users.

I searched the forum and found http://forums.contribs.org/index.php?topic=6392.msg22918#msg22918 , but I just don't quite get it.  :-?

/etc/fstab shows:
LABEL=/1                /                       ext3    usrquota,grpquota        1 1
LABEL=/boot1            /boot                   ext3    defaults        1 2
/dev/hdc1 /home/e-smith/files/ibays/media/files ext2 defaults 1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner    0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hda2               swap                    swap    defaults        0 0


The hardware setup is as follows:
on ide1 I have the main drive and the cdrom
on ide2 I have a large hdd linked to the media ibay and just now I hooked up another drive which I haven't setup other than connect it.*


Any suggestions on how to fix this would be appreciated.

Jan

* PS The drive in question housed my second SME server which I took out of commision. Maybe it is the problem?
...............

Offline jreijsenbach

  • ****
  • 71
  • +0/-0
    • http://www.bh24.net
Problem with fstab?
« Reply #1 on: March 30, 2005, 07:45:05 PM »
Hi,

Its been suggested to me that my problem with quotas not working properly and a mystery partion hdd3 that isn't mounted may be due to the server trying to automount a recently hooked up drive from my old sme server.
I haven't yet added it to a ibay and done the steps described on the minddigger.com page. I just don't want to break anything here.

So if anyone can help me fix this, I'd appreciate it very much. The new drive is a 30GB drive located as slave on the second ide.

mtab shows:
/dev/hdd3 / ext3 rw,usrquota,grpquota 0 0
none /proc proc rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
/dev/hda1 /boot ext3 rw 0 0
/dev/hdc1 /home/e-smith/files/ibays/media/files ext2 rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
none /dev/shm tmpfs rw 0 0

fstab shows:
LABEL=/1                /                       ext3    usrquota,grpquota        1 1
LABEL=/boot1            /boot                   ext3    defaults        1 2
/dev/hdc1 /home/e-smith/files/ibays/media/files ext2 defaults 1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner    0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
/dev/hda2               swap                    swap    defaults        0 0

Again, if anyone knows how to fix this I'd really appreciate it.

With kind regards,

Jan
...............

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Problem with fstab?
« Reply #2 on: March 31, 2005, 05:09:58 AM »
Quote from: "jreijsenbach"

mtab shows:
/dev/hdd3 / ext3 rw,usrquota,grpquota 0 0


There's a problem right there. Your root partition should be coming from /dev/hda, shouldn't it?

Quote

fstab shows:
LABEL=/1                /                       ext3    usrquota,grpquota        1 1
LABEL=/boot1            /boot                   ext3    defaults        1 2


Do the labels really say "/1" and "/boot1"? Mine say "/" and "/boot".

I'm guessing that linux might be confused because you have multiple partitions (on different drives) with the same labels.

I'd suggest you change the labels on the partitions on drive /dev/hdd and then reboot. Make sure that you have a good backup first.

Offline jreijsenbach

  • ****
  • 71
  • +0/-0
    • http://www.bh24.net
Problem with fstab?
« Reply #3 on: March 31, 2005, 12:01:38 PM »
Thanks Charlie!

This indeed sounds like a plausible cause. I have removed the drive I last added but hadn't gotten around to fdisk. Now all works perfectly again.

I will hook it up to another pc and remove all partitions since I intended tot remove them anyway. Then I wil put it back and fdisk it and assign it to an Ibay. i don't expect any real problems there.

fstab en mtab both look fine now. no hdd3 or any hddx detected. Quoata management also came back to life.

Seems my server saw double for a while ;-)

Thanks again for explaining it to me.

Kind regards,

Jan
...............