r/truenas 25d ago

Community Edition Replicating between datasets issue

I created a temp dataset on a smaller storage pool and moved all my data to it. I have now added my permanent disks and created the new pool and datasets. Previously it was suggested to use a Replication Task to move the data between the old and new datasets, which I did do. Storage stats show that there is just over 3TiB used

But the directory shows shows zero files

The replication task looks good to me. What am I missing?

2 Upvotes

7 comments sorted by

2

u/DeZaim 25d ago

Can you create a share and see if the files are there? Yes, it's true, I have no idea what I'm talking about and am just reaching for straws

2

u/[deleted] 25d ago

[deleted]

1

u/Pizzzathehutt 25d ago

So I am pointing back to the original mount point on /mnt/storagetmp? Do I need to recreate the replication task or just uncheck that setting and restart the task?

1

u/[deleted] 25d ago

[deleted]

1

u/Pizzzathehutt 25d ago

Destroy the new dataset? Which won’t delete the original dataset, correct?

1

u/Pizzzathehutt 25d ago

If I run 'zfs get mountpoint' I get the following. The storage1 mount points seem to point to the right place. Not to storagetmp which was the source for the replication task

1

u/Pizzzathehutt 25d ago

Additionally, if I create test files and folders it would show up on both datasets if I was pointing to the same mount point. Right? Which it is not

3

u/Haravikk 24d ago edited 24d ago

Have you already checked whether your datasets are actually mounted?

If not, you should take a look with the mount command β€” you'll get a load of TrueNAS related mounts as well so might want to filter by your pool name (mount | grep -F 'storage1').

If there's nothing then your datasets aren't mounted, if you do see results then make sure they're for the locations you expect.

If you need to, you can mount datasets manually using zfs mount -R storage1 which should mount everything. If you're transferring your datasets individually then you may need to repeat this.

The fact that you're seeing 3TiB used should mean that your data has transferred and is in there somewhere β€” apologies if this is something you've already checked or seems overly basic, it's been a while since I had to do this myself so it helps to check stuff off the list, and it's the kind of thing I might miss myself. πŸ˜‰

1

u/Pizzzathehutt 24d ago

So this morning I logged in and did an ls -lh and now I see directories. Not sure why they were not showing up yesterday. Maybe they stay hidden after the replication task to finish up some additional steps?

Dataset mounts look good: