Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 19 Dec 2014, 00:18
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Is writing to a compressed NTFS filesystem OK?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
PaulBx1

Joined: 16 Jun 2006
Posts: 2308
Location: Wyoming, USA

PostPosted: Sun 18 Sep 2011, 01:45    Post subject:  Is writing to a compressed NTFS filesystem OK?  

I was reading ICPUG's Lin & Win project, and somewhere in there he comments that Puppy can handle writing an uncompressed ntfs, but not a compressed one. Is that old, no longer valid info, or still the case? If the latter, shouldn't such file systems be mounted ro rather than rw?
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 11180
Location: Arizona USA

PostPosted: Sun 18 Sep 2011, 08:26    Post subject:  

I never heard of a compressed NTFS filesystem. Can you give us any more info on it? Links?
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2288

PostPosted: Sun 18 Sep 2011, 13:14    Post subject:  

Yes, windows can use compressed ntfs or fat partitions -but it is very risky. If the fs gets corrupted windows can no longer boot. Linux fs drivers do not support either type of compressed win filesystem and I'm quite sure they never will.
Back to top
View user's profile Send private message 
PaulBx1

Joined: 16 Jun 2006
Posts: 2308
Location: Wyoming, USA

PostPosted: Mon 19 Sep 2011, 23:26    Post subject:  

Flash, just go to the c: drive in windows explorer and click on properties. There is a check box for compressing the drive, which is checked on my netbook with a small solid state drive.

When Puppy mounts this drive it probably ought to mount it "ro", so this looks like a bug to me if ntfs-3g (or whatever it is) cannot handle compression. Writing such a drive from Puppy will probably kill the windows install. I'm not going to try it to check, however. Smile
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2288

PostPosted: Tue 20 Sep 2011, 10:44    Post subject:  

No bug. Neither ntfs-3g nor the in-kernel ntfs driver pretend to support compressed windows filesystems.
Back to top
View user's profile Send private message 
Makoto


Joined: 03 Sep 2009
Posts: 1820
Location: Out wandering... maybe.

PostPosted: Wed 21 Sep 2011, 00:46    Post subject:  

Yeah, this is the first I've heard of compressed NTFS, as well. Is it supposed to be another drive-stacking method, like MS' earlier DriveSpace/DoubleSpace methods? Just curious.

(I probably wouldn't want anything to do with it on my XP and Vista systems, anyway... the less I screw with the filesystem, the better. Razz)

_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * My Pidgin Builds for Puppy 4.3.1+
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send private message 
gcmartin


Joined: 14 Oct 2005
Posts: 4502
Location: Earth

PostPosted: Thu 22 Sep 2011, 18:53    Post subject:  

Have been using this for years on MS servers. Works fine in Windows. Able to run defrag when necessary and all MS tools work with the files on the compressed partition. Usually you can get at least a 2X compression ratio. And, more. Also, I have never experienced any negative MS issues in using these partitions. You can freely back them up as well as restore them without any hints of data problems.

If one decides to use this facility, I advise to ONLY do it for data; not for system files. Systems files are accessed much more frequently tnan your data files. Thus you gain much drive space without sacrificing system performance.

From a Linux perspective,I am not aware, nor have I ever tried to read/write to any compressed Microsoft partition from Linux.
Thus, I would use caution when attempting to manage ANY data on an NTFS partition...even if Linux mounted it for you. And most certainly, I would be cautious in writing any data to the compressed partitions.

Again, I MUST admit, again, that I have never attempted data management on any compressed NTFS partition under LInux.

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
PaulBx1

Joined: 16 Jun 2006
Posts: 2308
Location: Wyoming, USA

PostPosted: Thu 22 Sep 2011, 20:56    Post subject:  

Quote:
No bug. Neither ntfs-3g nor the in-kernel ntfs driver pretend to support compressed windows filesystems.

I don't know what this means, "pretend to work". Does it mean ntfs-3g refuses to write to such a partition even though it has been mounted "rw"? Or does it mean the driver writers didn't support it, and will attempt to write it as if the partition is not compressed? Thus trashing the file system?

If the latter, I call that a bug. It should be mounted "ro", if it is mounted at all. Better yet, ntfs-3g should refuse to mount it, saying why.

It may be that the file system is just ordinary ntfs, and only individual files within it are compressed. I believe one has the option to compress individual files.
Back to top
View user's profile Send private message 
gcmartin


Joined: 14 Oct 2005
Posts: 4502
Location: Earth

PostPosted: Fri 23 Sep 2011, 00:20    Post subject:  

Easy enough to check and report back here.
  1. Create a small partition, say 1GB
  2. In Windows - format & compress the partition and add some files
    1. Boot MS and format the partition NTFS
    2. MS will assign it a drive letter.
    3. Open explorer and right click the drive letter of the 1GB drive
    4. Select the option to compress
    5. Copy a couple of files to the drive letter
    6. Copy a video to the drive letter
    7. copy a music to the drive letter
    8. Shutdown MS normally

  3. In Puppy - See if you can read and write to the partition
    1. Boot a current Puppy
    2. Click the 1GB drive's icon on the desktop
    3. Play the music file
    4. Play the video file
    5. See if Puppy will create a text file on the drive
    6. Shutdown Puppy

  4. In Windows
    1. Boot Windows
    2. Can you see and edit the text file you created?
let us know how this turns out.

Estimated time to accomplish this - 15-20 minutes.

_________________
Get ACTIVE Create Circles; Do those good things which benefit people's needs!
We are all related ... Its time to show that we know this!
3 Different Puppy Search Engine or use DogPile
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2288

PostPosted: Fri 23 Sep 2011, 06:12    Post subject:  

I meant that there is no intention, claim or pretension to support MS compressed filesystems. It's not a bug because they tell you that compressed FS are not supported and should not be used by their NTFS/FAT drivers.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

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 vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0799s ][ Queries: 12 (0.0141s) ][ GZIP on ]