Moving from OMV to Freenas Disaster

gwaitsi

Patron
Joined
May 18, 2020
Messages
243
Newbie here (but it shouldn't be this difficult !!!)
Was running OMV from v2 to current v5 (on the whole, without issue - and brilliant support from the limited # developers)

got myself a supermicro X11 and setup the full monty. expected to be able to simply import the data from my backup ext4
(maybe that should be a visible warning on the installation package - you can't simply migrate from linux based nas systems)

1) got a new disk and formatted as Ext3 transferred the data to that. Getting the same error i was when trying to mount the ext4
Error: Mount failed (exit code 1): mount: /dev/ada2p1: Invalid argument
Error: Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 349, in run
await self.future
File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 385, in __run_body
rv = await self.method(*([self] + args))
File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 961, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/pool.py", line 2027, in import_disk
async with MountFsContextManager(self.middleware, device, src, fs_type, fs_options, ["ro"]):
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/pool.py", line 283, in __aenter__
await mount(self.device, self.path, *self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/pool.py", line 142, in mount
output[1].decode("utf-8"),
ValueError: Mount failed (exit code 1):
mount: /dev/ada2p1: Invalid argument

2) it LACP doesn't work with netgear switches, although i am running other devices with no problems

3) doesn't seem to have a graphic config for the most basic of tasks e.g. ClamAV, Log Viewing, etc
4) doesnt seem to support hot swapping drives or usb drives and backups to USB drives

maybe it is just my lack of product knowledge, but i certainly can't say this is a good experience. weekend gone and still nothing usable.
Almost ready to trash it and go back to OMV on new hardware
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
got myself a supermicro X11 and setup the full monty. expected to be able to simply import the data from my backup ext4
(maybe that should be a visible warning on the installation package - you can't simply migrate from linux based nas systems)

1) got a new disk and formatted as Ext3 transferred the data to that. Getting the same error i was when trying to mount the ext4
Did you even look at the section of the manual related to that? https://www.ixsystems.com/documentation/freenas/11.3-U4/storage.html#importing-a-disk

Ext 3&4 not officially supported but may work with some cajoling. Ext2 is supported.

2) it LACP doesn't work with netgear switches, although i am running other devices with no problems
Plenty of folks have LACP working, maybe you're not correctly setting it up.

3) doesn't seem to have a graphic config for the most basic of tasks e.g. ClamAV, Log Viewing, etc
ClamAV is a plugin, so not the most basic, but it indeed has no GUI. Critical errors are raised via the alerts and notifications systems... there's no GUI for viewing the entire logs unless you use the Shell option in the GUI.

4) doesnt seem to support hot swapping drives or usb drives and backups to USB drives
SATA or SAS controllers that support hot-swap are supported... do you have one of those?

USB is recommended to avoid in general, but there should be nothing stopping you from disconnecting a drive that has no mounted content.

maybe it is just my lack of product knowledge, but i certainly can't say this is a good experience. weekend gone and still nothing usable.
Almost ready to trash it and go back to OMV on new hardware
If you're not interested in doing the homework, maybe it's best to stick with what you know.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
(maybe that should be a visible warning on the installation package - you can't simply migrate from linux based nas systems)
You can't simply use it to design an airplane, either. Should that also be a warning? You seem to have expectations of what FreeNAS will do that aren't based in reality or the documentation. If you're considering using it, it would be worth consulting that documentation to see whether it will do what you want it to do.
doesn't seem to have a graphic config for the most basic of tasks e.g. ClamAV, Log Viewing, etc
No, it doesn't. Why did you expect otherwise? Certainly nothing in the manual would have suggested it does this. Much of this could be done in jails if desired, but it isn't part of the base system.
doesnt seem to support hot swapping drives
Of course it does, if your hardware does.
or usb drives
I don't know what kind of "support" you think it lacks for USB drives, but it sees them just fine and treats the same as any other drive. Any sort of long-term usage is discouraged, though, as their controllers are generally pretty flaky.
backups to USB drives
FreeNAS doesn't really have much in the way of built-in backup capability--the closest would be snapshots and replication. Again, as far as it's concerned, a drive is a drive.
 

gwaitsi

Patron
Joined
May 18, 2020
Messages
243
i have a UNAS with hot swapable drives SATA drives. If i add a new drive, i need to reboot to get the Disks menu to see the new drive
If i plug a drive in via the USB3 interface, it is also not recognised until i do a reboot.

of course, i would try to force the lagg0 interface to "media 1000baseTX mediaopt full-duplex"
- but the option doesn't seem to do anything as ifconfig still shows it was auto-negotiated
 
Last edited:

ornias

Wizard
Joined
Mar 6, 2020
Messages
1,458
i have a UNAS with hot swapable drives SATA drives. If i add a new drive, i need to reboot to get the Disks menu to see the new drive
If i plug a drive in via the USB3 interface, it is also not recognised until i do a reboot.

I have no Idea how you put drives in a Unas:
340
 

gwaitsi

Patron
Joined
May 18, 2020
Messages
243

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
i have a UNAS with hot swapable drives SATA drives. If i add a new drive, i need to reboot to get the Disks menu to see the new drive
As already mentioned by me and @danb35 , but to make it clearer, the disk controller you're connected to needs to support hot-plug. Evidently that's not the case, so having a capable chassis is only half the equation. You may be able to get an LSI HBA in there to do the job right.
 

gwaitsi

Patron
Joined
May 18, 2020
Messages
243
As already mentioned by me and @danb35 , but to make it clearer, the disk controller you're connected to needs to support hot-plug. Evidently that's not the case, so having a capable chassis is only half the equation. You may be able to get an LSI HBA in there to do the job right.

Ke....It was working as hot-plug under OMV for the last four years, on an AsRock E351M motherboard. Are you suggesting a SuperMicro X11SCL-IF motherboard is not capable, or freebsd is not capable?
 

gwaitsi

Patron
Joined
May 18, 2020
Messages
243
the problem with the LAGG is related to the vlan, but i don't know how to fix it.

On the netgear interface, i can tag only the vlan for the LAG interface.
How do i config so the LAG interface is attached to vlan2 only.
I am using the IPMI port for the LAN interface. but by configuring the LAGG to the LAN interface it is working.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,703
Ke....It was working as hot-plug under OMV for the last four years, on an AsRock E351M motherboard. Are you suggesting a SuperMicro X11SCL-IF motherboard is not capable, or freebsd is not capable?
It's likely to be the driver for your SATA controller in FreeBSD. The driver for LSI HBA cards (and a bunch of others) works fine.
 

ornias

Wizard
Joined
Mar 6, 2020
Messages
1,458
Very simply, they clip in and out...
Thats called "A Joke" ;-)

Ke....It was working as hot-plug under OMV for the last four years, on an AsRock E351M motherboard. Are you suggesting a SuperMicro X11SCL-IF motherboard is not capable, or freebsd is not capable?
Just because motherboard A worked fine on OMV, doesn't mean Motherboard B should work fine with FreeNAS.
 

Yorick

Wizard
Joined
Nov 4, 2018
Messages
1,912

gwaitsi

Patron
Joined
May 18, 2020
Messages
243
This USB job? https://www.amazon.com/U-NAS-NSC-401-Storage-Server-Chassis/dp/B06XBJQZ55

How does the U-NAS connect to your FreeNAS server?

If it's USB that'll be ... fraught. Plenty of people here are running hot-swap. Typically on an LSI SAS HBA, connected to some form of caddy - the 3x5.25 to 4/5x3.5 ones are popular. Or external drive enclosures with a SAS Expander.

I use the U-NAS 401 case - with a Supermicro X11SCL-IF motherboard. (you can buy just the cases from U-NAS)
- the backplain of the case, provides 4x Sata3 + the motherboard supports USB3.
 

gwaitsi

Patron
Joined
May 18, 2020
Messages
243
this is really crap. reformatted the transfer disk to ext2 and it still gives the same error

Error: Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 349, in run
await self.future
File "/usr/local/lib/python3.7/site-packages/middlewared/job.py", line 385, in __run_body
rv = await self.method(*([self] + args))
File "/usr/local/lib/python3.7/site-packages/middlewared/schema.py", line 961, in nf
return await f(*args, **kwargs)
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/pool.py", line 2027, in import_disk
async with MountFsContextManager(self.middleware, device, src, fs_type, fs_options, ["ro"]):
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/pool.py", line 283, in __aenter__
await mount(self.device, self.path, *self.args, **self.kwargs)
File "/usr/local/lib/python3.7/site-packages/middlewared/plugins/pool.py", line 142, in mount
output[1].decode("utf-8"),
ValueError: Mount failed (exit code 1):
mount: /dev/ada2p1: Invalid argument
 

ornias

Wizard
Joined
Mar 6, 2020
Messages
1,458
Why are you running ZFS import on a EXT2 disk if I may ask?
(As I don't think pool.py deals with ext2, please correct me if i'm wrong, don't have time to verify)
 

gwaitsi

Patron
Joined
May 18, 2020
Messages
243
Why are you running ZFS import on a EXT2 disk if I may ask?
(As I don't think pool.py deals with ext2, please correct me if i'm wrong, don't have time to verify)

I may be new to freenas, but i'm not that wet behind the ears.
I am using the Import Disk option.
- select the disk (there is only one the ext2 which is not in a pool)
- select the filesystem EXT2FS
- select the destination path
- save
bang - error

from the shell
mount -t ext2fs /dev/ada2p1 /mnt/data_volume
mount: -t ext2fs /dev/ada2p1: Invalid Arguement

from the console i see
Aug 23 18:03:58 nas ext2fs: ada2: wrong magic number 0 (expected 0xef53)
Aug 23 18:04:44 nas WARNING: mount of ada2p1 denied due to unsupported optional features:
Aug 23 18:04:44 nas 64bit
 

Yorick

Wizard
Joined
Nov 4, 2018
Messages
1,912
the backplain of the case, provides 4x Sata3 + the motherboard supports USB3.

While this will work, as you have found, the hot-plug functionality does not work over USB in FreeNAS. The only thing I've seen people say about USB storage on FreeNAS is "don't". Your mileage will vary, of course. Just be aware that's not considered stable, people have lost data that way.
 

ornias

Wizard
Joined
Mar 6, 2020
Messages
1,458
from the console i see
Aug 23 18:03:58 nas ext2fs: ada2: wrong magic number 0 (expected 0xef53)
Aug 23 18:04:44 nas WARNING: mount of ada2p1 denied due to unsupported optional features:
Aug 23 18:04:44 nas 64bit
It's quite clear:
0xef53 is the superblock for ext2 and your harddrive is reporting superblock 0 so the thing you are mounting is not a valid ext2 partition
 

gwaitsi

Patron
Joined
May 18, 2020
Messages
243
It's quite clear:
0xef53 is the superblock for ext2 and your harddrive is reporting superblock 0 so the thing you are mounting is not a valid ext2 partition

why does it successfully mount on linux and receive all the data then?
why can't freebsd do raw commands in gpart to create an ext2fs partition?

if just reformatted the disk on a windows machine as NTFS and checked that it can be imported.

From my perspective the ext2fs is broken on freenas / freebsd in the latest 11.3U4.1 release
 

Yorick

Wizard
Joined
Nov 4, 2018
Messages
1,912
This may help you:

Code:
gpart show /dev/ada2
geom PART list ada2
 
Top