Latest News:
*New 11.2 series Release:
2019-06-20: XigmaNAS 11.2.0.4.6766 - released!

*New 12.0 series Release:
2019-06-20: XigmaNAS 12.0.0.4.6766 - released!

We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS cost money, please consider a donation to our project so we can continue to offer you the best.
We need your support! eg: PAYPAL

From freenas to XigmaNas

If you are new on this forum and you don't know where to post please use this sub-forum. Somebody will answer your question and/or will move your topic into the right sub-forum.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Killrob
Starter
Starter
Posts: 17
Joined: 17 Apr 2019 13:10
Status: Offline

From freenas to XigmaNas

#1

Post by Killrob » 17 Apr 2019 15:07

Hi all, I want migrate from a freenas 11 to Xigma. Is possible importing volumes and pools?
Regards

User avatar
ms49434
Developer
Developer
Posts: 638
Joined: 03 Sep 2015 18:49
Location: Neuenkirchen-Vörden, Germany - GMT+1
Contact:
Status: Offline

Re: From freenas to XigmaNas

#2

Post by ms49434 » 17 Apr 2019 15:40

Yes, it should be possible to import everything related to ZFS, i.e. pools, datasets, volumes, snapshots etc.
1) XigmaNAS 12.0.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U2, 22GB out of 32GB ECC RAM, LSI 9300-8i IT mode in passthrough mode. Pool 1: 2x HGST 10TB, mirrored, SLOG: Samsung 850 Pro, L2ARC: Samsung 850 Pro, Pool 2: 1x Samsung 860 EVO 1TB , services: Samba AD, CIFS/SMB, ftp, ctld, rsync, syncthing, zfs snapshots.
2) XigmaNAS 12.0.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U2, 8GB out of 32GB ECC RAM, IBM M1215 crossflashed, IT mode, passthrough mode, 2x HGST 10TB , services: rsync.

Killrob
Starter
Starter
Posts: 17
Joined: 17 Apr 2019 13:10
Status: Offline

Re: From freenas to XigmaNas

#3

Post by Killrob » 17 Apr 2019 17:32

Ok, so if i disconnect all hdds except for the one that will contain the s.o. when installed i can reconnect the drives and import them?
is that correct?

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1114
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: From freenas to XigmaNas

#4

Post by JoseMR » 17 Apr 2019 18:18

Killrob wrote:
17 Apr 2019 17:32
Ok, so if i disconnect all hdds except for the one that will contain the s.o. when installed i can reconnect the drives and import them?
is that correct?

That is correct!

Regards
System: FreeBSD 12 RootOnZFS, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
Addons at GitHub
JoseMRPubServ
Boot Environments Intro

Killrob
Starter
Starter
Posts: 17
Joined: 17 Apr 2019 13:10
Status: Offline

Re: From freenas to XigmaNas

#5

Post by Killrob » 10 May 2019 22:01

ok, i've done the migration to Xigmanas but i've some issue to import pools, system asks me to configure a virtual device. If i add it i loose my data on pools or not?

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1114
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: From freenas to XigmaNas

#6

Post by JoseMR » 11 May 2019 00:11

Killrob wrote:
10 May 2019 22:01
ok, i've done the migration to Xigmanas but i've some issue to import pools, system asks me to configure a virtual device. If i add it i loose my data on pools or not?
You don't need to create any vdevs, just importing them, follow below simple instructions do do so:

Preferred method:
1: Go to "Disks > Management > HDD Management" and Click on "Import Disks" and Apply.
2: Go to: "Disks > ZFS > Configuration > Synchronize" and click on "Synchronize" and apply.

Alternative method:
1: Execute "zpool import -f -a" from the shell.
2: Go to: "Disks > ZFS > Configuration > Synchronize" and click on "Synchronize" and apply.

Regards
System: FreeBSD 12 RootOnZFS, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
Addons at GitHub
JoseMRPubServ
Boot Environments Intro

Killrob
Starter
Starter
Posts: 17
Joined: 17 Apr 2019 13:10
Status: Offline

Re: From freenas to XigmaNas

#7

Post by Killrob » 11 May 2019 14:15

hi,

this is my actual situation after import:
pools:
pools.gif
hdd manage:
hddgestione.gif
as you can see pools are ok but tells me unkown or unformatted file system.
What i have to do?

p.s.: i can't see any share from my win 10 pc
You do not have the required permissions to view the files attached to this post.

Killrob
Starter
Starter
Posts: 17
Joined: 17 Apr 2019 13:10
Status: Offline

Re: From freenas to XigmaNas

#8

Post by Killrob » 11 May 2019 14:54

and this is the situation of pools, VD, and datasets:
rilevato.gif
You do not have the required permissions to view the files attached to this post.

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1114
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: From freenas to XigmaNas

#9

Post by JoseMR » 11 May 2019 17:33

Killrob wrote:
11 May 2019 14:15
as you can see pools are ok but tells me unkown or unformatted file system.
What i have to do?
Your pools look ok to me and they "ONLINE", forget about the "unkown or unformatted file system" on XigmsNAS since this is a random issue, and some drives formatted with ZFS on RAW drives my trigger this bug.

Note that at this point your drives may also appears available to be formatted(unprotected) but you don't have to do anything, this may be fixed for the next release/upgrade.

Killrob wrote:
11 May 2019 14:54
and this is the situation of pools, VD, and datasets:
rilevato.gif
Again your pools look ok to me, however the "mountpoint " on this drives are not below "/mnt" tand they rather in the root "/", this is a common behavior of "FreeNAS" itself.
Screenshot from 2019-05-11 11-14-59.png
However you can always go to "Disks > ZFS > Pools > Management > Edit" and change this.

Killrob wrote:
11 May 2019 14:15
p.s.: i can't see any share from my win 10 pc
After importing your pools, you should setup the CIFS/SAMBA service properly in order to share the wanted data directories, however in Windows 10 there are some random issues when some users can access they shares with the explorer fine, but others need to enter the "\\path\to\share" in order to assess it.

Regards
You do not have the required permissions to view the files attached to this post.
System: FreeBSD 12 RootOnZFS, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
Addons at GitHub
JoseMRPubServ
Boot Environments Intro

Killrob
Starter
Starter
Posts: 17
Joined: 17 Apr 2019 13:10
Status: Offline

Re: From freenas to XigmaNas

#10

Post by Killrob » 11 May 2019 18:47

some other infos,

now share are ok and i can see them from my win 10 pro pc but in the share named films i have no permission (only read)
here i tried to rename a directory
permesso.gif
in the second share, named serie tv, i can't access in any way

negato.gif
You do not have the required permissions to view the files attached to this post.

Killrob
Starter
Starter
Posts: 17
Joined: 17 Apr 2019 13:10
Status: Offline

Re: From freenas to XigmaNas

#11

Post by Killrob » 11 May 2019 19:03

hi, i've also noticed this weird thing in datasets:
datasets.gif
is normal that for serie_tv there are a lot of datasets? and can be removed in some way?
You do not have the required permissions to view the files attached to this post.
Last edited by Killrob on 11 May 2019 19:03, edited 1 time in total.

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1114
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: From freenas to XigmaNas

#12

Post by JoseMR » 11 May 2019 19:03

Killrob wrote:
11 May 2019 18:47
some other infos,

now share are ok and i can see them from my win 10 pro pc but in the share named films i have no permission (only read)
here i tried to rename a directory
permesso.gif

in the second share, named serie tv, i can't access in any way


negato.gif

Hello, please go to "Disks > ZFS > Datasets > Dataset" and change the wanted datasets "Access Restrictions" from there(recommended).

Alternatively you can run below sample commands manually set recursive permission to quick access the share content in the meantime:

Code: Select all

chmod -R 0775 /films
chmod -R 0775 /serie_tv
Regards
System: FreeBSD 12 RootOnZFS, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
Addons at GitHub
JoseMRPubServ
Boot Environments Intro

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1114
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: From freenas to XigmaNas

#13

Post by JoseMR » 11 May 2019 19:06

Killrob wrote:
11 May 2019 19:03
hi, i've also noticed this weird thing in datasets:

datasets.gif

is normal that for serie_tv there are a lot of datasets? and can be removed in some way?
Those are leftovers datasets from "FreeNAS" for RRDGraph and system settings, unless you definitely want to make the switch to XigmaNAS, Do NOT touch those datasets and ignore, otherwise they may be deleted later.

Regards
System: FreeBSD 12 RootOnZFS, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
Addons at GitHub
JoseMRPubServ
Boot Environments Intro

Killrob
Starter
Starter
Posts: 17
Joined: 17 Apr 2019 13:10
Status: Offline

Re: From freenas to XigmaNas

#14

Post by Killrob » 11 May 2019 19:20

ok JoseMR, i've moved both the mountpoints under /mnt and i applied permissions like this

Code: Select all

chmod -R 0775 /mnt/films
chmod -R 0775 /mnt/serie_tv
and in tools>file manager of quixplorer i got this
gestore.gif
but nothing happens, i still can't rename a directory in films and can't access at all in serie tv

ok there is a flash news:

if i use the ip of the server instead of the name, now i can access also to serie tv, but i'm still not able to copy files on them or rename a directory
You do not have the required permissions to view the files attached to this post.

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1114
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: From freenas to XigmaNas

#15

Post by JoseMR » 11 May 2019 19:34

Killrob wrote:
11 May 2019 19:20
ok JoseMR, i've moved both the mountpoints under /mnt and i applied permissions like this

Code: Select all

chmod -R 0775 /mnt/films
chmod -R 0775 /mnt/serie_tv
and in tools>file manager of quixplorer i got this

gestore.gif

but nothing happens, i still can't rename a directory in films and can't access at all in serie tv

ok there is a flash news:

if i use the ip of the server instead of the name, now i can access also to serie tv, but i'm still not able to copy files on them or rename a directory
Looks like you haven't properly set the datasets owner/permission under "Disks > ZFS > Datasets > Dataset" or haven't configured an user account at all?

However you can give full access to the dataset/contents with below command until you can familiarize more with the WebGUI:

Code: Select all

chmod -R 0777 /mnt/films
chmod -R 0777 /mnt/serie_tv
Regards
System: FreeBSD 12 RootOnZFS, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
Addons at GitHub
JoseMRPubServ
Boot Environments Intro

Killrob
Starter
Starter
Posts: 17
Joined: 17 Apr 2019 13:10
Status: Offline

Re: From freenas to XigmaNas

#16

Post by Killrob » 11 May 2019 19:51

this is the ss of the permissions in DISKS > ZFS > Dataset >Dataset

i've created a user called 'killrob'
proprietario.gif
You do not have the required permissions to view the files attached to this post.

Killrob
Starter
Starter
Posts: 17
Joined: 17 Apr 2019 13:10
Status: Offline

Re: From freenas to XigmaNas

#17

Post by Killrob » 11 May 2019 19:57

JoseMR wrote:
11 May 2019 19:34


Looks like you haven't properly set the datasets owner/permission under "Disks > ZFS > Datasets > Dataset" or haven't configured an user account at all?

However you can give full access to the dataset/contents with below command until you can familiarize more with the WebGUI:

Code: Select all

chmod -R 0777 /mnt/films
chmod -R 0777 /mnt/serie_tv
Regards
i've applied the commands you say with no success, still can't create or modify directory/files

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1114
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: From freenas to XigmaNas

#18

Post by JoseMR » 11 May 2019 20:26

Killrob wrote:
11 May 2019 19:57
i've applied the commands you say with no success, still can't create or modify directory/files

Please verify if inside the shares there are hidden files named like .acls or .samba or something.

Dealing with this permission issues may be too broad, and sometimes a hassle for users unfamiliar with the WebGUI.
You can use either SSH or the Buil-in file manager to check if this ".somefile" exist inside the share path and rename them to ".somefile.old" and restart the CIFS/SAMBA service and re-try access the share.
System: FreeBSD 12 RootOnZFS, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
Addons at GitHub
JoseMRPubServ
Boot Environments Intro

Killrob
Starter
Starter
Posts: 17
Joined: 17 Apr 2019 13:10
Status: Offline

Re: From freenas to XigmaNas

#19

Post by Killrob » 11 May 2019 20:33

on each file of films i have operation not permitted when i apply chmod -R 0777 /mnt/films

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1114
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: From freenas to XigmaNas

#20

Post by JoseMR » 11 May 2019 20:44

Killrob wrote:
11 May 2019 20:33
on each file of films i have operation not permitted when i apply chmod -R 0777 /mnt/films

Pleas re-try as root and restart samba this should give full access, use the console or shell, not in WebGUI execute command or from the file manager.
System: FreeBSD 12 RootOnZFS, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
Addons at GitHub
JoseMRPubServ
Boot Environments Intro

Killrob
Starter
Starter
Posts: 17
Joined: 17 Apr 2019 13:10
Status: Offline

Re: From freenas to XigmaNas

#21

Post by Killrob » 11 May 2019 20:57

ok i solved all it was an owner problem.
Before was all owned as user '1001'
After a chown -R /mnt/films and chown -R /mnt/serie_tv all shares are writable.

Thank you all Jose for you assistance.

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1114
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: From freenas to XigmaNas

#22

Post by JoseMR » 11 May 2019 21:03

Killrob wrote:
11 May 2019 20:57
ok i solved all it was an owner problem.
Before was all owned as user '1001'
After a chown -R /mnt/films and chown -R /mnt/serie_tv all shares are writable.

Thank you all Jose for you assistance.

Glad you got your shares accessible now :) , now you can familiarize more with the WebGUI and tighter your share security.

Regards
System: FreeBSD 12 RootOnZFS, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
Addons at GitHub
JoseMRPubServ
Boot Environments Intro

Post Reply

Return to “Newbie Questions”