Tag Info

Hot answers tagged

18

The mount option user only allows the filesystem to be mounted by any user. The rw option makes the filesystem not readonly. You will have to use permissions to make the parent directory writeable. chmod 777 /media/foo The chmod command you show only affects the existing files within /media/foo.


13

You can't disable journaling on NTFS. That being said, the benefits are dubious these days. While writes are limited, the myths of write endurance existed from the first generation of SSDs that appeared in the enterprise market. I find it hard to believe that the same is still true ten years later. For example, Corsair's blog posted this test. ...


10

I would consider using ext4 on brand new installations since the performance increase is pretty significant. I believe that ext4 is default for Ubuntu on the next release (9.10), but available but not default in the current release (9.04). You can convert a filesystem currently as ext3 to ext4, but the performance increase may not apply to the existing ...


9

EXT4 above all says it will boot your OS faster. Ubuntu 9.04 should be booting up to 30% faster. If this is the only practicall use I would be stunned, since my Ubuntu boxes boot so fast I cannot even go get me a cup of coffee... But you can use larger harddrives, have larger files, more security is built in to safeguard data from crash and last but not ...


9

You may have luck with: http://extundelete.sourceforge.net/ However, I've never used it. Warning: typically these days, filesystems don't support undelete. Trying to recover deleted files is an exercise in computer forensics and you're going to be very lucky to get them back. In particular, if you have written any more files to the disk, chances are your ...


8

First thing is: Do not turn on your computer Start it with a LiveCD or LiveUSB Make a raw clone of the partition, using dd Never mount the partition, but if you need to, mount as read-only If your data is not encrypted, or is encrypted by blocks, there are tools that look for data in the disk independently of the filesystem. (e.g., photorec) Extundelete ...


8

As written in the manpages mke2fs is used for creating new filesystems, not changing existing ones. I think the tool you are looking for is tune2fs, it can use the same parameter: tune2fs -O ^has_journal /dev/sdXY Whatever you do, make a backup before you play with filesystems. You might have to use the -f (force) parameter. Check the manpages with man ...


7

There are two factors that may be interacting. Unlike Windows you can delete files that are open. If you delete a movie that is being streamed, it will be removed from the directory, but will still exist as a file until the streaming program closes it. Once the streaming software closes it, the space will be released. The fuser -m command can be used ...


7

Hmm, I haven't tried this, but Cygwin has mke2fs in the e2fsprogs package. Take a look at: http://superuser.com/questions/314997/how-to-format-ext2-in-windows-xp and the caveat about special device names the Answer mentions: http://www.cygwin.com/cygwin-ug-net/using-specialnames.html Cygwin is over at: http://www.cygwin.com/


7

I would use NTFS instead. It can easily be read/written to by Linux, Windows and OS X (among others). Considering the intended use and the fact that it is an external drive, I see no reason why you should go through the hassle that using ext4 will be. If this were your primary hard drive, perhaps the advantages of ext4 (briefly, less drive fragmentation ...


7

There are two main reasons for the performance difference, and two possible reasons. First, the main reasons: Increased Performance of ext4 vs. NTFS Various benchmarks have concluded that the actual ext4 file system can perform a variety of read-write operations faster then an NTFS partition. Note that while these tests are not indicative of real-world ...


6

I have not tested this, but this project's driver claims to be able to let Windows access it. Whether there are specific applications that can, or cannot, use it, you would probably just have to test. Support writing to ext4 volumes w/ flex_bg and the FAQ says that these systems are supported: Windows 2000, xp, 2003, Vista, Win7 (X86, AMD64) I ...


5

Asking "Will ext4 work with my harddisk" is similar to asking "Will this font work with my paper?". Any normal harddisk (or SSD) is essentially a very large blank sleet. Ext3 and ext4 are ways in which Linux divides that large blank sheet in smaller parts, for individual files. Like fonts, within reasonable bounds you can use any file system with any ...


5

Ext2Fsd looks like what you are looking for. Ext2Fsd is a file system driver that allows accessing (both reading and writing) EXT2, EXT3 or EXT4 partitions from Windows. It works with Windows 2000, XP, Vista and Windows 7. Ext2Fsd has limited EXT4 support and by default it will load the filesystems in read-only mode, but you can force this if you ...


5

Paragon Partition Manager 11 Free Edition is Windows-based, supports ext4 and is very easy to use . Although claiming a smart resize/move wizard, I have no idea how smart it is on moving ext4 from its beginning, but being one of the best partition managers around it is certainly worth a try. Another one that you could try is MiniTool Partition Wizard Home ...


5

What is 6G mainly used for, for journal, for redundancy, or for indexing? (Not known yet.) Why the remaining space 393G not 415G? There is a 22G hole which is rather big. It's 5% reserved blocks for superuser, which is used to avoid fragmentation. You can adjust it to 1% by mkfs.ext4 -m 1. What parameters would you advice if this ext4 ...


5

I had the same problem on openSUSE, but I think the solution can apply to this too. All the users I want to share the mounted filesystem belong to the same primary group: users I have the following line in my fstab: /dev/<partition> <mount_point> ext4 rw,acl 0 0 and I ran the following commands: sudo chgrp -R users ...


5

Most likely neither. The size displayed by ls is the length of the file, however most modern filesystems support "Sparse Files" where empty blocks are not actually written to disk. Try running du -h /ssd/* and see what size it reports the files as. 'du' will display the amount of disk actually used, which should be fairly close (excluding filesystem ...


5

I'd advice you to wait a while before you switch to ext4, especially if you're on Ubuntu. There are nice performance and fragmentation related improvements in ext4, but it's not worth any system instability. Read the blog post by Ted Ts'o, the ext4 maintainer, on the potential data loss due to delayed allocation: Delayed allocation and the zero-length file ...


5

you will have to use 3rd party tools to access EXT4 file system on windows 8.Some options include : Ext2Fsd DiskInternals Linux Reader Ext2explore you may find more info here - http://www.howtogeek.com/112888/3-ways-to-access-your-linux-partitions-from-windows/ HTH


5

The size reported by ls -l for a directory has no relationship with the cumulated size of files stored in it. It is just, for most common file systems, the size in bytes that has been required to store the directory entries. This size grows by block size (eg: 4096, 8192, ...). How many entries can be stored in a block is file system dependent and vary also ...


5

First of all you need to create a partition, then you can make the filesystem. Create a new partition sudo fdisk /dev/sda This will bring up the fdisk menu, you should familiarize yourself with it, search for tutorials (here's one). The basic options are: Command action a toggle a bootable flag b edit bsd disklabel c toggle the dos ...


4

Not a fundamental speed-up but at least something :) find . -printf \\n | wc -l You really do not need to pass the list of file names, just the newlines suffice. This variant is about 15 % faster on my Ubuntu 12.04.3 when the directories are cached in RAM. In addition this variant will work correctly with file names containing newlines. Interestingly ...


4

The underlying filesystem has little to no impact on SAMBA, and yes, I can tell you definitively, that EXT4 samba shares to other OSes, which do not themselves support EXT4. SAMBA presents its own filesystem semantics which overlay the physical filesystem, so your clients will not be able to tell at all what the underlying FS is. just make sure that the ...


4

Do ext4 filesystems need to be defragmented? Yes (but very rarely). If so, how do I defragment them? Copy all the files off the partition, erase the files from the partition, then copy the files back onto the partition. The file system will intelligently allocate the files as you copy them back onto the disk. If not, could you post a simple ...


4

Short answer: no rush. Longer answer: I don't think it's always as simple as "use the latest release of a file system." Alos, as pointed out by @nagul, I don't think ext4 is more stable than ext3 at this point. Even speed difference comparisons are not straightforward. Different file system types tend to perform better in different situations. There's ...


4

Much faster fsck (ext3 can be terrible slow on larger filesystems) Extents (make sure to reformat!) => less metadata overhead ext4 can be used without journal e.g. for scratch directories => faster. journal checksumming => higher safety in case of a crash


4

You may toss my answer to the wolves but it may give you a different perspective: I have a netbook, an ASUS EeePC 900HA, and I've been on the hunt since last November when I bought it for a "fast boot" OS. The truth is, anything you may only want to wait seconds for (thus the fast boot) you should be capable of on your smart phone. I eventually broke ...


4

XFS is and always has been a journalling file system. It does not truncate files to a zero length and is the base file system for many enterprise storage appliances. You do need correctly configured hardware (specifically to make sure volatile write caches are correctly handled in your storage with the barrier mount options). If you see data loss on any ...


4

"-i" returns the inode numbers (the number of "entries" in the "catalog of files"), not the block size (the space used by the files). This is confirmed by the header of "df": Inodes IUsed IFree IUse% Note the "I" in front of each number. Remove the "-i" and it should give you correct numbers. Use "-hk" for human-readable numbers and block-size ...



Only top voted, non community-wiki answers of a minimum length are eligible