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!

[HOWTO] Install KVM VIRTIO

New installs of XigmaNAS.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
trendco
Starter
Starter
Posts: 70
Joined: 20 Jan 2013 18:59
Status: Offline

[HOWTO] Install KVM VIRTIO

Post by trendco »

Hi,

for better Speed (Net & Disk) with KVM (for example PROXMOX), you can installl VIRTIO-Drivers:

I use NAS4FREE Version 9.1.0.1 - Sandstorm

- Download Drivers from http://people.freebsd.org/~kuriyama/virtio/ -> http://people.freebsd.org/~kuriyama/vir ... 242658.tbz
- NAS4FREE Webinterface -> System -> Packages -> Press "+" -> search the Download File -> Press "Install"
- NAS4FREE Webinterface -> Advanced -> File Editor -> Press "..." -> Click "boot" -> Click "loader.conf" -> Click "Ok" -> Click "Load" -> Insert the following at the end:

Code: Select all

virtio_load="YES"
virtio_pci_load="YES"
virtio_blk_load="YES"
if_vtnet_load="YES"
virtio_balloon_load="YES"
- Click "Save"
- Shutdown the NAS4FREE VM
- Now you can change the Network Interface to "virtio" and add Virtio-Disks
- Boot Up the VM and have Fun with the Speed-Upgrade :)

(If you've no Access to the Web Interface now, you have to configure the network IP in the console setup (2) again)

mwapuleni
NewUser
NewUser
Posts: 3
Joined: 25 Nov 2012 20:49
Status: Offline

Re: [HOWTO] Install KVM VIRTIO

Post by mwapuleni »

Hi,

I am tring to set this up but I can't find Packages under System. I use same version as you.

rostreich
Status: Offline

Re: [HOWTO] Install KVM VIRTIO

Post by rostreich »

mwapuleni wrote:Hi,

I am tring to set this up but I can't find Packages under System. I use same version as you.
I think this works only on n4f FULL and not embedded.

mwapuleni
NewUser
NewUser
Posts: 3
Joined: 25 Nov 2012 20:49
Status: Offline

Re: [HOWTO] Install KVM VIRTIO

Post by mwapuleni »

You are right, I needed full version, it is working now. Thanks.

User avatar
siftu
Moderator
Moderator
Posts: 71
Joined: 17 Oct 2012 06:36
Status: Offline

Re: [HOWTO] Install KVM VIRTIO

Post by siftu »

What performance figures are you guys getting with simple iperf and dd tests under PROXMOX? Last I tried with a standard linux distro (Arch) I wasnt so impressed. I might give it a go again
System specs: NAS4Free amd64-embedded on ASUSTeK. M5A78L-M LX PLUS - AMD Phenom(tm) II X3 720 Processor - 8GB ECC Ram, Storage: 2x ZFS mirrors with 4x Western Digital Green (WDC WD10EADS)
My NAS4Free related blog - http://n4f.siftusystems.com/

User avatar
siftu
Moderator
Moderator
Posts: 71
Joined: 17 Oct 2012 06:36
Status: Offline

Re: [HOWTO] Install KVM VIRTIO

Post by siftu »

I tried again and got really good iperf results, disk benchmark wouldnt do it justice on my laptop.. go VIRTIO
System specs: NAS4Free amd64-embedded on ASUSTeK. M5A78L-M LX PLUS - AMD Phenom(tm) II X3 720 Processor - 8GB ECC Ram, Storage: 2x ZFS mirrors with 4x Western Digital Green (WDC WD10EADS)
My NAS4Free related blog - http://n4f.siftusystems.com/

asitechsupport
NewUser
NewUser
Posts: 2
Joined: 13 Mar 2013 17:49
Status: Offline

Re: [HOWTO] Install KVM VIRTIO

Post by asitechsupport »

trendco wrote:Hi,
- Click "Save"
- Shutdown the NAS4FREE VM
- Now you can change the Network Interface to "virtio" and add Virtio-Disks
- Boot Up the VM and have Fun with the Speed-Upgrade :)

(If you've no Access to the Web Interface now, you have to configure the network IP in the console setup (2) again)
Okay, so maybe I'm missing something... When I follow the steps of this post (I'm using PROXMOX v2.2, installed the same version of NAS4FREE and the package from the link), after shutdown of NAS4FREE I changed the network type to VIRTIO, and when I start NAS4FREE it has no network interface. When I attempt to set it up it doesn't detect any interfaces, and the automated routine wants you to plug in the network cord to see the interface, which of course can't be done.

So... I'm a bit rusty on my BSD (using Linux for a while now) how do I get NAS4FREE to see the new VIRTIO network interface?

trendco
Starter
Starter
Posts: 70
Joined: 20 Jan 2013 18:59
Status: Offline

Re: [HOWTO] Install KVM VIRTIO

Post by trendco »

I used also Proxmox-2.2 and since a few days Proxmox-2.3 and it works as described above.
You did the entries in the loader.conf ?

Try to use the 9.1 driver: http://people.freebsd.org/~kuriyama/vir ... 242658.tbz

asitechsupport
NewUser
NewUser
Posts: 2
Joined: 13 Mar 2013 17:49
Status: Offline

Re: [HOWTO] Install KVM VIRTIO

Post by asitechsupport »

trendco wrote:I used also Proxmox-2.2 and since a few days Proxmox-2.3 and it works as described above.
You did the entries in the loader.conf ?

Try to use the 9.1 driver: http://people.freebsd.org/~kuriyama/vir ... 242658.tbz
Well... it's working now! I'll have to do some testing to understand why it didn't work the first few times I tried... If I come up with anything I'll report it back here for others who might have difficulties.

LenIVEc
NewUser
NewUser
Posts: 9
Joined: 06 Feb 2014 10:34
Status: Offline

Re: [HOWTO] Install KVM VIRTIO

Post by LenIVEc »

how can i see Nas4free version (embedded or full)??
I install "full", but don't see packages under system.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: [HOWTO] Install KVM VIRTIO

Post by raulfg3 »

LenIVEc wrote:how can i see Nas4free version (embedded or full)??
I install "full", but don't see packages under system.
in status| system see Platform, can be embeded or full
http://wiki.nas4free.org/doku.php?id=do ... tus_system
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

LenIVEc
NewUser
NewUser
Posts: 9
Joined: 06 Feb 2014 10:34
Status: Offline

Re: [HOWTO] Install KVM VIRTIO

Post by LenIVEc »

oops.... ?!
You do not have the required permissions to view the files attached to this post.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: [HOWTO] Install KVM VIRTIO

Post by raulfg3 »

you have live CD, so really you Can't have a installed Nas4Free and due nature of live version , all changes done in actual sesion are gone when reboot.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

Post Reply

Return to “Install XigmaNAS”