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
2
votes
1 answer

In my ZFS box, why is my cache devices leaving a bunch of free space?

I have a ZFS system serving many VMs. In it, we installed 12x4TB SAS disks and configured them in a mirror. We added two PCI-E SSDs (Samsung 960s with 512GB each), but they are each consumed to just over 50% rather than caching all the data they…
user1955162
  • 296
  • 3
  • 16
2
votes
0 answers

How to share a zfs filesystem including it's child filesystems via nfs? Attempted approaches failed to share child filesystems

How to share the whole zpool (including child filesystems) via nfs? Using the belowzfs filesystems: NAME USED AVAIL REFER MOUNTPOINT backup 7.22T 6.83T 3.94T /backup backup/compressed 3.28T 6.83T 3.28T …
Greg
  • 1,657
  • 5
  • 27
  • 38
2
votes
1 answer

ZFS Ubuntu - Physically moved drive and no longer recognized by pool

I have a 2-drive ZFS mirror pool on Ubuntu. The drives for the pool were at /dev/sda and /dev/sdb. For various reasons, I had to physically move the drive at /dev/sda to a different slot in my server, so Ubuntu now recognizes it as being at…
davewy
  • 165
  • 1
  • 9
2
votes
2 answers

zfs module not found on centos after restart

After I rebooted a CentOS server, ZFS does not work: $ sudo zfs list The ZFS modules are not loaded. Try running '/sbin/modprobe zfs' as root to load them. $ sudo modprobe zfs modprobe: FATAL: Module zfs not found. My OS version is CentOS Linux…
pterojacktyl
  • 121
  • 1
  • 3
2
votes
2 answers

Removed ZFS files reoccurring after remount

I have a nasty situation with some of my ZFS filesystems (see list below). Files I removed therein keep reappearing after a remount (such after a reboot). One such filesystem is /root. I get an mount error because the /root directory is not empty.…
2
votes
0 answers

Best practice for setuid and setgid in /root and user directories

ZFS allows to created datasets with setuid turned off, which (AFAIK) means that setuid bit can't be set on files stored in those datasets. Assume now that there are two datasets, one for the /root and one for the /home directories. Would it make any…
Greg
  • 198
  • 10
2
votes
2 answers

How do I configure Ubuntu 16.04 to show my ZFS zvols internal partitions?

I seem to be missing some zvol functionality, but I'm not sure how to phrase it. I had this functionality with these same zpools on an ArchLinux installation. (Migrated the server.) Ubuntu puts the zvols in /dev/zvol and arch mounted them in /dev.…
BeepDog
  • 314
  • 3
  • 12
2
votes
1 answer

How to import a child of a broken zpool mirror on a different host?

I have a hard disk lying around which once belonged to a 3-disk ZFS mirrored pool on a Ubuntu 12.04 server, called d510. The disk was properly detached but its filesystem tank0 was not exported. I would now like to recover a handful of files off…
Serge Stroobandt
  • 385
  • 1
  • 5
  • 13
2
votes
1 answer

Access iSCSI block device, setup as ZFS volume on CentOS7 - won't automount on boot, hangs on reboot

I am running CentOS7 on a virtual instance at Softlayer. There is a block storage device available to the instance via multipath/iscsi I have successfully had this block device mounted as XFS. I decided I would give ZFS a try. When I manually issue…
anastymous
  • 151
  • 7
2
votes
2 answers

Does the max-80%-use target suggested for ZFS for performance reasons apply to SSD-backed pools?

The Solaris ZFS Best Practices Guide recommends keeping ZFS pool utilization below 80% for best performance: Keep pool space under 80% utilization to maintain pool performance. Currently, pool performance can degrade when a pool is very full and…
user
  • 4,335
  • 4
  • 34
  • 71
2
votes
2 answers

Multiple RAID types on a ZFS pool

Reading the Ubuntu Wiki page on ZFS (https://wiki.ubuntu.com/ZFS) I found some claimed abilities of ZFS which I am not able to find any documentation of. If the claims are infact possible I would love to know how to do them Ari has a single disk…
chew socks
  • 212
  • 2
  • 8
2
votes
1 answer

Move ZFS filesystem (including snapshots) from one pool to another

I work with a setup where we use ZFS snapshots to maintain a historical record. We have a need to migrate this data from one ZFS pool to another. This question (Moving a ZFS filesystem from one pool to another) appears to be almost what I need.…
Elros
  • 163
  • 5
2
votes
1 answer

Advice for building production 140 disk (420 TB) ZFS zpool

I have been tasked to build a large zpool for a data recording system. Using ZFS on Linux (0.6.4.2), on CentOS 6.5. Hardware specs: DL380 Gen8 80 GB ram 2x HP HBA H221 2x HP D6000, each with 70x 3TB SAS disks There are some special…
redbull666
  • 21
  • 2
2
votes
2 answers

Cannot get ZFS pool created in OSX to import on Linux system

I'm experimenting with different file systems for use between a dual-booting Linux/OSX laptop which will act as a testing platform. Despite being a BSD variant, I've had a lot of trouble finding a compatible file system but have settled on the…
Zhro
  • 349
  • 2
  • 12
2
votes
1 answer

House roaming profiles on realm trusted samba server?

Raison D'être I am attempting, so far unsuccessfully, to house roaming profiles for an Active Directory domain on a realm trusted Ubuntu 12.04LTS ZFS-on-Linux file server. The end goal is to have an inter-operable file server to house autofs nfs…
84104
  • 12,905
  • 6
  • 45
  • 76