Powerdown script - No active PIDS on the array


Recommended Posts

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

 

Link to comment

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

 

 

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.