I use command " truss -o /tmp/out -d -D -E -fl newfs /dev/rdsk/c1t2d0s0 " to trace system call while newfs disk. The sample of output file is as following. Acturally , according to opensolaris mkfs source code, after mkfs read mnttab, it should invoke create64 to create device,
Thanks your help. I have tried zpool command and device is ok. Same as what i mentioned in the first message, i have created disk mirror and format/newfs is slow. After searching forum , i found one thread ( newfs "hangs" for almost 30 minute delay! ) is similar to my problems. If network is down ( on my system, it is e1000g0), format/newfs will be very slow. But if network is up ( on my system, it will be fast ).
So , my question is same as this thread, what's the relationship between network, metadb and format/newfs ?
I don't know SVM well enough to comment but I do know that there are meta* services
in inetadm so maybe its SVM that needs network access. I do remember that in the
previous /etc/inetd.conf there was a SVM-related service.