Discussion
Loading...

Post

  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
only50000hours
@only50000hours@mastodon.bsd.cafe  ·  activity timestamp 3 months ago

You can add a remote disk to a #ZFS mirror using ggatec(8) on #freebsd and the the ZFS pool happily resilvers to the remote disk connected via #geomgate.

Three terminal windows: on the left the verbose ggated(8) output while a disk is being exported to a remote another machine. On the right the verbose output of ggatec(8), while using the disk of the aforementioned daemon. In the middle, overlapping the other two windows, is the output of a zpool status command, showing that a device called ggate0 is being resilvered in a ZFS mirror configuration.
Three terminal windows: on the left the verbose ggated(8) output while a disk is being exported to a remote another machine. On the right the verbose output of ggatec(8), while using the disk of the aforementioned daemon. In the middle, overlapping the other two windows, is the output of a zpool status command, showing that a device called ggate0 is being resilvered in a ZFS mirror configuration.
Three terminal windows: on the left the verbose ggated(8) output while a disk is being exported to a remote another machine. On the right the verbose output of ggatec(8), while using the disk of the aforementioned daemon. In the middle, overlapping the other two windows, is the output of a zpool status command, showing that a device called ggate0 is being resilvered in a ZFS mirror configuration.
  • Copy link
  • Flag this post
  • Block
only50000hours
@only50000hours@mastodon.bsd.cafe replied  ·  activity timestamp 3 months ago

I added the GEOM Gate device to the #ZFS mirror because I wanted to switch disks. On the screenshot, ada1 only had 128GiB and the disk behind ggate0 had 1TiB and was the one I wanted to use in the future. I prepared ada1 with “zpool set autoexpand=on mypool” and “zpool online -e mypool ada1”. Then I added the 1 TiB disk to create the mirror. When ggate0 was done with the resilvering, I detached ada1, powered the two machines involved off and physically switched disks. I’m wondering if that works just as good when the machine in question is still running.

  • Copy link
  • Flag this comment
  • Block
feld
@feld@friedcheese.us replied  ·  activity timestamp 3 months ago
@only50000hours I wonder how bad the performance gets though when it attempts to issue reads to it under load...

I don't believe you can currently change any type of priority/QoS for members in a zpool to avoid sending reads to a disk that isn't as fast
  • Copy link
  • Flag this comment
  • Block
Log in

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.0-rc.3.13 no JS en
Automatic federation enabled
  • Explore
  • About
  • Members
  • Code of Conduct
Home
Login