Page 1 of 1

Re-initialized NAS need to recover data

Posted: 03 Oct 2022, 13:19
by ps2g45
After a number of issues with my F4-220, I finally pulled the drives and re-installed TOS. Now I have the storage pools as they were prior, but although they say that 600GB of my volume is in use, I can't see it. I restored the configuration using the TOS control panel, still no joy. The storage was created under a user that doesn't exist anymore - can I just recreate the user and have access to the ghost files?? N.B. The file system still has a home directory for this user - see screenshots attached...
MasterChief is the new account created when I re-initialized the box, GodOfWar is the "ghost" account that had all of the previous data. Now it has "home" and "recycle", both empty.

Re: Re-initialized NAS need to recover data

Posted: 03 Oct 2022, 16:57
by TMSupport
ps2g45 wrote: 03 Oct 2022, 13:19 can I just recreate the user and have access to the ghost files?? N.B. The file system still has a home directory for this user
yes, you can create a user with the same name.
You can view the properties of the folder to see which one is taking up storage space.

Re: Re-initialized NAS need to recover data

Posted: 04 Oct 2022, 03:26
by ps2g45
TMSupport wrote: 03 Oct 2022, 16:57
ps2g45 wrote: 03 Oct 2022, 13:19 can I just recreate the user and have access to the ghost files?? N.B. The file system still has a home directory for this user
yes, you can create a user with the same name.
You can view the properties of the folder to see which one is taking up storage space.
User recreated and I can see all of the directories. Now the issue is that I can't see the two major directories - no permission to read. I have tried setting permissions with the properties but it doesn't have any effect. Can I fix this through TOS?

I had a look via SSH and the privileges seem to be set to allow read/write/execute, am I missing something? Here is the ls - l for both root and GodOfWar...
root@DaffyDuck117:/mnt# ls -l
total 33
lrwxrwxrwx 1 root root 11 Oct 3 14:59 Backups -> md1/Backups
lrwxrwxrwx 1 root root 13 Oct 3 14:59 MassMedia -> md0/MassMedia
lrwxrwxrwx 1 root root 14 Oct 3 14:59 MediaFiles -> md0/MediaFiles
lrwxrwxrwx 1 root root 8 Oct 3 14:59 Misc -> md1/Misc
lrwxrwxrwx 1 root root 15 Oct 3 14:59 RAIDstorage -> md0/RAIDstorage
lrwxrwxrwx 1 root root 9 Oct 3 14:59 Stuff -> md0/Stuff
lrwxrwxrwx 1 root root 11 Oct 3 14:59 appdata -> md0/appdata
drwxr-xr-x 3 root root 1024 Oct 2 19:11 bootdev
drwxr-xr-x 1 root root 150 Feb 11 2021 md0
drwxr-xr-x 1 root root 102 Apr 19 2021 md1
lrwxrwxrwx 1 root root 10 Oct 3 14:59 public -> md0/public
root@DaffyDuck117:/mnt# su GodOfWar
GodOfWar@DaffyDuck117:/mnt$ ls
Backups MassMedia MediaFiles Misc RAIDstorage Stuff appdata bootdev md0 md1 public
GodOfWar@DaffyDuck117:/mnt$ ls -l
total 33
lrwxrwxrwx 1 root root 11 Oct 3 14:59 Backups -> md1/Backups
lrwxrwxrwx 1 root root 13 Oct 3 14:59 MassMedia -> md0/MassMedia
lrwxrwxrwx 1 root root 14 Oct 3 14:59 MediaFiles -> md0/MediaFiles
lrwxrwxrwx 1 root root 8 Oct 3 14:59 Misc -> md1/Misc
lrwxrwxrwx 1 root root 15 Oct 3 14:59 RAIDstorage -> md0/RAIDstorage
lrwxrwxrwx 1 root root 9 Oct 3 14:59 Stuff -> md0/Stuff
lrwxrwxrwx 1 root root 11 Oct 3 14:59 appdata -> md0/appdata
drwxr-xr-x 3 root root 1024 Oct 2 19:11 bootdev
drwxr-xr-x 1 root root 150 Feb 11 2021 md0
drwxr-xr-x 1 root root 102 Apr 19 2021 md1
lrwxrwxrwx 1 root root 10 Oct 3 14:59 public -> md0/public
GodOfWar@DaffyDuck117:/mnt$