[BUGA] df(1) && vnconfig(8) hanging ....

Wilkinson, Alex alex.wilkinson at dsto.defence.gov.au
Mon Aug 23 17:17:15 PDT 2004


	0n Tue, Aug 24, 2004 at 09:30:09AM +0930, Wilkinson, Alex wrote: 

		0n Tue, Aug 24, 2004 at 09:24:51AM +0930, Wilkinson, Alex wrote: 
		
		This morning I wanted to edit an ISO to instruct the kernel to redirect its
		output to serial.
		
		i.e 
		
		# sudo vnconfig -v -c /dev/vn0 5.3-BETA1-i386-miniinst.iso
		# sudo mount -t cd9660 -o rw /dev/vn0 /mnt
		# sudo tcsh
		# echo "/boot/loader -h" > boot.config
		boot.config: Read-only file system.
		
		Forget the afforementioned error. 
		
		The problem that I have is now when I issue a df(1) my shell hangs: 
		
		e.g.
		
		# df -h
		^C^C^D
		^C^C^D
		
		# ps -aux | grep df 
		username 3333  0.0  0.0   212   96  p2  D+    9:04AM   0:00.00 df -h
		username 3332  0.0  0.0   212   96  p1  D+    9:04AM   0:00.00 df -h
		
		# kill -9 3333 3332
		
		# ps -aux | grep df
		username 3333  0.0  0.0   212   96  p2  D+    9:04AM   0:00.00 df -h
		username 3332  0.0  0.0   212   96  p1  D+    9:04AM   0:00.00 df -h
		
		No change.
		
		I'm not sure what has hung here, nor am I sure how to 'un-hang' my shell.
		
		Any thoughts anyone ?
		
		 - aW
		
	
	To follow up to my own question, an NFS server not responding .... DOH !
	
	 - aW

To follow-up again, why doesn't this work ?

# sudo umount -v -t nfs -f /cdrom/ports/distfiles

Just hangs.

Surely you can force an un-mount of an NFS filesystem ?

 - aW


More information about the freebsd-questions mailing list