disk in pool suddenly showing UUID not name

All your general support questions for OpenZFS on OS X.

Re: disk in pool suddenly showing UUID not name

Postby xbytor » Sat Jun 04, 2016 7:55 am

Brendon wrote:Im suggesting that you need to export/import as specified above.


I exported the pools then did
Code: Select all
sudo zpool import -d /var/run/disk/by-id
followed by
Code: Select all
sudo zpool import -a
.
I ended up with:
$ zpool status
pool: zarchive
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
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
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

I've tried this multiple times but still get the disk#s# stuff in there.
xbytor
 
Posts: 22
Joined: Sun Jun 29, 2014 7:52 pm

Re: disk in pool suddenly showing UUID not name

Postby lundman » Tue Jun 07, 2016 5:04 pm

sudo zpool import -d /var/run/disk/by-id


This command will list the pool available in path supplied.

sudo zpool import -d /var/run/disk/by-id zaux


This will import pool named zaux, from the path supplied.

sudo zpool import -ad /var/run/disk/by-id


This will import all pools from path supplied.
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 xbytor » Tue Jun 07, 2016 5:27 pm

Alright. I'll take another crack at this tomorrow.
xbytor
 
Posts: 22
Joined: Sun Jun 29, 2014 7:52 pm

Previous

Return to General Help

Who is online

Users browsing this forum: No registered users and 14 guests