napp-it ZFS Storage appliance for Linux + Solaris

gea

Well-Known Member
Dec 31, 2010
2,535
856
113
DE
napp-it on Linux

I support Linux (Ubuntu 12 LTS) up from napp-it 0.9e2L
with basic ZFS, disk and job management, monitoring and remote replication from/to Solaris

Restrictions:
Linux is not my preferred or main platform. Many napp-it features rely on Solaris projects like the CIFS server with full Windows SID and ACL support, Comstar iSCSI or Crossbow network virtualisation. A napp-it version with similar functionality like on OmniOS is currently not planned.

current state: first preview, work in progress

more
napp-it // webbased ZFS NAS/SAN appliance for OmniOS, OpenIndiana and Solaris downloads

Install first preview via
wget -O - www.napp-it.org/nappit-u | perl


This release is combined Solaris/Linux (please test this release with OmniOS as well)
 
Last edited:
  • Like
Reactions: Nnyan

rubylaser

Active Member
Jan 4, 2013
842
229
43
Michigan, USA
Wow, this is a great surprise! Just tested on Ubuntu 12.04.4 64 bit server, and it seems to work really well. One thing you might want to add to your directions is to
Code:
apt-get install python-software-properties -y
before you setup the ppa for zfs, otherwise that command will fail.
 
Last edited:

gea

Well-Known Member
Dec 31, 2010
2,535
856
113
DE
Wow, this is a great surprise! Just tested on Ubuntu 12.04.4 64 bit server, and it seems to work really well. One thing you might want to add to your directions is to
Code:
apt-get install python-software-properties -y
before you setup the ppa for zfs, otherwise that command will fail.

Thanks
Added to the howto (together with setup instructions for Debian 7 and basic hints about other distributions)
http://napp-it.org/downloads/linux_en.html
 
Last edited:

Patrick

Administrator
Staff member
Dec 21, 2010
12,004
4,988
113
OK... so this is the coolest thing... Ubuntu ZoL Napp-it in Hyper-V with proper integration components AND it works with Hyper-V pass-through so you can present raw disks to the VM without Hyper-V or an add-in controller.

BTW gea:

Code:
apt-get install ubuntu-zfs
apt-get install nfs-kernel-server samba
Can be changed to:
Code:
apt-get install ubuntu-zfs -y
apt-get install nfs-kernel-server samba -y

Adding -y just means you can use the disk space.

Sitting at under 3.5GB right now on the dynamically expanding .vhdx.

Next step: Supermicro A1SAi-2750F with Hyper-V Server 2012 R2 + vyatta and ZoL Napp-it
 

rubylaser

Active Member
Jan 4, 2013
842
229
43
Michigan, USA
Can be changed to:
Code:
apt-get install ubuntu-zfs -y
apt-get install nfs-kernel-server samba -y

Adding -y just means you can use the disk space.

Sitting at under 3.5GB right now on the dynamically expanding .vhdx.

Next step: Supermicro A1SAi-2750F with Hyper-V Server 2012 R2 + vyatta and ZoL Napp-it
Patrick, I hope you plan to do this and provide a write-up, I'd be very interested. I'd especially be interested in some directions for users to do some simple tasks in vyatta like setting up OpenVPN Road Warrior, port forwarding, or a standard home option like a dynamic DNS client update.

As a sidenote gea, you can chain all your commands together if you want to do it all on one line.
Code:
apt-get update && apt-get install ubuntu-zfs nfs-kernel-server samba -y
Finally, just a little correction, the -y option is the shorter version of the option --assume-yes. It assumes "yes" as answer to all prompts and will run non-interactively. Meaning you don't need to answer yes to actually install these packages.
 
Last edited:

Patrick

Administrator
Staff member
Dec 21, 2010
12,004
4,988
113
rubylaser - I am certainly working on this. The initial Hyper-V piece is scheduled for Tuesday.

Good catch on the -y. That was probably an overly simplistic explanation. :)
 

MiniKnight

Well-Known Member
Mar 30, 2012
2,999
909
113
NYC
rubylaser - I am certainly working on this. The initial Hyper-V piece is scheduled for Tuesday.

Good catch on the -y. That was probably an overly simplistic explanation. :)
Patrick do you have any update? I've been waiting all weekend for this.
 

mattlach

Member
Aug 1, 2014
153
14
18
A few questions:

1.) Is this linked guide still up to date? (considering this post is 2 years old)

2.) How stable is this? Is it production ready at this point?

3.) If I were to migrate from a current FreeNAS to this Napp-IT on Linux setup, are there any major features I'd be missing?

4.) Is there any reason I couldn't (or shouldn't) install this inside an LXC container with direct access to my two LSI 9211-8i HBA's? It seems like a fantastic opportunity to reduce virtualization overhead of my NAS, especially considering how much RAM ZFS likes.

Much obliged,
Matt
 

gea

Well-Known Member
Dec 31, 2010
2,535
856
113
DE
1
more or less

2
napp-it on Linux is a basic management option to help managing zfs, pools, disks snaps and shares with an autojob function for snaps, scrubs, alerts and replication in a Web-Gui as an alternative to the console option. Only a small fraction of the features of the Solaris version are included. This does not affect Linux stability so the question is more if ZoL is as production ready as ZFS on Solarish where it comes from and was developed for or BSD where it is available for years. This is a little different to FreeNAS where GUI and a special distribution of BSD is a combo and where you should not use the console.

3
Linux and BSD are quite similar regarding storage services ex SAMBA. This is different to Solarish where Sun had developed and integrated their own storage services into the OS/kernel and around ZFS like their kernelbased CIFS server, iSCSI with Comstar and NFS.

Feature wise, the differences between BSD and Linux may be small. You may miss some GUI storage management options on Zol compared to FreeNas or napp-it on OmniOS/Solaris.

4.
ZFS does not need or like RAM beside the dedup feature.
Its your performance demand or expectation that requires RAM. If you are satisfied with 50-200MB/s sequential disk performance and around 100 iops you are ok with 2 GB RAM. With a lot of RAM on ZFS most reads are delivered from a readcache what can improve performance dramatically.
 
Last edited:

gea

Well-Known Member
Dec 31, 2010
2,535
856
113
DE
I have not tried RedHat but napp-it on Linux is stripped down to pure ZFS and Job/Snap management so it requires only ZFS (and this is quite identical in every Open-ZFS setup) and mini-httpd as the underlying webserver, it should work on any Linux when the two are installed. Perl should be available always per default.

That said, I do not fully support Linux as every Linux distribution is a little different and even Debian and Ubuntu (where I tested napp-it) is different from release to release. This is also the reason why I removed setup of ZFS from the Linux installer to allow core napp-it to be as OS independent as possible.
 

mad1993max

New Member
Jan 27, 2016
17
0
1
30
how can i start it after wget finished, the napp-it command doesnt work?
also is there a ways to autostart it?
 

gea

Well-Known Member
Dec 31, 2010
2,535
856
113
DE
have you:

- install any Linux
- open a console, enter su and cd /root
- setup ZFS
- on Ubuntu 16: apt-get install zfsutils-linux
- on Debian 8.6, use apt-get install lsb-release, wget ..zfsonlinux..deb, dpkg ...deb,
apt-get update, apt-get install debian-zfs
On Debian you must install sudo: apt-get install sudo
- run: wget -O - www. napp-it.org/nappit | perl

This downloads napp-it
Start napp.it for the first time with root permissions via
sh /var/web-gui/data/tools/linux/napp-it

After the initial start, you can start via commands "napp-it" and stop via "napp-it-stop"
There is no autostart enabled during boot

When you have created a pool, you shoukd export/import to pool to use wwn disk enumaration
On another Linux it may run if you install netcat and mini-http manually: You only need a working sudo beside that.

napp-it // webbased ZFS NAS/SAN appliance for OmniOS, OpenIndiana, Solaris and Linux : Linux

Autostart of napp-it requires to start mini-httpd similar to the start cmd but as every Linux distribution, even from release to release behaves different, I did not offer this myself. A better integration would require that I support only one distribution/version or distribute my own Linux storage distribution what I do not intend.
 
  • Like
Reactions: T_Minus

gea

Well-Known Member
Dec 31, 2010
2,535
856
113
DE
Unlike most storage server distributions, napp-it is independent from the underlying OS so it depends on the OS. Open-ZFS pools are intended to be platform independend but every platform can add features first. In the past Illumos (OmniOS as a distribution) was the reference platform where they appear first but nowadays this can be different. An example is real ZFS encryption similar to Oracle ZFS where ZoL will be the first to offer.

Another problem can occur with pools from BSD where disks are partitioned and do not use the whole disks, so you can only just try. Either an import works or not and then only FreeNAS 10 can import again.

If you have a spare disk around, just install OmniOS (latest stable or dev/bloody) and try an import.
 
Last edited: