zpool disk list (view)

Status
Not open for further replies.

Andres Gonzalez

Dabbler
Joined
Oct 21, 2014
Messages
39
Hi, is there anyway when executing zpool list to view the disk like "da0" instead of "gptid/c075491b-3080-11e5-ab85-00259063ca2b" ?

Thanks.
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
Hi, is there anyway when executing zpool list to view the disk like "da0" instead of "gptid/c075491b-3080-11e5-ab85-00259063ca2b" ?

Thanks.
There are many ways to find this but the way that is best depends on why you are looking. What do you really want to know?
 

Andres Gonzalez

Dabbler
Joined
Oct 21, 2014
Messages
39
There are many ways to find this but the way that is best depends on why you are looking. What do you really want to know?

In the GUI: Storage -> View Disk I see the disks like "da0", "da1" and so on, I would like to "match" e.g. "da0" with the corresponding CLI zpool status output (e.g. gptid/c075491b-3080-11e5-ab85-00259063ca2b"), or better that zpool status output be "da0" instead of gptid format.
IDK if I'm clear :)
 

Chris Moore

Hall of Famer
Joined
May 2, 2015
Messages
10,079
In the GUI: Storage -> View Disk I see the disks like "da0", "da1" and so on, I would like to "match" e.g. "da0" with the corresponding CLI zpool status output (e.g. gptid/c075491b-3080-11e5-ab85-00259063ca2b"), or better that zpool status output be "da0" instead of gptid format.
IDK if I'm clear :)
There is a script for that. Run it from the command line (ssh) and it will give you a list of the drives with the gptid next to them so you can see the relationship between the two.
Here is a link to where to find that: https://forums.freenas.org/index.ph...d-identification-and-backup-the-config.27365/
 
Status
Not open for further replies.
Top