> 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 and check which symbolic link of the
form c<N>t<N>d<N>s<N> points to this physical device, you have your match.

One caveat is that if you move disks around, /etc/path_to_inst will
grow, and there is no guarantee that any device listed in this file is
really present in the running system.


HTH -- Volker
-- 
------------------------------------------------------------------------
Volker A. Brandt               Consulting and Support for Oracle Solaris
Brandt & Brandt Computer GmbH                   WWW: http://www.bb-c.de/
Am Wiesenpfad 6, 53340 Meckenheim, GERMANY            Email: v...@bb-c.de
Handelsregister: Amtsgericht Bonn, HRB 10513              Schuhgröße: 46
Geschäftsführer: Rainer J.H. Brandt und Volker A. Brandt

"When logic and proportion have fallen sloppy dead"

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

Reply via email to