disk in pool suddenly showing UUID not name

All your general support questions for OpenZFS on OS X.

disk in pool suddenly showing UUID not name

Postby nekton34 » Thu Aug 06, 2015 7:28 pm

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?
nekton34
 
Posts: 34
Joined: Tue Feb 10, 2015 2:05 am
Location: Tokyo, Japan

Re: disk in pool suddenly showing UUID not name

Postby lundman » Thu Aug 06, 2015 9:47 pm

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
User avatar
lundman
 
Posts: 1337
Joined: Thu Mar 06, 2014 2:05 pm
Location: Tokyo, Japan

Re: disk in pool suddenly showing UUID not name

Postby mike0810 » Fri Aug 07, 2015 12:27 am

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
mike0810
 
Posts: 55
Joined: Fri Jan 16, 2015 5:17 pm

Re: disk in pool suddenly showing UUID not name

Postby nekton34 » Fri Aug 07, 2015 2:22 am

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
nekton34
 
Posts: 34
Joined: Tue Feb 10, 2015 2:05 am
Location: Tokyo, Japan

Re: disk in pool suddenly showing UUID not name

Postby xbytor » Wed Apr 13, 2016 5:51 pm

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.
xbytor
 
Posts: 22
Joined: Sun Jun 29, 2014 7:52 pm

Re: disk in pool suddenly showing UUID not name

Postby Brendon » Wed Apr 13, 2016 5:57 pm

Just a startup race. Export and reimport.

Brendon
Brendon
 
Posts: 286
Joined: Thu Mar 06, 2014 12:51 pm

Re: disk in pool suddenly showing UUID not name

Postby xbytor » Thu Apr 14, 2016 10:32 am

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.
xbytor
 
Posts: 22
Joined: Sun Jun 29, 2014 7:52 pm

Re: disk in pool suddenly showing UUID not name

Postby Brendon » Thu Apr 14, 2016 1:06 pm

Did you import -d /var/disk/by-id?
Brendon
 
Posts: 286
Joined: Thu Mar 06, 2014 12:51 pm

Re: disk in pool suddenly showing UUID not name

Postby xbytor » Thu Apr 14, 2016 3:18 pm

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.
xbytor
 
Posts: 22
Joined: Sun Jun 29, 2014 7:52 pm

Re: disk in pool suddenly showing UUID not name

Postby Brendon » Thu Apr 14, 2016 6:58 pm

Im suggesting that you need to export/import as specified above.
Brendon
 
Posts: 286
Joined: Thu Mar 06, 2014 12:51 pm

Next

Return to General Help

Who is online

Users browsing this forum: No registered users and 32 guests

cron