Hi All,

I've been running a Debian Woody server for web and mail for a couple years,
so I have _some_ general troubleshooting knowledge, but this problem has me
stumped.

Some background...

I recently ordered a dedicated server (from ServerBeach) do to some web
hosting on.  The initial Debian Woody install was done by them, but I don't
know the exact installation process.  I'll be trying to get that from them
tomorrow to see if helps me.  I also have a system here which I was trying
to make identical to the dedicated server to use as a test machine before
making any major changes to the dedicated server.  The test machine was
installed from the Debian Woody cd with a 2.2 kernel initially.  I then
upgraded to 2.4.18-1-k6, the dedicated server is running 2.4.18-1-k7.  Both
have the same partition/filesystem layout, both are using grub, and both
have identical /etc/fstab files.

# cat /etc/fstab:

/dev/hda3   /       ext3    errors=remount-ro,usrquota,grpquota   0 1
proc        /proc   proc    defaults                              0 0
/dev/hda2   none    swap    sw                                    0 0
/dev/hda1   /boot   ext3    defaults                              0 2

The problem...

The contents of /etc/mtab and the output from mount return different results
on each system, but /proc/mounts is the same.  It looks to me like the
server still has /dev2/root still mounted instead of /dev/hda3.  This has
been causing trouble setting up quotas on the server, the error message is
further down.

>From the server:

# cat /etc/mtab
/dev2/root / ext3 rw 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/hda1 /boot ext3 rw 0 0

# mount
/dev2/root on / type ext3 (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw)
/dev/hda1 on /boot type ext3 (rw)

# cat /proc/mounts
/dev2/root / ext3 rw 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/hda1 /boot ext3 rw 0 0

>From the test machine:

# cat /etc/mtab
/dev/hda3 / ext3 rw,errors=remount-ro,usrquota,grpquota 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/hda1 /boot ext3 rw 0 0

# mount
/dev/hda3 on / type ext3 (rw,errors=remount-ro,usrquota,grpquota)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/hda1 on /boot type ext3 (rw)

# cat /proc/mounts
/dev2/root / ext3 rw 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw 0 0
/dev/hda1 /boot ext3 rw 0 0

Output from quotacheck...

# quotacheck -cugvm /dev/hda3
quotacheck: Can't stat() mounted device /dev2/root: No such file or
directory
quotacheck: Can't find mountpoint for device /dev/hda3
quotacheck: No correct mountpoint specified.
quotacheck: Can't initialize mountpoint scan.

# quotacheck -cugvm /dev2/root
quotacheck: Can't stat() mounted device /dev2/root: No such file or
directory
quotacheck: Can't stat() given mountpoint /dev2/root: No such file or
directory
Skipping...
quotacheck: No correct mountpoint specified.
quotacheck: Can't initialize mountpoint scan.

I've STFW for two days, but havn't been able to find anything about this.  I
had a friend check his Debian system and his looks similar to my test
system.

Any help would be appreciated, even if it's just pointing out which machine
is actually broken.  If there's any other config files or logs I should
post, I'd be happy to.

Thanks in advance.


Bill Greganti
Greganti Consulting
714-746-3356
www.greganti.com

Reply via email to