NFS showmount

実際のエクスポート状況を確認

[root@nfs-server01 ~]# exportfs
/tmp            192.168.1.0/24

[root@nfs-server01 ~]# showmount -e
Export list for nfs-server01:
/tmp   192.168.1.0/24
設定と差分があるようならexportfs -rか/etc/init.d/nfs reloadで反映させましょう

被マウント状況の確認
showmountで確認できます

[root@nfs-server01 /]# showmount -a
All mount points on nfs-server01:
192.168.1.153:/tmp
正常にumountされなかったときの情報が残っていることがあるので、
正確な情報を得るためには出力された各クライアントにログインして調べる必要があると思います。
(もっといい方法ないのかな・・・)
NFSの稼働状況確認 - mikedaの日記

github watch

https://docs.github.com/ja/github/managing-subscriptions-and-notifications-on-github/managing-subscriptions-for-activity-on-github/viewing-your-subscriptions

運用にあたっては、まず、今までのNotificationを全てクリアして、必要なものだけがNotifyされるようにWatch設定をちゃんとする。実際、Notificationが多すぎて役に立たなくなっている人は全てUnwatchすることから始めてもいいかもしれない。そうするとNotificationが結構役に立つようになる。
GitHubで自分が関係しているIssueを見逃さないようにするためのページ一覧 - Qiita

bhyve vlan + lagg

https://github.com/churchers/vm-bhyve/wiki/Virtual-Switches#assigning-a-vlan-number

未解決

bhyve with vlans - host and vm can't pass traffic | The FreeBSD Forums

freebsd-net - bhyve with vlans - host and vm can't pass traffic

Solved - bhyve networking issues with ix, lagg, tap, and bridge | The FreeBSD Forums

Solved - Bridge/epair not passing through tagged VLAN traffic between host and VNET jail | The FreeBSD Forums

VLAN tagged interfaces in bridges | The FreeBSD Forums

Solved - No ingress VLAN traffic | The FreeBSD Forums

Linux 非RAIDシステムのRAID化 mdadm

GRUB

grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..

Hmm ... apparently this line was the clue:

grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..
Previously I had installed btrfs directly on /dev/sda and /dev/sdb. That's why both of them had a FSTYPE and LABEL attached (as shown in lsblk).

Solution: I have now wiped both /dev/sda and /dev/sdb with hdparm (Secure Erase). There is probably a better way to unset those flags ... but this worked for me.

https://unix.stackexchange.com/questions/176843/grub-install-embedding-is-not-possible-in-bios-gpt/176943#176943

以下のエラーが出る場合は

grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..
# dd if=/dev/zero of=/dev/sdb seek=1 count=2047
を実行してブートセクタから第一パーテションまでを一度消去します.

MBR(bios)でもESP(uefi)でも起動できるgrub2の設定方法 - pyopyopyo - Linuxとかプログラミングの覚え書き -

FreeBSD zfs mirror swap

https://forums.freebsd.org/threads/should-i-mirror-swap-or-no-swap.73449/

Mirror Swapにする。

Auto ZFS

ZFS Configuration
Pool Type/Disks:  → raidz2: 8 disks
PoolName zroot
Force 4K Sectors? YES
Encrypt Disks? NO
Partition Scheme GPT (BIOS+UEFI)
Swap Size 2g
Mirror Swap? NO → YES
Encrypt Swap? NO

Swap Sizeのパーティションが各ディスクに作られる

Mirror Swap NO
/etc/fstab

/dev/da0p3             none    swap    sw              0       0
/dev/da1p3             none    swap    sw              0       0
/dev/da2p3             none    swap    sw              0       0
/dev/da3p3             none    swap    sw              0       0
/dev/da4p3             none    swap    sw              0       0
/dev/da5p3             none    swap    sw              0       0
/dev/da6p3             none    swap    sw              0       0
/dev/da7p3             none    swap    sw              0       0

SwapはSwap Size*ディスク数

Mirror Swap YES

gmirrorで設定される

/etc/fstab

/dev/mirror/swap                none    swap    sw              0       0

$ gmirror status
       Name    Status  Components
mirror/swap  COMPLETE  da0p3 (ACTIVE)
                       da1p3 (ACTIVE)
                       da2p3 (ACTIVE)
                       da3p3 (ACTIVE)
                       da4p3 (ACTIVE)
                       da5p3 (ACTIVE)
                       da6p3 (ACTIVE)
                       da7p3 (ACTIVE)

必要に応じて組み直す

# gmirror remove swap da4p3 
# gmirror remove swap da5p3 
# gmirror remove swap da6p3 
# gmirror remove swap da7p3 

# gmirror label -v swap1 da4p3
# gmirror insert -v swap1 da5p3
# gmirror insert -v swap1 da6p3
# gmirror insert -v swap1 da7p3

# vi /etc/fstab

/dev/mirror/swap                none    swap    sw              0       0
/dev/mirror/swap1                none    swap    sw              0       0

# swapon -a
swapon: adding /dev/mirror/swap1 as swap device

# swapinfo

Perc H730 FreeBSD

This is a new system. Integrated raid controller Perc H730P. Fixed it!! At loader prompt set hw.mfi.mrsas_enable=1. Got a clean install and then in loader.conf: hw.mfi.mrsas_enable=1 so properly set each boot. This is where I got info from:
http://comments.gmane.org/gmane.os.freebsd.stable/92673

PS - out of the box I was getting timeout errors from the raid controller that were on the IDRAC logs so that was why Dell replaced the RAID controller. That left me just with the installation issue.

Problems booting up Dell R730 - IDRAC | The FreeBSD Forums

3. Escape to loader prompt
set hw.mfi.mrsas_enable=1
boot

インストール

/boot/loader.conf
hw.mfi.mrsas_enable=1 

FreeBSD 13.2 も同じ (2023.04)

VyOS

VyOS 1.1.8 とそれ以降で開発元の方針が変更され、1.1.8 まではインストール用のシステムイメージが公開されているが、1.2 以降は公開がなされていない。 VyOS 1.2 からは LTS (Long Term Support) Release と Rolling Release の二つに分けて公開されており、前者はいわゆる安定版の Release であり、 後者は最新版の Release と考えて良い。VyOS 1.2 以降のシステムイメージが必要な場合は subscription に参加するか、source code から作成する必要性がある。 ここでは source code から作成する方法について簡単に纏めておく
VyOS LTS Release の build と docker 環境 - 技術考