Questions tagged [zfsonlinux]

18 questions
3
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
  • 722
  • 3
  • 19
  • 35
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
  • 196
  • 3
1
vote
0 answers

ZFS I/O Error, Kernel Panic during import

I'm running a raidz1-0 (RAID5) setup with 4 data 2TB SSDs. During midnight, somehow 2 of my data disks experience some I/O error (from /var/log/messages). When I investigated in the morning, the zpool status shows the following : state:…
1
vote
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
  • 314
  • 3
  • 12
1
vote
0 answers

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 Openmediavault) on a separate zpool/dataset named…
bitflip
  • 31
  • 3
1
vote
1 answer

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 sometimes not used for days I have configured a…
MelBourbon
  • 31
  • 6
1
vote
0 answers

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 zfs modules - (initramfs)# modprobe zfs module…
Gareth
  • 11
  • 1
0
votes
0 answers

ZFS deduplication table not paged out to RAM

I have a pool on which there is 3.41 TB of data, deduplication is enabled on the volumes, judging by the output of the zpool status -D ... dedup: DDT entries 73665285, size 696B on disk, 154B in core ... I see that only 10 GB of DDT is…
lignumq
  • 1
  • 1
0
votes
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…
0
votes
1 answer

Is using ZFS L2ARC (secondarycache) cache, without ARC (primarycache) possible?

I Have a "home lab" system (Ubuntu 22.04 on i3-9300 with 32G ecc-ram, 10G of witch is dedicated to hugepages) currently holding 2 zfs raidz1 pools, one with 3x2TB WD-RED and nvme as log and cache device, and the second one with 3x1TB HDD (planing to…
Bartoszek
  • 11
  • 2
0
votes
0 answers

zpool won't import after crash while resilvering

With triple-mirrored vdevs, I'm really not sure why I can't re-import anyway. There was also a read cache vdev, but that is no longer connected, though that doesn't seem to be the issue. I've all but given up, but maybe someone else can point me…
Rob F
  • 101
  • 1
0
votes
1 answer

Is it possible to automatically take zfs snapshots on boot or shutdown?

I want to create a convenient solution for full system (root-on-ZFS) backups. The idea is to create a snapshot of the whole system on startup (before any writes to FS) or as a last step of shutdown process. That way I want to guarantee, that the FS…
totikom
  • 103
  • 5
0
votes
0 answers

How to undo rm -rf something on ZFS without a useful snapshot

So I mistakenly fell into the classic beginner's trap and reused the wrong and worst command in my .bash_history, namely rm -rf somefolder/*. I'm aware of things I could have done previously, which doesn't help me for the problem at hand. In…
Cadoiz
  • 519
  • 3
  • 10
0
votes
1 answer

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 causing big troubles right now... pool: maxtorage …
czechDude
  • 11
  • 2
0
votes
1 answer

ZFS beginner questions. Activating passkey, etc

I am on a journey of migrating a Windows/NTFS backup to Ubuntu and natively encrypted ZFS. As a Windows veteran with zero Linux experience, most guides seem like Greek to me. Successful progress yet: Installed OpenZFS via sudo apt-get install…
1
2