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
4
votes
0 answers

Docker Community Edition for production environment?

I was planning to use docker in a production environment. Now I see Docker Inc. differentiates strongly free and paid versions with the Community and Enterprise Editions. This sentence about CE is kind of scaring me: Get started with Docker and…
4
votes
0 answers

Any possibility to use ZFS for Samba4 AD DC share on Ubuntu 16.04?

For a few (~ 5) PCs running Windows 8.1 I have to setup a domain controller using Samba4 on Ubuntu 16.04 Server. Additionally the DC should provide a few shared folders with user-specific access and act as a printer server. To prevent data…
Apollo13
  • 41
  • 2
4
votes
2 answers

Ubuntu Xenial (16.04) "zfs share" command doesn't work for SMB shares

My problem with ZFS on Ubuntu Xenial (16.04) I've been running ZFS for years from the package maintainer's zfsonlinux.org site. Things have been good. But recently I upgraded to Ubuntu 16.04 when it came out. I was excited that it had ZFS built in.…
Ryan Babchishin
  • 6,260
  • 2
  • 17
  • 37
4
votes
1 answer

Mount ZFS dataset in unprivileged container

First a bit of information about my configuration: Ubuntu 15.10 ZFS pool created LXC containers stored in pool/lxc Dataset created in pool/mydataset owned by user1 Now I need one of the containers to access the files/folders in pool/mydataset. I…
ghetto
  • 41
  • 2
4
votes
0 answers

Grow ZFS pool to use the whole disk

What's the (if there's any) way to grow a zfs pool that only uses a disk partially to use the whole disk? Background is, zfs is used here on a virtual machine and the Virtual machines disk has been grown from 10G to 150G. The ZFS pool was created on…
Pascal
  • 143
  • 1
  • 6
4
votes
1 answer

ZFS snapshot send incremental

I have been happily using zfsnap with CentOS and ZFSonLinux in a scripted manner similar to how it is described on the web site, but have run into an issue. Unfortunately backups did not run a few days ago, and now I am stuck in an odd situation. I…
ak907
  • 53
  • 3
4
votes
1 answer

ZFS on LUKS not recognized at boot

I've got 6 physical drives in RAID-Z2, which I intend to one-by-one convert to dm-crypt devices. My process was roughly: dd if=/dev/zero of=/dev/sdf Create keyfile /etc/crypttab.d/crypt-1.key cryptsetup luksFormat /dev/sdf Append crypt-1…
Chris Tonkinson
  • 475
  • 2
  • 6
  • 19
4
votes
3 answers

Update from zfs-0.6.2-1.el6.x86_64 to zfs-0.6.3-1.el6.x86_64 has made by zpool unreadable

After running # yum update zfs and restarting my CentOS 6 ZFS on Linux system can no longer see or interact with it's zpools. # zpool status no pools available # zpool import zpool: ../../lib/libzfs/libzfs_import.c:356: Assertion…
84104
  • 12,905
  • 6
  • 45
  • 76
4
votes
2 answers

Why does zfs fail to cache this workload when "normal" filesystems cache it completely?

Update: because recordsize defaults to 128k, the amount of data read by the test program is much larger than the ARC on an 8GB system and still slightly larger than the ARC on a 16GB system. Reducing the recordsize allows less data to be read and…
aranc23
  • 41
  • 3
4
votes
1 answer

zfs: flush cache without exporting

For testing I need zfs' cache to be cold. I can flush caching from the pool by removing the cache disks, exporting and importing the pool. This gives the effect I want. But would really like not to export the pool. Is there a less drastic way to…
Ole Tange
  • 2,946
  • 6
  • 32
  • 47
4
votes
1 answer

ZFS: device vdev wandered faulting zpool

I have a zpool thats now showing in a FAULTED state after a power outage rebooted the server & devices names got thrown around. I understand I messed up by adding vdevs by device name, but didnt know it could be changed after creation & populating…
tango
  • 43
  • 3
4
votes
1 answer

Incorrect cache device after ZFS import

I've recently migrated from an Ubuntu machine to an Arch Linux machine. I imported the pool using the zpool import -f tank and it reported my cache drive as faulted, but my storage drives are working fine. Its a raidz2 with 5 drives. The weird…
Stephen__T
  • 227
  • 1
  • 4
  • 10
3
votes
1 answer

zpool status shows drives are defaulted, but they seem okay. Can I add them back?

zpool status is reporting defaulted drives. But they actually appear to be okay. Is it possible to add them back? $ dev/disk# zpool status -v pool: darkpool state: DEGRADED status: One or more devices could not be used because the label is…
Louis Waweru
  • 755
  • 1
  • 9
  • 29
3
votes
1 answer

ZFS capacity usage discrepancy

I’m trying to understand why there is a large discrepancy with the used space of a production ZFS dataset and a backup dataset that is being populated with a nightly zfs send (I keep 30 daily snapshots and replicate nightly - no other systems write…
user
  • 51
  • 2
3
votes
1 answer

Is it safe to send ZFS-snapshots incrementally ignoring some intermediate snapshots?

Some background. I'm using ZREP to replicate two servers with each other and each server contains one ZFS-pool containing two datasets as replication master and two sets as replication target. The master sets contain the system and VirtualBox-VMs of…