Dear ext3 hackers, I'm running a RH 7.2 system with kernel 2.4.18 an a ext3 fs. Yesterday night this machine, which is being tested with a Proxy server (Squid), was accidentally power off (electrical outage). Now, when the system is booted, I have a ext2 'read only' fs; fsck doesn't find any kind of problem (automatic or manually executed: fsck -t ext3 /dev/sdb1). The only fstab option set is: data=writeback. I don't have any reported error from /var/log/messages. I'd like to know (1) why this fs can't be mounted in rw mode, (2) how can I do to repair/mount it in rw mode and (3) why it is being mounted as ext2. Thanks in advance for any suggestion. Jorge Carminati. P.S.: Please cc to jcarminati@pluspetrol.com.ar, as I'm not subscribed to this mailing list.
On Wed, Mar 27, 2002 at 09:40:58AM -0300, jcarminati@pluspetrol.com.ar wrote:> I'm running a RH 7.2 system with kernel 2.4.18 an a ext3 fs. > > Yesterday night this machine, which is being tested with a Proxy server > (Squid), was accidentally power off (electrical outage). Now, when the > system is booted, I have a ext2 'read only' fs; fsck doesn't find any kindYou are sure you had ext3 before? Did mount tell you that? Did you do a "cat /proc/mounts" ?> of problem (automatic or manually executed: fsck -t ext3 /dev/sdb1). The > only fstab option set is: data=writeback.OK. metadata journalling only.> I'd like to know (1) why this fs can't be mounted in rw mode,Due to some error. Did you reboot after the fsck?> (2) how can I do to repair/mount it in rw mode andYou could try an ext2 fsck!> (3) why it is being mounted as ext2.maybe it was never mounted ext3 -- Ralf Hildebrandt (Im Auftrag des Referat V A) Ralf.Hildebrandt@charite.de Charite Campus Virchow-Klinikum Tel. +49 (0)30-450 570-155 Referat V A - Kommunikationsnetze - Fax. +49 (0)30-450 570-916 What about the four lusers of the apocalypse? I nominate: "advertising", "can't log in", "power switch" and "what backup?" Runners-up: "But I only changed one line" and "What's the any key"?
>> I'm running a RH 7.2 system with kernel 2.4.18 an a ext3 fs. >> >> Yesterday night this machine, which is being tested with a Proxy server >> (Squid), was accidentally power off (electrical outage). Now, when the >> system is booted, I have a ext2 'read only' fs; fsck doesn't find anykind>You are sure you had ext3 before? Did mount tell you that? Did you do a >"cat /proc/mounts" ?Well, After inspecting a little more, I found this message while booting in init 3: "Remounting root filesystem in read-write mode: mount: / not mounted already, bad option." So, I rebooted in RH's 'rescue mode', and modified my /etc/fstab, which looked like this: LABEL=/ / ext3 data=writeback 1 1 I supposed that 'data=writeback' was causing this error, I simply change that parameter for "defaults" and then the fs was correctly mounted in rw ext3. Where or how should I set 'data=writeback' ? I supposed that fstab was the right place. Thanks again. Jorge Carminati.
Hi! Now I know where all this begans... Anyway, I still don't understand why mount reported that it had an ext2 fs in rw mode mounted (wrong) while actually was mounted ext3 in ro mode, which disconcerted me a little more. Thanks to all for the replies and for ext3 development ! Jorge Carminati.
It's my understanding that the mount command can display incorrect information. I have always been told to 'cat /proc/mounts' to see what the kernel sees as being mounted and what options are used to mount the filesystem(s). I hope this helps, Andy. -----Original Message----- From: jcarminati@pluspetrol.com.ar [mailto:jcarminati@pluspetrol.com.ar] Sent: Wednesday, March 27, 2002 10:58 AM To: ext3-users@redhat.com Subject: Howto recovering an ext3 fs Hi! Now I know where all this begans... Anyway, I still don't understand why mount reported that it had an ext2 fs in rw mode mounted (wrong) while actually was mounted ext3 in ro mode, which disconcerted me a little more. Thanks to all for the replies and for ext3 development ! Jorge Carminati. _______________________________________________ Ext3-users mailing list Ext3-users@redhat.com listman.redhat.com/mailman/listinfo/ext3-users