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.

Endless Loop from Symbolic Link

Featured Replies

I think my tower might be in an endless loop caused by a symbolic link. I was trying to create a symbolic link of a user share.

 

I was trying to follow along from this thread: http://lime-technology.com/forum/index.php?topic=73.msg5196#msg5196

 

I have a user share named 'Movies' on disk3, disk5, disk6, disk7, disk8

 

disk3/Movies was used as a folder to have symbolic links to disk5, disk6, disk7, disk8 and I recently discovered user shares.

 

I wanted to remove the folder disk3/Movies and create a symbolic link to the user share 'Movies'. So I removed the symbolic links to the other 4 discs and deleted the folder disk3/Movies.

 

I then typed in "ln -s /mnt/user/movies /mnt/disk3/Movies

 

This was about 3 hours ago and my server became unresponsive. I restarted the server and I can get to the web interface and see the 'Starting...' message and the read count for all the hard drives going up when I refresh.

 

I can now access the shares and telnet properly but the web interface still says 'Starting...' and will not let me edit anything.

 

How do I cancel this symbolic link or get my server back?

I can't help with links and stuff, but there are no real issues in your syslog.  There are a few very minor issues, such as one duplicate mentioned, LAN connection is only 100Mbps, and there was an improper shut down on the previous session.

  • Author

If anyone else can help out I'd greatly appreciate it. The server has been going for about 9 hours now without letting the web interface "start".

 

Initially, all of the disks read count were going up in the web interface, but they have all since stopped except the disc in question.

I'm in no way an expert with User Shares, but I would think you could turn off User Shares, then search for all symbolic links and delete them for now, basically starting over.

 

You should be able to 'stop' the array from the console, with a stop script like the following (copied from others work):

#!/bin/bash
# Stop Samba
killall smbd nmbd

# Kill any processes using the disks
for fs in /mnt/user /mnt/disk*
do
  if [ ! -d ${fs} ] ; then continue ; fi
  for pid in $(fuser -cu $fs 2>/dev/null)
  do  
      kill -TERM ${pid}
  done
done

#un-mount the disks
for disk in /mnt/disk*
do  
  /bin/umount ${disk}
done

# Stop the unRAID array
echo stop > /proc/mdcmd

echo "The unRAID array is stopped"

 

To manually turn off User Shares, delete or rename the share.cfg and shares folder in /config.  Then powerdown and reboot, and your server should come up fine, with User Shares turned off, except that you will probably need to re-set the export of Disk and Flash shares.  Then go looking for file links to remove.

  • Author

I think this may have done the trick. I ran the script and rebooted. The tower is now doing a sync. I will report back tomorrow when the sync is done.

 

Thank you for your help!

  • Author

That solved my problem! Thanks again

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.