xfs
[Top] [All Lists]

RE: Mismatch UUID

To: Eric Sandeen <sandeen@xxxxxxxxxxx>, Chris Murphy <lists@xxxxxxxxxxxxxxxxx>, Brian Foster <bfoster@xxxxxxxxxx>, "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Subject: RE: Mismatch UUID
From: Robert Tench <robtench@xxxxxxxxxxx>
Date: Sat, 15 Nov 2014 13:17:39 +1100
Delivered-to: xfs@xxxxxxxxxxx
Importance: Normal
In-reply-to: <546692DA.9040105@xxxxxxxxxxx>
References: <BLU172-W9B4FE524F07D7E6D5592BC48C0@xxxxxxx> <6AB68617-0884-486D-8B96-8FD22DBC76D1@xxxxxxxxxxxxxxxxx>,<546692DA.9040105@xxxxxxxxxxx>
Hi all,

Many thanks for the replies so far.

So here is the reponse from the command line mdadm -E /dev/sd[abcde]2

ubuntu@ubuntu:~$ sudo mdadm -E /dev/sd[abcde]2
/dev/sda2:
          Magic : a92b4efc
        Version : 1.0
    Feature Map : 0x0
     Array UUID : e0829810:9782b51f:25529f65:8823419c
           Name : (none):4
  Creation Time : Fri Jan  1 01:31:17 2010
     Raid Level : raid5
   Raid Devices : 5

 Avail Dev Size : 5856481280 (2792.59 GiB 2998.52 GB)
     Array Size : 11712962560 (11170.35 GiB 11994.07 GB)
   Super Offset : 5856481536 sectors
          State : clean
    Device UUID : d405d0c5:2a07d7ed:27abcb5a:0eeadc7d

    Update Time : Fri Nov 14 15:58:16 2014
       Checksum : c082e9bb - correct
         Events : 1243386

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 0
   Array State : AAAAA ('A' == active, '.' == missing)
/dev/sdb2:
          Magic : a92b4efc
        Version : 1.0
    Feature Map : 0x0
     Array UUID : e0829810:9782b51f:25529f65:8823419c
           Name : (none):4
  Creation Time : Fri Jan  1 01:31:17 2010
     Raid Level : raid5
   Raid Devices : 5

 Avail Dev Size : 5856481280 (2792.59 GiB 2998.52 GB)
     Array Size : 11712962560 (11170.35 GiB 11994.07 GB)
   Super Offset : 5856481536 sectors
          State : clean
    Device UUID : 33acf23a:52a0ad00:cda69d9f:468a8c13

    Update Time : Fri Nov 14 15:58:16 2014
       Checksum : 22fdc525 - correct
         Events : 1243386

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 1
   Array State : AAAAA ('A' == active, '.' == missing)
/dev/sdc2:
          Magic : a92b4efc
        Version : 1.0
    Feature Map : 0x0
     Array UUID : e0829810:9782b51f:25529f65:8823419c
           Name : (none):4
  Creation Time : Fri Jan  1 01:31:17 2010
     Raid Level : raid5
   Raid Devices : 5

 Avail Dev Size : 5856481280 (2792.59 GiB 2998.52 GB)
     Array Size : 11712962560 (11170.35 GiB 11994.07 GB)
   Super Offset : 5856481536 sectors
          State : clean
    Device UUID : 1a4f20e2:34926568:af5351a1:9c9f60e9

    Update Time : Fri Nov 14 15:58:16 2014
       Checksum : 96b21ac - correct
         Events : 1243386

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 2
   Array State : AAAAA ('A' == active, '.' == missing)
/dev/sdd2:
          Magic : a92b4efc
        Version : 1.0
    Feature Map : 0x0
     Array UUID : e0829810:9782b51f:25529f65:8823419c
           Name : (none):4
  Creation Time : Fri Jan  1 01:31:17 2010
     Raid Level : raid5
   Raid Devices : 5

 Avail Dev Size : 5856481280 (2792.59 GiB 2998.52 GB)
     Array Size : 11712962560 (11170.35 GiB 11994.07 GB)
   Super Offset : 5856481536 sectors
          State : clean
    Device UUID : 0ee6b711:242fbd18:44c2839e:60e8ad0d

    Update Time : Fri Nov 14 15:58:16 2014
       Checksum : ada0762 - correct
         Events : 1243386

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 3
   Array State : AAAAA ('A' == active, '.' == missing)
/dev/sde2:
          Magic : a92b4efc
        Version : 1.0
    Feature Map : 0x0
     Array UUID : e0829810:9782b51f:25529f65:8823419c
           Name : (none):4
  Creation Time : Fri Jan  1 01:31:17 2010
     Raid Level : raid5
   Raid Devices : 5

 Avail Dev Size : 5856481280 (2792.59 GiB 2998.52 GB)
     Array Size : 11712962560 (11170.35 GiB 11994.07 GB)
   Super Offset : 5856481536 sectors
          State : clean
    Device UUID : f89fdd4c:627a6650:3de0dcab:6790076f

    Update Time : Fri Nov 14 15:58:16 2014
       Checksum : ec5bd289 - correct
         Events : 1243386

         Layout : left-symmetric
     Chunk Size : 512K

   Device Role : Active device 4
   Array State : AAAAA ('A' == active, '.' == missing)


What I am curious about is how I should go about attempting to Mount the device and the command line needed. Am I mounting the Raid Array /dev/md4, or am I trying to mount the XFS data partitions contained within with would be made up of /dev/sd[abcde2]? I am a little bit confused by all the various options and what I am exactly suppose to use given being a complete linux novice.

Any help is appreciated?

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
<Prev in Thread] Current Thread [Next in Thread>