I imagine this is a pretty common task, so I'm sure someone, somewhere has answered this already, but I can't seem to find it. If anyone can point out where this might be, I would appreciate it.
My question: I have a computer with 6x2TB drives in it. Some drives are connected to the motherboard, some to a SATA controller. What I need to know is, when a drive fails, and running 'zpool status' shows me some random device name that failed, how do I know which drive that is in my box?
Right now, the only thing I can think of is to shut down FreeNAS, unplug a drive, start up FreeNAS, and see which drive "failed". Then shutdown FreeNAS again, plug the drive back in, start up FreeNAS, wait several hours for it to rebuild the RAIDZ, and do it again for every other drive. There must be an easier/faster way to do this.
Also, is there a way to rename the devices shown by 'zpool status' when I do figure out which drive is which? Right now, all I see is:
Can I just rename the useless device IDs (or whatever they are) to, say, "Disk 1", "Disk 2", etc.? Then if I know that they are top to bottom in my box, it's easy to tell which drive failed.
My question: I have a computer with 6x2TB drives in it. Some drives are connected to the motherboard, some to a SATA controller. What I need to know is, when a drive fails, and running 'zpool status' shows me some random device name that failed, how do I know which drive that is in my box?
Right now, the only thing I can think of is to shut down FreeNAS, unplug a drive, start up FreeNAS, and see which drive "failed". Then shutdown FreeNAS again, plug the drive back in, start up FreeNAS, wait several hours for it to rebuild the RAIDZ, and do it again for every other drive. There must be an easier/faster way to do this.
Also, is there a way to rename the devices shown by 'zpool status' when I do figure out which drive is which? Right now, all I see is:
Code:
NAME STATE READ WRITE CKSUM Volume_Name ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 gptid/8a4fffb2-33bc-11e3-957d-000000000000 ONLINE 0 0 0 gptid/8b7af956-33bc-11e3-957d-000000000000 ONLINE 0 0 0 gptid/8c46b5b8-33bc-11e3-957d-000000000000 ONLINE 0 0 0 gptid/8d179e69-33bc-11e3-957d-000000000000 ONLINE 0 0 0 gptid/8e26eecc-33bc-11e3-957d-000000000000 ONLINE 0 0 0 gptid/8edfc5cb-33bc-11e3-957d-000000000000 ONLINE 0 0 0
Can I just rename the useless device IDs (or whatever they are) to, say, "Disk 1", "Disk 2", etc.? Then if I know that they are top to bottom in my box, it's easy to tell which drive failed.