Re: ZFS asymmetric mirror



On Jun 21, 9:33 pm, "Colin B." <cbi...@xxxxxxxxxxxxxxxxxxxxx> wrote:
On my glued-together workstation at home, I've decided to finally move
to ZFS root. Only problem is, my two internal disks are 18GB and 36GB
respectively. At first I was going to split the 36GB and only a slice
of it to mirror the 18GB, but then I thought: What happens if I create
a mirrored zpool with two different-sized disks? Will it automatically
match the smaller one in the pool? And if so, does this provide any
advantage over giving a slice to the pool instead?

Thanks!
Colin

In order to boot from ZFS you need an SMI label on the disk. i.e. You
need to boot off a slice rather than the whole disk.

I've not tested this but I'm sure you can mirror two different size
disks with the same sized slice into an rpool to boot from.

Not sure if there are any implications from a bootblk perspective !

You can't however mirror two different sized slices from two different
sized disks as far as I know.
.



Relevant Pages

  • gmirror + glabel + gjournal and 7.0 installation
    ... I'd like to mirror these with gmirror and I think also I want to ... use glabel to make things easier if one of the disks fails ... I'm proposing to gmirror a slice and put the ...
    (freebsd-questions)
  • Re: Problem with migrating onto a gmirror slice.
    ... > I have a system that I set up to use a gmirror back in the 5.3beta ... > It's a scsi system w/ two identical disks. ... > I noticed that the slice table was messed up. ... Edit the label. ...
    (freebsd-stable)
  • Re: Please help me understand disk manager
    ... I'm trying to get my head around the solaris volume manager but it just ... You use 'metaset' to create a volume group containing one or many disks ... Disksuite is fundamentally different in that the base unit is a slice. ...
    (comp.unix.solaris)
  • Re: ZFS root mirror how-to
    ... to take a SAN LUN which is the same size as the internal disks, ... need to specify the slice identifier. ... file systemyou specified for the new boot environment. ... Creating file systems on boot environment. ...
    (comp.unix.solaris)
  • Re: 8.0-RELEASE and "dangerously dedicated" disks
    ... 7.2-RELEASE) systems are installed onto "dangerously dedicated" disks. ... partition table, regardless of what filesystems might be written on ... and partition within slice needs to be redone. ... by partition (mountable filesystem by mountable filesystem) however ...
    (freebsd-questions)