Re: [zfs-discuss] Any rhyme or reason to disk dev names?

2011-12-21 Thread Volker A. Brandt
I am curious to know if there is an easy way to guess or identify the device names of disks. Have a look at the file /etc/path_to_inst. There you will find all device instances managed by a particular driver. The first entry of each line is the physical device. If you then look in /dev/rdsk

Re: [zfs-discuss] Any rhyme or reason to disk dev names?

2011-12-21 Thread James C. McPherson
On 21/12/11 05:58 PM, Matthew R. Wilson wrote: Hello, I am curious to know if there is an easy way to guess or identify the device names of disks. Previously the /dev/dsk/c0t0d0s0 system made sense to me... I had a SATA controller card with 8 ports, and they showed up with the numbers 1-8 in

Re: [zfs-discuss] Any rhyme or reason to disk dev names?

2011-12-21 Thread Mike Gerdts
On Wed, Dec 21, 2011 at 1:58 AM, Matthew R. Wilson mwil...@mattwilson.org wrote: Hello, I am curious to know if there is an easy way to guess or identify the device names of disks. Previously the /dev/dsk/c0t0d0s0 system made sense to me... I had a SATA controller card with 8 ports, and they

Re: [zfs-discuss] Any rhyme or reason to disk dev names?

2011-12-21 Thread Shawn Ferry
On Dec 21, 2011, at 2:58, Matthew R. Wilson mwil...@mattwilson.org wrote: Can anyone offer any suggestions on a way to predict the device naming, or at least get the system to list the disks after I insert one without rebooting? You have gotten some good responses that should help you out.

Re: [zfs-discuss] Any rhyme or reason to disk dev names?

2011-12-21 Thread Henrik Hjort
On 2011-12-21 09:22, v...@bb-c.de wrote: I am curious to know if there is an easy way to guess or identify the device names of disks. Have a look at the file /etc/path_to_inst. There you will find all device instances managed by a particular driver. The first entry of each line is the

Re: [zfs-discuss] Any rhyme or reason to disk dev names?

2011-12-21 Thread Garrett D'Amore
On Dec 21, 2011, at 3:14 AM, James C. McPherson wrote: On 21/12/11 05:58 PM, Matthew R. Wilson wrote: Hello, I am curious to know if there is an easy way to guess or identify the device names of disks. Previously the /dev/dsk/c0t0d0s0 system made sense to me... I had a SATA controller

Re: [zfs-discuss] Any rhyme or reason to disk dev names?

2011-12-21 Thread Matthew R. Wilson
Thank you for all of the good pointers, everyone. croinfo and diskinfo don't give me any output, but that's not surprising since this is a home-built system. But it's good to know those utilities exist for production hardware. Making the association between the disk serial number and target

[zfs-discuss] Corrupt Array

2011-12-21 Thread Gareth de Vaux
Hi guys, after a scrub my raidz array status showed: # zpool status pool: pool state: ONLINE status: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected. action: Determine if the device needs to be