/dev2/root still mounted after boot

From: Bill Greganti (bill_at_greganti.com)
Date: 07/02/04

  • Next message: Robert Waldner: "Re: Creating own installer images"
    To: "'Debian User List'" <debian-user@lists.debian.org>
    Date: Fri, 2 Jul 2004 00:12:18 -0700
    
    

    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


  • Next message: Robert Waldner: "Re: Creating own installer images"

    Relevant Pages

    • Permission to view system tables in master database
      ... I am trying to avoid the "Permission denied" error message when a proc tries ... Creating a proc that can view server state ... Master DB ... Create user for special login in the User DB ...
      (microsoft.public.sqlserver.security)
    • Re: VBA - Create a recordset with no records for inserting
      ... directly into the server, I can run a PROC that gets files from my desktop. ... The ServiceBroker will construct the dynamic SQL statement to BULK INSERT the ...
      (microsoft.public.data.ado)
    • Re: More Server Crash Saga
      ... PROC Protocol | Not Readable | ns ... That is a one unit rack mount server, which makes it prone to have heat problems, particularly under any load. ... Does the output of vmstat -i for fove seconds show a problem? ... root on s1# vmstat -i ...
      (freebsd-questions)
    • Re: Optimizer goes bad but then recovers
      ... is low compared to the cost of a 'bad plan' you might simply create the proc ... have the better plan. ... SQL Server MVP ... >> But every few days some of the main stored procedures get a bad ...
      (microsoft.public.sqlserver.server)