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!

infrastructure zfs/zpool/vPool

Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
JayG
NewUser
NewUser
Posts: 8
Joined: 06 Sep 2012 23:36
Status: Offline

infrastructure zfs/zpool/vPool

Post by JayG »

Hello Everybody,
First of all, sorry for my english, I'm French but I'll try to be as comprehensible as possible ;)
Here is what I Have :
1 Home-Server
4 Disk : 1*40Go and 3*3To

Here is what I want :
1 server which manage my website
1 server which manage my share

So,
I've installed a Debian-Server on my disk of 40Go (sda)
I've installed KVM and ZFS on the Debian-Server
I create a zpool :
# zpool create poolRaidZ raidz sdb sdc sdd

I Want to segment this pool in different parts :
# zfs create -V 100G poolRaidZ/vPoolKVM //I create a virtual disk where VMs will be stored
# zfs create -V 4000G poolRaidZ/vPoolShare //I create a virtual disk which will be add to a VM for a share

I created a filesystem ext3 in vPoolKVM where :
I installed a first VM : debian-web-server
I installed a second VM : debian-samba-server

I want to add vPoolShare to the VM debian-samba-server
and manage samba from this VM

First of all,
do you have suggestion? question? something to improve?
Then,
I would like to know (which commands) how is it possible to :
1- Create a virtual disk
2- Add a ZFS filesystem (instead of my ext3fs) to this virtual disk

Here is what I tried :
# zfs create -V 100G poolRaidZ/vPoolShare //OK
# zfs create poolRaidZ/vPoolShare/share
cannot create 'poolRaidZ/vPoolShare/share': parent is not a filesystem

Last question : Will I be able to add more space to my vPoolShare in the futur (if I add another physical disk to my poolRaidZ) ?

Thank you for you replies,
I have studied zfs and zpool man but I seem to don't understand everything...

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

Re: infrastructure zfs/zpool/vPool

Post by raulfg3 »

part of the problem is that you come from linux Is'n it?.

If your plan is to use debian, why not try OMV?: http://www.openmediavault.org/

I'm not sure if what you want in N4F is possible, and if possible you need to be a BSD/Debian guru, so try other way, go to debian/OMV
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

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

Re: infrastructure zfs/zpool/vPool

Post by b0ssman »

might i suggest a different approach?

install vmware esxi on a usb stick and run the servers that you need in as virtual machines in that.
1 debian
1 nas4free

and add the 3 drives directly to nas4free vm.
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.

JayG
NewUser
NewUser
Posts: 8
Joined: 06 Sep 2012 23:36
Status: Offline

Re: infrastructure zfs/zpool/vPool

Post by JayG »

Hello,
b0ssman wrote:might i suggest a different approach?
install vmware esxi on a usb stick and run the servers that you need in as virtual machines in that.
1 debian
1 nas4free
and add the 3 drives directly to nas4free vm.
I would like to use debian OS, I use an UPS which can turn off a linux OS automatically if needed whereas it doesn't work well with esxi
I also would like to use KVM because i know esxi and I would like to see what open source proposes in virtualization ;)
raulfg3 wrote:I'm not sure if what you want in N4F is possible, and if possible you need to be a BSD/Debian guru, so try other way, go to debian/OMV
I used to use N4F for 2 years (Freenas and then N4F), but BSD OS aren't very easy to use... Each problem was very hard to solve...

Post Reply

Return to “ZFS (only!)”