DragonFly BSD
DragonFly bugs List (threaded) for 2005-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

(mountctl) Journaling bugs?


From: fabian <fabian.duelli@xxxxxxxxxx>
Date: Tue, 22 Mar 2005 22:23:42 +0100

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




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]