Questions tagged [zfsonlinux]

31 questions
4
votes
1 answer

What are potential dangers of spanning ZFS RAIDZ over different size disks?

I am redesigning my homelab servers from scratch, and I want to give ZFS a try after some experimentation I've done in a VM. I know there is a limitation - disks in vdevs must all have the same size (otherwise only the smallest one would be used).…
toriningen
  • 1,014
4
votes
1 answer

ZFS Unmount Entire Pool

I'm getting issues when mounting my zpool. Some zfs aren't mounting because "directory exists", aka the subfolders that the subdataset is stored in. Such as tank/media/movies. It says that that /tank/media/movies exists, so the mount fails. So…
cclloyd
  • 882
2
votes
0 answers

What does it mean when zfs diff shows a path as both REMOVED (-) and ADDED (+)?

I am reviewing ZFS snapshots to determine if there is any data that I accidentally deleted, but I see a path is BOTH added and removed within the same diff. What does it mean for a path to be both added and removed? winston@silo ~ $ sudo zfs diff…
Winny
  • 478
2
votes
0 answers

How to automatically import a ZFS pool with ALTROOT?

I have a Proxmox setup which automatically imports the default created ZFS root pool and makes it available as /rpool. That works because a cachefile is used and there's a systemd service importing all pools part of that cachefile. Though, I have…
2
votes
1 answer

How do I import ZFS pool from a crashed system?

I had one ZFS pool attached to a system that crashed. I was looking for ways to bring that pool to a new system however it looked like I need to use zfs export first, given I do not have access to the original system any more so I can't do zfs…
yarun can
  • 1,060
2
votes
1 answer

Mount Windows 11 WSL2 zfs pool at login before any programs load

I want to be able to mount zfs pool in a WSL2 Ubuntu distro to make it transparently available for use by native Windows programs. I have created a custom kernel with zfs enabled with help from this guide:…
2
votes
0 answers

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 file archive is stored on simple ext4 partitions…
user63835
  • 374
  • 1
  • 4
  • 13
2
votes
0 answers

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 ONLINE 0 …
aktivb
  • 206
1
vote
0 answers

Why is it that ZFS deduplication is off but it is apparently still working?

I was just trying to figure out deduplication in ZFS. So I created a file which was my "disk" for testing. I heave created two datasets - one with dedup turned on, the other one without dedup. The dedup-on dataset was not used, just mentioning it to…
sarmun
  • 11
  • 1
1
vote
0 answers

How to reliably check with ZFS if XATTR is stored using SA or DIR for some files?

I have some datasets using XATTR=ON in the past, which actually mapped to LEGACY/DIR, and migrated them to XATTR=SA now for performance reasons. Most of these property changes take effect for newly written data only and the files in the datasets are…
1
vote
0 answers

Does changing ZFS property XATTR take effect immediately or need a dataset be rewritten?

Context I'm using multiple ZFS datasets in one pool backed by HDDs to store backups and am forwarding those backups using RSYNC into some other pool on a different HDD, which can be replaced regularly. All of the datasets used the property xattr=on,…
1
vote
0 answers

Identify why zfs is busy, cannot be destroyed

I have a zpool (SSDs) comprised of three drives. This pool was moved to a UBUNTU system from a retired FREENAS system, and there is no "valuable" or meaningful data on the drives. The list of filesystems in this pool is: SSDs …
Dennis
  • 225
1
vote
0 answers

Does ZFS support SSD deduplication tables within the same pool only?

At least TrueNAS supports assigning SSDs for metadata and especially in case deduplication is used for ZFS: High quality mirrored SSDs configured as a special vdev for the DDT (and usually all metadata) are strongly recommended for deduplication…
1
vote
0 answers

Listing a directory (and entering) on ZFS takes a few seconds the first time? (re: sleep/idle?)

I have a few ZFS ZPOOLs configured: NAME SIZE ALLOC FREE CKPOINT EXPANDSZ FRAG CAP DEDUP HEALTH ALTROOT backup 1.81T 1.41M 1.81T - - 0% 0% 1.00x ONLINE - storage 21.8T 7.47T 14.3T - …
SofaKng
  • 1,285
1
vote
0 answers

How can I make Samba's vfs fruit work with large macOS extended attributes on a Linux kernel?

I have a macOS client (12.6.7) with APFS filesystem that supports large extended attributes (one attribute value being over 68 MB in a test). I have a NAS server with Ubuntu Server 22.04.2 LTS with ZFS file system and Samba Version…
1
2 3