2022 Developer Survey is open! Take survey.

Questions tagged [zfs]

An advanced file system that can span multiple disks, heal itself from data corruption, deduplicate data, encrypt, etc.

Filter by
Sorted by
Tagged with
2 votes
0 answers
20 views

How to zfs send an entire filesystem

I am trying to copy an entire filesystem between 2 machines. Based on documentation -R on zfs send should "Generate a replication stream package, which will replicate the specified file system, ...
user avatar
  • 321
0 votes
0 answers
17 views

How does zfs promote work and what are the consequences of using it

I know that zfs promote swaps a clone with the master, but other than that the documentation does not mention anything. What consequences have promoting a dataset? Can I just promote them back and ...
user avatar
  • 321
0 votes
0 answers
20 views

Virtual Box Cannot Autostart on Ubuntu ZFS

I have a Virtualbox server running on Ubuntu-20.04. All of the guest VMs exist on a ZFS raid partition. The VirtualBox admin user is on another ZFS partition. I have a problem that none of the VMs ...
user avatar
0 votes
2 answers
46 views

How to mount a zfs clone

Based on this instructions I should be able to make a clone of a zfs volume using commands like so: $ sudo zfs snapshot -r zfs/logs/test@tmp-1236 $ sudo zfs clone zfs/logs/test@tmp-1236 zfs/logs/test-...
user avatar
  • 321
0 votes
0 answers
31 views

How can I set up a RAID 1 mirror with data resiliency to ensure that my data is safe from corruption and drive failure?

I'm new to RAID arrays and data redundancy and I have a multipurpose home server running 24/7 with 3 TB of storage (one 1 TB 7200 RPM and one 2 TB 7200 RPM HDD) based on Linux. The hard drives on the ...
user avatar
0 votes
1 answer
19 views

How can I read zfs spa stat

In this pr, add some spa stat like simple_trim_bytes_failed , but how can I read these stat ?
user avatar
  • 103
0 votes
0 answers
18 views

Prevent Gnome from stalling with ZFS

The last few times I have tried to solve this problem I have gotten the same brain-dead suggestion of installing more memory. Please do not make this suggestion. It provides zero help. I have to ...
user avatar
0 votes
1 answer
31 views

Should ZFS RAID-Z2 theoretical maximum be 256+2 drives?

For RAID 6 in wiki, the extra priority check bit Q is calculated by shifting of bits. https://en.wikipedia.org/wiki/Standard_RAID_levels#RAID_6 Suppose we would like to distribute our data over n {\...
user avatar
  • 481
1 vote
0 answers
39 views

ZFS - Determine Bottleneck performance

I've got a Z3 pool with 9 10TB drives , under a Dell PowerEdge R730xd running as a mixed OS virtual machine host. Two pools exist: rpool - The SSD mirrored pool, used mostly for root drives in VMs. ...
user avatar
0 votes
1 answer
52 views

ubuntu with experimental zfs creates enormouns amount of /var/lib/ filesystems

Ubuntu creates enormous amounts of legacy filestystems on my zfs, like: rpool/ROOT/ubuntu_j63w4a/var/lib/00bc09e20e8a08d6f3628e50ff5c4368414dd69c885c013b480adf8f388eb93f legacy rpool/ROOT/...
user avatar
  • 3,173
0 votes
0 answers
51 views

Migrating existing Server running on MDRAID5 lvm with EXT4 to ZFS

Im actually trying to migrate my server from ext4 to zfs. My plan was the following: backing up the whole filesystem with rsync to an external drive (which foldes should i take into?) Then put in 4 ...
user avatar
1 vote
0 answers
63 views

DD ZFS Disks: The pool metadata is corrupt

I've was doing a full sync to another ZFS server when suddenly my main pool errors out and gets in a degraded state. Later that day, the PSU of the server died. Perhaps it had something to do with the ...
user avatar
  • 117
0 votes
1 answer
70 views

ZFS 3 Disk Mirror Pool with 1 Disk Removed Occasionally

I have a ZFS pool that contains 3 disks mirroring each other. I would like to be able to take one of the disks and store it offline and offsite for a few months then re-introduce it to the pool, sync ...
user avatar
0 votes
0 answers
25 views

Delete ZFS Pool

I had an installation of omnios with a 4 drive RAID 10 setup (mirroring + striping) The OS has been reinstalled and the zfs pool is not detected correctly anymore. It is not present when doing zpool ...
user avatar
1 vote
0 answers
29 views

Can ZFS and BtrFS handle files larger than physical discs?

Are ZFS and BtrFS able to handle files that are larger than one physical disk so that such a huge file spans over multiple physical discs? I consider lifting up my file server to a VM. Currently the ...
user avatar
  • 284
0 votes
0 answers
40 views

How does GNU tar handle reflinks?

Does (GNU) tar handle reflink copies of files similar to hardlinks? I.e., is just one copy of the file stored and other copies refered to? Or are reflinks 'resolved' from the file system and each ...
user avatar
  • 133
0 votes
1 answer
37 views

ZFS fixing improper drive replace

I recently detected failing hard-drive in my ZFS raid-5 array. So i bought drive, shut-down & replaced failing one. I'm afraid I should have removed failing drive from the pool first. It is ...
user avatar
1 vote
0 answers
105 views

ZFS NFSv4 ACLs not displaying on the client side

I'm running ZFS [2.0.3] on Debian 10 with NFSv4 shares, setting xattr: on and acltype: posixacl, with my export using zfs set sharenfs being: rw=@@hosts,async,no_subtree_check,no_root_squash I can ...
user avatar
1 vote
0 answers
95 views

Replace ZFS in use hot spare

Here is the current status of my zpool NAME STATE READ WRITE CKSUM store ONLINE 0 0 0 mirror-0 ...
user avatar
  • 186
0 votes
1 answer
104 views

Could ZFS fix silent corruption on a single drive with two mirrored partitions?

ZFS can detect silent data corruption (or "bitrot"); with a proper mirroring or raidz setup it may also repair such corruption. Thus, would it be possible to split a disk into two (or more) ...
user avatar
0 votes
1 answer
105 views

Dell Poweredge Controller and ZFS

I've been looking at many different option for a home backup server. I'll going to be getting a dell poweredge r430. It contains a perc h730 mini. It has dated hardware, and I plan to pare it with ...
user avatar
  • 1
0 votes
1 answer
95 views

First time using ZFS or RAID: Data Backup

I've never used RAID before or ZFS for that matter, though I've always admired them. I've been using MX Linux for 2 years, so I'm still pretty fresh to deep Linux. My idea is for a long-term backup of ...
user avatar
0 votes
0 answers
198 views

Optimal Use of a Single SSD in RAIDZ Pool on FreeNAS/TrueNAS Core

I have an old HP N40L MicroServer running FreeNAS 11.3 with a 4 drive RAIDZ array setup on FreeNAS 11.3. I store mostly videos, photos and system backups on the server's storage pool. It is connected ...
user avatar
1 vote
0 answers
94 views

Does using USB drives with identical World Wide Name (WWN) risk data loss?

I bought two m.2 SSD enclosures with identical World Wide Name (WWN). (I didn't know such was possible.) Will this cause data corruption if I use them on the same Linux (Ubuntu 20.04.02) server? If I ...
user avatar
1 vote
0 answers
55 views

Docker still using zfs storage driver after re-installing to ext4 partitioned zvol

Disclaimer: This is cross-posted on reddit but to no success and as I am quite desperate to get all my services up and running again, I now turn to you... I had docker installed on my server (running ...
user avatar
  • 21
1 vote
0 answers
35 views

ZFS convert from RAID10 to RAID1 (mirror)

I have a ZFS array with 4x4TB, configured in a RAID10 so that it's two mirrors striped together. I want to convert this to 2x10TB, so I want only one mirror that consists of the two disks. Is there a ...
user avatar
  • 1,055
1 vote
0 answers
90 views

How exactly do btrfs/ZFS (and related filesystems) prevent bit rot?

It seems that, since btrfs development began, various communities have touted both it and ZFS as inherently more advanced filesystems for preventing corruption, bit rot, etc. What features of btrfs or ...
user avatar
  • 253
1 vote
0 answers
54 views

Is ACL inheritance only at file creation time on zfs?

I'm having trouble understanding how ACLs work on ZFS as compared to how they work on a Windows NTFS system. (In particular, I'm using a TrueNAS 12.) I create a SMB share ("smbtest"), and I ...
user avatar
  • 121
1 vote
0 answers
47 views

Cannot boot alternate boot environment in openindiana

i have installed two boot environment on my openindiana hipster 202004 server, rpool and rpool1. These are the steps i followed for my second boot environment: zpool create -f rpool1 c5t3d0s0 beadm ...
user avatar
  • 11
0 votes
1 answer
33 views

ZFS does not recognize new drive after resilvering

I tested my ZFS resilvering on my new NAS which has a 3-drive mirror zpool. So I attached another 4TB drive to the server in an external USB SATA dock and ran zfs replace /dev/disk/by-id/ata-<...
user avatar
  • 113
0 votes
2 answers
159 views

zfs mount points are disappearing on reboot. how to fix it?

my zfs mountpoints are disappearing on reboot but able to get it back after import. please suggest me the solution? root@mfsbsd:~ # zpool import edjstorage root@mfsbsd:~ # zfs list NAME ...
user avatar
0 votes
1 answer
105 views

ZFS Pool on internal ssd partition disappears after reboot, pre-existing partition (whatever it is) pops up instead

Mojave 10.14.6, OpenZFS installed with brew (OpenZFS on OS X 1.9.4 Mojave.pkg) By "disappears" here I don't mean "it's not imported", I mean actually, really disappears (no output ...
user avatar
  • 61
2 votes
1 answer
423 views

DEGRADED disk is back ONLINE after reboot

I had a degraded disk on a ZFS volume in my FreeNAS server [build 9.10.2-U1 (86c7ef5)] and before trying to replace it, I rebooted the server. What does the following mean and do I have an issue with ...
user avatar
  • 123
1 vote
0 answers
102 views

best zpool properties and features for hdd zfs

which properties and features should I use for the normal and mirror pool? (on ZFS on Linux on Ubuntu/Arch/Manjaro) I have two 4TB HDDs and I want to create two pools: normal (RAID0): with first 500G ...
user avatar
1 vote
1 answer
19 views

ZFS prevents server to shut down as it keeps disk active

I have a small home sever running with Debian Buster where I have a ZFS filesystem (ZFS: Loaded module v0.7.12-2+deb10u2, ZFS pool version 5000, ZFS filesystem version 5) with a RAID. As the server is ...
user avatar
2 votes
2 answers
932 views

How to create a storage pool of drives (with existing data) without using RAID?

So I currently have an Ubuntu 20.04 machine that I'm running as a Plex Media Server. It has a 32gb SATA SSD used for boot, swap, /, and /home, as well as a 2TB M2 NVME SSD that I store my media on (...
user avatar
  • 211
0 votes
0 answers
19 views

ZFS on Linux - one of four drives removed

I have a small server with 4 drive bays in the front, all have an identical 3TB drive. Now ZFS reports one drive is removed. The machine sees the drive but I can’t get the drive to become not removed. ...
user avatar
  • 13
0 votes
1 answer
340 views

Cache configuration for PostgreSQL/TimescaleDB VM on ZFS with proxmox

I have a proxmox cluster of a single node and I want to start a new VM with a PostgreSQL and TimescaleDB and after a lot of reading about how to tune ZFS volumes for this purpose I still have some ...
user avatar
  • 113
0 votes
1 answer
361 views

ZFS and RAID configuration in a personal virtualization Proxmox 6.2 server

I happen to have this unused computer, and I upgraded its hardware a bit so I can use it as my personal platform for virtualized small servers. I plan to put Proxmox 6.2 on it but, before I install it,...
user avatar
  • 1
0 votes
1 answer
982 views

ZFS pool I/O is currently suspended due to disk mountpoint change (sdb to sdc). How can i fix it?

the HDD on which was mounted ZFS pool was physically reconnected and the result is that the zfs can no longer find the device at old location /dev/sdb as the drive got new name /dev/sdc. $ zpool ...
user avatar
  • 393
0 votes
1 answer
116 views

FreeBSD ZFS: missing top-level device in zpool

As a result of 2 stupid sysadmin tricks on a FreeBSD 10.4 machine, I have a non-importable zpool in this state: # zpool import pool: v id: 5630710617833891462 state: UNAVAIL status: One or ...
user avatar
  • 182
0 votes
2 answers
81 views

How to decrypt octal encoding from zfs diff output?

zfs diff replaces some of the characters in files names with \xxxx (in an octal encoding). Can I decrypt it back with awk or sed or any other common utility (without resorting to a perl or a python ...
user avatar
  • 109
0 votes
0 answers
28 views

Disk layout: First 512 bytes are intentionally not used by filesystem(ext, xfs, brtfs) and volume management(lvm,zfs,brtfs), is this a design rule?

I suspect that all modern filesystem(ext, xfs, brtfs..) and volume management(lvm, zfs, brtfs...) intentionally avoid using at least first 512 bytes of the disk or partition, is this true? I know it ...
user avatar
  • 558
0 votes
1 answer
29 views

rsync: chown "/some-destionation-path/.somefile.jpg.pY2TRG" failed: Permission denied (13)

I'm doing rsync -rlptoghv for transferring a folder from XFS to ZFS. Usually, no problems arise. But sometimes, for some files (and I can't find a pattern), rsync fails to sync file permissions and ...
user avatar
1 vote
1 answer
77 views

ZFS Scrub Errors even after replacing RAM?

I noticed my computer having a lot of ... weird issues. Crashes during compilations that were not reliable, etc. Finally, I noticed ZFS reporting data errors. I ran a memory test and got flakey, ...
user avatar
1 vote
1 answer
914 views

zpool cannot properly import missing pool after system crash

I have a raidz3 zpool on Ubuntu 18.04 with the Ubuntu built-in zfs features, there was a system crash recently, I guess it's caused by an unavailable(failed) disk, and after rebooting, the pool was ...
user avatar
1 vote
0 answers
56 views

ZFS modules suddenly stopped loading - Debian 10

My ZFS modules have mysteriously stopped loading at the point during boot when you would usually unlock the pool with encrypted ZFS on root (Debian 10). It drops into busybox and suggests loading the ...
user avatar
  • 11
1 vote
0 answers
75 views

Preparing a ZFS based setup for a potential future upgrade

I want to try ZFS on some personal server. From my understanding, it's not possible to add disks to a vdev after it's creation, only to add new vdevs to a pool. Also, it's considered bad practice to ...
user avatar
0 votes
1 answer
847 views

ZFS of whole disks with ashift=12 vs of aliagned partitions?

About to create zpool made of 14 hdd disks, and I see options: can simple do zpool create -f -o ashift=12 DATA raidz2 disk1 disk2 ... or can use eg parted to create one partition on each drive ...
user avatar
  • 160
0 votes
1 answer
119 views

Directory of an exported zfs pool comes back after removal

When i export a zfs pool, the folder where the the pool was mounted still exists with only some of the datasets the pool has contained before. Before re-importing I delete the directory where the pool ...
user avatar
  • 1

1
2 3 4 5
8