Page 1 of 2

disk in pool suddenly showing UUID not name

PostPosted: Thu Aug 06, 2015 7:28 pm
by nekton34
One disk in 4-disk pool suddenly showing UUID in 10.10.5

MacPro:~ roberthancock$ zpool status -v NEWBOOM
pool: NEWBOOM
state: ONLINE
scan: scrub repaired 0 in 0h0m with 0 errors on Wed Jul 15 09:14:32 2015
config:

NAME STATE READ WRITE CKSUM
NEWBOOM ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
disk0 ONLINE 0 0 0
media-66C118DB-180D-4C44-A4D0-0CDDE3DA4496 ONLINE 0 0 0
disk4 ONLINE 0 0 0
disk6 ONLINE 0 0 0

errors: No known data errors


Any ideas why?
Any remedial action needed before TSHTF?

Re: disk in pool suddenly showing UUID not name

PostPosted: Thu Aug 06, 2015 9:47 pm
by lundman
no reason to panic. InvariantDisk replaces disk name with serial, which is better for all and how it should be. A better question is, why do you have disk0, disk4 and disk6 naked, and not as serial

Re: disk in pool suddenly showing UUID not name

PostPosted: Fri Aug 07, 2015 12:27 am
by mike0810
I have always to use -t 16000 for Invariant Disk for the /var/disk/by-id to work, have an Areca SAS Controller.

Otherwise the pool gets imported to early by using the blockdevice names on startup

Re: disk in pool suddenly showing UUID not name

PostPosted: Fri Aug 07, 2015 2:22 am
by nekton34
You've got me there! I just set it up following the instructions in Absolute Beginners a few months also and that is how it has always been without the UUID on one disk. I don' t know what "naked" means (in this context).
Is there a terminal command I can run to "clothe" disks 0, 4 and 6?


lundman wrote:no reason to panic. InvariantDisk replaces disk name with serial, which is better for all and how it should be. A better question is, why do you have disk0, disk4 and disk6 naked, and not as serial

Re: disk in pool suddenly showing UUID not name

PostPosted: Wed Apr 13, 2016 5:51 pm
by xbytor
This seemed the best place to post some behavior I've seen. I upgraded from 1.3 to 1.4.5.

I am now seeing this:
> zpool status
pool: zarchive
state: ONLINE
scan: scrub repaired 0 in 3h11m with 0 errors on Thu Mar 10 15:55:22 2016
config:

NAME STATE READ WRITE CKSUM
zarchive ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
media-E76BF8A9-B0FF-4FE8-9399-A42EAC4C754E ONLINE 0 0 0
disk6s2 ONLINE 0 0 0

pool: zaux
state: ONLINE
config:

NAME STATE READ WRITE CKSUM
zaux ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
media-FBA1F86C-8916-4E99-B21F-0C3F095F6E37 ONLINE 0 0 0
disk7s2 ONLINE 0 0 0

pool: zdrive
state: ONLINE
scan: scrub repaired 0 in 2h50m with 0 errors on Mon Mar 7 17:44:32 2016
config:

NAME STATE READ WRITE CKSUM
zdrive ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
disk3 ONLINE 0 0 0
disk1 ONLINE 0 0 0

Before the upgrade, I only saw disk names and now I'm seeing seeing the serial ID on two disks in different pools.
zdrive is internal, zaux and zarchive are in an external enclosure.

Odd behaviour so I thought I'd mention it hear.

Re: disk in pool suddenly showing UUID not name

PostPosted: Wed Apr 13, 2016 5:57 pm
by Brendon
Just a startup race. Export and reimport.

Brendon

Re: disk in pool suddenly showing UUID not name

PostPosted: Thu Apr 14, 2016 10:32 am
by xbytor
Tried doing an export/import and things didn't change. Did an export and a reboot and got this as a result:

Code: Select all
$ zpool status
  pool: zarchive
 state: ONLINE
  scan: scrub repaired 0 in 3h11m with 0 errors on Thu Mar 10 15:55:22 2016
config:

        NAME                                            STATE     READ WRITE CKSUM
        zarchive                                        ONLINE       0     0     0
          mirror-0                                      ONLINE       0     0     0
            media-E76BF8A9-B0FF-4FE8-9399-A42EAC4C754E  ONLINE       0     0     0
            disk6s2                                     ONLINE       0     0     0

  pool: zaux
 state: ONLINE
  scan: scrub repaired 0 in 4h30m with 0 errors on Sun Apr 10 11:54:31 2016
config:

        NAME         STATE     READ WRITE CKSUM
        zaux         ONLINE       0     0     0
          mirror-0   ONLINE       0     0     0
            disk4s2  ONLINE       0     0     0
            disk7s2  ONLINE       0     0     0

  pool: zdrive
 state: ONLINE
  scan: scrub repaired 0 in 2h50m with 0 errors on Mon Mar  7 17:44:32 2016
config:

        NAME                                            STATE     READ WRITE CKSUM
        zdrive                                          ONLINE       0     0     0
          mirror-0                                      ONLINE       0     0     0
            media-2DC91623-92C2-AA48-9AF8-B28E83744981  ONLINE       0     0     0
            media-29898973-A352-A740-8EA6-BCAA2D95D90E  ONLINE       0     0     0



zaux went back to 2 disk*s, zarchive stayed the same, and zdrive went to 2 serial IDs.

Not quite sure what I'm supposed to be seeing, but I don't think that this is what is expected.

Re: disk in pool suddenly showing UUID not name

PostPosted: Thu Apr 14, 2016 1:06 pm
by Brendon
Did you import -d /var/disk/by-id?

Re: disk in pool suddenly showing UUID not name

PostPosted: Thu Apr 14, 2016 3:18 pm
by xbytor
Brendon wrote:Did you import -d /var/disk/by-id?


No. The only thing that changed was the upgrade from 1.3 to 1.4.5. Now (after a couple of reboots) all disks in the external enclosure have disks names and the internals are both have serial IDs.

Re: disk in pool suddenly showing UUID not name

PostPosted: Thu Apr 14, 2016 6:58 pm
by Brendon
Im suggesting that you need to export/import as specified above.