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.

All my Docker Containers gone after force shutdown ?

Featured Replies

Hi

I did force shutdown since unraid cant mount drive and shutdown

So after the restart and start the array no there are no Containers

all the containers did take a long time then i lose them just for force shutdown pc

I cant restart the pc from unraid that what make me to force shutdown pc

My setup is

M/B: ASRock - X79 Extreme11

CPU: Intel® Core™ i7-3970X CPU @ 3.50GHz

Unraid 6.2.0-beta23 DVB build

 

Parity Not installed

Disk 1 WDC_WD60EFRX-68MYMN1_WD-WX11D4444633 - 6 TB (sde)

Disk 2 WDC_WD60EFRX-68MYMN1_WD-WX11D4428455 - 6 TB (sdd)

Disk 3 WDC_WD60EFRX-68MYMN1_WD-WX11D4449291 - 6 TB (sdc)

Disk 4 WDC_WD4001FAEX-00MJRA0_WD-WCC130328699 - 4 TB (sdg)

Disk 5 WDC_WD4001FAEX-00MJRA0_WD-WCC130255562 - 4 TB (sdf)

Disk 6 WDC_WD4001FAEX-00MJRA0_WD-WCC130306446 - 4 TB (sdi)

Disk 7 WDC_WD4001FAEX-00MJRA0_WD-WCC130339225 - 4 TB (sdh)

Disk 8 WDC_WD4001FAEX-00MJRA0_WD-WCC130264310 - 4 TB (sdj)

Disk 9 WDC_WD4001FAEX-00MJRA0_WD-WCC130313669 - 4 TB (sdk)

Disk 10 WDC_WD4001FAEX-00MJRA0_WD-WCC130329087 - 4 TB (sdl)

Parity2 Not installed

 

 

in tools i see

https://drive.google.com/file/d/0BwVQ1QEehpJJWVRIVGVZazd6Mk0/view?usp=drivesdk

 

I attach the system logs

I need help i will not install any containers until i am sure that it will not get delete after restert

 

 

tower-diagnostics-20160706-2014.zip

You have a lot of different shares and some of them look like they are named the same but for capitalisation.

 

ie

 

Docker / docker

 

But although what I think is your appdata share is set to cache only, can you just run the command

 

ls /mnt/user0/appdata/

 

and post the output..

 

If the share was set to use cache only AFTER mover had moved stuff to the protected array that might cause such an issue..

  • Author

You have a lot of different shares and some of them look like they are named the same but for capitalisation.

 

ie

 

Docker / docker

 

But although what I think is your appdata share is set to cache only, can you just run the command

 

ls /mnt/user0/appdata/

 

and post the output..

 

If the share was set to use cache only AFTER mover had moved stuff to the protected array that might cause such an issue..

 

Hi CHBMB

I did run the command and i got

/bin/ls: cannot access '/mnt/user0/appdata/': No such file or directory

About appdata i did set it to cache only

Because ssd a lot faster than hdd

One of the problem is unraid cant mount drive when i shutdown unraid

 

That's because something is accessing a folder or file on the array so that it can't unmount the disk.  Install the powerdown plugin as I believe it will force an unmount in these conditions.  Doesn't explain why docker containers aren't starting up though.  Is your docker.img in the place that Unraid expects it to be?

 

Run

 

ls /mnt/user0/docker

  • Author

That's because something is accessing a folder or file on the array so that it can't unmount the disk.  Install the powerdown plugin as I believe it will force an unmount in these conditions.  Doesn't explain why docker containers aren't starting up though.  Is your docker.img in the place that Unraid expects it to be?

 

Run

 

ls /mnt/user0/docker

 

I got

ls /mnt/user0/docker

 

I have the docker image in /mnt/cache/docker/docker.img

 

I will install the power down plugin

I think the docker.img is corrupted due to the forced shutdown.  Best solution is to delete it and then redownload the apps

 

Jul  6 19:56:17 Tower kernel: BTRFS warning (device loop0): block group 29360128 has wrong amount of free space
Jul  6 19:56:17 Tower kernel: BTRFS warning (device loop0): failed to load free space cache for block group 29360128, rebuilding it now

If you've managed to get the powerdown plugin installed before you attempted the shutdown via the GUI, then from the local keyboard / monitor (or SSH)

powerdown -r

 

 

  • Author

If you've managed to get the powerdown plugin installed before you attempted the shutdown via the GUI, then from the local keyboard / monitor (or SSH)

powerdown -r

 

 

 

So i did add a new docker file in /mnt/disk1/docker.img

and install powerdown plugin 

and i install docker container (for test only)

and i did run powerdown -r

It did restart unraid and i lost the docker container again ?!

 

 

tower-diagnostics-20160707-0556.zip

  • Author

I hope i can get help from unraid dev i did buy the pro version and its without docker is useless ~

(dont get me wrong i do love unraid for many reason for VM and Docker and  more)

I want to fix docker and fix unraid unmounting drives to restart unraid or shutdown without losing containers

 

sniper,

 

docker.img shouldn't really be kept on protected array.  Put it on your cache disk.  Same goes for VM disk images.

 

I think it's likely this is a problem with your config rather than a problem with Unraid.

 

 

ok...  I think I misunderstood when you said lost docker.  By that I thought you meant that the docker tab completely disappeared after a reboot.  But on re-reading, you're saying the container itself is gone.

 

Lets go really simple here and try and figure out what's going on.

 

1 - Delete your docker.img file and recreate it again.

2 - Go to the Apps Tab, and then click Resource Monitor

3 - There's going to be a little link there saying "For further details, install cAdvisor".  Click that link

4 - The add template screen is going to pop up.  Don't change anything and hit Create.

5 - Go to the docker Tab and post a screen shot.

6- Reboot the server, then go to the docker tab and post another screen shot.

  • Author

ok...  I think I misunderstood when you said lost docker.  By that I thought you meant that the docker tab completely disappeared after a reboot.  But on re-reading, you're saying the container itself is gone.

 

Lets go really simple here and try and figure out what's going on.

 

1 - Delete your docker.img file and recreate it again.

2 - Go to the Apps Tab, and then click Resource Monitor

3 - There's going to be a little link there saying "For further details, install cAdvisor".  Click that link

4 - The add template screen is going to pop up.  Don't change anything and hit Create.

5 - Go to the docker Tab and post a screen shot.

6- Reboot the server, then go to the docker tab and post another screen shot.

 

Thanks Squid for trying to help

CHBMB already did help me and it was a mess thanks to CHBMB its now a lot better

I cant think him enough

Both of you guys rock :)

Thanks CHBMB and squid

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.