James C. McPherson wrote:
> Will Murnane wrote:
>   
>> On Tue, Jun 3, 2008 at 4:35 PM, Benjamin Ellison <[EMAIL PROTECTED]> wrote:
>>     
>>> My question:  Where/how in the heck does one get a list of which devices 
>>> are valid targets?
>>>       
>> Run "format" and it'll list the devices that are available.  If you
>> hot-plug a drive, you may need to run "devfsadm -c disk" first, to
>> make sure that entries in /dev are created for it.
>>     
>
> Some time ago I logged an RFE for this very issue
>
> http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=6605832
>
> 6605832 zpool could tell me what disks are available for use
>
>
> It's still unassigned, unfortunately.
>   

methinks this is a command which will be much more useful beyond
the ZFS context.  In fact, it seems that the caiman project already has
the code written to do this... just not externalized.  You might see if
we could promote test_td.c into a useful sys-admin command.
http://cvs.opensolaris.org/source/xref/caiman/snap_upgrade/usr/src/lib/libtd/test_td.c
 -- richard

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to