Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions tagged [zfs]

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 ...

0
votes
0answers
26 views

RAID5 - ZFS vs LVM+mdadm on 3 SSDs for KVM/LXC server (proxmox)

I want to configure RAID for a KVM/LXC server (it's running proxmox as a hypervisor). This server is now running on 3 SSDs in this configuration: 10GB host root partition + Btrfs partition for some ...
0
votes
1answer
39 views

How should I use the new Optum drive?

I have a zpool consisting of 7 2TB HDDs of different vintage in a raidz setup. Currently, there is neither ZIL nor L2ARC device configured. The server has 12GB of RAM and no swap. The different ...
1
vote
0answers
28 views

Mount a partition from a VM disk ZFS snapshot in FreeNAS

I have a KVM image running on a Zvol in linux that is a block device containing an ext4 partition. It is snapshotted regularly and pushed to a FreeNAS box for backup. If I ever need to recover a ...
2
votes
1answer
91 views

Are ZFS snapshots diffs against the “main” filesystem, or diffs against each other?

I'm using ZFS snapshots to maintain access to historical versions of a backup filesystem. fadedbee@backup:/backups$ sudo zfs list -t snapshot NAME USED AVAIL REFER MOUNTPOINT ...
1
vote
1answer
28 views

ZFS on Linux: clear receive_resume_token pointing to a no longer existing snapshot

I am using syncoid from sanoid project to create copies of ZFS filesystems on a different machine in my test environment (a couple of Raspberry Pi) I messed up with a snapshot on origin machine: one ...
4
votes
2answers
302 views

Building/Maintaining a Custom FreeNAS- and ZFS-based NAS

I need a NAS for a company of ~30 people. We make games (a lot of large files, large git repositories, not much else.) I'm thinking of buying cheap components and building it myself, using something ...
0
votes
1answer
89 views

swap_pager: indefinite wait buffer

I am using ZFS to receive some datasets around 60GB: bzip2 -c -d mail.bz2 | zfs receive -F tank/jails/mail Almost before finishing I start to get this error multiple times: swap_pager: indefinite ...
0
votes
0answers
24 views

Samba in a container and User permissions

Using Ubuntu 16.04 as the OS, ZFS as the filesystem for the storage and Samba in an LXD container, I want to do the following. The ZFS pool which will be used by Samba is owned by the root of the ...
1
vote
1answer
39 views

How to increase the size of the /opt file system in the global zone of smartOS running in VMWare?

I downloaded joyent's smartOS vmware image and got that running. Now I would like to increase the size of /opt because they were pretty stingy with it in the vm. In the vm's settings, I expanded the ...
4
votes
1answer
170 views

Wait before zpool import on Ubuntu boot

I have installed Ubuntu 18.04 on a Dell PowerEdge R720xd using ZFS. There are two 1TB boot drives in a ZFS mirror configuration. I followed the instructions in the ZFS on Linux Wiki. (Note: My system ...
0
votes
0answers
90 views

Recover deleted LXD container from ZFS

I am using LXD to manage Linux containers, and deleted a running container using lxd delete --force test. LXD is using a ZFS pool. The container was snapshoted periodically, is it possible to recover ...
1
vote
1answer
213 views

ZFS datasets no longer automatically mount on reboot after system upgrade

I have an Arch linux ZFS backup system which wasn't updated for a long time because it was working perfectly and there was no reason to bother. After a recent upgrade, though, my ZFS datasets are no ...
0
votes
1answer
67 views

Import failing with ZFS pool that has both disks and files

I recently ran out of space on my ZFS pool, and since I needed a quick solution for more space and didn't plan to use the pool for much longer, I just added a file as a new device (vdev?) to my pool ...
2
votes
1answer
40 views

Does ZFS, using default settings, use more physical space than ext4 for the same amount of data?

I'm currently considering a switch from ext4 to ZFS and am having trouble finding information about whether or not it uses more or less space to store the same amount of data as ext4. My understanding ...
0
votes
0answers
34 views

LSI 9211-8 or 9650se for a ZFS Pool

I'm putting together a white box (smartos) for our dev team with some of the leftover hardware we have. The server chassis I'm going to use has 8 swappable drives and I'm trying to determine which hba ...
2
votes
0answers
28 views

Can an “unpackable” ZFS label be fixed?

Consider a data recovery case from a failed Thecus NAS RAID6. The RAID6 can be assembled in degraded mode to the point where a 10TB zfs_member filesystem is detected with a filesystem label of ...
8
votes
2answers
114 views

Storage server - Swapping SAS HBA card for a different model

TL;DR Server's original SAS HBA (PCIe card) does not support transparent passthrough, which is desired, as I want the OS to manage the disks (ZFS). At my company, we have an Intel SSR212MC2 server (...
0
votes
1answer
64 views

ZFS file system and zpool size allocation

I am using zfs on some of my lxc containers at start when I was configuring I allocated 500GB my zpool list NAME SIZE ALLOC FREE EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT lxd 496G ...
2
votes
1answer
20 views

Beadm create -p on another pool - why the snapshot on the destinated pool ?

I am trying out Solaris 11.3 Realize the option of -p when using beadm that i can actually create another boot environment on another pool. root@Unicorn6:~# beadm create -p mypool solaris-1 root@...
0
votes
1answer
107 views

ZFS does not mount on first boot

I have a Ubuntu 17.10 powered server with a separate root disk and one ZFS pool composed of three hard disks. Each time I start the server after it was properly powered off, the zpool does not ...
1
vote
1answer
1k views

ZFS does not compress files and all settings look correct

I recently created a ZFS volume to test its compression capabilities. I'm comparing it side by side to an ext4 volume. After creating the new volume and turning compression on with sudo zfs set ...
0
votes
1answer
43 views

Why does /dev/disk/by-id directory have cdrom device only and which one of /dev/disk/by-X is recommended for creating zfs pools?

Im running a ubuntu 16.04 machine in esxi enviroment, i am going through zfs on linux faq and it recommends to use /dev/disk/by-id for home servers due to inconsistent nature of /dev/sdX names but ...
0
votes
0answers
59 views

How to calculate dedupe ratio per folder

Is there a way to determine the zfs dedup ratio on a per folder basis? I realize the potential difficulties in computing this as every block would need to be analyzed, but can such a method be ...
4
votes
1answer
87 views

Docker service starts before ZFS

I am using Docker CE on Ubuntu 16.04, with ZFS as storage for Docker. Setup is pretty much standard: There's a zpool that has multiple disks On the zpool, there's a zfs filesystem with mountpoint /...
2
votes
1answer
236 views

Optimal ARC and L2ARC settings for purpose specific storage application

I am configuring a server that runs 3 ZFS pools, 2 of which are rather purpose specific and I feel like the default recommendations are simply not optimized for them. Networking is facilitated by dual ...
2
votes
2answers
320 views

How can I passively examine the contents of a ZFS send stream?

I have some stored ZFS "send streams" (i.e., they were created by redirecting the output of zfs send to a file). I would like to examine the contents of these streams without receiving and writing ...
4
votes
0answers
79 views

How can I determine what permissions my user is missing for receiving a ZFS dataset?

I have a FreeNAS (11.1-U1) and a FreeBSD (11.1-RELEASE-p6) machine. On the FreeNAS I'd like to zfs receive recursive snapshots as a non-root user with delegated privileges. This appears to work well ...
0
votes
0answers
127 views

mdadm array disappears after system reboot

I have created an md array like so: mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sdc /dev/sdd Then I used the resulting device in a ZFS pool: zpool attach tank sdb md0 That worked great....
3
votes
0answers
116 views

zdb doesn’t recognize my pool?

On my freenas server, zpool status tells me I have 2 zfs pool : data & freenas-boot : % zpool status pool: data state: ONLINE scan: scrub repaired 0 in 0 days 04:16:16 with 0 errors on Mon ...
3
votes
2answers
177 views

ZFS ZED smtp configuration

Now that I have a failed HDD, I think it is time to setup ZFS ZED. I am using Ubuntu 16.04 with LXD and have a postfix mail server listening to port 1478 in a container (which works, it is tested and ...
1
vote
2answers
186 views

How to attach a 2-device striped mirror to a pool?

I have a single-drive pool consisting of a 2TB HDD. I have two 1TB drives I can use in mirror - I'd like to add redundancy to my pool. How can I attach these two drives as a single device so that ...
1
vote
1answer
135 views

1 SSD + 1 HDD - how should I design my ZFS storage?

I have a PC with a 256 GB M.2 SSD drive used for Linux Mint root, swap and home partitions right now. I have a 2TB HDD for all my data (I keep that separate from home dir actually, because users' home ...
2
votes
1answer
106 views

ZFS memory requirements in a “big files” DAS scenario

I have some old server hardware that I want to build a FreeNAS data server with, but it only has 8 GB of memory and I can't really expand on that. I plan on putting 6 4tb drives in there, with ...
3
votes
0answers
32 views

Network access stalls for some time on centos7 + zfs + samba installation

I have storage server with CentOS7 with 4 HDDs running on raidz (Raid 5). I access the files on it via samba. When I copy files from it or watch movies sometimes the reading from samba is blocked for ...
0
votes
0answers
19 views

zpool reporting same drive as active and spare

I rebooted my Ubuntu 16.04.03 system and my systemd startup jobs aren't well organized yet because it does not bring up ZFS. (that's a different topic) So I did a zpool import sbn and ended up with ...
2
votes
1answer
105 views

3TB + 4TB HDD - should I deploy ZFS?

I have a production machine at work that was running on a single 3TB HDD. Now I've added another 4TB drive into it. The 3TB drive has been used for 1,5 years at this point, the 4TB is brand new. I ...
3
votes
1answer
137 views

ZFS (Freenas) off-lining an apparently healthy drive during scrub

I have a 4 disc RAIDZ config running on Freenas 9.1. Earlier I noticed that one of the drives had been taken offline. I ran smartctl, and all the discs passed SMART. A few days ago the machine had ...
0
votes
1answer
63 views

connecting EMC VNX-6G-DAE to server using SAS

I've recently got a gift from a friend: an EMC DAE enclosure with 15 3TB SAS drives, and I would like to connect it to a server using the 8088 SAS connectionץ This shelf was part of a VNX 5300 ...
1
vote
4answers
1k views

ZFS: Configuration advice 1x NVMe as ARC and ZIL and 4x SSDs for zvols for virtualization

So recently upon testing a ZoL system we found out poor performance of random and sequential reads and poor performance of random writes on our SSDs. Our system is a stripe of 2x Samsung 1TB 850Evo ...
0
votes
0answers
33 views

How to delete the pool with state = Faulted?

I have a pool named test_pool and i can only see it when "zfs import" is run. How can i delete this pool and detach associated device from it ? # zpool import pool: test_pool id: ...
2
votes
1answer
254 views

ZFS logicalreferenced vs referenced

After sending a zvol from one pool to another I was alarmed to find that only half the data was "there" (according to REFER). Then I noticed on the sent snapshot that referenced is 302G and ...
2
votes
2answers
243 views

Does ZFS have an “overall checksum” similar to Git's commit IDs?

Git produces a commit ID by hashing various components in such a way that we essentially get an identifier for the entire history of the project. From my understanding ZFS hashes everything (data / ...
1
vote
1answer
49 views

About to RMA my motherboard. My volumes are safe, right? [closed]

As the question insinuates, I'm green to networking, but had built my own NAS box a few years ago. Here's my build for reference: ASRock C2550D4I Mini ITX Server Motherboard Crucial 16GB (2 x 8GB) ...
4
votes
1answer
190 views

ZFS SLOG IOPS closer to random IOPS than sequential

I have a Solaris 11.3 install with a ZFS pool consisting of a 5-vdev-stripe each consisting of three 10K SAS disks. I've also configured a SLOG containing mirrored vdevs. I've set my ZFS tuning ...
0
votes
1answer
333 views

Can I remove a disk from a zpool raidz2?

Unfortunately I do not really understand zfs. I have a Proxmox 5 node with 5 300GB disk in raidz2. History: zpool create -f -o cachefile=none -o ashift=12 rpool raidz2 /dev/sda2 /dev/sdb2 /dev/sdc2 /...
0
votes
1answer
40 views

Cannot format a drive once used in a ZFS pool

I have created a ZFS test pool with a drive - now I have pulled thet drive out and want to format it to EXT4 and use it outside of ZFS. I think the pool wasn't properly destroyed. Now when I plug the ...
2
votes
1answer
46 views

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 ...
2
votes
2answers
303 views

Should I use HW Raid or ZFS as filesystem for Citrix XenServer?

I've got a dual Xeon X5650 (6core) HP ProLiant DL160 G6 with 72G RAM and an HP P410 4port hardware raid card that I want to repurpose as a NAS and a test server. Additionally, I have 4 x 4T drives in ...
7
votes
2answers
332 views

LIO iSCSI Target for Windows Server 2016 Cluster disk - device is not ready

I have a LIO iSCSI Target configured on a Fedora 22 machine exporting 1 LUN to 2 Windows Server 2016 machines, both of these are able to access the disk without issues. These servers are part of a ...
4
votes
1answer
61 views

`git pull` destroys git repository and truncates files [closed]

I put work files in Git repositories and sync between computers/laptops using an external SSD. So for example if I want to sync repo1 from my PC to my laptop, these are the steps that are done: plug ...