General Solaris 10 Discussion - newfs "hangs" for almost 30 minute delay!
Solaris 10 11/06 on an Ultra 60 with 2x360Mhz cpus, pretty much a server install, not running much of anything yet.
Tried to newfs a 4GB 10k rpm disk on the same bus as the boot drive, which is the same kind of disk. Newfs just hangs, and takes about 30 minutes to finish (date; newfs /dev/rdsk/c0t1d0s0;date -- I answered "y" to the prompt from newfs right away) .
There happens to be a ZFS raidz volumn on drives on the other SCSI bus, not doing anything. Network interface is "down", it's not plugged in to anything.
Anyone have any clues why this should be? Bad enough the bid delays in the format command after selecting a disk, but this is ridiculous!
[683 byte] By [
curmudge1a] at [2007-11-26 23:08:14]

# 1
More info -- when there is no network connection, only!When I ifconfig hme0 down, newfs hangs. When I ifconfig hme0 up, newfs starts doing it's thing right away, no delay. Hme0 is plugged into an otherwise empty switch, nothing else on this system's network.
Question is, what network dependency causes this problem with newfs? I cannot think of any good reason why newfs should care whether the network interface is up or not.
Somebody must know something... please advise.
--
Dave
# 3
is NFS running? or is the machine maybe running in a NIS domain?
What I'm trying to get at is that it sounds like some external naming or maybe authentication service is being consulted successfully and returning when the link is up, but something else is consulted internally which is not responding when you are not hitting the network.
what does your /etc/nsswitch.conf look like?
Ta,
Paul.
# 6
how about looking at /var/adm/messages and
iostat -nE
to inspect if you're getting any hardware errors that might be causing timeouts
sorry to have done a reply, to a reply, to a xx month old thread - normally, that's one of my dislikes...
Message was edited by: Jeffrey.s
jeffrey.s