実際のエクスポート状況を確認 [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
運用にあたっては、まず、今までの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
Linux 非RAIDシステムのRAID化 mdadm
既インストールのLinuxをRAIDに移行
非RAIDシステムのRAID化 - CentOSで自宅サーバー構築
CentOS 5
稼働済みのHDDで後からRAIDを設定する - ログ日記
Debian squeeze (6) ★
Yoshiyuki O. Takahashi: debian インストール後に Software RAID を設定
debian 10.0.0
Linuxでmdadmを使ったソフトウェアRAIDの構築・管理メモ - nabeの雑記帳
software RAID 1 on Centos 7, EUFI running system – SvennD
CentOS 7 gpt UEFI ★
Step by Step: シングルHDDをRAID 1に変換; LVM on RAID編 (Fedora 20) | Netsphere Laboratories
Fedora 20 ★
How to set up software RAID 1 on a running system ( Incl UEFI boot mechanism ) - Newroco tech docs
インストール時にRAID構成にする
CentOS 7 with Mdadm Software RAID and UEFI Boot – terrydactyl10
CentOS7 UEFI
OpenStack Linux UEFI Software RAID - @//メモ
CentOS 7 UEFI
CentOS 7 UEFI Install on appliance with mirrored GPT partitions — Lucid Solutions
CentOS 7 UEFI
EFI
CentOS7でソフトウエアRAID1のHDDを交換したときのメモ - Qiita
efibootmgr
エントリの重複
[SOLVED] Double items in bios boot order page efi/uefi - Linux Mint Forums
How to delete duplicate bootloader from dual-boot setup? - Ask Ubuntu
パーティションのコピー
http://blog.nizyu.xyz/blog/partition_backup_restore/
sfdisk (MBR)
sfdisk でパーティション情報のコピー - うまいぼうぶろぐ
sdaのパーティション情報をsdbにコピー
sfdisk -d /dev/sda > sda.dump cat sda.dump sfdisk /dev/sdb < sda.dump
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.
以下のエラーが出る場合は
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/92673PS - 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.
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 環境 - 技術考