Hey everybody.
I'm having a problem with a new box. I've created a gmirror volume on some 3 TB disks. I manually partitioned it from a FreeBSD 9.2 memory stick using gpart from the fixit console, as I wanted to clone it from another machine using a dump.
My problem is, the box won't boot automatically. I end up having to manually specify the root filesystem.
As you can see, it does see my gmirror device, and when I enter it manually, it boots normally. However, it seems that the loader does not parse my /etc/fstab correctly.
The same procedure worked countless times on 8.x, and I can't from the handbook decode if something has been changed to the loader. Can it be that I have to give a hint to the loader somewhere?
I'm having a problem with a new box. I've created a gmirror volume on some 3 TB disks. I manually partitioned it from a FreeBSD 9.2 memory stick using gpart from the fixit console, as I wanted to clone it from another machine using a dump.
My problem is, the box won't boot automatically. I end up having to manually specify the root filesystem.
Code:
Loader variables:
Manual root filesystem specification:
<fstype>:<device> [options]
Mount <device> using filesystem <fstype>
and with the specified (optional) option list.
eg. ufs:/dev/da0s1a
zfs:tank
cd9660:/dev/acd0 ro
(which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /)
? List valid disk boot devices
. Yield 1 second (for background tasks)
<empty line> Abort manual input
mountroot> ?
List of GEOM managed disk devices:
gptid/223fda50-34e1-11e3-8baa-10bf48e38fab gpt/root ufs/root ufsid/525c06db13a9bdb7 gptid/1d8390d2-34e1-11e3-8baa-10bf48e38fab gpt/swap gptid/15dc4e84-34e1-11e3-8baa-10bf48e38fab gpt/boot mirror/build0p3 mirror/build0p2 mirror/build0p1 mirror/build0 ada1 ada0
mountroot> ufs:mirror/build0p3
Trying to mount root from ufs:mirror/build0p3 []...
As you can see, it does see my gmirror device, and when I enter it manually, it boots normally. However, it seems that the loader does not parse my /etc/fstab correctly.
The same procedure worked countless times on 8.x, and I can't from the handbook decode if something has been changed to the loader. Can it be that I have to give a hint to the loader somewhere?
Code:
# gmirror status
Name Status Components
mirror/build0 COMPLETE ada0 (ACTIVE)
ada1 (ACTIVE)
# gpart show
=> 34 5860533100 mirror/build0 GPT (2.7T)
34 6 - free - (3.0k)
40 128 1 freebsd-boot (64k)
168 8388608 2 freebsd-swap (4.0G)
8388776 5852144352 3 freebsd-ufs (2.7T)
5860533128 6 - free - (3.0k)
# cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass#
/dev/mirror/build0p2 none swap sw 0 0
/dev/mirror/build0p3 / ufs rw 1 1
/dev/cd0 /cdrom cd9660 ro,noauto 0 0
proc /proc procfs rw 0 0
# cat /boot/loader.conf
# loadable modules
accf_http_load="YES"
accf_data_load="YES"
geom_mirror_load="YES"
geom_eli_load="YES"