Questions tagged [zfsonlinux]

zfsonlinux provides a native Linux kernel port of the ZFS filesystem so that ZFS may run natively on Linux. It is very different from ZFS-fuse which provides ZFS on top of a userspace-filesystem layer. The ZFS On Linux project is hosted on zfsonlinux.org.

zfsonlinux provides a native Linux kernel port of the ZFS filesystem so that ZFS may run natively on Linux. It is very different from ZFS-fuse which provides ZFS on top of a userspace-filesystem layer.

The ZFS On Linux project is hosted on zfsonlinux.org.

268 questions
1
vote
1 answer

Not able to find zfs pool source directories

I am not able to understand where zpool directories are kept on my machine? zfs list shows this output NAME USED AVAIL REFER MOUNTPOINT default …
psin
  • 13
  • 2
1
vote
1 answer

How to get zfs to use a higher portion of the cache device? (Currently using 5GB / 480GB)

I am running a 4 disk raid 10 setup with a fast 480GB SSD. When looking at iostat -v the cache device has only 5GB of allocated space and the rest is free. Both primarycache and secondarycache are set to all. How can zfs be set to fill up the cache…
Greg
  • 1,657
  • 5
  • 27
  • 38
1
vote
1 answer

ZFS on Linux and KVM: NUMA nodes for host

I am interested in using KVM images on zvols under ZFS on Linux, on a multi-socket system. I am wondering how I should pin NUMA nodes so as to maximize the benefits of ZFS ARC cache for all KVM images on the system. Obviously, I should pin each VM…
Stonecraft
  • 313
  • 3
  • 4
  • 18
1
vote
1 answer

Backup LXD container to an other LXD host

I have two servers A and B which are running Ubuntu 16.04 and an RAID1 ZFS file system for LXD. At the moment there are a few containers running on server A. Now my idea to make nightly backups from each container on server A to server B. This way I…
1
vote
1 answer

ZFS won't find filesystem when run from cron

I wrote a small script to handle my zfs backups. When i run it by hand, it works well: /root/bin/zfs-backup -k 7 -p zfs-auto-snap_daily -r vm/containers tank/backups But running it in cron like so, throws an error "The file system 'vm/containers'…
Laurent
  • 406
  • 1
  • 4
  • 14
1
vote
0 answers

ZFS issue after enlarging image

I created a new img using the following command: truncate -s 250G disk.img and I replace the existing image that I used for zpool with that one using (lxd.img was 2G): zpool replace lxd lxd.img disk.img I set the autoexpand to on sudo zpool set…
glarkou
  • 149
  • 1
  • 8
1
vote
0 answers

Why ZFS ARC hit rate is higher than real performance hit?

We've got Debian Wheezy host with ZFS on Linux with in. It is used only for serving large files over http. User activity is mostly characterized by a lot of random read. We've noticed that ~95% ARC hit rate gives us ~80 MByte/s hdd reading…
1
vote
2 answers

zpool forgot all data devices of a pool: how to bring them online again?

My Debian server is running ZFS on Linux. Today I had to reboot it two times due to software upgrades. A first reboot because of ZFS update from some 0.6.4-1.2-1-wheezy to 0.6.5.2-2-wheezy, which went fine as I afterwards accessed my home dir in the…
ChristianM
  • 21
  • 1
  • 4
1
vote
2 answers

ZFS on Linux - Debian - sharenfs datasets - can't write, only read

Short version: mounted datasets are RO, even though I'm trying to make them RW. Long version: we currently have a working implementation of ZFS on Linux on Wheezy (which I inherited when the previous SE left) and we want to upgrade to…
amoreno
  • 83
  • 2
  • 8
1
vote
1 answer

zfsonlinux, raidz1: two disk corruptions: How I can use dd/dd_rescue and deceive zpool?

I have zfsonlinux (Centos 7), and raidz1. And I have trouble: two disks are dying. The first disk have Raw_Read_Error_Rate failure in SMART and Reallocated_Sector_Ct error (the disk has run out of free sectors to relocate data) The second disk has…
1
vote
1 answer

How can I directly read data from a file in Linux without using the filesystem cache?

I have shared storage which is mounted (read-only) on SERVER1, and mounted (read-write) on SERVER2. SERVER2 is writing data to a file. SERVER1 is reading data from that file. The file poling is <100ms, which is fast, but lets just say it's…
user1955162
  • 296
  • 3
  • 16
1
vote
1 answer

Can I prevent exportfs from from breaking ZFS sharenfs exports?

I'm using ZFS on Linux as a fileserver running Ubuntu Server 14.04 LTS. The ZFS pool shares a number of datasets using it's sharenfs property. Outside of ZFS there are a few additional NFS shares which are defined in /etc/exports. When exportfs -r…
STW
  • 1,000
  • 2
  • 7
  • 25
1
vote
1 answer

ZFS estimated send size much larger than total data size

From zfs send -R -v pool/fs@snap: send from @ to pool/fs@snap estimated size is 6.50T ...but from zpool list: NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT pool 3.62T 2.36T 1.27T 65% 2.87x ONLINE - Can a zfs send stream really…
Charles Duffy
  • 946
  • 2
  • 10
  • 19
1
vote
0 answers

zfs pools unavailable, disks shared with other pools

My ZFS pool called data do not mount anymore after a shutdown. Maybe there was some automatic update on the computer. I Don't know. zpool status returns no pools available zpool import returns something strange to me pool: data id:…
max
  • 113
  • 5
1
vote
3 answers

ZFS pool reports a missing device, but it is not missing

I am running the latest Debian 7.7 x86 and ZFS on linux After moving my computer to a different room. If I do a zpool status I get this status : pool: solaris state: DEGRADED status: One or more devices could not be used because the label is…
Trausti Thor
  • 265
  • 2
  • 7