<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hi all,<br><br>So I used mount command mount -o ro /dev/md4 /xfs  (after having made the xfs directory)<br><br>Returned with saying 'Structure needs cleaning'<br><br>Here are parts of the dmesg relating to the raid array and the attempted mounting<br>[   12.359728] EXT4-fs (sda7): mounting ext3 file system using the ext4 subsystem<br>[   12.361314] EXT4-fs (sda7): mounted filesystem with ordered data mode. Opts: (null)<br>[   14.382337]  sde: sde1 sde2 sde3 sde4 sde5 sde6 sde7 sde8 sde9 sde10<br>[   14.388298] sd 4:0:0:0: [sde] No Caching mode page found<br>[   14.388303] sd 4:0:0:0: [sde] Assuming drive cache: write through<br>[   14.388308] sd 4:0:0:0: [sde] Attached SCSI disk<br>[   14.676543] md: bind<sde8><br>[   14.681538] md: kicking non-fresh sdd8 from array!<br>[   14.681544] md: unbind<sdd8><br>[   14.700028] md: export_rdev(sdd8)<br>[   14.700055] md: kicking non-fresh sdb8 from array!<br>[   14.700063] md: unbind<sdb8><br>[   14.708021] md: export_rdev(sdb8)<br>[   14.709145] md/raid1:md1: active with 3 out of 5 mirrors<br>[   14.709165] md1: detected capacity change from 0 to 863567872<br>[   14.713570] md: bind<sde5><br>[   14.713663]  md1: unknown partition table<br>[   14.715628] md: kicking non-fresh sdd5 from array!<br>[   14.715635] md: unbind<sdd5><br>[   14.724074] md: export_rdev(sdd5)<br>[   14.724095] md: kicking non-fresh sdb5 from array!<br>[   14.724102] md: unbind<sdb5><br>[   14.736021] md: export_rdev(sdb5)<br>[   14.737203] md/raid1:md3: active with 3 out of 5 mirrors<br>[   14.737222] md3: detected capacity change from 0 to 262078464<br>[   14.739508]  md3: unknown partition table<br>[   14.742037] md: bind<sde2><br>[   14.748793] md: bind<sde9><br>[   14.749250] md/raid:md4: device sde2 operational as raid disk 4<br>[   14.749252] md/raid:md4: device sdd2 operational as raid disk 3<br>[   14.749254] md/raid:md4: device sda2 operational as raid disk 0<br>[   14.749255] md/raid:md4: device sdb2 operational as raid disk 1<br>[   14.749257] md/raid:md4: device sdc2 operational as raid disk 2<br>[   14.749707] md/raid:md4: allocated 0kB<br>[   14.749814] md/raid:md4: raid level 5 active with 5 out of 5 devices, algorithm 2<br>[   14.749815] RAID conf printout:<br>[   14.749816]  --- level:5 rd:5 wd:5<br>[   14.749818]  disk 0, o:1, dev:sda2<br>[   14.749820]  disk 1, o:1, dev:sdb2<br>[   14.749821]  disk 2, o:1, dev:sdc2<br>[   14.749823]  disk 3, o:1, dev:sdd2<br>[   14.749824]  disk 4, o:1, dev:sde2<br>[   14.749846] md4: detected capacity change from 0 to 11994073661440<br>[   14.769544] md: kicking non-fresh sdd9 from array!<br>[   14.769553] md: unbind<sdd9><br>[   14.770503]  md4: unknown partition table<br>[   14.784024] md: export_rdev(sdd9)<br>[   14.784040] md: kicking non-fresh sdb9 from array!<br>[   14.784045] md: unbind<sdb9><br>[   14.796026] md: export_rdev(sdb9)<br>[   14.797259] md/raid1:md2: active with 3 out of 5 mirrors<br>[   14.797278] md2: detected capacity change from 0 to 896466944<br>[   14.804201]  md2: unknown partition table<br>[   15.536766] EXT4-fs (sdb8): mounting ext3 file system using the ext4 subsystem<br>[   15.556508] EXT4-fs (sdb8): mounted filesystem with ordered data mode. Opts: (null)<br>[   15.575379] EXT4-fs (sdb9): mounting ext3 file system using the ext4 subsystem<br>[   15.581829] EXT4-fs (sdb9): mounted filesystem with ordered data mode. Opts: (null)<br>[   16.044429] sd 5:0:0:0: [sdf] 60499968 512-byte logical blocks: (30.9 GB/28.8 GiB)<br>[   16.045044] sd 5:0:0:0: [sdf] Write Protect is off<br>[   16.045049] sd 5:0:0:0: [sdf] Mode Sense: 23 00 00 00<br>[   16.045669] sd 5:0:0:0: [sdf] No Caching mode page found<br>[   16.045673] sd 5:0:0:0: [sdf] Assuming drive cache: write through<br>[   16.049167] sd 5:0:0:0: [sdf] No Caching mode page found<br>[   16.049172] sd 5:0:0:0: [sdf] Assuming drive cache: write through<br>[   16.072442]  sdf: sdf1<br>[   16.075294] sd 5:0:0:0: [sdf] No Caching mode page found<br>[   16.075299] sd 5:0:0:0: [sdf] Assuming drive cache: write through<br>[   16.075303] sd 5:0:0:0: [sdf] Attached SCSI removable disk<br>[   38.533458] squashfs: version 4.0 (2009/01/31) Phillip Lougher<br>[   39.643476] FAT-fs (sdf1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.<br>[   40.485718] EXT4-fs (loop1): mounting ext2 file system using the ext4 subsystem<br>[   40.489678] EXT4-fs (loop1): warning: mounting unchecked fs, running e2fsck is recommended<br>[   40.495984] EXT4-fs (loop1): mounted filesystem without journal. Opts: (null)<br>[   88.354507] Adding 255932k swap on /dev/sdb5.  Priority:-1 extents:1 across:255932k FS<br>[   88.359216] Adding 255932k swap on /dev/sdd5.  Priority:-2 extents:1 across:255932k FS<br><br><br>[ 1636.143467] systemd-hostnamed[20496]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!<br>[ 1918.676658] SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled<br>[ 1925.660198] XFS (md4): Mounting Filesystem<br>[ 1925.824734] XFS (md4): log has mismatched uuid - can't recover<br>[ 1925.824748] XFS (md4): failed to find log head<br>[ 1925.824751] XFS (md4): log mount/recovery failed: error 117<br>[ 1925.824793] XFS (md4): log mount failed<br>[ 2049.523180] systemd-hostnamed[21362]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!<br>[20679.813021] XFS (md4): Mounting Filesystem<br>[20679.884528] XFS (md4): log has mismatched uuid - can't recover<br>[20679.884542] XFS (md4): failed to find log head<br>[20679.884545] XFS (md4): log mount/recovery failed: error 117<br>[20679.884590] XFS (md4): log mount failed<br>[21024.505390] XFS (md4): Mounting Filesystem<br>[21024.601886] XFS (md4): log has mismatched uuid - can't recover<br>[21024.601900] XFS (md4): failed to find log head<br>[21024.601903] XFS (md4): log mount/recovery failed: error 117<br>[21024.601946] XFS (md4): log mount failed<br>[21672.562447] XFS (md4): Mounting Filesystem<br>[21672.617195] XFS (md4): log has mismatched uuid - can't recover<br>[21672.617209] XFS (md4): failed to find log head<br>[21672.617212] XFS (md4): log mount/recovery failed: error 117<br>[21672.617246] XFS (md4): log mount failed<br><br>Rob<br><br><div>> Date: Fri, 14 Nov 2014 17:40:10 -0600<br>> From: sandeen@sandeen.net<br>> To: lists@colorremedies.com; robtench@hotmail.com<br>> CC: xfs@oss.sgi.com<br>> Subject: Re: Mismatch UUID<br>> <br>> On 11/14/14 4:31 PM, Chris Murphy wrote:<br>> <br>> > It’s very good to ask instead of haphazardly trying things. Trying to<br>> > normally mount the file system should be safe; and then use dmesg to<br>> > check for kernel messages. The xfs kernel code is responsible for log<br>> > replay and making most kinds of repairs, anything it can’t deal with<br>> > will be reported as a kernel message. If mount fails, report kernel<br>> > xfs related messages, and also the results from xfs_check -n.<br>> <br>> xfs_repair -n<br>> <br>> xfs_check is deprecated and has no -n option ;)<br>> <br>> -Eric<br><br><br></div>                                           </div></body>
</html>