Hello,
I'm new here as I am working on moving my personal system fro, NAS4Free (11.0.0.4) to TrueNAS.
To move my files from one system to another, I will be using my backup drive to replicate the content & structure from my RAID 10.
That is because I will have to destroy my mirror and the vdevs because I originally made 2 vdevs with one drive each.
(I guess I could also import one drive, copy to the content to the new vdev and build the mirror after... anyway... I have something I'd like to understand nonetheless!)
I connected my backup drive to a VM running TrueNAS. That's only for testing purposes.
The idea is to verify that TrueNAS will be able to read and import the content from my previous system.
However, I am facing issues with too many mounts, much more than what I was expecting!
All commands & results below are from TrueNAS.
The content has been created on NAS4Free.
I believe I would have had the same issue if creating/working with the pool on FreeNAS/TrueNAS.
Now onto my problem:
I was only expecting one mount: BACKUP_POOL => /mnt/BACKUP_POOL
Instead, I also have many other mountpoints/filesystems (?) that I believe I created by the zfs send | receive command.
I never created any filesystems other than the pool itself (BACKUP_POOL).
My main pool is called MAIN_POOL, and it is a mirror of two vdev with one disk each.
Here are my questions:
Here are the pools as seen by TrueNAS:
Here are my mounts:
Here's my pool history:
Thanks for welcoming me here.
Looking forward to your answers!
Seldo
I'm new here as I am working on moving my personal system fro, NAS4Free (11.0.0.4) to TrueNAS.
To move my files from one system to another, I will be using my backup drive to replicate the content & structure from my RAID 10.
That is because I will have to destroy my mirror and the vdevs because I originally made 2 vdevs with one drive each.
(I guess I could also import one drive, copy to the content to the new vdev and build the mirror after... anyway... I have something I'd like to understand nonetheless!)
I connected my backup drive to a VM running TrueNAS. That's only for testing purposes.
The idea is to verify that TrueNAS will be able to read and import the content from my previous system.
However, I am facing issues with too many mounts, much more than what I was expecting!
All commands & results below are from TrueNAS.
The content has been created on NAS4Free.
I believe I would have had the same issue if creating/working with the pool on FreeNAS/TrueNAS.
Now onto my problem:
I was only expecting one mount: BACKUP_POOL => /mnt/BACKUP_POOL
Instead, I also have many other mountpoints/filesystems (?) that I believe I created by the zfs send | receive command.
I never created any filesystems other than the pool itself (BACKUP_POOL).
My main pool is called MAIN_POOL, and it is a mirror of two vdev with one disk each.
Here are my questions:
- Is this expected? Why do I see so many mounts?
- How to view what will mount?
- I understand that filesystems on the pool are mounted
- I guess that since MAIN_POOL is a filesystem, this property is kept, hence the multiple mounts.
- However, zpool list doesn't show any.
- How to manage this?
- How to do backup/replicate better to avoid such a mess?
- I will most likely keep the same structure, in the future, but creating a few filesystems inside the MAIN_POOL
Code:
root@truenas[~]# zpool import pool: BACKUP_POOL id: 4404527925045269142 state: ONLINE status: Some supported features are not enabled on the pool. action: The pool can be imported using its name or numeric identifier, though some features will not be available without an explicit 'zpool upgrade'. config: BACKUP_POOL ONLINE da0 ONLINE
Here are the pools as seen by TrueNAS:
Code:
root@truenas[~]# zpool list NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT BACKUP_POOL 5.44T 2.21T 3.22T - - 0% 40% 1.00x ONLINE - boot-pool 15.5G 1.16G 14.3G - - 0% 7% 1.00x ONLINE -
Here are my mounts:
Code:
root@truenas[~]# zfs mount // system drive mounts are removed BACKUP_POOL /mnt/BACKUP_POOL BACKUP_POOL/backup_fs/MAIN_POOL /mnt/MAIN_POOL BACKUP_POOL/second_snap /mnt/BACKUP_POOL/second_snap BACKUP_POOL/MAIN_POOL_BACKUP /mnt/BACKUP_POOL/MAIN_POOL_BACKUP BACKUP_POOL/backup_fs /mnt/BACKUP_POOL/backup_fs BACKUP_POOL/backup_fs/MAIN_POOL/personnel /mnt/MAIN_POOL/personnel BACKUP_POOL/backup_fs/MAIN_POOL/guest_fs /mnt/MAIN_POOL/guest_fs BACKUP_POOL/backup_fs/MAIN_POOL/photovideo /mnt/MAIN_POOL/photovideo BACKUP_POOL/backup_fs/MAIN_POOL/photovideo/photo_incoming /mnt/MAIN_POOL/photovideo/photo_incoming BACKUP_POOL/backup_fs/MAIN_POOL/photovideo/photos /mnt/MAIN_POOL/photovideo/photos BACKUP_POOL/backup_fs/MAIN_POOL/photovideo/videos /mnt/MAIN_POOL/photovideo/videos
Here's my pool history:
Code:
root@truenas[~]# zfs history BACKUP_POOL History for 'BACKUP_POOL': 2017-05-12.03:28:43 zpool create -m /mnt/BACKUP_POOL BACKUP_POOL /dev/da0.nop ... 2017-05-12.08:49:51 zfs receive BACKUP_POOL/MAIN_POOL_BACKUP 2017-05-15.17:51:20 zfs receive BACKUP_POOL/second_snap 2017-05-16.16:51:28 zfs receive BACKUP_POOL/backup_fs/MAIN_POOL ... 2021-01-03.04:36:35 zpool export -f BACKUP_POOL
Thanks for welcoming me here.
Looking forward to your answers!
Seldo