Bug 79017 - mount mounts /home twice - fails to mount /home on boot
mount mounts /home twice - fails to mount /home on boot
Status: CLOSED WORKSFORME
Product: Red Hat Linux
Classification: Retired
Component: mount (Show other bugs)
8.0
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Elliot Lee
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-12-04 11:33 EST by Tom Connelly
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-12-04 11:33:10 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Tom Connelly 2002-12-04 11:33:04 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.2) Gecko/20021126

Description of problem:
Failed to mount /home on boot, when run mount -a or mount the /home fs manually,
mounts /home on /usr partition, then on correct partition.  Umount umounts both.
 STRANGE!


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
I think this is obvious if your system manifests this problem.  I have no idea
why is would happen on my system and not on another.  I didn't tweek anything,
this is a plain vanilla RH8 install.
	

Additional info:


See output of df -m, mtab, /proc/mounts, fstab, & e2label (Look at /home):

-ksh-2.05b$ df -m
Filesystem           1M-blocks      Used Available Use% Mounted on
/dev/hda1                  486        81       380  18% /
/dev/hda2                 3088        46      2886   2% /home
none                       125         0       124   0% /dev/shm
/dev/hda2                 4841      2055      2540  45% /usr
/dev/hda5                  687        62       591  10% /var
/dev/hda3                 3088        46      2886   2% /home
-ksh-2.05b$ cat /etc/mtab
/dev/hda1 / ext3 rw 0 0
none /proc proc rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
none /dev/pts devpts rw,gid=5,mode=620 0 0
/dev/hda2 /home ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
/dev/hda2 /usr ext3 rw 0 0
/dev/hda5 /var ext3 rw 0 0
automount(pid705) /home autofs rw,fd=5,pgrp=705,minproto=2,maxproto=3 0 0
/dev/hda3 /home ext3 rw 0 0
-ksh-2.05b$ cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / ext3 rw 0 0
/proc /proc proc rw 0 0
usbdevfs /proc/bus/usb usbdevfs rw 0 0
none /dev/pts devpts rw 0 0
/dev/hda2 /home ext3 rw 0 0
none /dev/shm tmpfs rw 0 0
/dev/hda2 /usr ext3 rw 0 0
/dev/hda5 /var ext3 rw 0 0
automount(pid705) /home autofs rw 0 0
/dev/hda3 /home ext3 rw 0 0

-ksh-2.05b$ cat /etc/fstab
LABEL=/                 /                       ext3    defaults        1 1
none                    /dev/pts                devpts  gid=5,mode=620  0 0
LABEL=/home             /home                   ext3    defaults        1 2
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
LABEL=/usr              /usr                    ext3    defaults        1 2
LABEL=/var              /var                    ext3    defaults        1 2
/dev/hda6               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0 0

e2label output:

[root@penguinista tomc]# /sbin/e2label /dev/hda1
/
[root@penguinista tomc]# /sbin/e2label /dev/hda2
/usr
[root@penguinista tomc]# /sbin/e2label /dev/hda3
/home
[root@penguinista tomc]# /sbin/e2label /dev/hda5
/var
Comment 1 Elliot Lee 2002-12-10 11:10:01 EST
You're running autofs, which is trying to handle /home. Turn it off

Note You need to log in before you can comment on or make changes to this bug.