Re: ext3 on root partition question

2002-01-25 Thread Douglas J Hunley

Jerry McBride babbled on about:
>
> I've had the experience where a root system running ext3 was so clobbered
> that it had to be accessed via a boot floppy. The only rescue floppy I had
> on hand did not have an fsck thas was able to recover the ext3 system...
>
> Bingo... a big problem, yes? After upgrading the utils on the floppy, I was
> able to fsck.ext3 the partition in question and all data was recoverable.
>
> That was my point, sorry I wasn't clear enough in the begining.

ah! ok. I see what you mean. I *thought* you menat the rescue floppy kernel 
didn't know ext3... I follow you now
-- 
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
Admin: Linux StepByStep - http://linux.nf

/*
 * For moronic filesystems that do not allow holes in file.
 * We may have to extend the file.
 */
2.4.0-test2 /usr/src/linux/fs/buffer.c
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: ext3 on root partition question

2002-01-24 Thread Jerry McBride


> I still dont follow you Jerry. Embarassing how? It will work. I do it all the 
> time. I have an ext2 boot flopy and regularly use it to boot an ext3 system. 


I've had the experience where a root system running ext3 was so clobbered that it had 
to be accessed via a boot floppy. The only rescue floppy I had on hand did not have an 
fsck thas was able to recover the ext3 system...

Bingo... a big problem, yes? After upgrading the utils on the floppy, I was able to 
fsck.ext3 the partition in question and all data was recoverable.

That was my point, sorry I wasn't clear enough in the begining.

___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: ext3 on root partition question

2002-01-24 Thread Douglas J Hunley

Jerry McBride babbled on about:

> That's correct.  But my original post was to the effect of making people
> aware of a real bad gotcha is your RESCUE floppy wasn' ext3 aware. It can
> be very embarassing. :') ___

I still dont follow you Jerry. Embarassing how? It will work. I do it all the 
time. I have an ext2 boot flopy and regularly use it to boot an ext3 system. 
where's the issue?
-- 
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
Admin: Linux StepByStep - http://linux.nf

I don't pirate MS software. It wouldn't be worth the price..
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: ext3 on root partition question

2002-01-23 Thread Jerry McBride

On Wed, 23 Jan 2002 13:34:15 -0500 Douglas J Hunley <[EMAIL PROTECTED]> wrote:

> Jerry McBride babbled on about:
> > I wasn't able to fsck and ext3 partition with old ext2 utils... Quite
> > embarassing.
> 
> if you're running ext3 you need a recent e2fsprogs and util-linux anyway. I 
> kinda thought that this was a given.
>

That's correct.  But my original post was to the effect of making people aware of a 
real bad gotcha is your RESCUE floppy wasn' ext3 aware. It can be very embarassing. :')
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: ext3 on root partition question

2002-01-22 Thread Douglas J Hunley

Susan Macchia babbled on about:
> The output from mount is:
>
> /home/susan/Compaq/backup >mount
> /dev/hda2 on / type ext3 (rw)
> proc on /proc type proc (rw)
> devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
> /dev/hdb5 on /usr type ext3 (rw)
> /dev/hdb1 on /usr/src type ext3 (rw)
> /dev/hdb6 on /opt type ext3 (rw)
> /dev/hdb7 on /home type ext3 (rw)
> shmfs on /dev/shm type shm (rw)
> usbdevfs on /proc/bus/usb type usbdevfs (rw)
>
>
> So it looks like its ext3.  But why would fsck be run on bootup?

well, are you *sure* it was fsck and not a journal replay?

on the other hand, you could have gotten a fsck because it reached maximum 
mount count, or maximum mount time..
-- 
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
Admin: Linux StepByStep - http://linux.nf

How do you know when you're out of invisible ink?
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: ext3 on root partition question

2002-01-22 Thread Susan Macchia

The output from mount is:

/home/susan/Compaq/backup >mount
/dev/hda2 on / type ext3 (rw)
proc on /proc type proc (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/hdb5 on /usr type ext3 (rw)
/dev/hdb1 on /usr/src type ext3 (rw)
/dev/hdb6 on /opt type ext3 (rw)
/dev/hdb7 on /home type ext3 (rw)
shmfs on /dev/shm type shm (rw)
usbdevfs on /proc/bus/usb type usbdevfs (rw)


So it looks like its ext3.  But why would fsck be run on bootup?


Douglass Hunley wrote:

> Susan Macchia babbled on about:
> > Once the system was booted, when I do a 'ps | grep jour'  I see only 4
> > entries and would expect 5 for my 5 partitions:
>
> > So it should be ext3, right?  Can anyone help unravel the mystery?
>
> what does 'mount' say that root is mounted as?
> -- 
> Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
> Admin: Linux StepByStep - http://linux.nf

=
_
Susan Macchia
mailto:[EMAIL PROTECTED]
_

- Running Linux - because life is too short for reboots...

__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



Re: ext3 on root partition question

2002-01-22 Thread Douglas J Hunley

Susan Macchia babbled on about:
> Once the system was booted, when I do a 'ps | grep jour'  I see only 4
> entries and would expect 5 for my 5 partitions:

> So it should be ext3, right?  Can anyone help unravel the mystery?

what does 'mount' say that root is mounted as?
-- 
Douglas J Hunley (doug at hunley.homeip.net) - Linux User #174778
Admin: Linux StepByStep - http://linux.nf

/* Fsck me gently with a chainsaw... */
2.0.38 /usr/src/linux/arch/sparc/kernel/ptrace.c
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.



ext3 on root partition question

2002-01-22 Thread Susan Macchia

Hi all,

I have converted my all my filesystems to ext3.  I am running SuSE 7.3.  But I
am concerned that my root partition did not get converted.  Last night I had a
power outage and on reboot, fschk was run on my root partition.  The boot
screen showed the following message:

/dev/hda2 not cleanly unmounted, check forced

Now all the other partitions looked like they were using the journal files
because for each partition, I saw a message stating (something to the effect)
that the journal file was being checked.

Once the system was booted, when I do a 'ps | grep jour'  I see only 4 entries
and would expect 5 for my 5 partitions:

root50 1  0 06:44 ?00:00:00 [kjournald]
root51 1  0 06:44 ?00:00:00 [kjournald]
root52 1  0 06:44 ?00:00:00 [kjournald]
root53 1  0 06:44 ?00:00:00 [kjournald]


Below is my fstab:

/dev/hda2   /   ext3defaults 1 1
/dev/hdb5   /usrext3defaults 1 2
/dev/hdb1   /usr/srcext3defaults 1 2
/dev/hdb6   /optext3defaults 1 2
/dev/hdb7   /home   ext3defaults 1 2
/dev/hdb2   swapswappri=42 0 0
/dev/cdrecorder /media/cdrecorder   autoro,noauto,user,exec 0 0
/dev/cdrom  /media/cdromautoro,noauto,user,exec 0 0
/dev/fd0/media/floppy   autonoauto,user,sync 0 0
devpts  /dev/ptsdevpts  defaults 0 0
proc/proc   procdefaults 0 0
usbdevfs/proc/bus/usb   usbdevfsdefaults,noauto 0 0



/dev/hda1 has a test version of SuSE7.3 which I can boot into.  I used this to
convert /dev/hda2 (my production root partion).  I am running with the stock
SuSE 7.3 kernel and haven't yet applied any security updates.
 
When I try and rerun tunejfs on /dev/hda2 I get the following message:

tune2fs 1.24a (02-Sep-2001)
The filesystem already has a journal.


So it should be ext3, right?  Can anyone help unravel the mystery?

TIA!

=
_
Susan Macchia
mailto:[EMAIL PROTECTED]
_

- Running Linux - because life is too short for reboots...

__
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/
___
Linux-users mailing list - http://linux.nf/mailman/listinfo/linux-users
Subscribe/Unsubscribe info, Archives,and Digests are located at the above URL.