Several issues that might be related


Recommended Posts

  • Replies 115
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

You can try to expand the partition, don't know if it will work on a corrupted filesystem.

 

sfdisk /dev/sdX

 

X = cloned disk

 

Look at the starting sector of current partition and use the same number to create a new one using the full size, e.g., if it's 64 type 64 and press enter.

 

Then type write and enter to apply changes.

 

Finally:

 

resize_reiserfs /dev/sdX1

 

If the resize succeeds run reiserfsck again, if it fails you can try the disk rebuild.

 

Any doubts ask

Link to comment

I am getting an error:

 

# sfdisk /dev/sdc1 
/dev/sdc1: device contains a valid 'reiserfs' signature; it is strongly recommended to wipe the device with wipefs( if this is unexpected, in order to avoid possible collisions

Welcome to sfdisk (util-linux 2.27.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.

Checking that no-one is using this disk right now ... FAILED

This disk is currently in use - repartitioning is probably a bad idea.
Umount all file systems, and swapoff all swap partitions on this disk.
Use the --no-reread flag to suppress this check.

sfdisk: Use the --force flag to overrule all checks.

Link to comment

on the wegGUI, click on the flash drive, Syslinux configuration will look similar to this:

 

 

default /syslinux/menu.c32

menu title Lime Technology, Inc.

prompt 0

timeout 50

label unRAID OS

  menu default

  kernel /bzimage

  append pci-stub.ids=8086:10d3 pcie_acs_override=downstream initrd=/bzroot

label unRAID OS GUI Mode

  kernel /bzimage

  append initrd=/bzroot,/bzroot-gui

label unRAID OS Safe Mode (no plugins, no GUI)

  kernel /bzimage

  append initrd=/bzroot unraidsafemode

label Memtest86+

  kernel /memtest

 

Move the highlighted "menu default" below the safe mode option.

Link to comment
  • 2 weeks later...

I meant try to rebuild to a bigger disk, like RobJ suggested, you need to upgrade your parity first.

 

My friend had a different issue, he told me that reiserfsck was aborting with a out of space error, turns out it was out of memory error, he only had 2GB, I upgraded his server to 4GB and reiserfsck completed.

Link to comment

There's a way, but I don't think you are going to like it!  Replace that 3TB drive with a 4TB drive.  But that means having to replace the parity drive too, so you will have to buy 2 4TB or larger drives.  You would have to first rebuild parity with a larger drive, then rebuild Disk 1 onto a larger drive, then try reiserfsck with the --rebuild-tree option again.  I don't know if that's possible for you, but I can't think of any other ideas.  Unless reiserfsck can finish sufficiently to build a root block and superblock, you can't mount the drive to copy stuff off.

Link to comment

Ok, and that will work? The next comment suggests that it doesn't.

 

Not sure that idea will work as the rebuild will start by creating a 3TB partition on the 4TB disk.  Normally the 3TB is then expanded to fill the 4TB disk after the rebuild finishes.  I am not sure that the file system can be expanded to use the additional space if it has corruption.

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.