Hi,
I have a server which is running FreeBSD 9.0-RELEASE. It has one provider gm0 which consists of ada0 and ada1.
When I boot to mfsBSD I can load gmirror and gm0 works fine.
When I reboot from harddisk it will prompt with error 19, asking for a mountroot. This error seems to be popular after upgrading from FreeBSD 8.x to 9.x which is not the case here. It was working fine but now...
Any idea what I could do? It seems the geom_mirror.ko module can't be loaded at boot. How can I fix this?
Some output:
This is when I boot from mfsBSD.
/etc/fstab:
/boot/loader.conf
I have a server which is running FreeBSD 9.0-RELEASE. It has one provider gm0 which consists of ada0 and ada1.
When I boot to mfsBSD I can load gmirror and gm0 works fine.
When I reboot from harddisk it will prompt with error 19, asking for a mountroot. This error seems to be popular after upgrading from FreeBSD 8.x to 9.x which is not the case here. It was working fine but now...
Any idea what I could do? It seems the geom_mirror.ko module can't be loaded at boot. How can I fix this?
Some output:
Code:
rescue-bsd# gpart show
=> 63 234441584 mirror/gm0 MBR (111G)
63 234436482 1 freebsd [active] (111G)
234436545 5102 - free - (2.5M)
=> 0 234436482 mirror/gm0s1 BSD (111G)
0 213954560 1 freebsd-ufs (102G)
213954560 1024000 2 freebsd-ufs (500M)
214978560 19457922 4 freebsd-swap (9.3G)[/CMD]
rescue-bsd# gmirror list
Geom name: gm0
State: COMPLETE
Components: 2
Balance: round-robin
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 1
ID: 3106185129
Providers:
1. Name: mirror/gm0
Mediasize: 120034123264 (111G)
Sectorsize: 512
Mode: r0w0e0
Consumers:
1. Name: ada1
Mediasize: 120034123776 (111G)
Sectorsize: 512
Mode: r1w1e1
State: ACTIVE
Priority: 1
Flags: (null)
GenID: 0
SyncID: 1
ID: 3005574804
2. Name: ada0
Mediasize: 120034123776 (111G)
Sectorsize: 512
Mode: r1w1e1
State: ACTIVE
Priority: 0
Flags: (null)
GenID: 0
SyncID: 1
ID: 3658582627[/CMD]
This is when I boot from mfsBSD.
/etc/fstab:
Code:
/dev/mirror/gm0s1a / ufs rw 1 1
/dev/mirror/gm0s1b /root ufs rw 2 2
/dev/mirror/gm0s1d none swap sw 0 0
/boot/loader.conf
Code:
geom_mirror_enable="YES"