Why did Solaris 10 X86 change the output of the format command?
Solaris 8,9, & 10 for Sparc all display disk manufacturer information on the format command output:
0. c1t0d0 <SUN36G cyl 24620 ... >
1. c1t1d0 <SEAGATE-ST3360704FSUN36G-0826 cyl 24620 ... >
But for X86 this information is not displayed:
0. c1t0d0 <DEFAULT cyl 17846 ... >
1. c1t1d0 <DEFAULT cyl 17846 ... >
We need to read this programatically to distinguish certain physical drives. What happened to this information? Is this a bug?
[507 byte] By [
hupceya] at [2007-11-27 7:27:43]

# 1
> Solaris 8,9, & 10 for Sparc all display disk
> manufacturer information on the format command
> output:
>
> 0. c1t0d0 <SUN36G cyl 24620 ... >
> 1. c1t1d0 <SEAGATE-ST3360704FSUN36G-0826 cyl 24620
> ... >
I believe this information is in the disk label. I think on first label some of that information can be queried, but it doesn't always reflect the actual disk.
> But for X86 this information is not displayed:
>
> 0. c1t0d0 <DEFAULT cyl 17846 ... >
> 1. c1t1d0 <DEFAULT cyl 17846 ... >
'format' on x86 is only looking at one fdisk-style slice, not the physical disk.
> We need to read this programatically to distinguish
> certain physical drives. What happened to this
> information? Is this a bug?
More information does appear in some situations, but I'm not sure where it's querying the information. Again, the label is not a good indicator of what the physical disk is, because that data can be copied.
You might try 'iostat -En' and see if that has sufficient information.
--
Darren
# 2
Thanks, Darren! iostat -En gives me the information I need, from both Sparc and X86. Lots of output to sift through and parse, but that's what they pay me for :>) Now if I can only figure out how to get the same information out of Linux and AIX...