Re: [zfs-discuss] root pool mirror problems

2010-05-20 Thread Cindy Swearingen

Hi Roi,

You need equivalent sized disks for a mirrored pool. When you attempt to 
attach a disk that is too small, you will see a message similar to the

following:

cannot attach c1t3d0 to c1t2d0: device is too small

In general, an "I/O error" message means that the partition slice is not 
available or ZFS is having trouble accessing the disk so you might have

multiple issues to resolve.

Review the ZFS troubleshooting wiki for info on resolving the I/O error,
here:

http://www.solarisinternals.com/wiki/index.php/ZFS_Troubleshooting_Guide

Thanks,

Cindy

On 05/20/10 02:39, roi shidlovsky wrote:
hi. 
i am trying to attach a mirror disk to my root pool. if the two disk are the same size.. it all works fine, but if the two disks are with different size (8GB and 7.5GB) i get a "I/O error" on the attach command.


can anybody tell me what am i doing wrong?

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


Re: [zfs-discuss] root pool mirror problems

2010-05-20 Thread Roy Sigurd Karlsbakk
- "roi shidlovsky"  skrev:

> hi. 
> i am trying to attach a mirror disk to my root pool. if the two disk
> are the same size.. it all works fine, but if the two disks are with
> different size (8GB and 7.5GB) i get a "I/O error" on the attach
> command.
> 
> can anybody tell me what am i doing wrong?

I think the best way to solve this will be to slice up the drives. If the 
difference is as large as this, slices are likely to help you there. As others 
have mentioned, you can attach an 8GB mirror to a 7,5GB drive, but then, if you 
have autogrow=on and detach the 7,5GB drive and try to attach another 7,5GB 
drive, I don't think it'll work very well. Again, I'd use slices. I think, 
though, osol disables write cache if working with slices, and not drives. A 
also think this can be forced to on, but I don't know how

Vennlige hilsener / Best regards

roy
--
Roy Sigurd Karlsbakk
(+47) 97542685
r...@karlsbakk.net
http://blogg.karlsbakk.net/
--
I all pedagogikk er det essensielt at pensum presenteres intelligibelt. Det er 
et elementært imperativ for alle pedagoger å unngå eksessiv anvendelse av 
idiomer med fremmed opprinnelse. I de fleste tilfeller eksisterer adekvate og 
relevante synonymer på norsk.
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] root pool mirror problems

2010-05-20 Thread Matt Keenan
As queried by Ian, the new disk being attached must be at least as big 
as the original root pool disk. It can be bigger, but the difference 
will not be used in the mirroring.


cheers

Matt

On 05/20/10 10:11 AM, Ian Collins wrote:

On 05/20/10 08:39 PM, roi shidlovsky wrote:

hi.
i am trying to attach a mirror disk to my root pool. if the two disk 
are the same size.. it all works fine, but if the two disks are with 
different size (8GB and 7.5GB) i get a "I/O error" on the attach 
command.


can anybody tell me what am i doing wrong?

Trying to mirror a larger disk with a smaller one?

Recent builds can cope with a small difference to allow for variations 
between models of the same nominal size, but not 500MB.




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


Re: [zfs-discuss] root pool mirror problems

2010-05-20 Thread Ian Collins

On 05/20/10 08:39 PM, roi shidlovsky wrote:

hi.
i am trying to attach a mirror disk to my root pool. if the two disk are the same size.. 
it all works fine, but if the two disks are with different size (8GB and 7.5GB) i get a 
"I/O error" on the attach command.

can anybody tell me what am i doing wrong?

Trying to mirror a larger disk with a smaller one?

Recent builds can cope with a small difference to allow for variations between 
models of the same nominal size, but not 500MB.

--
Ian.

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


[zfs-discuss] root pool mirror problems

2010-05-20 Thread roi shidlovsky
hi. 
i am trying to attach a mirror disk to my root pool. if the two disk are the 
same size.. it all works fine, but if the two disks are with different size 
(8GB and 7.5GB) i get a "I/O error" on the attach command.

can anybody tell me what am i doing wrong?
-- 
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss