n8lbv
Explorer
- Joined
- Sep 12, 2017
- Messages
- 58
Short version:
1- I'm trying to copy a zvol used for iscsi over to a new dataset.
2- Reading suggests I need to take a snapshot first and actually copy that over using zfs send.
3- I'm stuck not able to take a snapshot (not enough space error).
4- Probably due to my misprovisoning using/allocating too much diskspace for the dataset.
5- Looking to figure out if there really is enough free space to make this work and make it work
without wiping out the source dataset/zvol. or force downsizing it.
of course I'm not sure how to force downsize it either and the gui does not allow this for obvious reasons.
----
I'm very new to FreeNAS and am trying to get my head around why I can't take my first snapshot.
This is just a test system that I am trying to learn on.
This is a zvol being used for ISCSI.
It's the first and only snapshot I'm trying to take.
And yes I'm sure it's because "I'm out of space" like it reports.
And something to do with how I misprovisioned the system.
I've been reading and reading and have more reading to go obviously.
The situation I have created is that I have the working zvol/iscsi on a two (two 2TB) drive mirror, intentionally failed one drive
and is running and working on one drive. (degraded state)
That should have nothing to do with what I am trying to do but is mentioned in case it comes up later for any reason.
Yes I can simply install a new drive and rebuild but that is NOT what I am trying to teach/put myself through here.
-Sorry sidetrack-
I have added a new dataset which is a 2TB stripe of two 1TB drives.
The task I am trying to complete (and learn from) is to simply copy the existing zvol over to the newly created dataset.
Really that's it.
For this test it really doesn't matter that it's two 1TB drives in a stripe, it could just be a new 2TB or 4 TB drive
That the new dataset is on for all I care.
From what I'm reading I'm supposed to create a snapshot and basically use zfs send to get a copy over to the new dataset.
But I am running into the out of space error..
From the ISCSI view there is 640GB of 1600GB free (see my misprovisioning?) I used way more than 50% of what was available.
Freenas shows 1.6GB used and 134GB available..
Just from those numbers and no experience I'd think my one and only snapshot should work.
Been at it a little long.
Trying to get my head around *this*
https://docs.oracle.com/cd/E19253-01/819-5461/gbdbb/index.html
And trying to determine if once I figure this out if it is what I need to adjust
in or der to get the snapshot to fly before I try to send it over to the new dataset.
Am I even barking up the right tree here?
The end goal is that I just want to see if I can actually copy a test zvol used for iscsi over to a new fresh dataset.
Thanks for pointers and patience.
zfs list
NAME USED AVAIL REFER MOUNTPOINT
Stripey 544K 1.76T 88K /mnt/Stripey
Twin-2 1.63T 134G 88K /mnt/Twin-2
Twin-2/.system 9.77M 134G 96K legacy
Twin-2/.system/configs-9a9c823ea6d045b2b2330e3252de4f8d 200K 134G 200K legacy
Twin-2/.system/cores 644K 134G 644K legacy
Twin-2/.system/rrd-9a9c823ea6d045b2b2330e3252de4f8d 8.25M 134G 8.25M legacy
Twin-2/.system/samba4 268K 134G 268K legacy
Twin-2/.system/syslog-9a9c823ea6d045b2b2330e3252de4f8d 260K 134G 260K legacy
Twin-2/.system/webui 88K 134G 88K legacy
Twin-2/ZV1 1.63T 1016G 782G -
freenas-boot 762M 6.04G 64K none
freenas-boot/ROOT 761M 6.04G 29K none
freenas-boot/ROOT/Initial-Install 1K 6.04G 756M legacy
freenas-boot/ROOT/default 761M 6.04G 756M legacy
1- I'm trying to copy a zvol used for iscsi over to a new dataset.
2- Reading suggests I need to take a snapshot first and actually copy that over using zfs send.
3- I'm stuck not able to take a snapshot (not enough space error).
4- Probably due to my misprovisoning using/allocating too much diskspace for the dataset.
5- Looking to figure out if there really is enough free space to make this work and make it work
without wiping out the source dataset/zvol. or force downsizing it.
of course I'm not sure how to force downsize it either and the gui does not allow this for obvious reasons.
----
I'm very new to FreeNAS and am trying to get my head around why I can't take my first snapshot.
This is just a test system that I am trying to learn on.
This is a zvol being used for ISCSI.
It's the first and only snapshot I'm trying to take.
And yes I'm sure it's because "I'm out of space" like it reports.
And something to do with how I misprovisioned the system.
I've been reading and reading and have more reading to go obviously.
The situation I have created is that I have the working zvol/iscsi on a two (two 2TB) drive mirror, intentionally failed one drive
and is running and working on one drive. (degraded state)
That should have nothing to do with what I am trying to do but is mentioned in case it comes up later for any reason.
Yes I can simply install a new drive and rebuild but that is NOT what I am trying to teach/put myself through here.
-Sorry sidetrack-
I have added a new dataset which is a 2TB stripe of two 1TB drives.
The task I am trying to complete (and learn from) is to simply copy the existing zvol over to the newly created dataset.
Really that's it.
For this test it really doesn't matter that it's two 1TB drives in a stripe, it could just be a new 2TB or 4 TB drive
That the new dataset is on for all I care.
From what I'm reading I'm supposed to create a snapshot and basically use zfs send to get a copy over to the new dataset.
But I am running into the out of space error..
From the ISCSI view there is 640GB of 1600GB free (see my misprovisioning?) I used way more than 50% of what was available.
Freenas shows 1.6GB used and 134GB available..
Just from those numbers and no experience I'd think my one and only snapshot should work.
Been at it a little long.
Trying to get my head around *this*
https://docs.oracle.com/cd/E19253-01/819-5461/gbdbb/index.html
And trying to determine if once I figure this out if it is what I need to adjust
in or der to get the snapshot to fly before I try to send it over to the new dataset.
Am I even barking up the right tree here?
The end goal is that I just want to see if I can actually copy a test zvol used for iscsi over to a new fresh dataset.
Thanks for pointers and patience.
zfs list
NAME USED AVAIL REFER MOUNTPOINT
Stripey 544K 1.76T 88K /mnt/Stripey
Twin-2 1.63T 134G 88K /mnt/Twin-2
Twin-2/.system 9.77M 134G 96K legacy
Twin-2/.system/configs-9a9c823ea6d045b2b2330e3252de4f8d 200K 134G 200K legacy
Twin-2/.system/cores 644K 134G 644K legacy
Twin-2/.system/rrd-9a9c823ea6d045b2b2330e3252de4f8d 8.25M 134G 8.25M legacy
Twin-2/.system/samba4 268K 134G 268K legacy
Twin-2/.system/syslog-9a9c823ea6d045b2b2330e3252de4f8d 260K 134G 260K legacy
Twin-2/.system/webui 88K 134G 88K legacy
Twin-2/ZV1 1.63T 1016G 782G -
freenas-boot 762M 6.04G 64K none
freenas-boot/ROOT 761M 6.04G 29K none
freenas-boot/ROOT/Initial-Install 1K 6.04G 756M legacy
freenas-boot/ROOT/default 761M 6.04G 756M legacy
Last edited: