[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[K12OSN] Re: Help! Please!



Ascension Tech wrote:
Ok, I'm assuming I messed that md1 up for good. I'm a jackass. Moving
on....With knoppix, I read-only mounted one of the raid 1 partitions
of /home and did "cp -r -p " to a usb2 drive.

You may want to use cp -a (for "archive").



On Wed, 15 Dec 2004 16:03:27 -0500, Ascension Tech <ascensiontech gmail com> wrote:

Do you mean that I could do a minimal install on a spare machine with
the exact same size /boot partition and array and copy it over?

probably. It would have to contain the same files that grub was using to boot previously. Before copying you'll want to wipe the filesystem by reformatting (mke2fs -j ... /dev/mdX ) because it is messed up.


If that's not possible, since it's safer, how do get knoppix to recognize my md1 array instead of 2 identical partitions.

Do you mean md2? I'm getting confused. You may have to start the array with raidtools or mdadm if it is not autodetected. I don't know which tools are in knoppix. Example: mdadm --assemble /dev/md3 /dev/hdb1 /dev/hdc3 (Don't use create).



Thanks again! Peter


On Wed, 15 Dec 2004 11:51:30 -0500, Frank Samuelson <fws4 cdrh fda gov> wrote:


You're a little light on details, but here goes

Ascension Tech wrote:

Oh man, am I screwed!  I had a filesystem problem after a reboot
saying 'extended attribute block...reference count 18 should be 17"
for md2 .  I freaked out and ended up accidentally fscking up my md1
array instead (I think may be /boot.  doe!).  Then it was saying "bad
magic number in super-block".  Booting says after grub "VFS: can't
find ext3 filesystem on dev md1".

This is very odd. Fscking the disk shouldn't hurt it. Was it mounted at the time?

> Linux Rescue from the cd can't find

a file system at all but I think that may be sata driver related
because knoppix sees some of it, thankfully the raid 1 partitions  of
my /home.

You're good then, no?



Obviously I'm new to this and I wouldn't say this machine
is in full production (planned for the 2nd semester).  But if it can't
be saved I would like to save at least my /home directory, which has a
webmin batch file of users as well as some peoples docs.  Can someone
help me recover some or all this?

Do you have a back-up of the partition (/boot?) that you destroyed? Or another machine with an identical partition that you could copy? Then you could reformat and dump the backup.


If I try and copy /home to another
drive do I need knoppix to recognize it as a raid partition

This would probably be the safest thing to do.



or can I
just copy one since they are exactly the same size?

As a matter of fact, you can. A single device from a RAID1 drive will mount and read like a regular drive, although I wouldn't necessarily recommend it. If you do this, you may want to mount it read-only if you can.

> For the original

reference count error should I just have let it fix?

Probably, unless you know more about the structure of ext3 file systems than the people to wrote the program. :)

_______________________________________________
K12OSN mailing list
K12OSN redhat com
https://www.redhat.com/mailman/listinfo/k12osn
For more info see <http://www.k12os.org>


_______________________________________________ K12OSN mailing list K12OSN redhat com https://www.redhat.com/mailman/listinfo/k12osn For more info see <http://www.k12os.org>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]