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
35 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
48 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
17 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
31 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
25 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
23 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
35 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
15 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
21 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
32 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
51 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
60 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
10 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 ...
2
votes
1answer
670 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
161 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
41 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
44 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
86 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
144 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
33 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
33 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
96 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
164 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
207 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
21 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
166 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
21 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
230 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
68 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
56 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
315 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
51 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
57 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
44 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
169 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
751 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
169 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
349 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 ...
2
votes
1answer
293 views

ZFS Mirror over one large disk and a RAID0 of two small disks

You have: two disks of size X and one of size 2X. You want: zpool with mirror-like redundancy of size 2X Concatenation of the two X drives is straightforward with ZFS. But I found no way to mirror ...
1
vote
0answers
502 views

How to dual boot FreeBSD and Linux on the same Hard disk?

I tried installing FreeBSD 12 release version on my system which already had 3 Linux OS installed. It was the minimal install iso image. My internal HDD with GPT partition table. I tried using the ...
3
votes
1answer
95 views

Can ZFS subvolumes contain other filesystems?

I want to format a subvolume with a filesystem other than ZFS, since a program I use needs certain File System features ZFS doesn't have (Portal 2 on macOS has File System constraints). APFS has a ...
0
votes
0answers
242 views

How change device name into a zpool?

I removed two disks from a freranas system. These two disks are formatted in ZFS. These two discs are configured in Mirror (RAID1). I have inserted these two disks on another system but I did not ...
0
votes
0answers
52 views

Recommended recordsize for a zfs dataset hosting a Netatalk CNID backend database? (.AppleDB)

Which is the recommended record size for a zfs dataset hosting a Netatalk CNID backend database?? (.AppleDB) The plan is to use a zfs dataset exclusively for the Netatalk CNID backend, and configure ...
2
votes
1answer
447 views

ZFS incremental snapshot send/recv without first snapshot

I have the following ZFS dataset: pool/dataset pool/dataset@snap1 pool/dataset@snap2 pool/dataset@snap3 Which has been replicated to a backup pool, using ZFS send/recv backupPool/dataset backupPool/...
4
votes
2answers
990 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 -...
1
vote
2answers
253 views

Most ironclad way to make root installation redundant and maximize uptime? RAID, ZFS or something else?

I would like to set up my desktop computer (which is actually a server for the KVM guests I do my actual work in) to have a redundant root installation. If one drive dies I want to quickly get back ...
2
votes
1answer
28 views

Unable to explain zfs referenced after rsync

I have an aging Centos NFS server with a few different ZFS datasets. I've been migrating the data to a newer NFS server using rsync. The new server is also a Centos ZFS host. My issue is that for one ...