This is a strange one:
I've recently reinstalled FreeBSD 14.0 on an old, non-mission critical PowerEdge R710.
Two zpools were created, zsystem and zdata.
Since the old BIOS doesn't give me a JBOD option, the pools were created with megaraid virtual devices all attached to the same controller.
zsystem is a zpool created from a virtual device with 2 disks RAID1, seen as mfid0 (465Gb)
zdata is a zpool with two RAID0 block devices, vd1 and vd2, created with 4 physical disks, seen as mfid1 and mfid2 (3.6Tb)
One of the virtual devices is degrated, and the result is a FAULTED pool.
But this is where nothing makes sense anymore:
Note that it's same device, both ONLINE and FAULTED.
Trying to import the pool obviously doesn't work:
gpart makes things worse:
mfid0 is where the OS lives, and the partition makes sense (the system boots).
But both mfid1,2 don't make sense. Those were wiped clean and added to the zpool, never partioned as shown.
The dagger comes when one examines the boot log (dmesg):
So according to this, the FAULTED (degraded) pool, is where zsystem lives and therefore, I should not be able to boot the OS!
Neither should this be happening?
I know, mixing up megaraid and zfs is a bad idea, but this is on another level, does anyone have any idea what is going on?
Any help is much appreciated.
I've recently reinstalled FreeBSD 14.0 on an old, non-mission critical PowerEdge R710.
Two zpools were created, zsystem and zdata.
Since the old BIOS doesn't give me a JBOD option, the pools were created with megaraid virtual devices all attached to the same controller.
zsystem is a zpool created from a virtual device with 2 disks RAID1, seen as mfid0 (465Gb)
zdata is a zpool with two RAID0 block devices, vd1 and vd2, created with 4 physical disks, seen as mfid1 and mfid2 (3.6Tb)
One of the virtual devices is degrated, and the result is a FAULTED pool.
But this is where nothing makes sense anymore:
Code:
zdata FAULTED corrupted data
mfid2p3 ONLINE
mfid2p3 FAULTED corrupted data
Note that it's same device, both ONLINE and FAULTED.
Trying to import the pool obviously doesn't work:
Code:
> zpool import -f zdata
cannot import 'zdata': one or more devices is currently unavailable
gpart makes things worse:
Code:
> gpart show
=> 40 975699888 mfid0 GPT (465G)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 8388608 2 freebsd-swap (4.0G)
8390656 967307264 3 freebsd-zfs (461G)
975697920 2008 - free - (1.0M)
=> 40 7812939696 mfid2 GPT (3.6T)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 4194304 2 freebsd-swap (2.0G)
4196352 7808741376 3 freebsd-zfs (3.6T)
7812937728 2008 - free - (1.0M)
=> 40 7812939696 mfid1 GPT (3.6T)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 4194304 2 freebsd-swap (2.0G)
4196352 7808741376 3 freebsd-zfs (3.6T)
7812937728 2008 - free - (1.0M)
mfid0 is where the OS lives, and the partition makes sense (the system boots).
But both mfid1,2 don't make sense. Those were wiped clean and added to the zpool, never partioned as shown.
The dagger comes when one examines the boot log (dmesg):
Code:
mfid0 on mfi0
mfid0: 476416MB (975699968 sectors) RAID volume 'Virtual Disk0' is degraded
mfid1 on mfi0
mfid1: 3814912MB (7812939776 sectors) RAID volume 'vd1' is optimal
mfid2 on mfi0
mfid2: 3814912MB (7812939776 sectors) RAID volume 'vd0' is optimal
So according to this, the FAULTED (degraded) pool, is where zsystem lives and therefore, I should not be able to boot the OS!
Neither should this be happening?
Code:
host :: / » zpool status
pool: zsystem
state: ONLINE
scan: scrub repaired 0B in 00:01:34 with 0 errors on Fri Mar 1 03:51:28 2024
config:
NAME STATE READ WRITE CKSUM
zsystem ONLINE 0 0 0
mfid0p3 ONLINE 0 0 0
errors: No known data errors
I know, mixing up megaraid and zfs is a bad idea, but this is on another level, does anyone have any idea what is going on?
Any help is much appreciated.
Last edited by a moderator: