[zfs-discuss] Using ZFS iscsi disk as ZFS disk

2009-09-09 Thread Frank Middleton

Is there any reason why an iscsi disk could not be used
to extend an rpool? It would be pretty amazing if it
could but I thought I'd try it anyway :-)

The 20GB disk I am using to try ZFS booting on SPARC
ran out of space doing an image update to snv122, so I
thought I'd try extending it with an iscsi disk on the
data pool (same machine, different disks).

After formatting the disk with an SMI label, trying to
add the new disk results in

# zpool add rpool c4t600144F04AA7AA68d0
cannot label 'c4t600144F04AA7AA68d0': EFI labeled devices are 
not supported on root pools.
#

Should it be possible to do this (SPARC snv103), and if so,
how to make it work? Use a different iscsi host maybe?
Perhaps I should have used a plain file, or could it be
impossible? Maybe I should split the UFS boot mirror and try
this on one of those disks instead :-(

Separately, I have succeeded in using an iscsi disk (same
hardware) as a ZFS disk in an AMD64 Virtualbox, so it is
possible, although /var/adm/messages is full of messages
like this:

Corrupt label; wrong magic number

even though the disk works just fine in the VM.

Any hints much appreciated

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


Re: [zfs-discuss] Using ZFS iscsi disk as ZFS disk

2009-09-09 Thread Darren J Moffat

Frank Middleton wrote:

Is there any reason why an iscsi disk could not be used
to extend an rpool? It would be pretty amazing if it
could but I thought I'd try it anyway :-)


iscsi isn't your real problem here.


The 20GB disk I am using to try ZFS booting on SPARC
ran out of space doing an image update to snv122, so I
thought I'd try extending it with an iscsi disk on the
data pool (same machine, different disks).

After formatting the disk with an SMI label, trying to
add the new disk results in

# zpool add rpool c4t600144F04AA7AA68d0
cannot label 'c4t600144F04AA7AA68d0': EFI labeled 
devices are not supported on root pools.


It obviously doesn't have an SMI label on it given that
error message.

However that still isn't your real problem.

The root pool (ie the one you boot from) can only be a mirror that means 
that regardless of iSCSI or EFI label that 'zpool add' was going to fail 
 anyway like this:


# zpool add rpool c4t600144F04AA7AA68d0
invalid vdev specification
use '-f' to override the following errors:
mismatched replication level: pool uses mirror and new vdev is disk


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