unix mount problem

From: oktokie (oktokie_at_yahoo.com)
Date: 09/30/03


Date: Tue, 30 Sep 2003 15:19:00 GMT

Dear Guru,

I am currently running gentoo linux as follows.
gentoo linux 1.4 - (linux-2.4.20-gentoo-r6)
cpu: 2.4xeon x 2
memory: 4GB
ide hard
/dev/hda1 - ext2 - /boot
/dev/hda2 - swap - <swap>
/dev/hda3 - ext3 - /
/dev/hda4 - ext3 - /home

Recently, I've upgraded system using following commands.
emerge sync
emerge --update world

Since, then I've been having a trouble mounting /home(/dev/hda4)
directory automatically upon boot. When I login system complains that
/home/oktokie does not exist and it just drops me into "/" directory.
When I "df -h" it shows me following:
===========================df -h=====================================
Filesystem Size Used Avail Use% Mounted on
/dev/root 3.8G 1.5G 2.1G 42% /
/dev/hda4 51G 22G 27G 45% /home
tmpfs 1.9G 0 1.9G 0% /dev/shm
=====================================================================

Funny thing is that /etc/mtab says that it's mounted but in actual life,
it isn't! Plus, before upgrade "/" partition used to mount as /dev/hda3,
but it has changed to /dev/root. I've not used label tool to label root
device. After I issue "umount /home", faks /home directory seems to be
clear out of /etc/mtab. Then when I try to mount /dev/hda4 as /home, it
complains of disk inconsistancy which forces me to run "fsck.ext3
/dev/hda4" and it says fixing journaling file system. Isn't journaling
introduced that we didn't have to run fsck everytime unix filesystem was
unproperly mounted? I am thinking it might be the new kernel but where
do I make the changes? I think I did everything correctly(I never had
problem with previous kernels - so there's very little chance).
Or, could it be "emerge sync" might have updated my some of the startup
script. Which linux start-up script mounts the partitons? I may need to
start reading startup shell script. Or, has anyone out there with gentoo
1.4 give you trouble upon recent upgrade?

Thank you in advance.

Oktokie the network plumber

=====================================fstab=================================
/dev/hda1 /boot ext2 noauto,noatime
1 1
/dev/hda2 none swap sw
0 0
/dev/hda3 / ext3 noatime
0 0
/dev/hda4 /home ext3 noatime
0 0
/dev/cdroms/cdrom0 /mnt/cdrom iso9660 noauto,ro
0 0
proc /proc proc defaults
0 0
tmpfs /dev/shm tmpfs defaults
0 0
=============================end===========================================



Relevant Pages

  • linux mount problem
    ... I am currently running gentoo linux as follows. ... Plus, before upgrade "/" partition used to mount as /dev/hda3, ... Which linux start-up script mounts the partitons? ...
    (alt.os.linux)
  • RE: A little script help please .... USB Keychain Drives
    ... =>We upgrade to 2.6.16.16 and this is now broken and thanks to the ... One option is to use sudo to run the script as root. ... USB device is and mount it for me? ...
    (Fedora)
  • automate dcpromo during nt4 pdc upgrade to W2k3 DC
    ... I am attempting to script the upgrade of a NT4 PDC to a W2K3 domain ... I have set the UnAttendMode to ... FullUnattended and the upgrade works perfectly up to the point where the ... @rem SetupMgrTag ...
    (microsoft.public.windows.server.migration)
  • Re: samba-common = 3.0.23d-4 but 3.0.24-2 is installed
    ... wants to upgrade to is 3.0.23d-4 which is lower. ... The problem is that the pre-removal script ... Reading package lists... ... warning - old pre-removal script returned error exit status 102 ...
    (Debian-User)
  • Re: FC2 upgrade-X problem
    ... Immideately after upgrade completed I ran 'yum update' ... > getting the X server to launch. ... I made up a test script that runs all the ... > longer able to run startx. ...
    (Fedora)