Hi all

I am trying to get data off someones old machine that died and place it onto a new machine for them. The old machine had two Western Digital IDE drives as RAID1. I have inserted one of the drives into a new machine in place of the CDROM drive and connected it's IDE cable up and it shows up as /dev/sdc

/dev/sdc
     sdc1
     sdc2
     sdc3
     sdc5

Both of the drives show the same info above. By trying mount I can see that partition 2 is the swap, 1 is probably a /boot and the data that I wish to retrieve is on either or both of 3 or 5. See "Try to mount the Partitions" below.

I also used mdadm to get some detailed info on sdc5 (see below).

My problem is that I can't work out how to mount sdc3 (have tried -t ext3, -t reiserfs, -t auto) or sdc5. The latter is probably the one I want. I gather the partition table says it 'mdraid' and I need to change that?

I have two drives, and both give the same info. I just need to mount ONE of them and copy the data off it. I don't want to try and setup the original raid.
(PS: the machine I have one of them installed on is using mdraid and LVM)


Try to mount the Partitions
---------------------------
# mount -r /dev/sdc1 /mnt
mount: unknown filesystem type 'mdraid'

# mount -r /dev/sdc2 /mnt
/dev/sdc2 looks like swapspace - not mounted
mount: you must specify the filesystem type

# mount -r /dev/sdc3 /mnt
mount: you must specify the filesystem type

# mount -r /dev/sdc5 /mnt
mount: unknown filesystem type 'mdraid'


Use mdadm to examine these partitions
-------------------------------------

# /sbin/mdadm --examine /dev/sdc2
mdadm: No md superblock detected on /dev/sdc2 <-- as it's swap OK

# /sbin/mdadm --examine /dev/sdc3
mdadm: No md superblock detected on /dev/sdc3

# /sbin/mdadm --examine /dev/sdc5
/dev/sdc5:
          Magic : a92b4efc
        Version : 00.90.00
           UUID : b6035660:c11a8a2e:7026aea2:99d23bfc
  Creation Time : Wed May 14 15:10:36 2003
     Raid Level : raid1
  Used Dev Size : 108486848 (103.46 GiB 111.09 GB)
     Array Size : 108486848 (103.46 GiB 111.09 GB)
   Raid Devices : 2
  Total Devices : 2
Preferred Minor : 1

    Update Time : Tue Aug  5 21:07:20 2008
          State : clean
 Active Devices : 2
Working Devices : 2
 Failed Devices : 0
  Spare Devices : 0
       Checksum : b9113923 - correct
         Events : 0.8311948

      Number   Major   Minor   RaidDevice State
this     0      33        5        0      active sync

   0     0      33        5        0      active sync
   1     1      34        5        1      active sync
[EMAIL PROTECTED] dev]#



--
Michael Lake
Computational Research Centre of Expertise
Science Faculty, UTS
Ph: 9514 2238




--
UTS CRICOS Provider Code:  00099F
DISCLAIMER: This email message and any accompanying attachments may contain
confidential information.  If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments.  If
you have received this message in error, please notify the sender immediately
and delete this message. Any views expressed in this message are those of the
individual sender, except where the sender expressly, and with authority,
states them to be the views of the University of Technology Sydney. Before
opening any attachments, please check them for viruses and defects.

Think. Green. Do.

Please consider the environment before printing this email.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to