FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Wed Nov 25, 2020 10:23



Post new topic Reply to topic  [ 5 posts ] 
ntfs-3g mounted base partition as problem for tuxonice? 
Author Message

Joined: Fri Aug 08, 2014 03:14
Posts: 3
Post ntfs-3g mounted base partition as problem for tuxonice?
Hello! I'm new on here.

Originally I encountered the following problem when using TuxOnIce hibernate while having a TrueCrypt file mounted as a partition: After initiating the hibernation, the called text interface of TuxOnIce stops in the beginning: "Preparing image. Try 1" and the process hung there completely (displayed progress bar is showing nothing of a progress and the session is then LOST!).

By coincidence I've now tried new ideas to track this down with the following results:
- file size of the TrueCrypt volume doesn't matter
- without TuxOnIce 3.14.10 and with in-kernel hibernate instead everything works o.k
- filesystem of mounted image doesn't matter (NTFS, FAT32 & ext4 tested)

Then I tested loop mounting itself:
- underlying file system == ext4 of a loop mounted NTFS file(system) works o.k.
- underlying file system == NTFS of a loop mounted file(system) no matter
of the loop's file system DOES NOT WORK: hibernation hangs!

So, I can't use TuxOnIce hibernate if there is some file mounted from a ntfs-3g mounted base partition?!

As I've already written to Nigel's email address (maintainer of TuxOnIce) and never got an answer, I'm now cross-posting this issue to the related mailing lists & copy-post this text to the TUXERA forum here, in the hope that there may evolve some collaboration...!?

I'm currently using 3.15.8 + CK1 + BFQ.

Best regards,,
Manuel Krause


Fri Aug 08, 2014 03:31
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: ntfs-3g mounted base partition as problem for tuxonice?
Hi,

Quote:
underlying file system == NTFS of a loop mounted file(system) no matter
of the loop's file system DOES NOT WORK: hibernation hangs!

Probably caused by ntfs-3g being an application. When hibernating, applications are stopped first, but the system may still have data it wants to flush (syncing, unmounting or whatever).

Regards

Jean-Pierre


Fri Aug 08, 2014 17:47
Profile

Joined: Fri Aug 08, 2014 03:14
Posts: 3
Post Re: ntfs-3g mounted base partition as problem for tuxonice?
Thank you for your quick reply.

Excuse this maybe dumb question: Is there any way for me to change this behaviour ("ntfs-3g being an application") to allow TuxOnIce hibernation or is there needed a code change in TuxOnIce? (The in-kernel suspend-to-disk is working well but terribly slow.)

Best regards, Manuel


Fri Aug 08, 2014 20:55
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: ntfs-3g mounted base partition as problem for tuxonice?
Hi,

Quote:
Is there any way for me to change this behaviour ("ntfs-3g being an application")

There is an in-kernel ntfs driver (which does not support writing), and there are full-featured proprietary drivers. I do not know about them.

Regards

Jean-Pierre


Sat Aug 09, 2014 08:25
Profile

Joined: Fri Aug 08, 2014 03:14
Posts: 3
Post Re: ntfs-3g mounted base partition as problem for tuxonice?
The main point that has been undiscussed, so far, is: Why does in-kernel hibernate (suspend-to-disk) handle loop mounted files upon/from ntfs-3g mounted base partitions differently than TuxOnIce?!

As I haven't gotten any reply, I've added some lines to the tuxonice mailing lists: tuxonice-devel@tuxonice.net, +tuxonice-users...:
--->
I've now retested hibernation with a loop mounted file from a ntfs-3g mounted base partition with a 3.16.3 with_TuxOnIce: doesn't work,
and without_TuxOnIce (with in-kernel suspend-to-disk): it works.

Loop mounting this file from an ext4 base partition works in both cases.

If you need more information, please, just ask.
I suspect, that I'm the only one affected.
<---

Best regards,

Manuel Krause


Thu Oct 02, 2014 02:14
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.