Skip to main content
5 votes

Is there a way to make ext-filesystems use less space for themselves in Linux?

Another point which has not been talked about yet is the number of inodes you reserve on your file system. Per default, mkfs creates a number of inodes which should make it possible to put a whole ...
glglgl's user avatar
  • 1,449
4 votes

Reverse lookup of inode/file from offset in raw device on linux and ext3/4?

Greg Knox's answer is correct, but could be easier. I've written a shell script, lba2file, which performs all the arithmetic for you, source code below. [Update: Script no longer depends on udisks ...
hackerb9's user avatar
  • 1,037
4 votes

Is there a way to make ext-filesystems use less space for themselves in Linux?

if the data you intend to store on it is compressible, btrfs mounted with compress=zstd (or compress-force=zstd) would probbaly use significantly less disk space than ext* this will make btrfs ...
hanshenrik's user avatar
  • 1,735
3 votes
Accepted

Data copied from NTFS drive to ext3 drive disappears upon reboot in Windows 7

Use ext2explore to move your data then unmount the drive before rebooting.
GAD3R's user avatar
  • 3,800
2 votes
Accepted

Do ext3/4 file systems accumulate errors naturally (as reported by fsck)?

File system errors do not cause I/O errors which do not cause Hard Drive Failures. In fact, you have the causality completely reversed. Hard Drive failures cause I/O errors, which in turn lead to ...
Theodore Ts'o's user avatar
2 votes
Accepted

Can ext2fsd be used to turn a volume as NTFS?

I wouldn't do that if I were you. For a filesystem you should use the tools of the os for which it was created. These cross-over tools often don't work as well as you might wish. I am gathering ...
Diagon's user avatar
  • 724
2 votes
Accepted

Is it required to manually run e2fsck at regular intervals?

SMART and e2fsck check different aspects of your harddisk. SMART checks your harddive’s hardware (eg spinup time, bad blocks, temperature, working hours, etc.) e2fsck checks the integrity of the ...
agtoever's user avatar
  • 6,322
2 votes

I have 30 hard drives of which 12 are Linux. How do I give them drive letters? I also have about 3 usb that need drive letters as well

Linux doesn't have "drive letters". Instead you mount a filesystem somewhere in a directory tree. In other words, everything is a folder. No way around that. You can give your folders any name you ...
dirkt's user avatar
  • 17k
1 vote
Accepted

Unable to mount a USB disk on Raspberry Pi 4

After some more testing (with another disk) it managed to mount once (by literally just running the mount command until it worked). This pretty clearly says that this isn't an issue with the disk, but ...
A_Porcupine's user avatar
1 vote
Accepted

Resize Partition and Filesystem Within Disk Image

First off, there is risk in this process, and things might be slightly different depending on some assumptions I've made which could be wrong. BACK UP YOUR DATA before attempting this. Note about ...
davidgo's user avatar
  • 71.4k
1 vote
Accepted

Does ext3 filesystem allow to extend partition when mounted?

Reasonably recent Linux kernels (added sometime in the 2.6 series) can extend ext3/4 filesystems online (ie. while mounted): localhost root # lvcreate -L100M -n test vg0 Logical volume "test" ...
Daniel B's user avatar
  • 63.9k
1 vote

Linux - how to format multiple file systems within one file?

Minimal runnable sfdisk + mke2fs example without sudo In this example, we will create, without sudo or setsuid, an image file that contains two ext2 partitions, each populated with files from a host ...
Ciro Santilli OurBigBook.com's user avatar

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