Stack Exchange Network

Stack Exchange network consists of 175 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
12 views

About emmc file block mapping

I successfully locate a file on ext4 filesystem. For example, the beginning 4k block of the file "cyclic.txt" is 105441. But when it read it from emmc card directly ,the first emmc block is not there ...
1
vote
1answer
21 views

Hard Disk Appear, Disappear and Reappear?

I just bought a brand new 8TB hard drive yesterday. I connected it directly to my motherboard, and ran gdisk to re-partitioned and created ext4 (mkfs.ext4). I saw it in my file manager, and I ...
0
votes
0answers
42 views

Me being stupid - how do I recover my files?

Quick story behind my problem: I was working on a machine with multiple disk drives, but no RAID. Because of faulty SATA cable one of the disks started to act weird, system disk to be specific, so the ...
0
votes
1answer
31 views

Problems after lvm resize

fsck -l gives: hacker3000@highpower:~$ sudo fdisk -l Disk /dev/loop0: 86,9 MiB, 91099136 bytes, 177928 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / ...
0
votes
0answers
118 views

Unable to mount Ext4 LVM (structure needs cleaning) but fsck reports it as clean

Following a reboot I have an ext4 LVM that is unable to mount, returning the following message: mount(2) system call failed: Structure needs cleaning. Most all advice I found so far to fix this ...
0
votes
2answers
124 views

Getting an “is not a block special device.” error when trying to mount an 8TB disk in CentOS 7.6

I'm trying to format and mount a 8TB external as an ext4 and it doesn't seem to work right. The drive is a Seagate 8TB expansion desktop drive. Model number is STEB8000402. I can create my partition ...
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
33 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
33 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
22 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
129 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
28 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
230 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
151 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
44 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) ...

15 30 50 per page