LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-08-2013, 02:04 AM   #1
kamalryu
LQ Newbie
 
Registered: Sep 2011
Posts: 1

Rep: Reputation: Disabled
Unhappy mdadm raid devices unmounted, not able to stop or mount them


Hello Guys,

I've a RHEL4U4 Server having 2xMSA1500 controller with 2xMSA20(500x11 HDD).
configured as ARRAY A and ARRAY B for both controllers

each Array does have 20 Logical volumes and are mirrored
My problem is 4 partitions that is , md15, md16, md18 and md19 is having some problem and not mounting, here is some o/p:-

/bin/uname -a
Linux Server-1 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux

/bin/mount
/dev/cciss/c0d0p2 on / type ext3 (rw)
none on /proc type proc (rw)
none on /sys type sysfs (rw)
none on /dev/pts type devpts (rw,gid=5,mode=620)
usbfs on /proc/bus/usb type usbfs (rw)
/dev/cciss/c0d0p1 on /boot type ext3 (rw)
none on /dev/shm type tmpfs (rw)
/dev/cciss/c0d0p9 on /home type ext3 (rw)
/dev/cciss/c0d0p8 on /tmp type ext3 (rw)
/dev/cciss/c0d0p7 on /usr type ext3 (rw)
/dev/cciss/c0d0p5 on /usr/local type ext3 (rw)
/dev/cciss/c0d0p6 on /var type ext3 (rw)
/dev/mapper/vg0-lv0 on /dbdata1 type ext3 (rw)
/dev/mapper/vg1-lv1 on /dbdata2 type ext3 (rw)
/dev/mapper/vg2-lv2 on /imagedata1 type ext3 (rw)
/dev/mapper/vg3-lv3 on /imagedata2 type ext3 (rw)
/dev/mapper/vg4-lv4 on /imagedata3 type ext3 (rw)
/dev/mapper/vg5-lv5 on /imagedata4 type ext3 (rw)
/dev/mapper/vg6-lv6 on /imagedata5 type ext3 (rw)
/dev/mapper/vg7-lv7 on /imagedata6 type ext3 (rw)
/dev/mapper/vg8-lv8 on /imagedata7 type ext3 (rw)
/dev/mapper/vg9-lv9 on /imagedata8 type ext3 (rw)
/dev/mapper/vg10-lv10 on /imagedata9 type ext3 (rw)
/dev/mapper/vg11-lv11 on /imagedata10 type ext3 (rw)
/dev/mapper/vg12-lv12 on /imagedata11 type ext3 (rw)
/dev/mapper/vg13-lv13 on /imagedata12 type ext3 (rw)
/dev/mapper/vg14-lv14 on /imagedata13 type ext3 (rw)
/dev/mapper/vg17-lv17 on /imagedata16 type ext3 (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfsd on /proc/fs/nfsd type nfsd (rw)


Personalities : [raid1]
md1 : active raid1 sdb1[0]
460800320 blocks [2/1] [U_]

md2 : active raid1 sdc1[0]
511999424 blocks [2/1] [U_]

md3 : active raid1 sdd1[0]
511999424 blocks [2/1] [U_]

md4 : active raid1 sde1[0]
511999424 blocks [2/1] [U_]

md5 : active raid1 sdf1[0]
511999424 blocks [2/1] [U_]

md6 : active raid1 sdg1[0]
511999424 blocks [2/1] [U_]

md7 : active raid1 sdh1[0]
511999424 blocks [2/1] [U_]

md8 : active raid1 sdi1[0]
511999424 blocks [2/1] [U_]

md9 : active raid1 sdj1[0]
511999424 blocks [2/1] [U_]

md10 : active raid1 sdk1[0]
511999424 blocks [2/1] [U_]

md11 : active raid1 sdl1[0]
511999424 blocks [2/1] [U_]

md12 : active raid1 sdag1[1] sdm1[0]
511999424 blocks [2/2] [UU]

md13 : active raid1 sdn1[0]
511999424 blocks [2/1] [U_]

md14 : active raid1 sdo1[0]
511999424 blocks [2/1] [U_]

md15 : active raid1 sdaj1[1] sdp1[0]
511999424 blocks [2/2] [UU]

md16 : active raid1 sdak1[1]
511999424 blocks [2/1] [_U]

md17 : active raid1 sdr1[0]
511999424 blocks [2/1] [U_]

md18 : active raid1 sdam1[1]
511999424 blocks [2/1] [_U]

md19 : active raid1 sdan1[1]
511999424 blocks [2/1] [_U]

md0 : active raid1 sdu1[2] sda1[0]
460800320 blocks [2/2] [UU]

unused devices: <none>

Filesystems

nodev sysfs
nodev rootfs
nodev bdev
nodev proc
nodev sockfs
nodev binfmt_misc
nodev usbfs
nodev usbdevfs
nodev futexfs
nodev tmpfs
nodev pipefs
nodev eventpollfs
nodev devpts
ext2
nodev ramfs
nodev hugetlbfs
iso9660
nodev relayfs
nodev mqueue
nodev selinuxfs
ext3
nodev rpc_pipefs
nodev autofs
nodev nfsd
vfat


When I'm trying to Mount the device is shows something like this

root@10.32.190.5's password:
Last login: Fri Mar 8 12:40:05 2013 from 10.17.62.250
[root@Server-1 ~]# mount /dev/vg15/lv15 /imagedata14/
mount: you must specify the filesystem type
[root@Server-1 ~]# mount -t ext3 /dev/vg15/lv15 /imagedata14/
mount: wrong fs type, bad option, bad superblock on /dev/vg15/lv15,
or too many mounted file systems
[root@Server-1 ~]# mdadm -S /dev/md15
mdadm: fail to stop array /dev/md15: Device or resource busy


tail dmesg shows

EXT3-fs: group descriptors corrupted !
SELinux: initialized (dev ramfs, type ramfs), uses genfs_contexts
NET: Registered protocol family 10
Disabled Privacy Extensions on device c0344160(lo)
IPv6 over IPv4 tunneling driver
divert: not allocating divert_blk for non-ethernet device sit0
mtrr: type mismatch for f0000000,2000000 old: uncachable new: write-combining
drivers/usb/input/hid-input.c: event field not found
Adding 16779884k swap on /dev/cciss/c0d0p3. Priority:-1 extents:1
SELinux: initialized (dev binfmt_misc, type binfmt_misc), uses genfs_contexts

mdadm --detail /dev/md15
/dev/md15:
Version : 00.90.01
Creation Time : Sat May 24 01:33:04 2008
Raid Level : raid1
Array Size : 511999424 (488.28 GiB 524.29 GB)
Device Size : 511999424 (488.28 GiB 524.29 GB)
Raid Devices : 2
Total Devices : 2
Preferred Minor : 15
Persistence : Superblock is persistent

Update Time : Thu Mar 7 15:40:29 2013
State : clean
Active Devices : 2
Working Devices : 2
Failed Devices : 0
Spare Devices : 0


Number Major Minor RaidDevice State
0 8 241 0 active sync /dev/sdp1
1 66 49 1 active sync /dev/sdaj1
UUID : d7c2090f:3fed34ed:bdf89c12:a3bad17d
Events : 0.1006049

mdadm --examine /dev/md15
mdadm: No super block found on /dev/md15 (Expected magic a92b4efc, got 00000000)

Please help me to get rid of the problem
 
Old 03-16-2013, 06:58 AM   #2
spazticclown
Member
 
Registered: Sep 2010
Distribution: Fedora, Android, CentOS
Posts: 91
Blog Entries: 2

Rep: Reputation: 21
My first concern looking at the above information is that almost all of your arrays are degraded. Everything but md0, md12 and md15 are missing disks. Secondly the dmesg output appears to be saying your file system is corrupted. I cannot be sure of that but it seems likely. Have you checked SMART status of the physical drives to be sure they are not in a failing state?

If this dropped into my lap the first thing I would do is backup the data and start checking those drives for failures. Second thing would be to run an fsck on the drives that cannot mount.

I hope this gets you started.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can't I mount this md0 raid? (mdadm and software raid) cruiserparts Linux - Software 35 01-05-2013 03:35 PM
[SOLVED] RAID 5 array not assembling all 3 devices on boot using MDADM, one is degraded. kirby9 Linux - Software 11 11-20-2010 10:32 AM
mdadm shrinking RAID5 array from 6 devices to 5 devices Qwerty9119 Linux - Software 4 02-16-2010 05:48 PM
mdadm: how to avoid complete rebuild of RAID 6 array (6/8 active devices) pbwtortilla Linux - Server 4 12-25-2009 08:06 PM
How do I get mdadm to assemble a raid using local and nbd devices adrian_stephens Linux - Server 3 05-29-2009 10:42 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration