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

1
vote
0answers
15 views

Which type of failures I could face with ZFS over multiple RAID-0 drives?

I'm building Proxmox VE on Dell R820, as a Perc H710 card does not support path-through or JBOD modes. I've made a division to enable RAID-0 on 14x 1.0TB SAS drives for zfs storage and RAID-1 of 2x ...
1
vote
1answer
25 views

Formatting/creating file system on multipath volume for ZFS on Linux?

I inherited a ZFS on Linux (CentOS) storage pool and I have a faulty multipath device (mpathah) in my pool: raidz3-6 DEGRADED 0 0 0 ... ... mpathba ONLINE ...
1
vote
0answers
41 views

ZFS not installed into upgraded kernel (4.19)

I want to use the latest kernel (currently 4.19) with Ubuntu Server 18.04, and I also want to use ZFS. Although ZFS appears to install correctly, it apparently does not get installed into the right ...
2
votes
1answer
23 views

Can ZFS mirror a single disk pool automatically? [closed]

I'm getting ready to add another server to my home network. I currently have one storage drive for it. I want to add another one to mirror the first drive, but can't purchase the second drive for a ...
2
votes
2answers
54 views

ZFS dataset doesn't automatically mount

Running on a FreeBSD 12.0 system, a dataset (my home directory) does not mount automatically at system boot. Manually mounting it (i.e. via zfs mount zroot/usr/home/username) works correctly. This ...
1
vote
0answers
41 views

Proxmox: how to access a ZFS volume directly through guest?

That may sound like a strange use case, but is there a way to access a ZFS volume directly through an LXC container or a Qemu VM with Proxmox? I'd like to have incremental backups pushed to my guest ...
4
votes
1answer
107 views

Whats the best filesystem for managing millions of images?

I am designing a system capable of working with 15 million (and growing) image files ranging from 100k to 10mb. I am looking for some opinions on what may be the best filesystem to support the (...
0
votes
0answers
18 views

Mount two HDDs in a zfs pool to new operating system

The SSD containing the OS for my server has just failed. The storage for the server was two 2TB HDDs in a ZFS pool. As far as I know the HDDs are fine and the data intact. What is the easiest way to ...
1
vote
1answer
36 views

How to correctly attach a disk to a zpool to create a mirror? - zpool attach says no such pool or dataset

Yesterday one of my pools which is a mirror was degraded - one of two 2TB disks failed. I replaced the failed one with another disk 4TB (ada3). Now I want to add another 4TB disk (ada1) to enlarge the ...
1
vote
1answer
51 views

FreeBSD/ZFS disk in pool and not in a pool at the same time

I have following status: $ zpool status pool: cs01 state: DEGRADED status: One or more devices has been taken offline by the administrator. Sufficient replicas exist for the pool to ...
0
votes
0answers
29 views

Why am I getting this error when trying to add a zfs pool to ProxMox? Am I using the wrong ID?

Am I using the wrong ID to get this error? There's no specifics about what ID or what format, anywhere I can find. Installed ProxMox VE 5.2 zpool create deadpool raidz2 /dev/sda /dev/sdb /dev/sdc /...
0
votes
1answer
93 views

Installing a WD Red NAS drive on a bare metal Freebsd 11.2 machine with ZFS

WD Red NAS drives come with built in firmware (NASware 3.0). If the drive is not going to be used in a conventional NAS device, such as a Synology or FreeNAS machine, are there any special procedures ...
3
votes
1answer
967 views

ZFS test rollback doesn't work as expected

I am confused about how ZFS snapshots and rollback are supposed to work. I have a zpool containing a couple zvols (each made from partitions of a mirrorvdev). I make a snapshot like this: ~$ sudo zfs ...
1
vote
1answer
55 views

ZFS pool size discrepancy after rsync-ing

I am trying to rsync data one of the volumes in a ZFS pool to an exfat formatted drive. The volume is only 1.3 TB but the rsync got up to syncing 3+ TB worth of data. I killed the rsync so I could ...
2
votes
0answers
59 views

ZFS Faulted Pool Corrupted Data, resilver completed, incorrect paths, io error

I recently encountered a disk failure, for which I got a replacement disk, and successfully replaced the disk as well as completed the resilvering process. I was able to use the raidz2 without issues ...
4
votes
0answers
149 views

At my wits end. What could cause my server to randomly hard reset? (Seems to be related to ZFS)

I have a server that I built years ago that has worked like a champ. But within the past few months it has started to become seriously unstable with no discernible pattern. I have been debugging it ...
17
votes
4answers
1k views

If a RAID5 system experiences a URE during rebuild, is all the data lost?

I understand the argument regarding larger drives' increased likelihood of experiencing a URE during a rebuild, however I'm not sure what the actual implications are for this. This answer says that ...
0
votes
0answers
19 views

ZFS checksum errors with USB disk array

I have a low-end external disk array (Mediasonic HFR2-SU3S2) with 4 2TB disks presented to the system as individual disks. Currently I have the array connected via USB 3.0 until I can get an eSATA ...
3
votes
1answer
76 views

Why has performance plummeted after destroying and recreating a ZFS pool?

Had to destroy and recreate a pool due to some other issues. I noticed that performance on the new pool is atrocious. Whereas before on the old pool, ARC was full and ARC hits were high, ARC hits on ...
7
votes
1answer
417 views

Offline uncorrectable sectors in SSDs being used for ZFS L2ARC?

I have two enterprise-grade SSDs that I've been using for L2ARC in an OpenZFS pool for a few years. Workflow during this time has been fairly heavy, with lots of reads and writes, serving up video to ...
3
votes
0answers
44 views

Is this disk about to die?

I have a WD Red 4 TB disk (WD40EFRX-68WT0N0, firmware 82.00A82) that is occasionally showing uncorrectable read errors in the SMART error log, e.g.: Error 43 [18] occurred at disk power-on lifetime: ...
4
votes
1answer
85 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 ...
2
votes
2answers
48 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
44 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 ...
1
vote
1answer
54 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
566 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
902 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
72 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
17 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
242 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
148 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
29 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 ...
2
votes
1answer
564 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
24 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
78 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
35 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 ...
1
vote
2answers
283 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
51 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
181 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
103 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
137 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
440 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 ...
1
vote
1answer
554 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
53 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
73 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
497 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
165 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 ...
2
votes
1answer
733 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
81 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
55 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 ...