Questions tagged [zfs]

ZFS is a combined file system and logical volume manager designed by Sun Microsystems The features of ZFS include protection against data corruption, support for high storage capacities, efficient data compression, integration of the concepts of filesystem and volume management, snapshots and copy-on-write clones, continuous integrity checking and automatic repair, RAID-Z and native NFSv4 ACLs.. -Wikipedia

Filter by
Sorted by
Tagged with
0
votes
0answers
93 views

How does mounting of a recursive zfs snapshot behave in default mount directory .zfs/snapshot?

I have a zfs pool called "data" on which I also put /var/lib/docker. Due to docker (in my case; for the sake of the question docker is irrelevant) zfs list looks something like this: data ...
1
vote
0answers
14 views

Creating a self-destructing(encryption keys) account on linux (Ubuntu / Freebsd)

Firstable, pls pardon my english as it's not my 1st language. I m trying to create an self-destructing log-in account on my critical data storage which are using ZFS as primary file system. An account ...
1
vote
0answers
21 views

ZFS mirror bootable? (to boot from it in case the other fails)

I'm looking to have a ZFS mirror on my small fileserver, that's essentially one "mobile workstation" with two 2.5" drive bays, DVD drive, USB3, all the slots, and ports you can imagine, ...
0
votes
0answers
96 views

Debian: ZFS installation error: Module zfs not found in directory /lib/modules/4.19.0-14-amd64

I installed ZFS on Debian, but can not get it working. I try to install zfs this way: I added this to /etc/apt/sources.list : deb http://deb.debian.org/debian/ buster main contrib non-free deb http:...
0
votes
1answer
26 views

How to disable Linux file read cache in favour of ZFS ARC

Most of the answers to related questions here seem to assume the person asking thinks linux is "eating their ram" or come up with workarounds such as dropping caches every minute from cron. ...
0
votes
0answers
8 views

Recover data after accidental “zpool create” on the wrong drive

I created a Zpool on top of an external drive that had an XFS partition full of data. I think the partition table got written over as it now shows a ZFS partition on the drive. Is there a way to ...
0
votes
1answer
32 views

Is there a file system out there that supports custom file size limit?

I'm aware that EXT4 has a max_dir_size_kb mount option to set up the max size of each directory. It doesn't have a similar option to specify the max size of individual files, though. Is somebody aware ...
0
votes
1answer
14 views

.zfs/snapshot/zfs-auto-snap_daily-2021-01-08-0525 is empty

On my ZFS server .zfs/snapshot/zfs-auto-snap_daily-2021-01-08-0525 exists but it contains no files. The same goes for all .zfs/snapshot/zfs-auto-* How did that happen?
0
votes
1answer
26 views

Make sure two folders are identical on compressed zfs and ext4

Summary I have copied (rsync --archive) a folder from an ext4 filesystem to a zfs file system with compression on. Now, I'm trying to verify that both folders are identical so that I can safely delete ...
0
votes
0answers
34 views

Extremely poor performance for ZFS 4k randwrite on NVMe compared to XFS?

I've been a fan of ZFS for a long time and I use it on my home NAS, but in testing its viability for production workloads I've found that its performance is inconceivably bad compared with XFS on the ...
0
votes
0answers
32 views

After export a ZFS pool, it shows as “SUSPENDED”

I have a NAS mapped via iscsi to the Server as Drive and formatted with zfs mounted at "nas". Everything works as expected. After zpool export nas and detached the physical NAS, zfs shows ...
0
votes
0answers
12 views

Proper dealing with mountpoint on OpenZFS

ZFS in contrast to other file systems are not using fstab, but store internally information what and where should be mount. At first glance isn't big deal, just instead of editing file I had to run ...
0
votes
1answer
33 views

Oracle Linux 7.8 - NFS Permission Denied

I mounted an NFS to my new server (ZFS to NFS). But I'm getting permission denied when I try to go directory. All platforms are Oracle Linux 7.8 /etc/fstab: IP_OF_ZFS:/ZFS_PATH/ZFS_PATH /...
0
votes
0answers
14 views

zfs all space occupied

I've created a pool from several disks, then check it's size, then calc 80% from the actual avil size in pool, then i've created zvol (block device, see -V opton below) zfs create -o compression=off -...
0
votes
1answer
29 views

Solaris 11: zfs smb share works only as guest

I'm on Solaris 11.4 I create a zfs fs zfs create rpool/share and I set for sharing via smb zfs set share=name=zfssmb1,path=/rpool/share,prot=smb,csc=auto,guestok=false rpool/share When I try to ...
1
vote
1answer
31 views

Weird output of ZFS list regarding filesystem sizes

I created some zfs datasets using the following options: zfs create ... data/media -o reserv=1TB data/audiostudio -o reserv=600GB data/database -o reserv=20GB data/Git-Backup -o reserv=20GB data/PC-...
1
vote
1answer
31 views

Howto move an existing Solaris11 installation to a new disk

I want to move an existing Solaris 11 (x86) installation from hdd to a new ssd. Because the ssd is smaller then the hdd, a simple copy with dd is not possible.
1
vote
0answers
60 views

Prevent ZFS pool automount

There's a Manjaro installation on ZFS that I'd like to chroot into from a rescue system on a USB stick. When booting the rescue system, the ZFS pools are automatically detected and mounted, if ...
1
vote
0answers
20 views

Setting a user quota in ZFS which does not count snapshots

I love ZFS on Linux (RedHat 7), and users love the recovery that snapshots provide. The one problem that I have is that users will completely fill up their user quota then delete files expecting to ...
2
votes
0answers
33 views

zfs on linux device names

I'm a native Solaris guy and as I look into more Linux use, I'm a little confused about a theme I'm seeing in some posts about ZFS on linux. The posts refer to the use of device names when defining a ...
0
votes
1answer
19 views

How to identify which process is writing on encrypted disk with ZFS

My disks (ZFS on Linux on encrypted LUKS) are not staying in standby and I'm not able to identify which process is waking them up. iotop is showing command txg_sync which is related to ZFS. So I tried ...
0
votes
1answer
62 views

ZFS, mounted on what disk/partition

A ZFS is mounted in my system on /mnt/zfs. zfs list prints: NAME USED AVAIL REFER MOUNTPOINT my-zfs-pool 523G 376G 523G /mnt/zfs I.e. this is the ZFS pool my-zfs-pool. zpool ...
0
votes
1answer
283 views

What exactly does zpool export do?

After having read the section about zpool export in man zpool, I am worried somehow: Exports the given pools from the system. All devices are marked as exported, but are still considered in use by ...
0
votes
0answers
45 views

ZFS Ubuntu 20.04 , unable to change files even as root : Operation not permitted

I recently reinstalled Ubuntu 20.04 , now I can no longer rename / delete files without : Operation not permitted SELinux is disabled I have not noticed any ACL settings on the files lsattr -----------...
0
votes
0answers
11 views

Do “lookup ops” interfere with R/W ops?

On Solaris 11, and using ZFS, we monitor the IOPS of the filesystems in different datasets using: fsstat /apool/adataset/* 1 100 where apool is the ZFS pool containing a parent dataset adataset with ...
0
votes
0answers
52 views

Linux equivalent to fsstat from Solaris or FreeBSD

On Solaris, we are monitoring the activity of several filesystems in individual shares using the command: fsstat -i /apool/adataset/* where apool is the ZFS pool in which adataset is the parent to ...
0
votes
0answers
77 views

Encrypted ZFS replication on Debian (TrueNAS Scale)

I have a very simple system with one primary pool "tank" containing a single dataset "data". A secondary pool "reservoir/data" is intended to hold replicated snapshots of ...
0
votes
1answer
60 views

Debian 10.x: apt full-upgrade did NOT upgrade my ZFS packges. Is this normal?

as above. setups I followed/used: I installed 10.6 on my PC desktop I immediately installed ZFS (using steps listed here: https://wiki.debian.org/ZFS). My linux version is 4.19.0-12. Created some ...
0
votes
0answers
13 views

non-English characters disappearing on my filenames when I copied them (from my Windows10 PC) via NFS to my FreeBSD ZFS file server

The filename has the character "ō". when I browsed the destination folder (via SSH), "ō" was converted to letter "o" Any ideas on how to fix? FreeBSD setup (can provide ...
0
votes
0answers
56 views

Warm up ZFS cache - force file into l2arc

Currently I use: while true; do cat file >/dev/null echo 3 | sudo tee /proc/sys/vm/drop_caches done to warm up ZFS's l2arc. When I can see accesses are primarily coming from the cache disk, ...
0
votes
1answer
23 views

How do I make a backup of the entire ZFS pool (zroot that's created during FreeBSD installation)?

as above. when I mentioned snapshot, I meant all of the pool and not just the individual filesystem created by FreeBSD. So in case I made a mess in various folders, I can just rollback to this ...
0
votes
0answers
25 views

Config to minimize write amplification in QEMU VM?

Here's what I'm trying to accomplish, per-VM virtual disk image. (Win10 and Ubuntu VMs as "desktop" OSes, among other minor headless VMs): At-rest encryption (w/ thumbdrive key) Transparent ...
1
vote
0answers
32 views

zfs filesystem: ls on one dir yields Input/output error. “zpool status” good “smartctl -l selftest” on all devs good. What next?

"Inherited" maintenance of lab Ubuntu server 16.04 system with zfs filesystem. The zfs part is new to me. Getting I/O error with ls for a specific directory but everything looks clean. "...
1
vote
1answer
27 views

Why is free memory not used as disk cache?

My file server says: $ free total used free shared buff/cache available Mem: 8023836 5250252 2534480 668 239104 2515488 Swap: ...
3
votes
0answers
46 views

Why does ZFS rollback destroy intermediate snapshots?

Having used btrfs before, I was surprised to find out that rolling back a snapshot in ZFS not only changes the “working set” of files, but also requires that any snapshots which are newer than the ...
1
vote
0answers
36 views

How to remove an errant ZFS spare entry?

I have a ZFS spare reporting in an odd way. There is no sda spare. The spare "was" actually in use, listed as spare3 in screenshot below. However, sda is in fact the non-ZFS boot drive. ...
0
votes
0answers
23 views

ZFS pool: all drives fail simultaneously

I have a situation where all my drives in a ZFS pool fail at the same time, at irregular intervals, and the only way to recover is to cut the power to the disk enclosure and host. When this occurs the ...
0
votes
0answers
17 views

ZFS setup, adding drives on the go

I am not very knowledgeable when its comes to ZFS or drive pools. I am currently running an Ubuntu server with 5 different ext4 drives. 1x 128gb SSD for the OS, 1x 10tb 80% used, 1x 8tb 80% used and ...
1
vote
1answer
31 views

Efficiently turn a directory tree into a new filesystem on zfs

I "inherited" management of a system, whose "/opt" (and some other large directory trees) are stored in the root file system. My wish now is to create a new filesystem in the rpool ...
1
vote
0answers
178 views

How ZFS deals with bad sectors?

I have a disk with a couple of bad sectors. I've used badblocks to check which sectors were faulty. dd could not write zeroes to them and smartctl -t long /dev/sdx has failed. I know that you can ...
1
vote
1answer
50 views

Zfs file system with two roots that can be selected at boot

I have Ubuntu 20.10 on zfs root (upgraded from 20.04) I tried to restore 20.04 using zsys features at boot, which was unsuccessful. I have a backup (created using syncoid). Using zfs send/receive. I ...
0
votes
1answer
44 views

Move /var from atn Ext4 partition to a ZFS partition in Debian

I want to move /var from a simple ext4 partition to a zfs pool I've built on a RAID array. I understand I've got to reboot in single user mode to cp -avr the /var partition across, but how do I make ...
0
votes
1answer
13 views

zfs: replace a disk NON-mirrored pool with one disk

I have 2 disk (1tb each) pool. I'd like to replace it with a larger disk (2tb) I was not able to find a simple command like "replace" that can work in this situation. Any help will be ...
0
votes
0answers
174 views

If dnf can't find the best candidate for package dependency, how am I supposed to find out?

zfs requires zfs-kmod = 0.8.2 so obviously it knows what it needs except that zfs-kmod requires dkms which can't be found. What dnf says: cannot install the best candidate for the job Sub-parts of ...
0
votes
1answer
261 views

ZFS Pool in permanent resilvering loop, unable to detach/remove devices

My pool: ❯ zpool status pool: wdblack state: ONLINE status: One or more devices is currently being resilvered. The pool will continue to function, possibly in a degraded state. action: Wait for the ...
1
vote
1answer
52 views

ZFS send/receive whilst changing dataset properties

Summary: Is a ZFS send/receive always to receive an exact replication of the sending dataset - matching dataset properties included - or is it possible to receive into a newly created dataset with ...
0
votes
0answers
74 views

Why does a ZVOL's refreservation reduce the parent's available space even when it is lower than the space the ZVOL already references?

I am not able to understand how refreservation works. From the docs: Sets the minimum amount of disk space that is guaranteed to a dataset, not including descendents, such as snapshots and clones. ...
1
vote
0answers
102 views

Error installing Arch on LUKS-encrypted ZFS root: `/sbin/init does not exist`

I have almost successfully installed Arch Linux on a LUKS-encrypted disk with a ZFS root. I can get the password prompt to decrypt the LUKS volume, but the next step with loading the installed system ...
2
votes
1answer
289 views

Does anyone know the way to undelete file on ZFS?

Is there any way to undelete file on ZFS. I overwrote JPG file with the scanned image. Unfortunately, I didn't take snapshot. But ZFS uses the CoW mechanism, overwritten data may still alive, I think. ...
1
vote
0answers
74 views

Why can I cd into a folder I should not be able to access?

I'm having an odd issue with my FreeNAS server related to permissions. Let's just say I have a ZFS pool with the following datasets: personal1 personal1:guest drwx------ personal2 personal2:family ...

1
2 3 4 5
10