Re: [zfs-discuss] volname

2008-10-11 Thread Marcus Sundman
"James C. McPherson" <[EMAIL PROTECTED]> wrote: > Marcus Sundman wrote: > > [...] > blinder:jmcp $ for dev in `awk -F'"' '/sd/ {print > $2}' /etc/path_to_inst`; do prtconf -v /devices/$dev|egrep -i > "id1|dev.dsk.*s2" ; done > [...] > $ cfgadm -lav sata0 > [...] > Having the physical serial number

Re: [zfs-discuss] volname

2008-10-11 Thread Chris Greer
iostat -En will show you device and serial number (at least on the Sun hardware I've used). My old way of finding drives is to run format and run a disk read test that isn't destructive and look for the drive with the access light going crazy. Most drives still have a very small LED on them t

Re: [zfs-discuss] volname

2008-10-11 Thread James C. McPherson
Marcus Sundman wrote: > "James C. McPherson" <[EMAIL PROTECTED]> wrote: >> Marcus Sundman wrote: >>> I couldn't figure out which controller got which numbers so I had >>> to disconnect drives one by one >> I'm interested in what you did to figure out your drive >> locations - did you use cfgadm, fm

Re: [zfs-discuss] volname

2008-10-11 Thread Marcus Sundman
"James C. McPherson" <[EMAIL PROTECTED]> wrote: > Marcus Sundman wrote: > > I couldn't figure out which controller got which numbers so I had > > to disconnect drives one by one > > I'm interested in what you did to figure out your drive > locations - did you use cfgadm, fmtopo or sestopo to figur

Re: [zfs-discuss] volname

2008-10-11 Thread Marcus Sundman
A Darren Dunham <[EMAIL PROTECTED]> wrote: > On Sat, Oct 11, 2008 at 03:19:49AM +0300, Marcus Sundman wrote: > > I've used format's "volname" command to give labels to my drives > > according to their physical location. I did quite a lot of work > > labeling all my drives (I couldn't figure out whi

Re: [zfs-discuss] volname

2008-10-10 Thread James C. McPherson
Marcus Sundman wrote: > Hi > > I've used format's "volname" command to give labels to my drives > according to their physical location. I did quite a lot of work > labeling all my drives (I couldn't figure out which controller got > which numbers so I had to disconnect drives one by one, and they'

Re: [zfs-discuss] volname

2008-10-10 Thread A Darren Dunham
On Sat, Oct 11, 2008 at 03:19:49AM +0300, Marcus Sundman wrote: > I've used format's "volname" command to give labels to my drives > according to their physical location. I did quite a lot of work > labeling all my drives (I couldn't figure out which controller got > which numbers so I had to disco

[zfs-discuss] volname

2008-10-10 Thread Marcus Sundman
Hi I've used format's "volname" command to give labels to my drives according to their physical location. I did quite a lot of work labeling all my drives (I couldn't figure out which controller got which numbers so I had to disconnect drives one by one, and they're not hotpluggable => lot's of re