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

curmudge1a at 2007-7-10 14:02:46 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2
no idea but you might get an idea by looking at truss of the newfs and it s children to see where the time is spent.. egtruss -o /tmp/out -d -D -E -fl newds /dev/rdsk/XXXXXXXXtim
tim.uglowa at 2007-7-10 14:02:46 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 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.

op_paul_hodkindona at 2007-7-10 14:02:46 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4
nsswitch.conf is all "files"... haven't even configured for DNS yet.must be Solaris 10 new "features", like in format command.--Dave
curmudge1a at 2007-7-10 14:02:46 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 5
Were you able to figure this out? I'm having the same problem on a new 11/06 build. Format hangs for 30 minutes after selecting a disk...
robc77a at 2007-7-10 14:02:46 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 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

jeffrey.sa at 2007-7-10 14:02:46 > top of Java-index,Solaris Operating System,Solaris 10 Features...