Tomorrow, Fajar A. Nugraha wrote:
There was a post from Ricardo on zfs-fuse list some time ago.
Apparently if you do a "zpool create" on whole disks, Linux on
Solaris behaves differently:
- solaris will create EFI partition on that disk, and use the partition as vdev
- Linux will use the whole disk without any partition, just like with
a file-based vdev.
The result is that you might be unable to import the pool on *solaris or *BSD.
The recommended way to create a "portable" pool is to create the pool
on a partition setup recognizable on all those OS. He suggested a
simple DOS/MBR partition table.
So in short, if you had created the pool on top of sda1 instead of
sda, it will work. I'm surprised though that you can "offlined sda and
replaced it with sda1" when previously you said "I see that if I try
to replace sda with sda1, zpool complains that sda1 is too small"
I was a bit surprised about that, too. But I found that a standard
PC/Linux partition reserves around 24MB at the beginning of the disk, and
an EFI (or actually, GPT) disklabel and partition only uses a few 100KB.
Paul
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss