metadb: /dev/dump: No such file or directory

I have created a custom Solaris 10 DVD based on the instructions from the following sites:

http://unix.derkeiler.com/Newsgroups/comp.unix.solaris/2003-05/1450.html

http://www.informit.com/articles/article.asp?p=174310&rl=1

All has gone well and my begin script generates a profile with the following partitioning information:

partitioningexplicit

filesys mirror c1t0d0s0 c1t1d0s0free/logging

filesys mirror c1t0d0s1 c1t1d0s116368swap

metadbc1t0d0s7

metadbc1t1d0s7

However, the installation fails with the following error:

Creating and checking UFS file systems

- Creating / (c1t0d0s0)

- Creating (c1t1d0s0)

- Creating (c1t1d0s1)

Creating SVM Meta Devices. Please wait ...

- Creating SVM State Replica on disk c1t0d0s7

- metadb: gibson: /dev/dump: No such file or directory

- Creating SVM State Replica on disk c1t1d0s7

- metadb: gibson: /dev/dump: No such file or directory

- Creating SVM Mirror Volume d0 (swap)

- Creating SVM Mirror Volume d10 (/)

ERROR: Could not mount / (/dev/md/dsk/d10)

ERROR: Could not mount the configured file system(s)

ERROR: System installation failed

Solaris installation program exited.

Using the command recorded in /tmp/create_mirror, I manually run:

# /usr/sbin/metadb -a -f -c 3 -l 8192 c1t0d0s7

metadb: gibson: /dev/dump: No such file or directory

I have used this profile from my jumpstart server with no problems. Any idea why /dev/dump is missing when installing from the DVD?

[1593 byte] By [kpmcnamee] at [2007-11-26 9:19:09]
# 1

To clarify, I am not installing a flar, just replacing the standard installation questionnaire with something more advanced.

The solution to the problem was to run devfsadm in the script before the creation of the state database starts.

# devfsadm -v

devfsadm: mkdir failed for /dev 0x1ed: Read-only file system

devfsadm[300]: verbose: symlink /dev/usb/hub0 -> ../../devices/pci@7c0/pci@0/pci@1/pci@0/usb@5:hubd

devfsadm[300]: verbose: symlink /dev/usb/hub1 -> ../../devices/pci@7c0/pci@0/pci@1/pci@0/usb@6:hubd

devfsadm[300]: verbose: symlink /dev/usb/hub2 -> ../../devices/pci@7c0/pci@0/pci@1/pci@0/usb@6/hub@1:hubd

devfsadm[300]: verbose: symlink /dev/ramdiskctl -> ../devices/pseudo/ramdisk@1024:ctl

devfsadm[300]: verbose: symlink /dev/lofictl -> ../devices/pseudo/lofi@0:ctl

devfsadm[300]: verbose: symlink /dev/zfs -> ../devices/pseudo/zfs@0:zfs

devfsadm[300]: verbose: symlink /dev/logindmux -> ../devices/pseudo/clone@0:logindmux

devfsadm[300]: verbose: symlink /dev/dump -> ../devices/pseudo/dump@0:dump

devfsadm[300]: verbose: symlink /dev/fssnapctl -> ../devices/pseudo/fssnap@0:ctl

devfsadm[300]: verbose: symlink /dev/poolctl -> ../devices/pseudo/pool@0:poolctl

devfsadm[300]: verbose: symlink /dev/pool -> ../devices/pseudo/pool@0:pool

This is not a problem for vanilla DVD installations which cannot be used to create mirrored partitions.

kpmcnamee at 2007-7-6 23:48:55 > top of Java-index,General,Installation...