infrastructure zfs/zpool/vPool
Posted: 18 May 2013 01:13
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...
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...