Over a year ago I moved from Amahi 6 to Amahi 7; it was a complete rebuilt on my home server.
I added my existing storage into it, and added my new drives and used the GOING and GONE commands to empty the old drives onto the new drives.
When I'm looking at the logs for Greyhole I'm still seeing the occasional reference to the old drives:
Found a metadata file pointing to a drive not defined in your storage pool: '/var/hda/files/drives/drive5/gh/blahblahblah' (for example)
Looking in /var/hda/files/drives/ I have my 3 OLD drives and my 3 NEW drives
-drive2
-drive3
-drive5
-nas1
--gh
--lost&found
-nas2
--gh
--lost&found
-nas3
--gh
--lost&found
The landing zone mucked up last week so last night I ran --fsck first with find-orphaned files.
It's not affecting any usage though.
Can I use the -GONE command on drives 2-5? I typed it in this morning and it began emptying the trash on a new drive so I cancelled it.
Thanks in advance!
SOLVED: Found a metadata file pointing to a drive not defined in your storage pool
Re: Found a metadata file pointing to a drive not defined in your storage pool
If you are not using the old drives, are they still mounted?Looking in /var/hda/files/drives/ I have my 3 OLD drives and my 3 NEW drives
You should be able to in order to remove files from them. Keep in mind there area actual file copies on those drives, so they will get deleted.Can I use the -GONE command on drives 2-5?
I am not sure I understand this statement. I do not believe there is an auto trash emptying function. Please clarify.I typed it in this morning and it began emptying the trash on a new drive so I cancelled it.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Found a metadata file pointing to a drive not defined in your storage pool
Long gone, around the house being used as paper weights.If you are not using the old drives, are they still mounted?
The bit about the trash emptying
Thanks again!sudo greyhole -n=/var/hda/files/drives/drive5/gh
Trash in /var/hda/files/drives/nas1/gh is 281GB. Emptying... ^C
Last edited by evylrat on Thu Jul 06, 2017 12:37 am, edited 1 time in total.
Re: Found a metadata file pointing to a drive not defined in your storage pool
Ok then are files on the new drives?
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Found a metadata file pointing to a drive not defined in your storage pool
All files are on the new drives. Ones it's marking as being removed from these 'ghost' drives are in fact still in the storage pool. I guess I can safely ignore it unless you think otherwise.
Re: Found a metadata file pointing to a drive not defined in your storage pool
Yea probably so.
Empty trash before starting.
Then check it after. Should not see anything I would think.
Report back if we can close this thread.
Empty trash before starting.
Then check it after. Should not see anything I would think.
Report back if we can close this thread.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Found a metadata file pointing to a drive not defined in your storage pool
There is still nothing in the folders drive2, drive3 or drive5. Can the folders be safely deleted? nas1, nas2 and nas3 are the drives in the storage pool.sudo greyhole -g=/var/hda/files/drives/drive5/gh
Trash in /var/hda/files/drives/nas1/gh is empty. Nothing to do.
Trash in /var/hda/files/drives/nas2/gh is empty. Nothing to do.
Trash in /var/hda/files/drives/nas3/gh is empty. Nothing to do.
sudo greyhole -g=/var/hda/files/drives/drive3/gh
Trash in /var/hda/files/drives/nas1/gh is empty. Nothing to do.
Trash in /var/hda/files/drives/nas2/gh is empty. Nothing to do.
Trash in /var/hda/files/drives/nas3/gh is empty. Nothing to do.
sudo greyhole -g=/var/hda/files/drives/drive2/gh
Trash in /var/hda/files/drives/nas1/gh is empty. Nothing to do.
Trash in /var/hda/files/drives/nas2/gh is empty. Nothing to do.
Trash in /var/hda/files/drives/nas3/gh is empty. Nothing to do.
ls /var/hda/files/drives -l
total 12
drwxr-xr-x 2 root root 6 May 15 2016 drive2
drwxr-xr-x 2 root root 6 May 15 2016 drive3
drwxr-xr-x 2 root root 6 May 15 2016 drive5
drwxr-xr-x 4 root root 4096 May 15 2016 nas1
drwxr-xr-x 4 root root 4096 May 17 2016 nas2
drwxr-xr-x 4 root root 4096 May 18 2016 nas3
sudo greyhole -s
Total - Used = Free + Trash = Possible
/var/hda/files/drives/nas1/gh: 2751G - 2099G = 512G + 0G = 512G
/var/hda/files/drives/nas2/gh: 2751G - 1956G = 654G + 0G = 654G
/var/hda/files/drives/nas3/gh: 2751G - 1978G = 633G + 0G = 633G
==========================================
Total: 8252G - 6033G = 1799G + 0G = 1799G
Re: Found a metadata file pointing to a drive not defined in your storage pool
Yes.There is still nothing in the folders drive2, drive3 or drive5. Can the folders be safely deleted?
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Re: Found a metadata file pointing to a drive not defined in your storage pool
Thanks and can be marked resolved. A few more references to old drives are still appearing in the logs, but there appears to be no ill effect on the storage.
Re: Found a metadata file pointing to a drive not defined in your storage pool
No problem. They should disappear over time I would think.
Marking this as solved.
Marking this as solved.
ßîgƒσστ65
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Applications Manager
My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2
Who is online
Users browsing this forum: No registered users and 22 guests