I spend yesterday all day evading my data of one of the Windows disks, so that 
I can add it to the pool. Using mount-ntfs, it's a pain due to its slowness. 
But once I finished, I thought "Cool, let's do it". So I added the disk using 
the zero slice notation (c0d0s0), as suggested for performance reasons. I 
checked the pool status and noticed however that the pool size didn't raise.

After a short panic (myself, not the kernel), I remembered that I partitioned 
this disk as EFI disk in Windows (mostly just because). c0d0s0 was the 
emergency, boot or whatever partition automatically created according to the 
recommended EFI partitioning scheme. So it added the minimal space of that 
partition to the pool. The real whole disk partition was c0d0s1. Since there's 
no device removal in ZFS yet, I had to replace slice 0 with slice 1 since 
destroying the pool was out of the question.

Two things now:
a) ZFS would have added EFI labels anyway. Will ZFS figure things out for 
itself, or did I lose write cache control because I didn't explicitely specify 
s0 though this is an EFI disk already?
b) I don't remember it mentioned anywhere in the documentation. If a) is indeed 
an issue, it should be mentioned that you have to unlabel EFI disks before 
adding.

Thanks.
-mg
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to