Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [ext4]

The ext4 or fourth extended filesystem is a journaling file system for Linux, developed as the successor to ext3.

0
votes
0answers
14 views

used dd on wrong hard disk drive [duplicate]

OK, now something of which I thinked can never happen to me, jsut happened to me. I used dd to write a 1,5Gb Raspbian image to an SD card as I did 100 times. But, due too stupid partition labels, I ...
0
votes
1answer
21 views

Is it required to manually run e2fsck at regular intervals?

Is it required to manually run the e2fsck (used to check a Linux ext2/ext3/ext4 file system) at regular intervals, an if so, how often should I run it? Or can I rely on a present S.M.A.R.T. (Self-...
0
votes
1answer
18 views

How to create raid1 mirror for existing mdadm raid0 - without overwriting data

I created a /dev/md1 raid0 across two drives, added ext4 filesystem, and it's mountable and working fine. I created a /dev/md2 raid0 across two drives, added ext4 filesystem, and it's also mountable ...
0
votes
0answers
21 views

Recovering an ext4 partition after a dd disaster [duplicate]

Alright, so I made a foolish mistake of dd'ing my 2TB /home partition (/dev/sdb1, which was the only partition on /dev/sdb). I didn't double check where I was dropping the dd if=/dev/zero bomb, and ...
0
votes
1answer
40 views

How to make ext4 partition from macOS 10.13.4 High Sierra?

I need to make an ext4 partition from macOS 10.13.4 High Sierra. The partition will be from the same disk that os x is installed in. I cannot see this option in Disk utility. Is there a terminal ...
0
votes
0answers
25 views

How to avoid that mount -o remount modifies on-disk data?

I have an encrypted file system on a disk image file (using cryptsetup). The daily backup copies the disk image to the backup medium with rsync. Since this copies the entire image file when it was ...
0
votes
2answers
96 views

How to merge two ext4 partitions, when there is an unallocated space between them?

I have two ext4 partitions: /dev/sda6 is the one on which I have my Ubuntu right now, /dev/sda5 is a recently created empty ext4 partition. How to merge them so the data will not be lost?
1
vote
1answer
93 views

How to add a sector to the list of badblocks for ext4?

dumpe2fs -b /dev/sdd1 can dump blocks that are known to be bad by ext4. How do I manually add a block to that list without redoing mkfs ?
2
votes
0answers
39 views

HDD issue: Buffer I/O error on dev

One of my drives that's encrypted (LUKS + cryptsetup) ext4 seems to give strange errors when looking at dmesg / syslog: https://pastebin.com/RZdJK2qg And I can't ls into it (but I can cd into it) ...
1
vote
0answers
101 views

Dual boot and Dropbox

I dual boot on my laptop: Ubuntu Mate 18.04 LTS Windows 10 I've set up Dropbox in both operating systems. I'm not actually syncing the Dropbox twice -- as my Dropbox is quite large, this would be ...
0
votes
1answer
69 views

mdadm raid has unknown filesystem after adding new disk

My Computer is running ubuntu 1804 but i am new to linux. I am using mdadm and created a raid-5 with 3x 4TB drives (sda, sdb sdc). OS is on a separate SSD (sde). No, I don't have a backup. Yes it is ...
0
votes
0answers
258 views

Inodes that were part of a corrupted orphan linked list found. How to understand what caused it and how to solve?

I bought a Centurion Nano from the now defunct Alpha Computers, it ships with Alpha OS (that is essentially a tampered Ubuntu): $ cat /etc/os-release NAME="Alpha OS" VERSION="1.0.0 Polaris" ID="alpha-...
0
votes
0answers
7 views

Ext4 double mounted partition - Lost all files [duplicate]

I have a partition which doesn't show any files any more. I tried to read it with ext4magic but no journal possible to be read. Is there any way to reconstruct files by block-by-block reading? The ...
0
votes
0answers
18 views

Allow creation of broken links with FreeFileSync

When trying to synchronize such a folder on a personal remote using FreeFileSync (via sshfs): ~/MyDocs/ ├── file.txt └── subFolder/ │ └── relative_link -> ../file.txt ├── otherFolder/ └── ...
0
votes
1answer
81 views

Resizing ext4 partitions without breaking the system

I decided to split my hard drive into two partitions in order to keep my OS (Linux Mint) and home folder separate. The idea in general was nice, but I failed to estimate the sizes of the partitions ...
0
votes
0answers
35 views

folder for no reason converts into file - why? where is my data now? can I get it back?

I just shut down my PC yesterday and when I started it today the directory, where I saved my important files is not there anymore and instead there is a file with the following content: "AppWorkshop" ...
0
votes
1answer
51 views

Ubuntu mounting issue (16LTS - Upgraded from 14 4 months back)

So we were having a problem with snapd so we tried stopping and starting the instance - snapd froze up. We then tried to stop it the command we ran with snapd (snapd stop [instance]) but it didn't ...
48
votes
3answers
4k views

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

I have a bunch of external and internal HDDs that I use on a Linux system. I only have Linux systems, so using a Linux file-system would only make sense, right? However I'm currently using NTFS ...
0
votes
0answers
440 views

How to shrink ext4 partition below minimum size reported by resize2fs?

I want to shrink a 250GB ext4 partition down to 200GB with resize2fs. "df" tool says the partition is about 40% filled up. So I guess I can at least shrink the partition to that level. Yet, when I ...
0
votes
0answers
24 views

How to change the filesystem type of a cryptmount loopback file?

I have a cryptmount volume as a file, not a partition, and I would like to change its filesystem type from ext3 to something else (ext4, btrfs, ...). How would I do that? I could always create a ...
2
votes
1answer
544 views

installing OpenMediaVault 4 from usb stick fails with “failed to create file system”

I've been trying to install OpenMediaVault 4.1.3 from an usb stick on my HP Microserver Gen8. I created the boot stick in various ways (dd, etcher, UNetbootin) but during installation (in the ...
0
votes
0answers
23 views

Varying foler size in linux

I know that Linux doesn't show the total size of the contents in a folder as the folder size as Windows systems do. The following screenshot shows what I mean: Unlike shown in the image, the total ...
0
votes
0answers
15 views

Opensuse and windows common partition

I have a 1Tb hard drive in which I want to install both linux (opensuse) and windows. I want to partition the hard drive in such a way that 700 Gb of the disk space should be accessible from both OSes....
1
vote
1answer
103 views

Hard disk noise under linux gets smaller when partitioned

I just bought a Toshiba X300 8TB 7500r hard disk. At first I used the whole disk as a partition, the noise is really intolerable. Then I tried to use a small partition of 1TB or 2TB, the noise is ...
0
votes
1answer
34 views

What does numbers mean in `mkfs -t ext4` command?

I have run: mkfs -t ext4 /dev/nvme0n1 So I am getting output like that: [2491.001727] EXT4-fs (dm-3): mounted filesystem with ordered data mode. Opts: (null) [2491.543355] EXT4-fs (dm-3): mounted ...
0
votes
1answer
48 views

Why do directory trees use less space on ext4 filesystem than ext3?

I got a new external disk to replace an older one that has shown signs of trouble. I used rsync to copy the contents of the old disk to the new one. To check if the copying had worked properly, I've ...
0
votes
2answers
84 views

File system errors on USB stick when attempting to format as ext4

So I bought a brand new 128GB USB stick and plugged it into my raspberry pi. I then use the command line to make a new partition and extra filesystem using fdisk and mkfs.ext4 Seemed to go ok. I ...
0
votes
0answers
25 views

Recover Files from an unknown-type partition

Information: windows 7 ubuntu 16.04 ubuntu LiveCD I lost a partition during windows installation so i used Testdisk on ubuntu to recover that partition and i edited some partitions there,added new ...
0
votes
0answers
34 views

Possible reasons for read/write-errors on ext4 partitions (not SSD)?

Imagine the following setup: Copying a backup from one HDD to another HDD, both connected to PC via USB 3 Source-HDD: 2 TB, NTFS-formatted Target-HDD: 3 TB, EXT4-formatted Executing OS: Debian ...
1
vote
1answer
102 views

RAID5 does not spindown after grow (ext4lazyinit)

I had a RAID5 array consisting of 3x5TB disks assembled using mdadm. On top of that, I created a LUKS/dmcrypt encryption layer and formatted the encrypted device with ext4. I want the disks to spin ...
2
votes
1answer
143 views

`ext4lazyinit` after extending partition with `gparted`

I just extended a large (now 2 TiB) ext4-partition on a regular HDD to the left, using gparted. It took 5 hours to complete, but went well. Now, after mounting the filesystem, ext4lazyinit is running ...
2
votes
0answers
68 views

unaccessible files in lost+found

(This in principle the same as question 15800742 on Stack Overflow, but the answer that it got, as well as miscellaneous other answers I have found on the Internet, have not worked for me.) After a ...
0
votes
0answers
229 views

Unable to format my 16GB USB stick to NTFS (or EXT4 on Linux)

I have a Sandisk Cruzer Blade 16GB, and i simply cant format it to NTFS on Windows (10, and i already did the "Method 3" in this tutorial), nor format it on a Raspberry Pi using fdisk and mkfs to EXT4 ...
3
votes
2answers
126 views

Quickly removing a gigantic directory on Linux on Ext3/4 drive

I've been working on some data-deduplication which forced me to use the file system as a hash-table. This resulted in some directories which it took literal hours to delete using almost any reasonable ...
2
votes
1answer
133 views

ext4 filesystem remnants salvage w/testdisk

Getting to the point: testdisk is able to navigate the filesystem and hierarchy (apparently as if it was intact) and individually recover files. Is there a way to have it do all of them, ...
1
vote
1answer
87 views

mounted “/” as “ro”, but I can still write to it

Some puzzling situation. Here's what I have: root@OrangePI:~# cat /etc/fstab # OrangePI fstab /dev/mmcblk0p2 / ext4 defaults,ro,noatime,nodiratime 0 1 /dev/mmcblk0p1 /media/boot vfat defaults,...
0
votes
1answer
2k views

Linux mint 18.3, convert ext4 to btrfs

I have upgraded to Linux Mint 18.3, but all are EXT4, but I understand now, that BTRFS is awesome is much better with snapshots then EXT4, but I followed this: How To Convert An ext3/ext4 Root File ...
1
vote
0answers
63 views

Dual boot with shared data - ext2fs corrupts partition

I want to have the following setup: Windows on C: partition (ntfs) Linux (Ubuntu) on F: partition (ext4) All my files on D: partition (ext4) My problem is: every time I boot Windows Ext2Fsd corrupts ...
0
votes
0answers
535 views

Convert NTFS partition to ext4 - How to copy the data?

I wanted to convert my D:\ partition with all my data from NTFS to ext4 and the internet told me that I should do the following: Shrink all partitions to a minimum size Back up my data (done by ...
0
votes
1answer
40 views

What is the mount point for reserve space

While reinstalling Ubuntu 17.10, found a 767MB of ext4 partition along side 536MB EFI and 248GB Encrypted LVM partition. After reading few articles I figure that the 767MB space is reserved space for ...
0
votes
1answer
291 views

copy files from NTFS via ext4 to NTFS including timestamp

How do I copy files from one NTFS drive to another NTFS drive via a Linux drive retaining all metadata (Timestamp etc.)? I am replacing one NTFS drive with another in a dual boot Linux Mint/Windows 7 ...
0
votes
1answer
193 views

Best flash filesystem for backup /home in linux

I'm searching for a good solution to backup /home of my Debian linux system to a USB memory stick of size 128 GB. The directory /home weights about 65 GB and is formatted as ext4. Naturally, with the ...
3
votes
0answers
164 views

How and when are ext4 metadata checksums checked?

I have an ext4 filesystem with metadata checksums (option metadata_csum) enabled. Are the checksums used to verify that data is correct when doing a e2fsck? Is some special flag required? Are they ...
2
votes
1answer
889 views

What does ext4 metadata checksums cover?

I read about ext4 checksums (https://ext4.wiki.kernel.org/index.php/Ext4_Metadata_Checksums), but I am not sure what they actually checksum. The name implies that only metadata is covered, not the ...
0
votes
2answers
295 views

ddrescue, “size on disk” lower than total size, with possible impact on performance when writing to NTFS

The backstory is in my previous question and my own answer to it. At one moment I had two partial images created by ddrescue: one file on NTFS filesystem and the other on ext4. I had noticed quite ...
0
votes
1answer
30 views

Excel to Ubuntu filesystem via USB or internet?

I had machines with Ubuntu hosting a VirtualBox with Windows and Excel and if I recall correctly, I had Excel access the Ubuntu file system directly (which was ext4). Since I usually have both an ...
1
vote
0answers
38 views

Linux - restore files from a merged partition

Kind of embarrassing, I had a Linux ext4 partition /dev/sda6, which was running KDE and I wanted to switch to Ubuntu, so I created a new partition /dev/sda7 and merged it with /dev/sda6 so that I can ...
0
votes
1answer
182 views

Using swap file instead of a partition

I just wondered while using a swap file instead of an dedicated partition seems to only have advantages, isn't a swap file is slower due to the filesystem's overhead like e.g. ext4's journaling?
0
votes
2answers
2k views

ext4 filesystem still has errors after fsck

Suddenly my ext4 file system fell down into read-only mode. I've unmounted this disk and tried to repair it, but without any success. fsck tries to fix something but ends with FILE SYSTEM WAS ...
1
vote
0answers
144 views

Is it possible to mount READ/WRITE ext4 partition under Windows 10? [duplicate]

I would like to have shared home directory (or it's subdirectory) under dual boot Windows/Linux. I know I can how to mount NTFS under Linux, but I don't like it has different file permissions. So, I ...