New answers tagged

2

With a bit of experimentation I've found four possible solutions. With each approach, you need to perform the steps and then continue to read more data to fill up the ZFS ARC cache and to trigger the feed from the ARC to the L2ARC. Note that if the data is already cached in memory, or if the compressed size on disk of each block is greater than 32kB, these ...


0

I'd suggest using a real workload and monitoring the result with arcstat. Something like: arcstat.py -f "time,read,l2read,hit%,hits,miss%,miss,l2hit%,l2miss%,arcsz,c,l2size" 1 I don't think there's any need to "prime" the cache. If the workload you have doesn't naturally populate the cache, then it's not a representative benchmarking workload, right? ...


1

I have fixed this issue, but the resolution is unsatisfactory. However, I post it here incase it helps anyone else. It appears that the dataset was never successfully mounted. This is apparent from the df listing. I tried mounting the drive manually using sudo zfs mount -v zstorage/movies This for reasons I cannot discern took about 5 minutes to ...


0

Thought it might be a corrupt cache file. Removed /etc/zfs/zpool.cache and the system booted.


0

Use one slice/partition dedicated for ZFS per physical disc and leave some space left unpartitioned. That way if you ever need to replace a drive and the replacement is 10 sectors smaller, you'll still be able to do it (http://www.freebsddiary.org/zfs-with-gpart.php). That's what Solaris automatically does, that's what FreeNAS does (https://forums.freenas....


2

Just now, on ubuntu 16.04 I did sudo find /dev and then created a zvol, and then sudo find /dev again, and then created partitions, and then did a final sudo find /dev to see what was created at each step along the way. What I found was: sudo zfs create -V 8g storage/junkzvol created /dev/zvol/storage/junkzvol sudo fdisk /dev/zvol/storage/junkzvol created /...


0

You may want to have a look at the kpartx command. It is able to look into partitioning, create /dev/mapper entries and mount or unmount those.


0

It depends on if snapshots are enabled (and have been created) for the ZFS file system in question. You can list them with zfs list -r -t snapshot yourPool/intermediateFs/yourFs (recursively, snapshots only). If you have usable snapshots, you can browse the contents by ls /yourPool/intermediateFs/yourFs/.zfs/snapshot/snapshotName and copy the data from ...



Top 50 recent answers are included