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
1answer
26 views

Unable to install ZFS on Debian 9

Hi after installing ZFS on Debian 9, I get zfs, zfspool, and modprobe zfs missing command. Here is the full commands i run to install zfs. Here's the full run commands and result: https://drive.google....
1
vote
0answers
13 views

Mount order problem with systemd

Running Raspbian Buster. I have a loopback mount defined in fstab (bind option) where directory A is looped in as B. I have another service started later (with systemd After=local-fs.target) that ...
0
votes
0answers
13 views

“ZED - ZFS Event Daemon” segfaults sporadically under Debian buster

Sporadically my "ZED - ZFS Event Daemon" is segfaulting and spamming my logs: Feb 16 00:33:54 XXXHostnameXXX kernel: show_signal_msg: 7415375 callbacks suppressed Feb 16 00:33:54 XXXHostnameXXX ...
0
votes
1answer
42 views

ZFS encryption and key length

I just noticed that my key used for ZFS encryption in aes-256-gcm, is not 256 bits long, but only 200 (25 characters). I wonder if another key is derived from this one to have a 256 bits long key, and ...
1
vote
1answer
43 views

ZoL (ZFS on Linux) Resilvering Priority

I'm troubleshooting some disk issues with an embedded system, and about half the time when I reboot the SATA drive is missing. The device uses a ZFS mirror for the root partition and has one SATA ...
0
votes
1answer
14 views

changing ownership on NFS shared ZFS storage - quota exceeded

I have very bizarre problem. I have CentOS server 6.10 and ZFS storage. Now storage is configured long time ago by someone, and I found out that for certain user there is a quota set. when I check on ...
0
votes
0answers
29 views

How can I change a ZFS mountpoint from legacy to be handled by ZFS

Currently using ZFS on ArchLinux. I have two datasets that I originally setup with legacy mountpoints: # zfs get mountpoint tank/data/home NAME PROPERTY VALUE SOURCE tank/data/...
5
votes
1answer
107 views

Recover/import ZFS pool from single old mirror

I made a couple serious errors dealing with my ZFS pools the other day (while misreading some online advice in fixing an error) and accidentally "created over" an existing 2-drive mirrored pool named ...
5
votes
0answers
60 views

Improving NFS performance on FreeBSD system

I have a FreeBSD storage Server exporting ZFS Datasets via NFS, but the performance for small file transfers is below the acceptable limit. Some background info: The exports are handeled via /etc/...
0
votes
0answers
40 views

How to find disk space with ZFS?

I have a Solaris 11.4 server with a ZFS rpool. I have deleted all the snpashots, cleaned up /var, removed all but the current boot environment. I still can't find out where ZFS is hiding the space. ...
2
votes
2answers
78 views

How does ZFS copy on write work for large files

Let's say I have a large file (8GB) called example.log on ZFS. I do cp example.log example.bak to make a copy. Then I add or modify a few bytes in original file. What will happen? Will ZFS copy the ...
0
votes
1answer
20 views

Change partition without affecting LUKS encryption

I want to change one of my partitions from ext4 to something else (xfs or openzfs), the partition is sdc5_crypt and is mounted at startup. My intuition says that I can format it with something like ...
0
votes
0answers
20 views

Is it possible to merge vdevs on ZFS?

I have a zfs filesystem with 6 vdevs, each in mirror mode with 2x redundancy. I am currently upgrading to higher capacity, such that a single one of the new drives can hold the entire capacity of the ...
0
votes
0answers
18 views

ZFS zvol refer value grows up when mounted

I have 2 question about ZFS. First is about ZVOL. I have pool created by two SAS drives (striped). I create ZVOL in this pool (using command: zfs create -V 400gb pool/myZvol) and everythink is OK. ...
0
votes
1answer
34 views

Issue in configuring zpool ZFS in EC2

While executing command in ZFS - sudo zpool create -f alluxio /dev/xvda . Getting below error:/dev/xvda is in use and contains a unknown filesystem. Could you please help me in solving this. Need ...
1
vote
0answers
32 views

Backup and restore ZFS filesystem incrementally over webdav or ftps

On my main server, I use ZFS as a file system. So far I send incremental zfs snapshots to a backup machine which also has zfs available as a file system. Unfortunately, the backup server has a ...
1
vote
1answer
24 views

Edit VTOC label in Linux as guest LDom in Solaris after resizing vdisk zvol

I've got a Solaris 10 system on SPARC hosting multiple Linux guest LDoms which were installed on ZFS zvols. After resizing the zvol though, the Linux doesn't "detect" that disk resized, and from what ...
0
votes
1answer
66 views

Compiling ZFS on aarch64 CentOS

I'm trying to compile zfs on my raspberry pi4, running CentOS 7.7 (64bit). I followed the instructions provided here: https://github.com/zfsonlinux/zfs/wiki/Building-ZFS but can't get past the ...
0
votes
0answers
18 views

ZFS scrub reports non-zero CKSUM but “0B repaired”. How can this be?

The precise output of "zpool status" after an overnight scrub is shown below. I don't understand how I can get non-zero CKSUM but zero bytes repaired.... # zpool status pool: tank state: ONLINE ...
0
votes
0answers
23 views

How can I migrate existing zfs pool to a pool with rootfs on it

I am now using proxmox, a virtualization platforms based on Debian. The disk layout is: Rootfs and boot partition in a usb key drive A zfs raidz pool as the storage But my usb key drive was broken ...
0
votes
0answers
40 views

Fix mdadm RAID1 inconsistencies using btrfs/zfs checksums

I prefer mdadm RAID1 vs btrfs RAID1 because: With btrfs, all read requests from the same PID go to the same device bcache coverage is doubled using a single mdadm RAID1 device vs btrfs with 2 ...
-1
votes
1answer
68 views

Must be a block device or a regular file (ZFS, Solaris)

I'm learning how to use ZFS on Solaris. I have 6 disks each with 8GB of storage (/export/home0-5). I want to put them all into one zfs pool. This is my setup. When I run the zpool create command, I ...
2
votes
2answers
80 views

Does Opensolaris offer distributed ZFS filesystems

I haven't had any luck getting a confirmed yes or no to this question. I'd like to run ZFS as a distributed file system (like Gluster or CEPH). OpenZFS and ZFS on Linux does not (yet) have file ...
0
votes
0answers
11 views

zfs/linux - how to measure sync vs async I/O usage/calls by applications?

Is there a way to measure the amount of I/O issued by a process (or set of processes) that is sync vs async in nature? Assume that I have root access to the system (linux) but that I do not know in ...
3
votes
1answer
1k views

ZFS encrypted pool on Linux?

I'm currently playing around and testing ZFS and I really like it. Now I am looking for the best way to use it as a replacement for my standard setup with luks-based full disk encryption. How is the ...
1
vote
0answers
240 views

Change the mount point of a ZFS dataset that's in use

How can I change the mount point for a ZFS pool/dataset that is currently in use? I don't mind if it doesn't change immediately and I need to reboot, but I can't work out how to do it: $ zfs set ...
1
vote
1answer
48 views

Permanent errors have been detected in ZFS pool

One of the disks died in zpool so after replacing it and resilvering started, an error message popped up in zfs status -v output. pool: backup state: ONLINE status: One or more devices is ...
0
votes
2answers
47 views

How to get systemd to wait until zfs rollback is complete

I'm attempting to write a systemd service file that will call a script to rollback a zfs dataset at startup and at shutdown. The startup part is working great, but I keep getting kernel panics on the ...
1
vote
0answers
107 views

ZFS Drive both in pool and hot spare?

I'm running a RAIDZ2 setup on my server. This is mounted as /NAS, and not involved in the boot process. Running Ubuntu Server 18.10. I had two drives go out on me at the same time. I have already ...
3
votes
1answer
155 views

ZFS silent corruption

I am trying to find answers to some questions on how ZFS works: does it detect silent corruption via checksums as soon as data is changed (and differs from checksum), automatic in a way (then if ...
0
votes
0answers
34 views

Accidental ZFS Resilver

I run a RAIDZ2 array of 4 hard drives. All the drives in the array are second hand, so they often fail and I replace them. Today, I began to see I/O errors on a drive, so I went to replace it. ...
0
votes
1answer
34 views

Suspicion one drive is faulty in zpool, but showing four?

I have a server that I am running for myself and my friends. We host games using Ubuntu 18.04 LTS Server on the primary boot drive, and use a RAIDZ2 pool for storing backups of those games, our music, ...
0
votes
1answer
105 views

ZFS send of 1.6GB volume results in a HUGE file - fragmentation to blame?

I have a strange issue I haven't seen before. I have a ZFS volume which reports it's about 1.7Gb in size, and so does a snapshot. If I then try to do a zfs send for backup purposes, I get a HUGE file -...
3
votes
0answers
165 views

Encryption of existing dataset in ZFS (ZoL 0.8)

Is it possible to encrypt an existing dataset (including snapshots) in ZFS on Linux >= 0.8, e.g. by using send | recv and destruction of the original dataset?
4
votes
2answers
233 views

How can *efficiently* be determined whether a ZFS dataset has been changed since the last snapshot as a simple yes/no-question?

Say I have a pool named tank and a dataset inside of it named data. There is also at least one snapshot of data named last_snapshot: tank tank/data tank/data@last_snapshot The "slow" way of figuring ...
5
votes
2answers
2k views

Adding disks to ZFS pool

I am planning a storage server where users will store up to 20 TB of data. Since I have made some good experiences with ZFS on Linux, I would like to use that. However, I know that the amount of data ...
0
votes
0answers
24 views

Is there a way to get the correct hash of a zfs snapshot?

I'm sending a ZFS snapshot over the network. However, unlike most of the examples where there's a zfs recv on the other side, my server doesn't have zfs support and I'm just saving it as a huge file. ...
6
votes
2answers
173 views

Report how much space is used and available in storage in ZFS on FreeBSD

When using ZFS on FreeBSD, how can we see how much space is used and how much is available in storage drives (hard disk, SSD, etc.)? For example, spinning up a virtual machine instance of FreeBSD on ...
0
votes
0answers
22 views

Cannot mount anything into directory (on ZFS)

I have a directory on a ZFSoL 0.8.1 filesystem into which I cannot seem to mount anything, and I am quite puzzled ... mypool/ => /mypool mypool/fs1 => /mypool/fs1 mypool/fs2/...
2
votes
1answer
252 views

Recover data from destroyed ZFS filesystem

I have a 1TB filesystem in a Proxmox environment, that was unluckily destroyed by Proxmox while trying to restore a container. Can the filesystem be recovered, or at least part of the data stored in ...
0
votes
0answers
77 views

creating a systemd service to mount the encrypted home

I hope my message is posted in the right section, i'll try being as precise as i can. i'm running: arch-linux with LTS kernel (4.19.52-1-lts) zfs on root (0.8.1). systemd: 242 (242.29-1-arch) ...
0
votes
1answer
68 views

Ubuntu lsblk drive size

I am setting up a ZFS NAS using Ubuntu 18 with 8 hard drives for storage. When I use sudo lsblk -P to check what the drive names are, I only see sdb-sdh. I know this is because it will skip over the ...
0
votes
2answers
422 views

How to convert one-disk zfs pool into two-disk RAID1 pool?

I have a one-drive zfs pool named data on my desktop computer, created with something like zpool create data /dev/mapper/data (zfs on luks). I would like to convert it into a raid1 pool, but only have ...
2
votes
1answer
55 views

ZPool export from USB to SATA

I have a zpool imported with /dev/disk/by-id. This zpool consists of 2 disks connected via USB (with SATA hard drive adapters). The status of the zpool looks like this: NAME ...
1
vote
1answer
58 views

Good filesystem to manage space efficiently

Quick question: is there a filesystem that let me automatically "resize" (up or down) partitions, share one partition between several devices, and make sure that some content only go to one device ...
0
votes
1answer
59 views

Using ZFS pool with two operating systems taking turns

I am transitioning from an old Ubuntu installation to a new one. While transitioning, I want to be able to use the same pool from the old and the new OS. The new OS will be on a different disk. I ...
2
votes
2answers
178 views

ZFS pool performance, zio_write_issue

We have a relatively large ZFS pool (23 vdevs in raidz3, ~1PB raw). The headnode has 16 cores and 192GB of RAM. We have one ZIL in the pool and no L2ARC. The pool is running solaris 11.3 The pool can ...
1
vote
1answer
896 views

ZFS replace disks by id

By accident, I created a zpool using /dev/sda and so on. I knew this was a bad idea; I just wanted to test my setup. It turned out that it worked so well, I forgot about the device names and started ...
0
votes
0answers
189 views

ZFS Disk Image Performance

I am trying to move from LVM to ZFS as a backing store for raw virtual machine / disk images on a new server. I am using Ubuntu 18.04 and the SSDs are all Intel D3-S4510. The problem I am ...
1
vote
1answer
410 views

FreeNAS zpool import crashing

I had a power interruption that caused more than one issue on my server. Unfortunately, the backup was running at the time, and needless to say, I am in a bad place with my FreeNAS raid pool. I have ...

1 2 3 4 5 8