Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Preclear via Putty-Does the Preclear continue after Putty computer reboots?

Featured Replies

I am pre-clearing a couple of hard drives via Putty/telnet. During the middle of the pre-clear, I inadvertently re-booted the computer that Putty is installed on (not the Unraid server).

-Does the pre-clearing continue on the Unraid server despite the fact that the Putty session is no longer open?

-If so, can I log back into the Unraid server via Putty and determine where I'm at re the pre-clear? If so, what commands do I use?

Thanks much.

I am pre-clearing a couple of hard drives via Putty/telnet. During the middle of the pre-clear, I inadvertently re-booted the computer that Putty is installed on (not the Unraid server).

-Does the pre-clearing continue on the Unraid server despite the fact that the Putty session is no longer open?

-If so, can I log back into the Unraid server via Putty and determine where I'm at re the pre-clear? If so, what commands do I use?

Thanks much.

 

When the telnet session ends, anything running in that session ends.  Unless you were using "screen", a nifty little tool that will allow you to run multiple resumable telnet sessions, your preclears were terminated.  You will have to restart.

Run a putty session and enter the command

 

screen -r

 

Your preclear session should again be visible.

  • Author

Please excuse my ignorance here but when I type "screen -r", I get the following:

 

"There are several suitable screens on:

      1053.pts-0.UR1  (Attached)

      943.pds-0.UR1    (Detached)

      31803.pts-0.UR1 (Detached)

      24340.pts-0.UR1 (Detached)

      33282.pts-0.UR1 (Detached)

      26335.pts-0.UR1 (Detached)

      11645.pts-0.UR1 (Detached)

      3480.pts-0.UR1  (Detached)   

Type "screen [-d] -r [pid.]tty.host" to resume one of them."

 

What command should I type?

Thanks.

It appears you've started several screen sessions on your unRAID server so you need to go through each one to find out which one is running the preclear script.

 

For example, screen -r 943.pds-0.UR1 will get you to the first detached screen session.  If nothing is running in there I'd say you should "exit" that screen session.  Then do the same for each screen process until you have just the one running that contains the preclear session.

 

I'm a new user here but the way I've been running preclears is to telnet to my server with putty, start a screen session, start a preclear, enter ctrl-a then ctrl-d to leave the screen session running in the background, and then exit the putty telnet session (or not).  I only start one screen process and if I want to preclear more than one drive I follow the above flow but instead of ctrl-a/ctrl-d I enter ctrl-a/c to create another process within which to start another preclear.

 

Hope that makes sense.?

Please excuse my ignorance here but when I type "screen -r", I get the following:

 

"There are several suitable screens on:

      1053.pts-0.UR1   (Attached)

      943.pds-0.UR1    (Detached)

      31803.pts-0.UR1 (Detached)

      24340.pts-0.UR1 (Detached)

      33282.pts-0.UR1 (Detached)

      26335.pts-0.UR1 (Detached)

      11645.pts-0.UR1 (Detached)

      3480.pts-0.UR1  (Detached)   

Type "screen [-d] -r [pid.]tty.host" to resume one of them."

 

What command should I type?

Thanks.

 

Looks like you started multiple screen sessions.  You may not have meant to do that.

 

When there is more than one, you need to enter the string listed to resume a session, for example: 

 

screen -r 3480.pts-0.UR1

 

As you resume each one, if it is an inactive telnet session, enter the "exit" command and the session will close.  Obviously, if it is a preclear running, leave it alone (pressing Ctrl-A d will "detach" the session and leave it running).

 

The first one listed says that the screen session is attached.  You may have to research other screen options (enter "screen -h" and you will see the options).  "screen -d" seems like it might be what you want to detach an attached screen session, but I have never used it.

 

HERE is a link to a screen manpage that you might want to read to better understand how to use it. 

  • Author

Outstanding! Thanks again.

  • 3 years later...

Thank you guys, even it is an old thread it was really useful to me right now.

nohup would work, too, no?

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.