For several weeks I have had this issue on my server and I would like to resolve it before I upgrade the hardware this week. Basically, btrfs partitions are not recognized when the system boots up. In order to reboot the server I have to stop everything on my network that relies on NFS or LXD containers from the server. Then attach a keyboard, mouse and monitor to the server and boot it up, stop the NFS daemon, run btrfs device scan, then run mount -a, then start NFS and LXD and then start my containers. Then I disconnect my keyboard, mouse, and monitor and reconnect them to my desktop and boot it, then while it is coming up I make sure my tablet and phone don't need rebooting to reconnect to my server. After that I can start using my computers again.
So where should I be looking to find out why my server isn't scanning for btrfs devices on boot? I have looked in dmesg and syslog, but the only info there comes from when the system tries to mount the filesystems and logs the fact that they are missing. Manually calling btrfs device scan as root will find the drives and then they can be mounted without issue. Therefor I think that the automated device scan is no longer functioning. What component should be issuing this? What other logs or configuration files should I be looking at?
Question
lazlo.vii
For several weeks I have had this issue on my server and I would like to resolve it before I upgrade the hardware this week. Basically, btrfs partitions are not recognized when the system boots up. In order to reboot the server I have to stop everything on my network that relies on NFS or LXD containers from the server. Then attach a keyboard, mouse and monitor to the server and boot it up, stop the NFS daemon, run btrfs device scan, then run mount -a, then start NFS and LXD and then start my containers. Then I disconnect my keyboard, mouse, and monitor and reconnect them to my desktop and boot it, then while it is coming up I make sure my tablet and phone don't need rebooting to reconnect to my server. After that I can start using my computers again.
So where should I be looking to find out why my server isn't scanning for btrfs devices on boot? I have looked in dmesg and syslog, but the only info there comes from when the system tries to mount the filesystems and logs the fact that they are missing. Manually calling btrfs device scan as root will find the drives and then they can be mounted without issue. Therefor I think that the automated device scan is no longer functioning. What component should be issuing this? What other logs or configuration files should I be looking at?
Link to comment
Share on other sites
1 answer to this question
Recommended Posts