Hi,
Recently, I faced a problem with my 11.2 installation, were adding additional disks before the already existing disk is causing the system to run into mountroot> prompt or reboot.
The issue is straight forward. The /etc/fstab entry has the disk name as /dev/ada0p1. When additional disk are added before the existing disk, new disk seems to be named ada0 the existing disk is changed to ada1. So, when try to mount root as /dev/ada0p1 it fails and runs to mountroot> prompt or reboots.
So, few questions?
1) Is it possible to use labels instead of disk names in /etc/fstab? Like linux has the UUID labels in /etc/fstab?
2) I see sometimes the machine is rebooting and sometimes running to mountroot> prompt? Is there any configuration which defines this behavior?
3) Overall, what is the best way to add disk seamlessly to FreeBSD system with the naming changes not impacting the system?
Thanks,
Rajesh.
Recently, I faced a problem with my 11.2 installation, were adding additional disks before the already existing disk is causing the system to run into mountroot> prompt or reboot.
The issue is straight forward. The /etc/fstab entry has the disk name as /dev/ada0p1. When additional disk are added before the existing disk, new disk seems to be named ada0 the existing disk is changed to ada1. So, when try to mount root as /dev/ada0p1 it fails and runs to mountroot> prompt or reboots.
So, few questions?
1) Is it possible to use labels instead of disk names in /etc/fstab? Like linux has the UUID labels in /etc/fstab?
2) I see sometimes the machine is rebooting and sometimes running to mountroot> prompt? Is there any configuration which defines this behavior?
3) Overall, what is the best way to add disk seamlessly to FreeBSD system with the naming changes not impacting the system?
Thanks,
Rajesh.