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.

Powerdown script - No active PIDS on the array

Featured Replies

Trying to run the powerdown script (which has never had any problems) but I am coming to a message 'No active PIDS on the array' and then it stops/hangs and does not continue...

 

How can I continue to powerdown my tower?

 

 

Here is what I get:

 

 

 

Capturing information to syslog. Please wait...

version[9072]: Linux version 2.6.37.6-unRAID (root@Develop) (gcc version 4.4.4 (GCC) ) #4 SMP Sat Aug 6 03:25:42 MDT 2011

ls: cannot access /dev/hd[a-z]: No such file or directory

ls: cannot access /dev/hd[a-z]: No such file or directory

mdcmd; /proc/mdcmd does not exist

status[9125]: State:

status[9125]: D#          Model / Serial          Status        Device   

status[9125]: 0                  /                                         

status[9125]: SMART overall health assessment

ls: cannot access /dev/hd[a-z]: No such file or directory

status[9125]: /dev/sda: SMART overall-health self-assessment test result: PASSED

status[9125]: /dev/sdb: SMART overall-health self-assessment test result: PASSED

status[9125]: /dev/sdc: SMART overall-health self-assessment test result: PASSED

status[9125]: /dev/sdd: SMART overall-health self-assessment test result: PASSED

status[9125]: /dev/sde: SMART Health Status: OK

status[9125]: No active PIDS on the array

 

  • Author

Hrmm, now I can get logged back in via telnet...

are you using NFS?

 

It stops these

[ -x /etc/rc.d/init.d/vmware  ] && /etc/rc.d/init.d/vmware stop

    [ -x /etc/rc.d/rc.samba ] && /etc/rc.d/rc.samba stop

    [ -x /etc/rc.d/rc.nfsd  ] && /etc/rc.d/rc.nfsd  stop

 

then looks for more active pids.

umounts drives.

 

  logger "Umounting the drives"

    for disk in /mnt/disk*

    do  /bin/umount -v ${disk}

    done 2>&1 | logger

 

    sync

 

    if [ -e /proc/mdcmd ]

      then logger "Stopping the Array"

            echo status > /proc/mdcmd

            cat < /proc/mdcmd | tr -d '\000' > /tmp/mdcmd.$$.1

            echo stop > /proc/mdcmd

            sleep 3

            echo status > /proc/mdcmd

            cat < /proc/mdcmd | tr -d '\000' > /tmp/mdcmd.$$.2

            diff -u /tmp/mdcmd.$$.1 /tmp/mdcmd.$$.2 | logger -t mdstatusdiff

            rm  -f /tmp/mdcmd.$$.1 /tmp/mdcmd.$$.2

    fi

 

 

  • Author

I can't get a telnet session going now. Will probably have to wait till I get home unless someone has any other ideas.

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.