(SOLVED) Full disk now showing as -15 TB / nan


project6

Recommended Posts

6 hours ago, JorgeB said:

No need to delete just create a new one on top, also best to rebuild the super block if not pretty sure it won't use the extra size.

 

 

Ok, the sgdisk command didn't go through. I deleted the partition using fdisk to try and recreate it but It's not working:

 

sgdisk -o -a 8 -n 1:32K:0 /dev/sdh

gives

Invalid partition data!
Information: Creating fresh partition table; will override earlier problems!
The operation has completed successfully.

But no visible partition afterwards.

Link to comment

Ok wow, that was a lengthy operation. The rebulding has finished now, so I assume I have a working reiser file system on the external drive. B|

 

The million dollar question now is how do I get this baby:

Disk /dev/sda: 3.65 TiB, 4000787029504 bytes, 7814037167 sectors
Disk model: Expansion
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 85A3F82A-B297-4615-BAAD-A493C44D51D3

Device     Start        End    Sectors  Size Type
/dev/sda1     64 7814037133 7814037070  3.7T Linux filesystem

back to this baby:

Disk /dev/sdh: 1.84 TiB, 2000398934016 bytes, 3907029168 sectors
Disk model: ST2000DM001-1ER1
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0x00000000

Device     Boot Start        End    Sectors  Size Id Type
/dev/sdh1          64 3907029167 3907029104  1.8T 83 Linux

Without messing anything up. I'm not sure I have the time to re-do the dd and rebuilding operation one more time 😀

Link to comment

Yeah, my newest drive is xfs but this one became reiserfs again, I won't bother changing it now. Most of the stuff on here is archived stuff anyway. I looked at some files before formatting and it looked OK. Some folders are already copied back over and those files are working as expected. I'm copying the rest now.

 

Will be interesting to see if anything fails as the disks fills up again, hopefully not. I also went over all split levels and allocation methods on all shares just to be sure and put them at safe values.

 

Thanks a lot for your help on this issue @JorgeB, very very helpful and guiding with commands! I will write down a summary of the process in my main post if anyone else finds themselves in the situation of a 100% full disk and unable to check/fix the file system.

 

Keep up the good work!

  • Like 1
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.