[OpenIndiana-discuss] find size of raw disks

2010-11-21 Thread Harry Putnam
Is there some way to determine the size of disks discovered with `format' An attempt to create a 2 disk mirror failed with the message that the disks were different sizes, but I thought they were the same size... I must have used the wrong identifier for one of the disks... so to find the matching

Re: [OpenIndiana-discuss] find size of raw disks

2010-11-21 Thread McBofh
On 22/11/10 01:44 PM, Harry Putnam wrote: Is there some way to determine the size of disks discovered with `format' An attempt to create a 2 disk mirror failed with the message that the disks were different sizes, but I thought they were the same size... I must have used the wrong identifier for

Re: [OpenIndiana-discuss] find size of raw disks

2010-11-21 Thread Harry Putnam
McBofh writes: > On 22/11/10 01:44 PM, Harry Putnam wrote: >> Is there some way to determine the size of disks discovered with >> `format' >> >> An attempt to create a 2 disk mirror failed with the message that the >> disks were different sizes, but I thought they were the same size... I >> must

Re: [OpenIndiana-discuss] find size of raw disks

2010-11-21 Thread Chris Ridd
On 22 Nov 2010, at 04:14, Harry Putnam wrote: > McBofh writes: > >> It's mostly the cylinder numbers that you need to watch out for. >> If you have devices with the same claimed manufacturer size but >> different geometry, I'd create a slice of the maximum size on the >> smaller disk, then crea

Re: [OpenIndiana-discuss] find size of raw disks

2010-11-23 Thread Roy Sigurd Karlsbakk
> Thanks... very helpful. I noticed though that once a disk is formatted > or put into a zpool the cyl no. is no longer given, but then the size > is shown > > I did also find a diffeent answer too. > > `iostat -En ' Appears to give both the names and the sizes. But > not sure it would still be u