(mountctl) Journaling bugs?

fabian fabian.duelli at bluewin.ch
Tue Mar 22 13:23:42 PST 2005


Hello

I'm not sure if the following two situations are considered
to be bugs or not.  I'll just post it:
1.  When a partition is journaled and the partition gets unmounted
    *BEFORE* the journaling is stopped there is a kind of zombie
    thread.
    Example:
	# mountctl -a -w /tmp/journal_out /home:newjournal
	# mountctl -l
	/home:newjournal
	    membufsize=1.00M
	    membufused=0
	    membufiopend=0
	    total_bytes=32
	# ps aux | grep journal
	root      -1  0.0  0.0     0    0  ??  IL   22Mar05   0:00.00  (journal 
newjourn)
	# umount /home
	# mountctl -l
	# ps aux | grep journal
	root      -1  0.0  0.0     0    0  ??  IL   22Mar05   0:00.00  (journal 
newjourn)
	# mount /home
	# mountctl -a -w /tmp/journal_out /home:newjournal
	# mountctl -l
	/home:newjournal
	    membufsize=1.00M
	    membufused=0
	    membufiopend=0
	    total_bytes=32
	# ps aux | grep journal
	root      -1  0.0  0.0     0    0  ??  IL   22Mar05   0:00.00  (journal 
newjourn)
	root      -1  0.0  0.0     0    0  ??  IL   22Mar05   0:00.00  (journal 
newjourn)
	# mountctl -d newjournal
	/home:newjournal deleted
	1 journals deleted
	# ps aux | grep journal
root      -1  0.0  0.0     0    0  ??  IL   22Mar05   0:00.00  (journal 
newjourn)
	#

2.  If the journal is written to the same partition as the one who gets
    journaled, the system crashes badly;  perhaps this case should be
    intercepted by the mountctl command.
Thanks for your time.

				-Fabian





More information about the Bugs mailing list