Jump to content

CAN'T RENAME POOL BACK TO "CACHE"


Recommended Posts

I've been trying to figure out how to rename my appdata folder back to 'cache" but keep getting the error. I accidently changed the name when I transsferred to a new drive. Thinking I could re-name it again. I've formated my drive and still cannot change the name. If someone could help that would be great. Thank you

Link to comment

So I moved my cache drive which had my appdata to a new drive. i thought I could name it the same it like before "cache" but it's not allowing me and get the error "invalid pool name do not use user share names"

 

I made a new pool named "new_cache" transfered everything to that drive. But now I cannot rename my new drive "new_cache" back to cache. 

 

Hope that makes sense. Thank you for helping

Link to comment

Look in your diagnostics at shares/shareDisks.txt

 

You will see a large number of entries for shares that do not exist. What that actually means is there are share configuration (.cfg) files that don't have any corresponding top level folders (user shares). That list is anonymized, but it looks like one of those might be named 'cache', so that might explain why it thinks you are trying to name a pool the same as one of your user shares.

 

What do you get from command line with this?

ls -lah /boot/config/shares

 

Link to comment

I just looked and there's a lot of entries. 

 

I did the command and this is what I got 

 

drwx------  2 root root 8.0K Feb 22 13:22 ./
drwx------ 12 root root 8.0K Feb 22 16:46 ../
-rw-------  1 root root  440 Mar 31  2023 AppData\ Backup.cfg
-rw-------  1 root root  503 Apr 24  2018 Apps.cfg
-rw-------  1 root root  440 Apr  7  2023 Backup.cfg
-rw-------  1 root root  442 Mar 31  2023 Carlos.cfg
-rw-------  1 root root  440 Mar 31  2023 Downloads.cfg
-rw-------  1 root root  442 Apr  7  2023 Flash\ Backup.cfg
-rw-------  1 root root  435 Apr  1  2023 Library.cfg
-rw-------  1 root root  442 Apr  1  2023 MJ.cfg
-rw-------  1 root root  442 Nov  5 09:50 Movies.cfg
-rw-------  1 root root  440 Mar 31  2023 Music\ 2.cfg
-rw-------  1 root root  440 Mar 31  2023 Music.cfg
-rw-------  1 root root  440 Mar 31  2023 NextCloud.cfg
-rw-------  1 root root  511 Nov 22  2017 Own\ Cloud.cfg
-rw-------  1 root root  435 Feb  7 16:05 PLEX\ Backup.cfg
-rw-------  1 root root  440 Mar 31  2023 Pics.cfg
-rw-------  1 root root  444 Mar 31  2023 Plex\ Server.cfg
-rw-------  1 root root  435 Dec 26 10:01 Plex\ TEMP.cfg
-rw-------  1 root root  499 Sep  1  2017 Sonar.cfg
-rw-------  1 root root  435 Dec 23 09:24 TEST.cfg
-rw-------  1 root root  440 Mar 31  2023 TV\ Shows.cfg
-rw-------  1 root root  516 Oct 27  2017 Time\ Capsule.cfg
-rw-------  1 root root  454 Mar 31  2023 Time\ Machine.cfg
-rw-------  1 root root  511 Oct  1  2017 Transmission.cfg
-rw-------  1 root root  548 Apr  9  2020 Windows\ Disk.cfg
-rw-------  1 root root  450 Feb 22 13:10 appdata.cfg
-rw-------  1 root root  435 Dec  8 17:28 cache.cfg
-rw-------  1 root root  435 Dec  8 17:28 data.cfg
-rw-------  1 root root  435 Dec 25 07:34 databasetools.cfg
-rw-------  1 root root  435 Dec  8 17:28 dlna.cfg
-rw-------  1 root root  435 Apr  1  2023 docker.cfg
-rw-------  1 root root  461 Dec  1 09:33 domains.cfg
-rw-------  1 root root  548 May 27  2020 h265ize.cfg
-rw-------  1 root root  548 May 28  2020 handbrake_out.cfg
-rw-------  1 root root  435 Feb  3 10:05 inter.cfg
-rw-------  1 root root  454 Dec  1 09:33 isos.cfg
-rw-------  1 root root  435 Dec  8 17:45 jellyfin.cfg
-rw-------  1 root root  418 Feb 22 13:22 mnt.cfg
-rw-------  1 root root  435 Mar 29  2023 my_users.cfg
-rw-------  1 root root  435 Feb  3 08:18 nzb.cfg
-rw-------  1 root root  435 Feb  3 08:18 queue.cfg
-rw-------  1 root root  454 Dec  1 09:33 system.cfg
-rw-------  1 root root  443 Apr  1  2023 temp.cfg
-rw-------  1 root root  435 Feb  3 08:18 tmp.cfg
-rw-------  1 root root  548 May 27  2020 user.cfg

Link to comment

Thank you. I’m able to finally rename it back to “cache” drive. 
 

but now I’m having another issue. After I was able to rename app data “cache” drive back I tried restoring my apps through the previous installed apps. All apps are there, but all saved history or settings are not there. So when I click on app like sabnzb it’s asking to enter my info. So settings are missing. 
 

hope it making sense. Thank you for your help 

Link to comment

i was using a disk share “cache”

 

 I left everything the same so did not change any mappings. So when I upgraded my appdata drive I could not rename it back to “cache” that was my original issue. I created a new one called “new_cache” but never changed any of the mappings to the new drive.
 

After you guys helped me in renaming it back to “cache” I just recreated the the docker and downloaded all the apps. They were all under previous installed. I checked the mapping for the docker container and also the apps and everything was still pointing to “cache” drive. 

but now I’m not able to get any of my saved history from the my apps. 

Link to comment
9 minutes ago, Importimage1 said:

saved history

What do you mean by "history"?

 

Previous Apps uses the templates stored on your flash drive in config/plugins/dockerMan/templates-user. Those templates have the settings entered when you create or edit the container. These templates are just the mappings, etc. and don't have any settings made within a particulate application. Do you still have those templates (.xml files) on flash?

 

An installed docker application usually has an appdata folder, which contains the working storage of that application. That is where any settings set within the application are kept.

Link to comment
13 minutes ago, trurl said:

What do you mean by "history"?

 

Previous Apps uses the templates stored on your flash drive in config/plugins/dockerMan/templates-user. Those templates have the settings entered when you create or edit the container. These templates are just the mappings, etc. and don't have any settings made within a particulate application. Do you still have those templates (.xml files) on flash?

 

An installed docker application usually has an appdata folder, which contains the working storage of that application. That is where any settings set within the application are kept.

Sorry don't know what it's called but the history like any saved settings that I previously had on my apps. 

 

I have saved appdata using the backup/restore appdata. I can see the .xml files. I tried to restore them but had no luck . How I'm restoring it is I first downloaded all the apps through the apps previously insatlled. When that did not work, I went and used the Backup/restore Appdata. Should I only be installing one of those types of backups or could I do both. restore appdata app and previously installed on apps? 

 

I'm not sure if maybe something is wrong with my flash drive? 

 

Link to comment
2 hours ago, Importimage1 said:

maybe something is wrong with my flash drive?

I do see one FSCK file on your flash drive, which would come from repairing corruption, but I think that would just be a single corrupt file, and it may have been a long time ago.

 

Do you have a flash backup?

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.

×
×
  • Create New...