xfs
[Top] [All Lists]

Re: Mismatch UUID

To: Robert Tench <robtench@xxxxxxxxxxx>
Subject: Re: Mismatch UUID
From: Brian Foster <bfoster@xxxxxxxxxx>
Date: Sat, 15 Nov 2014 09:39:51 -0500
Cc: Eric Sandeen <sandeen@xxxxxxxxxxx>, Chris Murphy <lists@xxxxxxxxxxxxxxxxx>, "xfs@xxxxxxxxxxx" <xfs@xxxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <BLU172-W19A7DE957502A2F854163FC48D0@xxxxxxx>
References: <BLU172-W9B4FE524F07D7E6D5592BC48C0@xxxxxxx> <6AB68617-0884-486D-8B96-8FD22DBC76D1@xxxxxxxxxxxxxxxxx> <546692DA.9040105@xxxxxxxxxxx> <BLU172-W19A7DE957502A2F854163FC48D0@xxxxxxx>
User-agent: Mutt/1.5.23 (2014-03-12)
On Sat, Nov 15, 2014 at 01:17:39PM +1100, Robert Tench wrote:
> 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.
> 

Normally the array (/dev/md*) is used directly, but I suppose it could
be partitioned. It depends on how the storage is configured. It does
look like you have several arrays configured from the log snippet in the
subsequent mail.

What does 'cat /proc/mdstat' on the box show? How about 'file -s
/dev/md##' for each md device specified in the former output?

Brian

> 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
>                                         

> _______________________________________________
> xfs mailing list
> xfs@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/xfs

<Prev in Thread] Current Thread [Next in Thread>