Skip to main content

New answers tagged

0 votes

Bad magic number in super-block on external HD after multiple power outages—still OK to use?

@frostschutz pointed me in the right direction. I guess I should have been using fsck on /dev/sdb1 and not /dev/sdb. The 'bad magic number' response is because fsck is trying to operate on a partition ...
3x5's user avatar
  • 121
-1 votes

wipefs + disk not cleaned

This little trick forces to clear the partition table. Do a dd of zeros the the device and break after couple of seconds. dd if=/dev/zero of=/dev/sda
Kaleem Khattak's user avatar
0 votes

ext4 filesystem on RHEL 7

another test was that on my test machine I made sure rh-7 ext4 is created with partition /dev/nvme1n1p1 and mounted with some test files in it. After I do the upgrade to rh-8 I was able to mount ext4 ...
user2037551's user avatar
1 vote

ext4 filesystem on RHEL 7

Formatting raw devices as partitions is extremely ill-advised. The GPT partitioning scheme data structure occupies less than 1MB, which is nothing in this day and age. If you still pursue this, you ...
Artem S. Tashkinov's user avatar
2 votes

ext4 filesystem on RHEL 7

when I try to list the partitions on /dev/nvme1n1 (with ext4 type filesystem) I get the following msg: the old ext4 signature will be removed by a write command. fdisk /dev/nvme1n1 does not see the ...
telcoM's user avatar
  • 101k
-1 votes

Bad magic number in super-block on external HD after multiple power outages—still OK to use?

try run with -p option for automatic correction (no additional questions) # fsck.ext2 -p /dev/sdb
linuxxoid's user avatar
  • 111
0 votes

How to recover an EXT4 partition from a failed journal

You can use debugfs 'feature ^feature' command to manually clear features like 'has_journal' and 'needs_recovery'. Always make sure you are running the latest version of e2fsck. Running old distro ...
LustreOne's user avatar
  • 1,790
1 vote

Can Ext4 journal corruption catastrophically corrupt the whole filesystem by deleting files & overwriting with FFs?

please check out the block_validity and journal_checksum options. without those, ext4 has much less safeties. you can find some historic stuff on this at https://ext4.wiki.kernel.org/index.php/...
Florian Heigl's user avatar
2 votes
Accepted

calculate df available space

So, the sad part up front: I can't tell you in each detail why the filesystem is structured the way it is – multiple decades of experience, features and bug fixes flow into that, and the ext2/3/4 ...
Marcus Müller's user avatar

Top 50 recent answers are included