You need to look at the partition table on the md device.  if it has a file
system it should have a number associated with it.  Any partition editor
should be ok with looking at it.


On Thu, Jan 30, 2014 at 11:12 PM, Daniel Herrington <[email protected]>wrote:

> All,
>
> I have a raid array that failed about a year and a half ago, around the
> same time that my computer wouldn't post. I pulled apart the computer to
> troubleshoot but made no headway, then got sidetracked on other things. The
> point, I no longer have any logs to see why it failed or what FS type it
> was.
>
> Fast forward to now, I've put in the former raid disks into a new computer
> and am attempting to rebuild the array. It was 3 disks, but one is bad. I
> can assembled the other two into an array:
>
> dan@#### ~/Documents/work $ sudo blkid
> /dev/loop0: LABEL="UDF Volume" TYPE="udf"
> /dev/sda1: LABEL="System Reserved" UUID="528642D98642BD6B" TYPE="ntfs"
> /dev/sda5: UUID="c05eba1e-a49c-4ea7-a4b7-f3fd2eb5b5b3" TYPE="ext4"
> /dev/sda6: UUID="21204c90-6058-4167-94b9-514fd474d2ce" TYPE="swap"
> /dev/sda7: UUID="7c5d5947-36d7-4c4f-8c56-5034fc91cb6b" TYPE="ext4"
> /dev/sdd1: UUID="7ec2e712-594d-6024-e183-a91eedb031b1"
> TYPE="linux_raid_member"
> /dev/sde1: UUID="7ec2e712-594d-6024-e183-a91eedb031b1"
> TYPE="linux_raid_member"
>
>
> dan@##### ~/Documents/work $ sudo cat /proc/mdstat
> [sudo] password for dan:
> Personalities : [linear] [multipath] [raid0] [raid1] [raid6] [raid5]
> [raid4] [raid10]
> md5 : active raid5 sde1[1] sdd1[0]
>       732571648 blocks level 5, 512k chunk, algorithm 2 [2/2] [UU]
>
> unused devices: <none>
>
> dan@torwin ~/Documents/work $ sudo mdadm -Q --detail /dev/md5
> /dev/md5:
>         Version : 0.90
>   Creation Time : Thu Jan 30 16:00:01 2014
>      Raid Level : raid5
>      Array Size : 732571648 (698.63 GiB 750.15 GB)
>   Used Dev Size : 732571648 (698.63 GiB 750.15 GB)
>    Raid Devices : 2
>   Total Devices : 2
> Preferred Minor : 5
>     Persistence : Superblock is persistent
>
>     Update Time : Thu Jan 30 16:17:48 2014
>           State : clean
>  Active Devices : 2
> Working Devices : 2
>  Failed Devices : 0
>   Spare Devices : 0
>
>          Layout : left-symmetric
>      Chunk Size : 512K
>
>            UUID : 7ec2e712:594d6024:e183a91e:edb031b1 (local to host
> torwin)
>          Events : 0.1
>
>     Number   Major   Minor   RaidDevice State
>        0       8       49        0      active sync   /dev/sdd1
>        1       8       65        1      active sync   /dev/sde1
>
>
> But when I go to mount the array:
> dan@torwin ~/Documents/work $ sudo mount /dev/md5
> /home/dan/Documents/work/foo
> mount: you must specify the filesystem type
>
> So clearly it wasn't an extfs file system. I ran fsck on it and get the
> "Bad magic number" message. Anybody know a way to determine the FS type?
>
> thanks,
> --
> Daniel B. Herrington
> _______________________________________________
> PLUG mailing list
> [email protected]
> http://lists.pdxlinux.org/mailman/listinfo/plug
>
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to