Damaged partition table/superblock, “Structure: Bad” in Testdisk
since 2 days I'm fighting for my data now :-(
Long story short: I'm building a new NAS, and therefore I took the only 2-TB-disk from my 1-Bay-Synology-NAS and had the aim to add it to the new NAS.
I couldn't do a backup because of lack of big enough discs.
For some silly reason, i deleted the 2 smallest of the 3 partitions (one was swap), and tried to expand the remaining data partition to the size of the disk.
The result was, I couldn't mount the disc anymore:
"Error mounting /dev/sdb3 at /media/1.42.6-15152: wrong fs type, bad option, bad superblock on /dev/sdb3, missing codepage or helper program, or other error"
I tried with e2fsck
(also with the -b option) and mke2fs -n
, and it tells me that thousands of problems were fixed, but i still couldn't mount the disc.
Now I'm trying with testdisk, and this looks promising: I can see the 3 partitions, and i can also copy files to my local disc, also big movies, which are playing well. Testdisk recognizes the partition table type as "Intel".
But I can't restore the two other partitions, I always get the message "Structure: Bad", no matter what I choose as partition type for the other two.
I presume something with the "disc description" is wrong, dmesg tells me on a failed mount:
[76382.560517] sdb: sdb3
[77379.295391] EXT4-fs (sdb3): bad geometry: block count 487198360 exceeds size of device (487195363 blocks)
I hope, someone can give me a hint here, the only goal is to mount the disc successfully so I can rsync the data away... The disc will be re-formatted in the new NAS afterwards.
mount partition-table superblock e2fsck testdisk
add a comment |
since 2 days I'm fighting for my data now :-(
Long story short: I'm building a new NAS, and therefore I took the only 2-TB-disk from my 1-Bay-Synology-NAS and had the aim to add it to the new NAS.
I couldn't do a backup because of lack of big enough discs.
For some silly reason, i deleted the 2 smallest of the 3 partitions (one was swap), and tried to expand the remaining data partition to the size of the disk.
The result was, I couldn't mount the disc anymore:
"Error mounting /dev/sdb3 at /media/1.42.6-15152: wrong fs type, bad option, bad superblock on /dev/sdb3, missing codepage or helper program, or other error"
I tried with e2fsck
(also with the -b option) and mke2fs -n
, and it tells me that thousands of problems were fixed, but i still couldn't mount the disc.
Now I'm trying with testdisk, and this looks promising: I can see the 3 partitions, and i can also copy files to my local disc, also big movies, which are playing well. Testdisk recognizes the partition table type as "Intel".
But I can't restore the two other partitions, I always get the message "Structure: Bad", no matter what I choose as partition type for the other two.
I presume something with the "disc description" is wrong, dmesg tells me on a failed mount:
[76382.560517] sdb: sdb3
[77379.295391] EXT4-fs (sdb3): bad geometry: block count 487198360 exceeds size of device (487195363 blocks)
I hope, someone can give me a hint here, the only goal is to mount the disc successfully so I can rsync the data away... The disc will be re-formatted in the new NAS afterwards.
mount partition-table superblock e2fsck testdisk
2
If you did not try to fix anything and instead resized and recreated the other two partitions exactly as they were after the first failed attempt. Getting your files back the way you intend would be a lot easier. What file types are they? Why do you want the other partitions back?
– Michael Prokopec
Dec 17 at 21:29
Unfortunately, I have no idea what the exact size of the other to was... Every file txpe, videos, pictures, documents, code, what you save on a NAS :-)
– sagerobert
Dec 17 at 21:35
Yea, that is problematic. I hope that Test Disk / Photorec helps you to get most of it back man. Good Luck.
– Michael Prokopec
Dec 17 at 21:38
Thanks man! I'll try!
– sagerobert
Dec 17 at 21:42
add a comment |
since 2 days I'm fighting for my data now :-(
Long story short: I'm building a new NAS, and therefore I took the only 2-TB-disk from my 1-Bay-Synology-NAS and had the aim to add it to the new NAS.
I couldn't do a backup because of lack of big enough discs.
For some silly reason, i deleted the 2 smallest of the 3 partitions (one was swap), and tried to expand the remaining data partition to the size of the disk.
The result was, I couldn't mount the disc anymore:
"Error mounting /dev/sdb3 at /media/1.42.6-15152: wrong fs type, bad option, bad superblock on /dev/sdb3, missing codepage or helper program, or other error"
I tried with e2fsck
(also with the -b option) and mke2fs -n
, and it tells me that thousands of problems were fixed, but i still couldn't mount the disc.
Now I'm trying with testdisk, and this looks promising: I can see the 3 partitions, and i can also copy files to my local disc, also big movies, which are playing well. Testdisk recognizes the partition table type as "Intel".
But I can't restore the two other partitions, I always get the message "Structure: Bad", no matter what I choose as partition type for the other two.
I presume something with the "disc description" is wrong, dmesg tells me on a failed mount:
[76382.560517] sdb: sdb3
[77379.295391] EXT4-fs (sdb3): bad geometry: block count 487198360 exceeds size of device (487195363 blocks)
I hope, someone can give me a hint here, the only goal is to mount the disc successfully so I can rsync the data away... The disc will be re-formatted in the new NAS afterwards.
mount partition-table superblock e2fsck testdisk
since 2 days I'm fighting for my data now :-(
Long story short: I'm building a new NAS, and therefore I took the only 2-TB-disk from my 1-Bay-Synology-NAS and had the aim to add it to the new NAS.
I couldn't do a backup because of lack of big enough discs.
For some silly reason, i deleted the 2 smallest of the 3 partitions (one was swap), and tried to expand the remaining data partition to the size of the disk.
The result was, I couldn't mount the disc anymore:
"Error mounting /dev/sdb3 at /media/1.42.6-15152: wrong fs type, bad option, bad superblock on /dev/sdb3, missing codepage or helper program, or other error"
I tried with e2fsck
(also with the -b option) and mke2fs -n
, and it tells me that thousands of problems were fixed, but i still couldn't mount the disc.
Now I'm trying with testdisk, and this looks promising: I can see the 3 partitions, and i can also copy files to my local disc, also big movies, which are playing well. Testdisk recognizes the partition table type as "Intel".
But I can't restore the two other partitions, I always get the message "Structure: Bad", no matter what I choose as partition type for the other two.
I presume something with the "disc description" is wrong, dmesg tells me on a failed mount:
[76382.560517] sdb: sdb3
[77379.295391] EXT4-fs (sdb3): bad geometry: block count 487198360 exceeds size of device (487195363 blocks)
I hope, someone can give me a hint here, the only goal is to mount the disc successfully so I can rsync the data away... The disc will be re-formatted in the new NAS afterwards.
mount partition-table superblock e2fsck testdisk
mount partition-table superblock e2fsck testdisk
edited Dec 17 at 21:21
Rui F Ribeiro
39k1479129
39k1479129
asked Dec 17 at 21:09
sagerobert
72
72
2
If you did not try to fix anything and instead resized and recreated the other two partitions exactly as they were after the first failed attempt. Getting your files back the way you intend would be a lot easier. What file types are they? Why do you want the other partitions back?
– Michael Prokopec
Dec 17 at 21:29
Unfortunately, I have no idea what the exact size of the other to was... Every file txpe, videos, pictures, documents, code, what you save on a NAS :-)
– sagerobert
Dec 17 at 21:35
Yea, that is problematic. I hope that Test Disk / Photorec helps you to get most of it back man. Good Luck.
– Michael Prokopec
Dec 17 at 21:38
Thanks man! I'll try!
– sagerobert
Dec 17 at 21:42
add a comment |
2
If you did not try to fix anything and instead resized and recreated the other two partitions exactly as they were after the first failed attempt. Getting your files back the way you intend would be a lot easier. What file types are they? Why do you want the other partitions back?
– Michael Prokopec
Dec 17 at 21:29
Unfortunately, I have no idea what the exact size of the other to was... Every file txpe, videos, pictures, documents, code, what you save on a NAS :-)
– sagerobert
Dec 17 at 21:35
Yea, that is problematic. I hope that Test Disk / Photorec helps you to get most of it back man. Good Luck.
– Michael Prokopec
Dec 17 at 21:38
Thanks man! I'll try!
– sagerobert
Dec 17 at 21:42
2
2
If you did not try to fix anything and instead resized and recreated the other two partitions exactly as they were after the first failed attempt. Getting your files back the way you intend would be a lot easier. What file types are they? Why do you want the other partitions back?
– Michael Prokopec
Dec 17 at 21:29
If you did not try to fix anything and instead resized and recreated the other two partitions exactly as they were after the first failed attempt. Getting your files back the way you intend would be a lot easier. What file types are they? Why do you want the other partitions back?
– Michael Prokopec
Dec 17 at 21:29
Unfortunately, I have no idea what the exact size of the other to was... Every file txpe, videos, pictures, documents, code, what you save on a NAS :-)
– sagerobert
Dec 17 at 21:35
Unfortunately, I have no idea what the exact size of the other to was... Every file txpe, videos, pictures, documents, code, what you save on a NAS :-)
– sagerobert
Dec 17 at 21:35
Yea, that is problematic. I hope that Test Disk / Photorec helps you to get most of it back man. Good Luck.
– Michael Prokopec
Dec 17 at 21:38
Yea, that is problematic. I hope that Test Disk / Photorec helps you to get most of it back man. Good Luck.
– Michael Prokopec
Dec 17 at 21:38
Thanks man! I'll try!
– sagerobert
Dec 17 at 21:42
Thanks man! I'll try!
– sagerobert
Dec 17 at 21:42
add a comment |
active
oldest
votes
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489568%2fdamaged-partition-table-superblock-structure-bad-in-testdisk%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489568%2fdamaged-partition-table-superblock-structure-bad-in-testdisk%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
If you did not try to fix anything and instead resized and recreated the other two partitions exactly as they were after the first failed attempt. Getting your files back the way you intend would be a lot easier. What file types are they? Why do you want the other partitions back?
– Michael Prokopec
Dec 17 at 21:29
Unfortunately, I have no idea what the exact size of the other to was... Every file txpe, videos, pictures, documents, code, what you save on a NAS :-)
– sagerobert
Dec 17 at 21:35
Yea, that is problematic. I hope that Test Disk / Photorec helps you to get most of it back man. Good Luck.
– Michael Prokopec
Dec 17 at 21:38
Thanks man! I'll try!
– sagerobert
Dec 17 at 21:42