Discussion
Loading...

#Tag

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

This how a failed GEOM Gate device in a #zfs mirror looks like after a ungraceful shutdown. The load on my 15+ year old laptop was too high I guess. #sshd suddenly logged me out after like 2 seconds, I couldn’t even login directly in front of the laptop. Console messages along the lines “jid0 couldn’t reclaim memory”. Had 3 jails, 2 VMs and a deduped ZFS pool running. Let’s see if I can keep this running if the Win7 VM’s memory is halved. Perhaps it is worth having a look at rctl…

Screenshot of the output of several FreeBSD commands. zpool status shows the ZFS mirror setup in status DEGRADED since the remote disk /dev/ggate0 is not available for the moment after a hard shutdown. The outputs of sysctl hw.model, sysctl hw.physmem, grep -E “memory.size|wired” vm-config and finally zfs get all zpool | grep dedup indicate that the system runs on an old AMD A4-5000 and 12GiB of memory while reserving 8GiB of memory for one VM and having deduplication activated. A final rctl command shows that resource control mechanisms have not been configured.
Screenshot of the output of several FreeBSD commands. zpool status shows the ZFS mirror setup in status DEGRADED since the remote disk /dev/ggate0 is not available for the moment after a hard shutdown. The outputs of sysctl hw.model, sysctl hw.physmem, grep -E “memory.size|wired” vm-config and finally zfs get all zpool | grep dedup indicate that the system runs on an old AMD A4-5000 and 12GiB of memory while reserving 8GiB of memory for one VM and having deduplication activated. A final rctl command shows that resource control mechanisms have not been configured.
Screenshot of the output of several FreeBSD commands. zpool status shows the ZFS mirror setup in status DEGRADED since the remote disk /dev/ggate0 is not available for the moment after a hard shutdown. The outputs of sysctl hw.model, sysctl hw.physmem, grep -E “memory.size|wired” vm-config and finally zfs get all zpool | grep dedup indicate that the system runs on an old AMD A4-5000 and 12GiB of memory while reserving 8GiB of memory for one VM and having deduplication activated. A final rctl command shows that resource control mechanisms have not been configured.
only50000hours
@only50000hours@mastodon.bsd.cafe replied  ·  activity timestamp 3 months ago

The #geomgate daemon on the remote machine is still running. Let’s see if it just picks up a new SSH connection. The daemon exports the disk to localhost and SSH remote-forwards localhost to the other side where the #ZFS pool with the mirror is running. The daemon did not really complain but it reported “Process 94311 exiting.”

  • Copy link
  • Flag this comment
  • Block
Michael Dexter
Michael Dexter boosted
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  ·  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
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