Jim, You might try running this using strace to see what might be happening.
strace dasdfmt parm1 parm2 parm3 It will print out a _lot_ of stuff, but you're probably only interested in what's going on at the end anyway. Mark Post -----Original Message----- From: James Melin [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 14, 2003 4:24 PM To: [EMAIL PROTECTED] Subject: DASDFMT hangs after saying it has finished.... SuSE 7.2 distribution unsure as to kernel level..... but it's pry a july/august cut. I run dasdfmt (with the -p) option per someone's suggestion and I get this SuSE Instsys nokomis:/root # dasdfmt -n 0d18 -b 4096 -l L4D018 -p --- snip to remove big blort of instructions --- Press <ENTER> to continue and start dasdfmt -n 0d18 -b 4096 -l L4D018 -p: Drive Geometry: 10017 Cylinders * 15 Heads = 150255 Tracks I am going to format the device d18 in the following way: Device number of device : 0xd18 Major number of device : 94 Minor number of device : 0 Labelling device : yes Disk label : VOL1 Disk identifier : L4D018 Extent start (trk no) : 0 Extent end (trk no) : 150254 Compatible Disk Layout : yes Blocksize : 4096 --->> ATTENTION! <<--- All data in the specified range of that device will be lost. Type "yes" to continue, no will leave the disk untouched: yes Formatting the device. This may take a while (get yourself a coffee). cyl 10017 of 10017 |##################################################| 100% Finished formatting the device. This is what's running when it ends SuSE Instsys nokomis:/root # ps -A PID TTY TIME CMD 1 ? 00:00:04 swapper 2 ? 00:00:00 kmcheck 3 ? 00:00:00 keventd 4 ? 00:00:02 ksoftirqd_CPU0 5 ? 00:00:00 kswapd 6 ? 00:00:00 kreclaimd 7 ? 00:00:00 bdflush 8 ? 00:00:00 kupdated 9 console 00:00:00 linuxrc 16 ? 00:00:01 klogd 19 ? 00:00:01 syslogd 112 ? 00:00:00 inetd 113 ? 00:00:00 portmap 122 ? 00:00:00 sshd 133 console 00:00:00 bash 137 ? 00:00:00 sshd 138 ttyp0 00:00:00 bash 142 ttyp0 00:00:00 dasd_eckd_mod 145 ttyp0 00:00:39 modprobe 147 ttyp0 00:00:00 bash 150 ttyp0 00:00:13 dasdfmt 151 ? 00:00:00 sshd 152 ttyp1 00:00:00 bash 158 ttyp1 00:00:00 ps SuSE Instsys nokomis:/root # I check the HMC console and I don't see any red flags. I see messages saying that its formatting unit xxxxx - yyyy but that's just a progress thing. top had this to say about it 8:17pm up 45 min, 2 users, load average: 2.03, 2.02, 1.69 24 processes: 19 sleeping, 5 running, 0 zombie, 0 stopped CPU states: 0.1% user, 69.0% system, 0.0% nice, 30.7% idle Mem: 1026820K av, 51868K used, 974952K free, 0K shrd, 26996K buff Swap: 0K av, 0K used, 0K free 7480K cached PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 145 root 16 0 908 908 552 R 4.3 0.0 1:06 modprobe 150 root 18 0 604 604 516 R 3.5 0.0 0:40 dasdfmt 151 root 9 0 1968 1968 1544 R 0.1 0.1 0:00 sshd 162 root 10 0 1108 1108 924 R 0.1 0.1 0:00 top 1 root 8 0 0 0 0 SW 0.0 0.0 0:04 swapper 2 root 9 0 0 0 0 SW 0.0 0.0 0:00 kmcheck 3 root 9 0 0 0 0 SW 0.0 0.0 0:00 keventd 4 root 19 19 0 0 0 RWN 0.0 0.0 0:02 ksoftirqd_CPU0 5 root 9 0 0 0 0 SW 0.0 0.0 0:00 kswapd 6 root 9 0 0 0 0 SW 0.0 0.0 0:00 kreclaimd 7 root 9 0 0 0 0 SW 0.0 0.0 0:00 bdflush 8 root 9 0 0 0 0 SW 0.0 0.0 0:00 kupdated 9 root 9 0 1732 1728 1144 S 0.0 0.1 0:00 linuxrc 16 root 9 0 952 952 504 S 0.0 0.0 0:01 klogd 19 root 9 0 748 748 648 S 0.0 0.0 0:01 syslogd 112 root 9 0 608 608 536 S 0.0 0.0 0:00 inetd 113 bin 9 0 476 476 400 S 0.0 0.0 0:00 portmap 122 root 9 0 1120 1120 980 S 0.0 0.1 0:00 sshd 133 root 9 0 1480 1480 1248 S 0.0 0.1 0:00 bash 137 root 9 0 1968 1968 1544 S 0.0 0.1 0:00 sshd 138 root 9 0 1496 1492 1404 S 0.0 0.1 0:00 bash 142 root 9 0 0 0 0 SW 0.0 0.0 0:00 dasd_eckd_mod 147 root 9 0 1528 1524 1424 S 0.0 0.1 0:00 bash 152 root 9 0 1496 1492 1252 S 0.0 0.1 0:00 bash If anyone has a clue about this, I'm very interested.
