Re: ext2 fs not properly updated upon dismount.

Terry L Ridder (terrylr@tbcnet.com)
Wed, 17 Jun 1998 03:28:46 -0500


Richard B. Johnson wrote:
>
> >
> > Is it possible that the problem is at shutdown, that the unmount(8) is
> > mistaking /dev/sdc2 for a filesystem that needs to be unmounted
> > (since it does appear in fstab), and then dying a silent death before
> > it can unmount other partitions?
> >
> > It might be useful to do a series of explit unmounts at shutdown time,
> > or to make sure you don't unmount proc and do a "cat /proc/mounts"
> > after the unmount utility has run to be sure it's really done its
> > job...
>
> I booted with init! I mounted the root-fs r/w with my own two fists!
> I set some paths, started update, and compiled the kernel.
> I dismounted the drive.
> I booted with init and fscked the drive. It was fine.
> I mounted the root-fs r/w, enabled swap, started update, then compiled the
> kernel.
> I dismounted the drive.
> I booted with init and fscked the drive. It was bad. Very bad.
> It is repeatable on three systems.
>
> Cheers,
> Dick Johnson

I have 2.1.106 running on one of my systems and have not seen this
problem. My system is setup as follows:
Two IDE hard drives: /dev/hda & /dev/hdb
Seven SCSI hard drives: /dev/sda thru /dev/sdg
Three SCSI CD-ROMS/CD-ROM Recorders: /dev/sdh thru /dev/sdj

SCSI controller BusLogic Flashpoint BT932 (Dual SCSI)
All SCSI drives are housed in a dual channel external chassis.
Motherboard is a FICA PT-2011 with an AMD K5 @ 100Mhz.
Sound card is a SoundBlaster AWE 32
Two Network cards: NE2000/ISA & 3Com 3C90?/PCI
64 Mb RAM

/dev/hda is divided into two partitions:
/dev/hda1 -- My son's MSDOS, Win3.1, Winnt disk
/dev/hda2 -- My son's OpenStep/Intel partition

/dev/hdb is divided into several partitions
/dev/hdb1 is linux-2.0.33 root partition
/dev/hdb2-7 are all associated with the linux-2.0.33 kernel

/dev/sda is divided into several partiions
/dev/sda1 is linux-2.1.106 root partition
/dev/sdb2-7 are all associated with the linux-2.1.106 kernel
/dev/sdb-sdg are data disks but also have swap partions.

I attempted to repeat your steps several times and
did not experience any problems with filesystems being corrupted.

I do have a couple of questions concerning your hardware.

1. The three systems what SCSI controllers are installed?
2. Are the three systems identical hardware wise?
3. If the three are not identical how are they different?

-- 
Terry L. Ridder
Blue Danube Software (Blaue Donau Software)
"We do not write software, we compose it."

When the toast is burnt and all the milk has turned and Captain Crunch is waving farewell when the Big One finds you may this song remind you that they don't serve breakfast in hell ==Breakfast==Newsboys

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu