Koozali.org: home of the SME Server

Second Harddrive Problem

tgraham

Second Harddrive Problem
« on: October 08, 2004, 06:29:22 PM »
I followed the extra hard disk howto but I am still getting the following error:

mount: mount point 1 does not exist

I have an 80G disk I am trying to mount at:
/home/e-smith/files/ibays/Primary/

My fstab:

LABEL:/     /           ext3    usrquota,grpquota 1 2
LABEL:/boot /boot       ext3    defaults          0 0
none        /dev/pts    devpts  sid=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
/dev/hdb1   /home/e-smith/files/ibays/Primary ext3 usrqouta,grpquota  1 2

It does mount at the desired place (df -T shows this) but quotas are not activated. Is this error associated with quotas somehow?

Terry Graham

RonM

Second Harddrive Problem
« Reply #1 on: October 08, 2004, 11:42:25 PM »
Hi Terry
What happened when you activated the quota with
quotacheck -vugc /dev/hdb1
per step 6? Did you get any error messages?

Is your disk a slave on IDE 1? This prohibits subsequent reads and writes across disks, perhaps this is messing up quotas.

RavenIV

Second Harddrive Problem
« Reply #2 on: October 09, 2004, 01:30:28 AM »
some questions to help you:
- is your new harddisk formatted with ext3?
- is there a directory called ....Primary?
- is ...Primary a symbolic link?
- do you have the permissions to mount a drive to ...Primary?
- did you try to mount your drive to another directory (mountpoint)?
- did you try to mount it with default parameters (no quota)?

cheers

msoulier

Re: Second Harddrive Problem
« Reply #3 on: October 09, 2004, 02:52:15 AM »
Quote from: "tgraham"

My fstab:

LABEL:/     /           ext3    usrquota,grpquota 1 2
LABEL:/boot /boot       ext3    defaults          0 0
none        /dev/pts    devpts  sid=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
/dev/hdb1   /home/e-smith/files/ibays/Primary ext3 usrqouta,grpquota  1 2


Looks like a spelling error to me.

Mike

RavenIV

Second Harddrive Problem
« Reply #4 on: October 09, 2004, 04:00:24 AM »
i don't see a misspelling.
please tell us where you found it.

cheers

tgraham

Second Harddrive Problem
« Reply #5 on: October 09, 2004, 05:19:53 AM »
Sorry it took so long to get back to this but I was
busy this afternoon. When I run
"quotacheck -vugc /dev/hdb1" I get the following error:

quotacheck: Can't find filesystem to check or filesystem
not mounted with quota option

I know the disk is mounted becauce I can go to the dir
and see the files and df -T tells me that it is mounted
where I want it to be. This is why I think it is a
quota problem.

The disk is physically mounted as the slave on the
primary IDE channel to answer the other question.

Terry Graham

RavenIV

Second Harddrive Problem
« Reply #6 on: October 09, 2004, 05:28:32 AM »
what happens if you manualy mount the disk like it is written in the fstab?
and then do a quotacheck?

cheers

tgraham

Second Harddrive Problem
« Reply #7 on: October 09, 2004, 05:55:26 AM »
Quote
what happens if you manually mount the disk like it is written in the fstab?
and then do a quotacheck?


The disk mounts fine but quota is not turned on.
Just curious, but what should be in my mtab file?

Terry Graham
[/quote]

duncan

Second Harddrive Problem
« Reply #8 on: October 09, 2004, 06:22:10 AM »
Quote from: "RavenIV"
i don't see a misspelling.
please tell us where you found it.

cheers


Code: [Select]
/dev/hdb1 /home/e-smith/files/ibays/Primary ext3 usrqouta,grpquota 1 2

Look closely

RavenIV

Second Harddrive Problem
« Reply #9 on: October 09, 2004, 06:47:41 AM »
Quote from: "duncan"
Quote from: "RavenIV"
i don't see a misspelling.
please tell us where you found it.

cheers


Code: [Select]
/dev/hdb1 /home/e-smith/files/ibays/Primary ext3 usrqouta,grpquota 1 2

Look closely


-> usrqouta

Michiel

Re: Second Harddrive Problem
« Reply #10 on: October 10, 2004, 02:45:52 PM »
Quote from: "tgraham"
/dev/hdb1   /home/e-smith/files/ibays/Primary ext3 usrqouta,grpquota  1 2


Just being curious. Primary is your default website, so why do you need quota turned on for this disk?

Michiel