ZFS is a modern file system and volume manager originally developed by Sun Microsystems and licensed under the CDDL. It is a copy-on-write file system with support for large storage arrays, protection against corruption, snapshots, clones, compression, deduplication and NFSv4 ACLs. An open-source ...

learn more… | top users | synonyms

0
votes
2answers
1k views

FreeBSD 10: NFS unable to export folder

I am unable to export a folder using NFS. /etc/exports /storage/test -maproot=nobody client /storage/test1 -ro -maproot=nobody client /storage/test2 -ro -maproot=nobody client The first folder ...
3
votes
2answers
127 views

Priming a ZFS L2ARC cache on Solaris 11.3

Is there a good way to prime a ZFS L2ARC cache on Solaris 11.3? The L2ARC is designed to ignore blocks that have been read sequentially from a file. This makes sense for ongoing operation but makes ...
2
votes
0answers
38 views

ZFS on linux with centos 7.2 sync reads slow to crawl when executing sync writes

We are running ZFS on linux with centos 7.2. The array has 26 6tb Seagate sas drives in a mirrored configuration and then stripped across the mirrors to form our pool. 128gb arc, 480GB l2arc PCI ...
2
votes
1answer
28 views

zfs mountpoint not using the dataset

I am currently building a media server based on Linux Mint. The OS is installed on a small SSD and the intention is to store the media files on two HDDs (2TB + 4TB). To this end I have created a zfs ...
-1
votes
0answers
11 views

ZFS messed mirrors up [migrated]

I have a ZFS pool with 6 drives in RAID10, well it use to... I tried to upgrade a 146GB drive to 1TB drive, and messed up bad root@x7550:~# zpool status pool: stuffpool state: ONLINE scan: ...
1
vote
1answer
51 views

Ubuntu 16.04 LTS with ZFS hanging on boot

Ubuntu 16.04 LTS host won't come back up after maintenance reboot. Seems to hang when it tries to bring up ZFS. Last message in the console is: Starting import ZFS pools by cache file... VERIFY(rs ==...
3
votes
2answers
1k views

Should I create ZFS zpools with whole disks or partitions?

I am making zpools on FreeBSD machine. While creating zpools I observe these two cases: If I take raw disks and create zpool then I am able to form zpools and they are working perfectly. If I format ...
0
votes
0answers
11 views

Best topology for mirrored data servers in GlusterFS

I am currently laying out the topology for a GlusterFS cluster, which is expected to grow pretty fast. Therefore, scalability and resiliency are key in this regard. The topology I've come up with is ...
0
votes
0answers
19 views

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 ...
1
vote
0answers
36 views

How to enable space reclamation from KVM guest to ZFS zvol iSCSI target?

I have a ZFS volume "tank/kvm/webhosting", exposed through iSCSI (using tgt) to KVM guest. <disk type='block' device='disk'> <driver name='qemu' type='raw' cache='none' io='native' ...
2
votes
2answers
1k views

ZFS - Recover or repair a corrupted file in a snapshot from backup?

A pool has suffered permanent data corruption to file data that's part of a snapshot. If the file data was part of the filesystem (and not part of any snapshot), I could simply recover the file from a ...
3
votes
1answer
1k views

ZFS, NFS and Nexenta

Is this message familiar to someone ? zfs-clu-01a rpcmod: [ID 851375 kern.warning] WARNING: svc_cots_kdup no slots free zfs-clu-01a last message repeated 75220 times We have a lot of trouble ...
5
votes
2answers
5k views

zpool import: volume FAULTED with corrupted data, is it possible to save some data?

I was using Freenas 8.2 and decided to upgrade to 9.2. All seem to go well, upgraded zfs to 28 and rebooted. During next boot it seem to take forever and at some point I decided to turn off the ...
2
votes
2answers
70 views

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 ...
1
vote
1answer
1k views

No more space on FreeNAS 9.3. But only half of space actually in use based on “du -sh” command

This morning I got a warning on my FreeNAS 9.3 machine about "Not enough space" warning: The capacity for the volume 'SeanVolume' is currently at 85%, while the recommended value is below 80%. It's ...
1
vote
0answers
25 views

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

Recover ZFS deleted file names [closed]

I have to work on server with ZFS file system to recover deleted file names or recover actual files. I have very basic knowledge about ZFS and couldn't find easy way to achieve this. I just wonder if ...
43
votes
12answers
35k views

ZFS vs XFS

We're considering building a ~16TB storage server. At the moment, we're considering both ZFS and XFS as filesystem. What are the advantages, disadvantages? What do we have to look for? Is there a ...
0
votes
0answers
108 views

Solaris 10 Update 8, ZFS boot/root zpool and moving disks around

One of my OLD machines is running solaris 10 Update 8 (x86). It has a mirrored ZFS I use for "root zpool". Both disks are failing so I plugged a new disk in a USB port and attached the new disk to ...
2
votes
2answers
46 views

Will ZFS automatically switch to fault tolerant when I add a third drive?

If I start off with a 2 drive stripped ZFS POOL will it automatically become a fault tolerant POOLS like RAID-5 when I add the third drive? I can't seem to find anything in the ZFS CheatSheets I find ...
1
vote
1answer
181 views

zpool showing more storage than it should

I just expanded my zpool named storage with 3 HGST 6TB drives in raidz1. I thought this would add only about 11.x TB of storage (since they are really 6000GB drives) how ever now zpool list shows I ...
2
votes
1answer
44 views

ZFS - Solaris 10 doesn't see disks after reboot on HP Pro DL380 G7

The current box has 2 logical drives, shown in P410i Array Controller (F8 during POST) as: Logical Drive 1 - 2 SAS 72GB HD Raid10 <----root pool disk Logical Drive 2 - 4 SAS 146GB HD Raid 5 <-...
2
votes
2answers
67 views

JBOD server for ZFS without dedicated boot drive

I am looking at buying a cost-effective machine for using openAttic, which is simply Ubuntu 14.04 64bit with ZFS. The server I am looking at gives me 8 bays of 3.5", where I plan to put SAS 7.2k ...
0
votes
0answers
25 views

ZFS Snapshot showing unreachable inside snapdir

I am using ZFS with Linux 3.19.0-58-generic. I have created some snapshots, but when I cd into these directories after one point it becomes unreachable, what does that mean ? Is there any workaround ...
5
votes
1answer
72 views

Is the size reported by `zfs send` exact or estimated?

Consider the following command and the output: zfs send -Pvi \ tank/vms/langara@zfsnap-2016-05-11_00.00.00--1w \ tank/vms/langara@zfsnap-2016-05-13_00.00.00--1w \ | dd > /dev/null ...
2
votes
2answers
334 views

rsnapshot vs zfs / btrfs snapshots

Currently I'm using rsnapshot to implement a daily / weekly / monthly backup scheme on an external disk. Lately I've been reading alot about copy-on-write file systems like zfs and btrfs. I quite like ...
2
votes
1answer
58 views

is it possible to convert dataset to sparse volume (thin provisioning)?

I've created ZFS datasets and installed virtual servers into them. Suddenly my ZFS volume free space is gone, but not all space is used in each dataset. I want to introduce thin provisioning (use ZFS ...
0
votes
0answers
37 views

ZFS mirror migrated to other system with dd -> zpool import fails

I'm pretty new to ZFS and this might be an easy problem (but I don't find any discussions about how to do this): I've messed up a FreeBSD installation on a Root-on-ZFS mirrored ZFS Pool on a ...
1
vote
1answer
51 views

ZFS Send Script works when run manually but not in Cron (Already tried common solutions)

Script on sending end is as follows: #!/bin/sh #Variables bigdata=vid-zfs-live/bigdata today=`gdate +%m-%d-%y` yesterday=`gdate -d'yesterday' +%m-%d-%y` #Actions zfs snapshot -r "$bigdata"@"$...
5
votes
4answers
3k views

MongoDB and ZFS bad performance: disk always busy with reads while doing only writes

I have huge performance issues using MongoDB (i believe it is mmapped DB) with ZFSonlinux. Our Mongodb is almost only writes. On replicas without ZFS, disk is completely busy for ~5s spikes, when app ...
0
votes
2answers
34 views

Can the type of a previously created ZFS pool be changed?

I have a 2-drive zfs pool created in mirror mode. Now I've managed to get my hands on a third drive, and I was wondering if I could add the drive, and change the pool type to raidz, which is pretty ...
1
vote
1answer
164 views

Can ZFS snapshots on a NAS (accessed via Windows Previous Versions) be made more flexible in regard to renaming files?

I have a NAS running on OpenSolaris/illumos/OmniOS with several shared ZFS file systems where autosnaps are active to preserve a history (keep 4 15-minute snaps, 24 hourly snaps, 7 daily snaps and so ...
1
vote
0answers
18 views

Does zfs send scrub the sent data?

To my knowledge ZFS as a filesystem checks for data errors during each access to the data. I would therefore assume that it actually performs something like a scrub before sending the data thereby ...
1
vote
1answer
195 views

How do I upgrade and keep my ZFS pools on Ubuntu Server?

I have a server running the 4-year-old Ubuntu 12.04 LTS with zfsonlinux installed on the machine with a 1.5TB mirrored drive setup. The Ubuntu 16.04 LTS has no upgrade path, so I'll have to reimage ...
1
vote
1answer
41 views

zfs for Hadoop cloud instead of ext4 [closed]

Right now I have couple of linodes with ext4. I have a hadoop setup. What benefit would I get if I migrate my file system from ext4 to zfs. Will there be any benefit in response times? Any speed ...
3
votes
2answers
98 views

ZFS scrub load average is ridiculously high

I have a relatively new box here running Ubuntu with ZFS-on-Linux across an 18-disk array. The first couple of times I did a zpool scrub, it seemed like everything worked nicely, but the last several ...
1
vote
1answer
42 views

How to avoid loosing changes on the root filesystem when kernel upgrading?

On Solaris and variants, it makes a zfs clone of the current / filesystem and installs the new kernel there. When rebooting you get the new /. In my case I have a /scripts directory, so if I ever ...
1
vote
2answers
1k views

How set ZFS ACL permissions on CentOS 6

I use last ZFS (ZFS for Linux) on the CentOS 6. Create successfully pool, all working fine. But i have one question. How i can set ACL for ZFS folder/file? GNU ls, chmod, and other coreutils not ...
6
votes
2answers
693 views

How can I validate a ZFS snapshot image residing on a backup system?

I'm running a FreeBSD host with ZFS. Let's pretend that I am storing a series of incremental ZFS snapshot images on a remote host using zfs send: zfs send -i zpool/data/foo@04hoursago zpool/data/...
4
votes
2answers
171 views

Windows user can overwrite NFSv4/Solaris ACL permissions of files on CIFS/SMB share (grant himself full access), how do I prevent this?

I have SMB/CIFS file sharing set up on an OmniOS server with the Solaris kernel module which uses NFSv4 ACLs that should work correctly with Windows clients. I want to create a shared directory with ...
2
votes
1answer
79 views

zfs convert linear to raidz5 or rebuild

Can i convert my linear span to a raidz-5? I finally have enough hard drives, and dont really want to thrash them about refilling with the backup data that they need to be holding. so currently, ...
3
votes
1answer
554 views

Why isn't my ZFS pool expanding using ZFS on Linux?

I have a ZFS zpool on linux under kernel 2.6.32-431.11.2.el6.x86_64 which has a single vdev. The vdev is a SAN device. I expanded the size of the SAN, and despite the zpool having autoexpand set to on,...
0
votes
2answers
46 views

Does zfs recordsize impact compressratio

We host a postgresql95 OLAP database on zfs with lz4 compression turned on. As recommended we tuned the zfs recordsize to 8KB since this is postgres block size. The write ahead log is on it's own ...
9
votes
2answers
611 views

Why is ZFS on Linux unable to fully utilize 8x SSDs on AWS i2.8xlarge instance?

I'm completely new to ZFS, so to start with I thought I'd do some simple benchmarks on it to get a feel for how it behaves. I wanted to push the limits of its performance so I provisioned an Amazon ...
0
votes
0answers
69 views

ZFS tuning for SSD queue depths

When using SSD on ZFS, what is the best configuration for the vfs.zfs.vdev.max_active parameters? As I know the default of this parameters is 1000, I don't have the intention to change this, but these ...
1
vote
1answer
44 views

ZFS Backup vs. ZFS Data Folders for Services [closed]

So I recently set up my own little server here at home. I got my main system set up on an SSD and a ZFS pool of larger HDDs for data storage. Now the question I was asking myself was if for services ...
2
votes
1answer
141 views

Where is my ZFS SMB share?

We run this pair of OpenSolaris servers that provide file storage. They run active/passive and stay in sync via snapshot replication every minute or so. Originally, they both ran OpenIndiana, but ...
4
votes
1answer
66 views

Drawbacks of a single drive split into partitions and partitions joined into a ZFS raidz1, vs. single drive ZFS with data duplication?

I'm looking for a minimal ZFS setup to achieve self-healing on a single device. Since I back up my data, drive failures are no concern, but bit-rot is. So far, the only suggestions I've been able ...
2
votes
1answer
44 views

Foreign cards in a HP server, do they cause the server to operate outside of specs?

I have a Proliant DL380 G7 I am going to be staging as lab server. As part of the server I plan to run ZFS as the base filesystem and installed 2 LSI 9211-8i cards for the disk controllers since the ...
1
vote
1answer
77 views

ZFS send/recv on Ubuntu Server 14 - Oh, where did my data go?

I've been trying to figure out a method to replicate snapshots created by zfs-auto-snap from our primary data center to a remote server, both running Ubuntu Server 14 with the latest ZFS-FUSE. Here's ...