This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

ZFS Duplicated data?? maybe

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
OZnas4freeuser
NewUser
NewUser
Posts: 8
Joined: 22 Jan 2015 02:16
Status: Offline

ZFS Duplicated data?? maybe

Post by OZnas4freeuser »

G'day,

I am a new member of the forum although I have read a lot of posts in the past out of interest.
Some background. I had a Freenas setup with 8 HDDs 6 of which were individual and two as a mirror. As always happens some of those drives got full and .. well you know the story.
I took the opportunity of starting from scratch with NAS4Free and ZFS. I copied all the data off to external storage. Installed NAS4Free on a "Boot" drive and then using the web-browser GUI set up the system as follows.
For ease of explanation I will call the drives A1 & A2, B1 & B2, C1 & C3, D1 & D2. (Note that A, B, C & D are different sizes. The 1 & 2 indicate equal sizes.) I made mirrors of A1 with A2, B1 with B2, C1 with C2 and D1 with D2. I then made a Pool with Mirror1, Mirror2, Mirror3 and Mirror3
I am a bit hazy on what I did next but I copied back all the data. I created two "folders" Rescued and Backup. The copied back data should be in Rescued and Backup is for new data.
Now the problem I have is that all the folders I copied back show up in both places "Rescued" and Backup" I would like to know how to correct this situation. I may have used the wrong terminology in some places here in my explanation.
Would it have been better to make a pool of A1, B1, C1 and D1 another of A2, B2, C2 and D2 and mirrored those pools?
Thanks for your time in reading. Hopefully someone will understand and lead me in the right direction.
Ken

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: ZFS Duplicated data?? maybe

Post by b0ssman »

are your "folders" samba shared that point to the same directory on the mounted pool?

if so then yes you should see the data in both folders.

you should create 2 datasets in the zfs pool and share those.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

OZnas4freeuser
NewUser
NewUser
Posts: 8
Joined: 22 Jan 2015 02:16
Status: Offline

Re: ZFS Duplicated data?? maybe

Post by OZnas4freeuser »

G'day

Thanks for that quick response. Yes, Datasets was the term I was trying to recall.
So I have my pool, MYPOOL, in it there are two Datasets = "Rescued" and "backups". The "folders" in them were copied over, so I thought, to the "Rescued" dataset and the "backups" should be empty. If I connect in either a Windows Explorer window or a Mac Finder window I see NAS4FREE with the aforementioned folders (datasets), clicking on either shows the same content. I don't see any reference to "MYPOOL" which is sort of what I expected. I have hunted around the GUI but I can't see how to do what you are suggesting. When you reach your "threescore years and ten" you aren't quite as sharp as you used to be, so be patient (and that's not to imply you are not).
I do appreciate your help. I am hoping somehow I might get my NAS4Free box working the way I wanted. I did an awful lot of reading before I attempted to set it up but even then I have probably not understood and done something out of sequence.

Ken

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: ZFS Duplicated data?? maybe

Post by b0ssman »

please post your samba share configs
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

OZnas4freeuser
NewUser
NewUser
Posts: 8
Joined: 22 Jan 2015 02:16
Status: Offline

Re: ZFS Duplicated data?? maybe

Post by OZnas4freeuser »

At the risk of feeling foolish but can you tell me how?

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: ZFS Duplicated data?? maybe

Post by b0ssman »

make a screenshot and post it
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

OZnas4freeuser
NewUser
NewUser
Posts: 8
Joined: 22 Jan 2015 02:16
Status: Offline

Re: ZFS Duplicated data?? maybe

Post by OZnas4freeuser »

Is that
Services | CIFS/SMB | Shares
page?

I thought I would be able to work it out myself but ... how do I put my screenshot in here?
I do a lot of forum reading but very little posting (in spite of my age)

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: ZFS Duplicated data?? maybe

Post by b0ssman »

you add them as file attachments to your post
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

OZnas4freeuser
NewUser
NewUser
Posts: 8
Joined: 22 Jan 2015 02:16
Status: Offline

Re: ZFS Duplicated data?? maybe

Post by OZnas4freeuser »

Ok so I think I got it. I was looking for an Icon that said "Attach". But hopefully I have correctly worked it out.
You do not have the required permissions to view the files attached to this post.

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: ZFS Duplicated data?? maybe

Post by b0ssman »

your share point to the same folder /mnt/MYPOOL
because of this they show the same files because it is the same location

you will need to point to the dataset for each share
eg. /mnt/MYPOOL/Rescued and /mnt/MYPOOL/Backup
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

OZnas4freeuser
NewUser
NewUser
Posts: 8
Joined: 22 Jan 2015 02:16
Status: Offline

Re: ZFS Duplicated data?? maybe

Post by OZnas4freeuser »

That's what I presupposed but when I click on the little "path" button to open the window to choose, neither show up. What shows is the list of folders that should be below Rescued (and backups)

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: ZFS Duplicated data?? maybe

Post by b0ssman »

then you have not created a dataset with those names and have moved all the data to the pool
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

OZnas4freeuser
NewUser
NewUser
Posts: 8
Joined: 22 Jan 2015 02:16
Status: Offline

Re: ZFS Duplicated data?? maybe

Post by OZnas4freeuser »

Well I thought I did. But maybe I am mistaken.
Screen shot 2015-01-22 at 7.41.48 PM.png
You do not have the required permissions to view the files attached to this post.

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: ZFS Duplicated data?? maybe

Post by b0ssman »

check from the command line if those folders are there
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

OZnas4freeuser
NewUser
NewUser
Posts: 8
Joined: 22 Jan 2015 02:16
Status: Offline

Re: ZFS Duplicated data?? maybe

Post by OZnas4freeuser »

Interesting. No they are not.
However I created a new dataset Backups (as against backups) and that shows.
So if I create a replacement dataset for rescued how will I be able to move the folders into it. Can I do it from the GUI? If so, how? Or must I do the command line thing? Again, how? I am not afraid of command line but when you are 70 and haven't used it much in recent years (GUI, click and "drag and drop" tend to spoil one) I need a little assistance to jog the old grey cells.

User avatar
b0ssman
Forum Moderator
Forum Moderator
Posts: 2438
Joined: 14 Feb 2013 08:34
Location: Munich, Germany
Status: Offline

Re: ZFS Duplicated data?? maybe

Post by b0ssman »

if you have created the dataset and leave your cifs configuration the same you will be able to move the files using windows.
the dataset will just show up as a folder. just move all the files in there.
Nas4Free 11.1.0.4.4517. Supermicro X10SLL-F, 16gb ECC, i3 4130, IBM M1015 with IT firmware. 4x 3tb WD Red, 4x 2TB Samsung F4, both GEOM AES 256 encrypted.

Post Reply

Return to “ZFS (only!)”