Jump to content

Tried to backup flash > corrupted thumbdrive


Recommended Posts

This is a brand new Samsung Flash drive. I've had the system for about two weeks.

 

6.10 is released and it was advised to take a backup of the original flash. So I did. The file would start to DL but stop after a minute or so.

 

The webUI became non-responsive so I had to restart via SSH (powerdown -r).

 

Tried to backup again and the same thing happened. The file would start to DL but stall. WebUI again non-responsive.

 

Restart again via SSH and now the system will not come back up. It's sitting at;

 

/var/tmp/indent.cfg: line 35: unexpected EOF while looking for matching `"'

/var/tmp/ident.cfg: line 36: syntax error: unexpected end of file


Welcome to Linux 5.10.28-Unraid x86_64 (tty1)
(none) login:

 

Tried a full powerdown of the system and still won't come back up again.

Edited by aglyons
Link to comment
10 minutes ago, trurl said:

Put flash in PC and checkdisk, while there make a backup, try booting from USB2 port.

 

Thanks, Ill try that. I did try safe mode with GUI. The built-in Firefox loading localhost failed to load any page. That would tell me that unRaid was not running. Something is borked.

Link to comment

chkdsk reported no errors.

 

I only have three USB ports on the Dell R510. The external USB ports are home to a UPS and keyboard. The internal USB was my boot connection. It's been stable ever since I first installed everything.

 

I've made a BIN backup image of the thumbdrive. Will try to start it up again.

Link to comment

I managed to get the system started again.

 

I took a look at the ident.cfg file, specifically lines 35 and 36.

 

image.png.36c1be34fafbb04bbde3c6196543ed1f.png

 

I deleted line 35 and line 36. Added a LF so that there was an empty line 35. I decided this due to the default ident.cfg file being formatted that way. I'm not sure what line 35 board" was supposed to be or if it was added by a plugin update.

 

Somehow this file was changed during the backup process that hung the system.

 

I'm not sure if I should go forward with an update to 6.10 at this point or if there are any other diagnostics I can do to make sure the system is stable enough to upgrade.

 

Edited by aglyons
Link to comment
15 minutes ago, trurl said:

Lots of things during startup are normal, just the result of linux/Unraid trying to figure out your hardware.

 

You have duplicate lines in your go file, you should clean that up.

 

 

How could I get duplicate lines in the go file? I've never edited that myself. This could only have to come from plugins being installed.

Edited by aglyons
Link to comment

I seriously doubt any plugin added anything to your go file

 

Here is the standard contents of go:

#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &

 

After those lines, your go has:

#!/bin/bash
# Start the Management Utility
/usr/local/sbin/emhttp &

#rsync daemon
rsync --daemon --config=/boot/config/rsyncd.conf

 

So, not only duplicate starting of emhttp, but another line that you must have added as some point.

 

16 minutes ago, trurl said:

you should clean that up

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.

×
×
  • Create New...