You are not logged in.

#1 2013-06-05 01:37:20

JammaB
Member
Registered: 2013-04-07
Posts: 6

Shared Partition Problems

Hey all -

So I've been having some issues with my shared ntfs partition on a dual boot setup ever since I created it. I have no problems until I boot into Windows, which then often detects "damage" to the partition. Windows then automatically tries to "fix" the partition, and I then discover that several files have had their contents replaced or deleted entirely. I have noted that this issue only seems to affect recently edited files. Any idea what may be causing this? I am considering changing my shared partition to some sort of FAT file system to see if I have more success there.

/etc/fstab:

#
# /etc/fstab: static file system information
#
# <file system>                                    <dir>            <type>            <options>                                                                                            <dump>    <pass>
# /dev/sdb9 LABEL=Arch
  UUID=b0ae0fb0-3fec-46c5-9a79-f46935dae11f    /            ext4          rw,relatime,data=ordered                                                                            0       1

# /dev/sdb3 LABEL=LRS_ESP
  UUID=E4F2-02E5                                  /boot/efi        vfat           rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro    0       2

# /dev/sdb8 LABEL=Shared
  UUID=49C8855445D787D3                /run/media/Shared    ntfs-3g         rw,relatime,auto                                                                        0       0
# /dev/sdb5 LABEL=Windows8_OS
  UUID=5444F51E44F50410                /run/media/Windows       ntfs-3g        rw,relatime,auto                                                                                0       0

Offline

#2 2013-06-05 01:47:12

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Shared Partition Problems

Windows is kinda stoopid.  With windows 8 they tout an extra fast boot.  But in reality, the system is not shutting down entirely.  It is rather entering a kind of super hibernation.  That way it can "boot" faster since it does not have to go through all the hardware initialization and whatnot.  The problem is that the partitions are then still active.  So when you shut down windows and then boot into linux, then go back to windows, it thinks that you have not done anything but shut your computer down for a bit.  So it considers all that new data invalid and corrupt, and then "fixes" itself by removing these changes that don't match its journal.

So unfortunately, this is actually a windows problem... if you want to call it a problem.  I think it is kind of ridiculous that windows claims to have made the machine boot so unbelievably fast, when in reality, they are just not shutting it down.  I think anyone who has used windows for any decent period of time knows that a windows machine that has not shut down in a while is bound to start having some funky issues.  I think this is just realy poor design.


Edit: Also, in teh future you should use code blocks.  Click the quote button of this post to see how the boxes below are created.

This is a code box.  It should contain things like your fstab above.

This is a quote box.  It should contain... well... quotes.

Last edited by WonderWoofy (2013-06-05 01:48:34)

Offline

#3 2013-06-05 02:06:33

JammaB
Member
Registered: 2013-04-07
Posts: 6

Re: Shared Partition Problems

WonderWoofy wrote:

Windows is kinda stoopid.  With windows 8 they tout an extra fast boot.  But in reality, the system is not shutting down entirely.  It is rather entering a kind of super hibernation.  That way it can "boot" faster since it does not have to go through all the hardware initialization and whatnot.  The problem is that the partitions are then still active.  So when you shut down windows and then boot into linux, then go back to windows, it thinks that you have not done anything but shut your computer down for a bit.  So it considers all that new data invalid and corrupt, and then "fixes" itself by removing these changes that don't match its journal.

So unfortunately, this is actually a windows problem... if you want to call it a problem.  I think it is kind of ridiculous that windows claims to have made the machine boot so unbelievably fast, when in reality, they are just not shutting it down.  I think anyone who has used windows for any decent period of time knows that a windows machine that has not shut down in a while is bound to start having some funky issues.  I think this is just realy poor design.

I am aware of Window's false shutdowns. For that reason, I don't use the normal Windows shutdown button, but rather I execute a short script that completely shuts down the computer. Before I started using this script, I was not even able to mount the shared partition in Linux. I'll reboot into Windows now to get the exact script I'm executing.

Offline

#4 2013-06-05 02:10:19

JammaB
Member
Registered: 2013-04-07
Posts: 6

Re: Shared Partition Problems

Alright - here it is:

C:\Windows\System32\shutdown.exe /s /t 0

Offline

#5 2013-06-05 02:29:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,741

Re: Shared Partition Problems

WonderWoofy wrote:

With windows 8 they tout an extra fast boot.  But in reality, the system is not shutting down entirely.  It is rather entering a kind of super hibernation.  That way it can "boot" faster since it does not have to go through all the hardware initialization and whatnot.

I love these forums; the things I learn.  I have not yet seen Windows 8 in the wild; I suppose it is inevitable I will encounter it one day. This goes right to the top of things of which to be wary.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#6 2013-06-05 03:07:01

JammaB
Member
Registered: 2013-04-07
Posts: 6

Re: Shared Partition Problems

Still having problems; I think that Windows may be indexing the file system, and referring to its memory of the partition instead of the partition itself--does anyone know of a solution/workaround?

Offline

#7 2013-06-05 03:52:23

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Shared Partition Problems

JammaB wrote:

Still having problems; I think that Windows may be indexing the file system, and referring to its memory of the partition instead of the partition itself--does anyone know of a solution/workaround?

This wouldn't surprise me at all.  Windows is notorious for thinking that it should be the only OS on any given computer.  I think this is exemplified by its use of localtime for the hardware clock, its insistence on overwriting the boot sector, and its inability to adhere to standards such as bios booting & GPT partitioning and vice versa. 

The command to fully shut down a windows 8 system is reportedly what you have there in one site that I just found, but in another I found this:

shutdown \s \full \t 0 

TBH, like ewaller, I have never seen this mythical beast in the wild... it kind of scares me.  I was of the opinion that with windows 7 things were pretty alright for the most part, so from the little I have seen of windows 8 just kind of makes me nauseated in how much it changed.  Also any operating system which, without being a joke, instructs the user to rely on the "charms bar" should not be taken seriously.

Edit: I actually don't know what this magical bar of charms does, but it rather makes me think of marshmallows in my cereal.

Edit2: Out of curiousity, it this a truly shared data partition, or are you mounting the actual system partition?

Edit3: Oh yeah, that was some excellent use of code tags there in post #4.

Last edited by WonderWoofy (2013-06-05 03:55:30)

Offline

Board footer

Powered by FluxBB