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