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
1
vote
0answers
29 views

Command line tool to rewrite all files in directory tree

Is there a command line tool that can be used to rewrite all regular files in a directory tree either in-place or by creating new inodes? With rewriting a file in-place, I mean opening the file for ...
0
votes
1answer
31 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....
3
votes
1answer
1k views

Btrfs/ZFS Network Replication

Is it possible to replicate a ZFS or Btrfs raid volume in real-time (or as close to as possible, network specs aside) over a network? ZFF and Btrfs are ideal because of their CoW properties. I'm ...
4
votes
1answer
366 views

What are data integrity / bit-rot protection options on CentOS 7?

I have a 2 disk CentOS 7 machine build that I need data integrity / bitrot protection on. How can I achieve this? Note from my reading btrfs,zfs and DM-Integrity does not seem to be options. Btrfs ...
1
vote
0answers
14 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
43 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 ...
5
votes
1answer
1k views

How to use keyfiles,for ZFS whole disk encryption?

Does anyone have a working implementation using keyfiles, preferably on SD Card, instead of a prompt for ZFS? I know how to do this with linux LVM/LUKS. In my opinion the FreeBSD full disk ...
1
vote
1answer
46 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 ...
5
votes
1answer
109 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 ...
3
votes
2answers
1k views

ZFS detach mirrored drives in a pool

I have an older (2-3 years) NAS running FreeNAS. I figured its time to upgrade some of the hard drives. Here's the current status: NAME STATE READ WRITE CKSUM ...
0
votes
2answers
941 views

Solaris 11 /var used significant space, but I cannot see it on filesystem

I have a mirrored rpool: NAME USED AVAIL REFER MOUNTPOINT rpool 72.1G 1.22G 39.5K /rpool rpool/ROOT 67.9G 1.22G 31K legacy rpool/...
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
30 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
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. ...
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. ...
2
votes
2answers
79 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 ...
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
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 ...
1
vote
1answer
500 views

Zero out deprecated ZFS Label from Disk with dd

I recently created a new zpool over 8 disks with 4 mirrors. Today I attached the disks to a linux server and an old deprecated zpool is now showing up with zpool import which uses the same disks as ...
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 ...
3
votes
2answers
896 views

FreeBSD complains “invalid partition table”—still boots

I've recently installed FreeBSD 12.1 on my Dell Precision M4800 with ZFS as the root file system. The operating system is installed on an mSATA SSD, a 2½″-HDD is installed, too. On startup, the system ...
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
1answer
3k views

How to set up ZFS with ZIL and L2ARC SSD?

I have been considering bcache and flashcache. However my friend suggested me something called ZFS. In fact it says that formating disk with ZFS can actually do the exact same thing without kernel ...
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 ...
0
votes
1answer
67 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 ...
4
votes
1answer
969 views

How can I detect whether an “NMI watchdog: BUG: soft lockup” is a hardware or a software issue?

Soft Lockup dmesg reports in my laptop, since quite some time now, NMI watchdog: BUG: soft lockup every time I try to use updatedb or firefox. Samples of what is reported posted at https://github.com/...
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 ...
4
votes
2answers
1k views

ZFS on Linux: cannot destroy snapshot, dataset is busy

I'm trying to delete a bunch of old ZFS snapshots but I get errors saying that the datasets are busy: [root@pool-01 ~]# zfs list -t snapshot -o name -S creation | grep ^pool/nfs/public/mydir | xargs -...
2
votes
1answer
1k views

ZFS - “Add. Sense: Unrecovered read error - auto reallocate failed” in syslog, but SMART data looks OK

I have a zpool (3x 3TB Western Digital Red) that I scrub weekly for errors that comes up OK, but I have a recurring error in my syslog: Jul 23 14:00:41 server kernel: [1199443.374677] ata2.00: ...
-1
votes
1answer
70 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 ...
3
votes
2answers
4k views

How do I create a zpool using uuid or truly unique identifier?

I created my first zpool the other day, assigning by drive letter, and found that when I rebooted it was degraded. Upon closer inspection, I realized that my drive letters had changed with reboot, so ...
2
votes
2answers
85 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 ...
4
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
244 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 ...
16
votes
2answers
16k views

Forcing zpool to use /dev/disk/by-id in Ubuntu Xenial

I'm giving the bundled OpenZFS on Ubuntu 16.04 Xenial a try. When creating pools, I always reference drives by their serials in /dev/disk/by-id/ (or /dev/disk/gpt on FreeBSD) for resiliency. Drives ...
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
48 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
2answers
559 views

Is ZFS safer with non-ECC RAM if you disable checksums?

I've heard about the Scrub of Death. However one can disable chekcsuming in ZFS datasets. If so - will that make the situation safer for a system that's not using ECC RAM? I'm not thinking of a NAS ...
3
votes
1answer
3k views

Restore ZFS Pool and storage data after a system re-install

I recently re-installed my host OS to Mint 19 64 bit, and am now trying to get all of my external drives back online. I had a ZFS storage pool made up of 4 1 TB disks, and set them to allow 1 drive ...
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
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, ...
10
votes
2answers
6k views

Optimised ZFS in low RAM environment feasibility?

I am currently setting up a file server and have come to the point of actually setting up the data drives. The system has 4 drives (one OS disk, 3 data disks). The OS disk is formatted as ext4 and ...
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 -...
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. ...

1 2 3 4 5 8