Questions tagged [zfs]

ZFS is an integrated filesystem and volume manager, originally designed by Sun

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

move any writes from one directory in filesystem type to another directory in filesystem type

say for example I've a directory /abc/123/tmpdir on ext4/xfs or may be any other file system type. If I've to mount above directory onto a different directory something like - /xyz/321/tmpdir on a zfs ...
0
votes
1answer
18 views

Copy from Mac to ZFS SMB share hangs the copy process once ARC_Max reached

New installation of 20.04.2 and ZFS installed via Cockpit. I've setup SMB shares and have managed to get TimeMachine working. The problem is when I want to copy/paste while on the Mac (Big Sur) to an ...
0
votes
0answers
21 views

ZFS Create, Export, Reimport by disk ID

I have created a raidz2 pool consisting of 8 physical drives using device files /dev/sda through /dev/sdh and I then exported and reimported the pool to convert the pool to using disk serials instead ...
0
votes
2answers
41 views

Creating a 3 disk raid5 without losing data?

I had 1 4TB drive on its own that is quite full, now I got 2 additional 4TB drives, and I want to use the three in a raid5 configuration with some kind of software raid, like lvm or zfs. But I don't ...
0
votes
2answers
87 views

hard disk free space not increase after delete files from ZFS file system(Ubuntu 20.04.2 LTS)

I'm a new user to Ubuntu and I'm using Ubuntu 20.04.2 LTS on my laptop. I deleted some video files to free my hard disk space but after that hard disk space not increased (I also deleted files from ...
1
vote
0answers
108 views

Partitioning for multi-disk root on ZFS

I'm looking for advice on partitioning a new system with multiple disks for root on ZFS with 21.04. The machine has: 32 GB ECC RAM Two 5 TB HDDs 1 TB M.2 SSD 2 TB M.2 SSD For context, I've read ...
1
vote
1answer
216 views

How to delete/modify the recovery key from the Ubuntu 21.04 encrypted disk install?

When installing Ubuntu 21.04 with encrypted disk (filesystem: zfs) a 16 digit "recovery key" is automatically created, how do i get rid of/modify it? I am looking to: list installed keys ...
1
vote
1answer
126 views

How to deal with this docker post-installation script error? `mv: cannot stat '/var/lib/docker'`

I have tried to upgrade docker, and received an error, so I did a reinstall. However, the issue persists. The folder it fails to stat does indeed not exist. What can I do to fix this issue? I could of ...
1
vote
0answers
79 views

How to mount an encrypted Ubuntu 20.10 ZFS file system from an Ubuntu live CD?

I also accidentally changed the keylocation property and I'm not even sure what was the original value. I have found a path like 'file:///run/keystore/rpool/system.key' but that doesn't work because ...
0
votes
0answers
40 views

Disable ZFS root encryption for ssh remote boot

I want to login via ssh to a server. The root is a ZFS pool with native encryption. After boot up/reboot it prompts the ZFS (rpool) password. But this happens before there is a network/ssh connection. ...
0
votes
2answers
72 views

Passing Password to zfs mount command

I have four encrypted zfs datasets that I need to mount by hand at the boot of my development machine using the command zfs mount -l -a. These datasets all have the same password and I have to type it ...
2
votes
2answers
76 views

Limiting the size of a ZFS dataset for timemachine

I am trying to create a ZFS dataset with a limited size to share as a timemachine. I have managed to get the timemachine share working using netatalk but I am unable to limit the size of a zfs dataset ...
0
votes
1answer
55 views

Boot failure after kernel upgrade

I am running an ubuntu server 20.04.LTS for two years now. Since kernel 5.4.0-62 I observe the following problem: whenever I have to update the kernel the server will not boot anymore. EDIT: it hangs ...
0
votes
1answer
230 views

Ubuntu server root on ZFS mirror

Is it possible to install Ubuntu Server (root) on a ZFS mirrored pool. E.g. ssd1 partition1 partition2 ssd2 partition3 partition4 Then create a ZFS mirrored pool 'root' with partitions 1+3 and ...
0
votes
0answers
18 views

zfs-mount.service stopped error

I am having issues with the zfs-mount.service, and I'm having the errors below: zfs-mount 25 10:27:13 valboa-zfs systemd[35833]: Stopped Pending report trigger for Ubuntu Report The job identifier is ...
0
votes
1answer
24 views

Is it possible to configure LXD in local juju setup to use ZFS on file backed?

I want to setup juju openstack cloud in LXD containers on my local KVM machines (manually created). By default Juju creates LXD provider as a directory. But from LXD documentation I see that it's ...
0
votes
0answers
44 views

3x1t ssd zfs mirror, two of them faulted, and the remaining one also had errors. How to troubleshoot?

My laptop is dell precision 7740, with 5 SSD inserted, one is Windows 10 system drive, the other is Ubuntu 20.04 (my daily OS) system drive, and there is also a ZFS pool, including three 1TB SSD ...
0
votes
1answer
859 views

Ubuntu MATE 21.04 + ZFS + encryption

So I nuked my laptop and loaded Ubuntu MATE 21.04 daily. During install I choose ZFS + encryption. Because I could ;). So what did I just do? Can someone give me some details about how this works ...
0
votes
1answer
197 views

Encrypted ZFS change rpool password

I have installed Ubuntu 20.10 on ZFS with encryption enabled and now I want to change the password used to boot my computer. How do I do this? $ zfs get keylocation,encryption,keyformat rpool NAME ...
1
vote
0answers
247 views

Import and Mount ZFS Pool: “dataset does not exist”

I am trying to rescue data from a Truenas / FreeNas Pool via Ubuntu. Originally in Truenas from one day to another my Pool wasnt accessible anymore (see this post). Actually the system got in a reboot ...
0
votes
0answers
39 views

Are Ubuntu ZFS root partition snapshots safe for system rollback?

Thinking ZFS had my back, yesterday I started messing with Gnome, Compiz, and dconf editor. After several hours, Gnome sure looked good with all sorts of addins, but after a reboot, my (complex, 3 ...
0
votes
0answers
24 views

Ubuntu Server 20.04 zpool status OK but Disks shows one zpool disk SELF-TEST FAILED and Not Mounted

A zpool raidz2 with 6 disks. I replaced a bad disk yesterday with a new one. The pool resilvered successfully. Today the zpool status is OK, but when I view Disks, one of the pool component disks ...
0
votes
0answers
53 views

ZoL block device (zvol) exported iSCSI - LIO fails with Logical unit communication failure / read/write fail

I have an Ubuntu (20.04.2 -5.4.0-52-generic #57-Ubuntu SMP) storage set-up with ZoL, from which an encrypted block-device is exported via iSCSI to a different Ubuntu (18.04.5 - 4.15.0-135-generic) ...
0
votes
1answer
56 views

Ubuntu 20.04 LTS ZFS filesystem disk space disappeared

As seen in the following screenshot, some disk space from my 507 GB hard disk has disappeared. 53 GB (/) + 232 GB (/home) = 285 GB Where did the remaining 222 GB go?
1
vote
1answer
78 views

Single Disk to ZFS mirror or RAID-1

Already read this thread but in this case the user already had a ZFS filesystem. I got a server where the OS is running from a single SSD. So if this SSD fails, the server is "gone". Now I ...
0
votes
0answers
48 views

recover data from single drive vdev

I was trying zfs on my home server: Installed Ubuntu 20.04 with zfs root on separate drive. Copied data from other drives. Turned on lz4 compression. Created raidz and mirrors from other drives and ...
0
votes
0answers
22 views

How to get drive IDs like c0t1d0?

In the documentation to ZFS there are always drive IDs like c0t1d0 mentioned. I only know about UUIDs which are much longer and /dev/sd? How to get the IDs used?
0
votes
0answers
94 views

ZFS wont mount at boot because the log volume isn't ready yet 20.04.02 LTS

11:45:55 server zpool[2393]: cannot import 'pool': one or more devices is currently unavailable -server zpool[2393]: The devices below are missing or corrupted, use '-m' to import the pool anyway: ...
0
votes
0answers
34 views

How can I get the Ubuntu OS on the zpool raidz2 and boot from it?

Newbie here. I have a zpool raidz2 created on Ubuntu 20.04.1 with Ubuntu OS installed on a separate disk. How can I get the Ubuntu OS on the zpool raidz2 and boot from it?
0
votes
0answers
102 views

/sbin/zsysd using extreme amount of CPU+memory

I'm running Ubuntu 20.10 Groovy with full-disk encryption, on a Thinkpad T490. I did a fully clean install (moving from Debian) of Ubuntu about a month ago. After boot /sbin/zsysd starts using large ...
0
votes
0answers
83 views

cannot mount rpool and bpool ubuntu studio 2.10

I am a new user of zfs file system on ubuntu.. currently my head is popping because i have a problem with this file system and i don't get help even in the support forums .. maybe someone here know ...
0
votes
1answer
33 views

external USB HDs for data storage on ZFS with Ubuntu 20.04

I have three 4T USB HDs (to be used for data storage) and I'd like to know if I can create a ZFS pool. I understand there RAIDZ that would do this but not sure it can be setup with external USB HDs ...
0
votes
0answers
31 views

Accidentally reformatted boot partition - ZFS

I have middling technical knowledge and am usually competent at solving issues on my own, but I am relatively new to Linux and recently upgraded my PC after 10 years of old hardware. Things like UEFI, ...
0
votes
0answers
86 views

Setup ZFS with 4 equal drives and RAIDZ pool in Ubuntu 20.04

My goal is to set up a NAS using ZFS with 4x 3TB drives in RAIDZ config. The GUI default ZFS installation went fine and now I have one zpool (bpool&rpool) on one drive. Now, I would like to add ...
0
votes
1answer
707 views

Ubuntu 20.04 zfs grub rollback snapshots

I'm interested in teh ZFS snapshot feature, So I deployed 20.04 VM with ZFS. I created a snapshot to test how the rollback procedure works. sudo snapshot -r rpool@SNAP1 When then I created and ...
1
vote
0answers
790 views

ZFS partition type and GPT partition label

Earlier I created a new partition with FSTYPE zfs_member, and (I think) I set the GPT partition label to the new name of the ZFS pool, and then created the ZFS pool in this partition (zpool create ... ...
0
votes
1answer
190 views

How do I recover my data from my ZFS formatted drive?

A few days ago my computer filled up, I was at someone's house for new years, so I figure I'd just export some stuff once I got home. I got home, but my computer was off, so I try to boot it, ~20 ...
0
votes
2answers
383 views

zfs - single disk setup: Where is the missing space? [1TB (931,5 GiB) disk: 32,5 GiB missing as usable space]

Short summary: When creating a single zfs disk pool consisting of only one disk with a capacity of 1TB (= 931GiB) the file system only showed 899 GiB free space (df -h or zfs list; zpool list actually ...
1
vote
1answer
114 views

ZFS Pool not known after reboot Server 20.10 on Raspberry PI 4 8Gb

I am losing my ZFS Pool media-pool after each reboot, although I defined the stretched ZFS pool using vdefs with vdev 01 02 03 and 04. These are 4x 2TB SSDs. After importing the pool everything works ...
0
votes
1answer
57 views

smbd dumps core under Ubuntu 20.10 zfs sharesmb

Attempting to do a very simple test, with Ubuntu 20.10 Server running ZFS on internal 2TB SSD exported with sharesmb option to zfs to a Mac OS Catalina client. On the Mac I was simply using Go to ...
2
votes
1answer
659 views

Extend existing Single Disk ZFS with a mirror without formating the existing HDD

I have one HDD formatted as single disc zfs system on my server. It looks like the following: Now I want to convert this to a zfs mirror without formatting the original disk. Any ideas? Result should ...
0
votes
1answer
72 views

“zpool create” with encryption enabled raises error “URI scheme is not supported”

I got this command to work on an existing system, but on fresh installs of Ubuntu 18.04.5, with zfs-dkms installed from ppa:jonathonf/zfs I get: ubuntu@hdp1-sitka:~$ sudo zpool create -f -O encryption=...
1
vote
0answers
180 views

Prevent update-grub from scanning ZFS snapshots

Every time there is a new linux-image after apt upgrade update-grub runs and scans the entire drive for Linux images. It also scans all ZFS snapshots. After some time it results in huge console output ...
0
votes
1answer
27 views

ZFS Diff - diff delegated permission is needed

When running zfs diff today as non-root, I got an error: Unable to obtain diffs: The sys_mount privilege or diff delegated permission is needed to execute the diff ioctl Searching diff ...
0
votes
0answers
59 views

How do you Identify a bad drive in a ZFS pool when the wwn-0x500 number does not show in “ls -al /dev/disk/by-id/”

How do you Identify a bad drive in a ZFS pool when the wwn-0x500 number does not show in ls -al /dev/disk/by-id/ I have a bad disk listed in ZFS pool but don't find it listed as 2519540293618911637 ...
0
votes
0answers
66 views

ZFS inside of virtual machine?

Are there any technical reasons why I shouldn't use ZFS file system inside a VM on a hypervisor on top of hardware RAID? schema.png
0
votes
1answer
160 views

Very high RAM usage in Ubuntu 20.04 on startup

When I start my computer, the htop command shows a very high RAM usage, even without having started the web browser, which is a very common resource eater. Is this normal? Can I do something to reduce ...
0
votes
0answers
101 views

How to mirror the Ubuntu 20.4 zfs installation?

I just complete the ubuntu 20.4 installation using zfs. I found that instead of 1 rpool I have a bpool and and rpool. How do I go about mirroring the whole installation so both rpool and bpool? Is a ...
0
votes
1answer
49 views

I think I found a bug in /etc/grub.d/10_linux [duplicate]

The Ubuntu 20.04 installer supports a ZFS root filesystem, which works well until an install or update involves touching the grub configuration. I have tracked down what looks like the root cause in /...
1
vote
0answers
200 views

Undeletable phantom directories with question marks in ls causing ZFS mount to fail

After an apt updgrade, I ran into some boot issues involving systemd dependency cycles (like in zfs-linux#1875577). So, since I’m running 20.10 on ZFS (with encryption), I decided to revert the system ...

1
2 3 4 5
9