Score:0

Bad magic number in super-block....Rsync Issue

us flag

I am struggling to figure out if I setup this 4TB external drive wrong. Unfortunately, it now is like 95% full, so I don't want to start over. The issue started with not being able to run rsync properly, but I believe the error might be deeper, but I don't know what to do.

output of FSCK for /dev/sda1:

sudo fsck /dev/sda1 fsck from util-linux 2.31.1 e2fsck 1.44.1 (24-Mar-2018) /dev/sda1: clean, 8491/244195328 files, 884517026/976754176 blocks

output of FSCK for /dev/sda:

sudo fsck /dev/sda fsck from util-linux 2.31.1 e2fsck 1.44.1 (24-Mar-2018) ext2fs_open2: Bad magic number in super-block fsck.ext2: Superblock invalid, trying backup blocks... fsck.ext2: Bad magic number in super-block while trying to open /dev/sda

The superblock could not be read or does not describe a valid ext2/ext3/ext4 filesystem. If the device is valid and it really contains an ext2/ext3/ext4 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> or e2fsck -b 32768 <device>

Found a gpt partition table in /dev/sda

Output of MKE2FS:

sudo mke2fs -n /dev/sda mke2fs 1.44.1 (24-Mar-2018) Found a gpt partition table in /dev/sda Proceed anyway? (y,N) y Creating filesystem with 976754645 4k blocks and 244195328 inodes Filesystem UUID: 90d531b0-48d6-45d3-8a05-edfa6a2a4411 Superblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424, 20480000, 23887872, 71663616, 78675968, 102400000, 214990848, 512000000, 550731776, 644972544

Trying to repair block with backup:

sudo fsck -b 32768 /dev/sda fsck from util-linux 2.31.1 e2fsck 1.44.1 (24-Mar-2018) fsck.ext2: Bad magic number in super-block while trying to open /dev/sda

The superblock could not be read or does not describe a valid ext2/ext3/ext4 filesystem. If the device is valid and it really contains an ext2/ext3/ext4 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193 <device> or e2fsck -b 32768 <device>

Found a gpt partition table in /dev/sda

I really don't know what to do beyond this point....appreciate the help in advance.

in flag
You wrecked your filesystem on sad1 when you created another one on sda. Start over.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.