brent timothy saner on 13 Apr 2009 11:34:44 -0700 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Glenn Kelley wrote: > i have a fairly large drive full of data that we need (well a client > does) and the drive on reboot forced a fsck > > could i just mount it as an ext2 vs. ext3 to grab the data? > did the fsck complete- is it persistent across reboots? and yes, you can totally do that. if all you need is the data, then you can do what's outlined at http://www.redhat.com/docs/manuals/linux/RHL-7.3-Manual/ref-guide/s1-filesystem-ext2-revert.html MAKE SURE IT'S UNMOUNTED FIRST. (although if it won't mount in the first place...) #where foo = device node of your harddisk, tune2fs -O ^has_journal foo #then check filesystem just in case e2fsck -y foo #then mount it. the contents in ( ) may be necessary, they may not be depending on kernel options and version of mount, etc. mount (-t ext2) foo /mnt/bar #OPTIONAL: remove old journal rm -f /mnt/bar/.journal -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknjhY0ACgkQ8u2Zh4MtlQppawCfT8PSgSVx6tBgadjBpszTgAAc 1o0An14FnhXXDrGn/+R3n+PwrG4oJX3X =N661 -----END PGP SIGNATURE----- ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|