metadb state databasees disappear after reboot
I'm trying to setup svm on a v880. I'm running solaris9 and it's all installed and happy.
I'm doing the following to create my state databases:
metadb -af -c3 c1t0d0s7 c1t1d0s7
slice 7 is unassigned in both cases and 22 mb in size.
After doing so I can run metadb -i:
metadb -i
flagsfirst blkblock count
au 16 8192/dev/dsk/c1t0d0s7
au 82088192/dev/dsk/c1t0d0s7
au 164008192/dev/dsk/c1t0d0s7
au 16 8192/dev/dsk/c1t1d0s7
au 82088192/dev/dsk/c1t1d0s7
au 164008192/dev/dsk/c1t1d0s7
At this point I typically try and create an initial one-way mirror just to get started (but i've tried everything including metainitting /, metaroot, lockfs -fa, sync ; sync ;sync && reboot... No dice!)
metainit -f d6 1 1 c1t0d0s3
metainit -f d5 -m d6
After I reboot the system comes up and tells me that there are no state databases...
I looked in /kernel/drv/md.conf:
cat /kernel/drv/md.conf
mddb_bootlist1="ssd:23:16:id1,<a href="mailto:ssd@w20000004cfb3809b" target="_blank">ssd@w20000004cfb3809b</a>/ ssd:23:8208:id1,<a href="mailto:ssd@w20000004cfb3809b" target="_blank">ssd@w20000004cfb3809b</a>/ ssd:23:16400:id1,<a href="mailto:ssd@w20000004cfb3809b" target="_blank">ssd@w20000004cfb3809b</a>/ .....
and I compared with
ls -l /dev/dsk/c1t0d0s7
lrwxrwxrwx1 rootroot 70 Dec 21 15:05 /dev/dsk/c1t0d0s7 -> ../../devices/<a href="mailto:pci@8" target="_blank">pci@8</a>,600000/SUNW,<a href="mailto:qlc@2" target="_blank">qlc@2</a>/<a href="mailto:fp@0" target="_blank">fp@0</a>,0/<a href="mailto:ssd@w21000004cfb3809b" target="_blank">ssd@w21000004cfb3809b</a>,0:h
Should those <a href="mailto:ssd@w20000000" target="_blank">ssd@w20000000</a> be <a href="mailto:ssd@w210000000" target="_blank">ssd@w210000000</a> instead? Manually changing the /kernel/drv/md.conf file didn't help but I wasn't surprised since it clearly tells me not to manually update tthis file.
Am I missing something here?
Please lemme know if I need to provide more information.
/geir

