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

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

4
votes
1answer
62 views

ZFS pool degraded on reboot

I have a Ubuntu server set up with a 14-disk ZFS raidz2 pool. About 80% of the time, on reboot, I will end up with a degraded pool with two of the disks marked as faulted. The drives that are ...
1
vote
1answer
15 views

ZFS replace disks in freebsd, how and when

I have the following zpool configuration: zpool status NAME STATE READ WRITE CKSUM data ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 da1 ...
1
vote
0answers
34 views

Solaris 11.4, zfs_xcopy parameters

Can anybody explain new parameters appeared in oracle solaris 11.4? zfs_write_throttle_xcopy_scale zfs_xcopy_allowed_pct_over zfs_xcopy_bloom_entries zfs_xcopy_hard_limit_factor ...
0
votes
0answers
17 views

What is the best ZFS configuration for logging purposes?

I am planning for hardware that will be used for log management purposes. The software we plan to run on top of the hardware supports tiering and the plan is to go with three tiers as follows: tier ...
3
votes
1answer
544 views

Faulted zpool recovery - can I dd some disks to new disks to allow me to scavenge donors?

I am in the process of trying to recover a pool that had been degraded and neglected, then had a second mirror member fail, resulting in a faulted pool. For whatever reason, the spare never ...
11
votes
1answer
811 views

ZFS: re-compress existing files after change in compression algorithm

I have a pool that was created in 2011, using lzjb compression, and it wasn't until a couple of years later that an upgrade allowed me to set the compression to lz4. I estimate that at least 20% of ...
0
votes
0answers
21 views

Converting btrfs to zfs without using a different hard drive/partition

I know that in the general case you can't just change your filesystem on the fly but some close filesystems do support such conversions, like ext2 to ext3. I'm wondering if it is the case between a ...
0
votes
0answers
11 views

zfs copy single snapshot from backup to source

Today my syncoid backup stopped to work because the source snapshot and dest ones aren't matching. In the source server I have a snapshot taken at 11:30 and in the backup server I just have the ...
2
votes
1answer
118 views

ESXi Passthrough hard drive to use ZFS on VM

I have ESXI 6.7 installed on my r710. I have 1 2TB drive that's being used as the boot drive for ESXi and the VMs. I have 3 4TB drives that will be large storage. I want to send the 4TB disks ...
1
vote
1answer
30 views

ZFS (on Linux): zfs import cannot import online pool

I have a pool that cannot be imported even though it is detected and is online. $ zpool import -d /dev/disk/by-id pool: threetb id: 10173957064206389394 state: ONLINE action: The pool can be ...
0
votes
0answers
24 views

Replace zpool volume with another

I've been using flynn because I needed a small paas for my projects. Unfortunately I made the decision to host on my flynn cluster (composed by 3 AWS instances) a production app with some important ...
1
vote
1answer
544 views

cannot import a zpool volume : I/O error

this is on nexenta open storage. I have a zpool that is in UNAVAIL state because of some disks. # zpool import -F pool: delta id: XYAZA state: UNAVAIL status: One or more devices are ...
1
vote
0answers
16 views

Can't import zfs pool after power loss

I was in the middle of rsyncing some files onto a zfs mirror pool, and we lost power due to a storm. Now after starting the machine the pool won't import: sudo zpool import pool: share id: ...
1
vote
0answers
77 views

When moving to a new enclose, any gotchas with ZFS?

I'm running an Ubuntu 18.04 LTS server that has an attached ZFS Zpool of four drives and a caching drive. The entire thing (drives, motherboard, all of it) is being moved to a new enclosure that'll ...
2
votes
1answer
27 views

Two separate drive setup and getting cannot import 'xxxxx': no such pool exists

I have a simple freeNAS setup (FreeNAS-9.10.2-U6 (561f0d7a1)) that accesses two independent drives, no mirroring. Have not really accessed the system in a while and after a power loss I needed to ...
0
votes
0answers
107 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 ...
2
votes
1answer
48 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
1answer
108 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
98 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
67 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
385 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
286 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
39 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
55 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
299 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
132 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
393 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
73 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
47 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
37 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
30 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
132 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
95 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
21 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@...
1
vote
1answer
179 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
79 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
83 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
131 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
554 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
354 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
95 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
200 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
159 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
230 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
273 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
242 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
134 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
34 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
20 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 ...