Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange
Make your voice heard. Take the 2019 Developer Survey now

Questions tagged [zfs]

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

1
vote
1answer
14 views

ZFS when dual booting Ubuntu 18.04 with Windows 10

I am currently dual booting Ubuntu 18.04 with Windows 10. I would like to try ZFS. Is it possible to use ZFS when dual booting?
-1
votes
0answers
31 views

System created desktop icon won't access zfs mirrored pool [closed]

I had my Ubuntu derivative installation put icons (links) to my filesystem and removable drives by right clicking the Desktop, clicking Desktop Settings > Icons tab then checking Removable Devices in ...
2
votes
1answer
40 views

ZFS Pool out of whack

I'm in the process of switching from a classic mdadm raid to a zfs pool, and have made a few stumbles that I'm trying to recover from. Originally I had two 4tb drives in a raid 1 mirror. I then put ...
1
vote
1answer
50 views

ZFS zpool with wrong ashift. How bad is this?

I have a 3x1TB ZFS (ZoL) RAIDZ1. One drive failed. I'm replacing it with a 4TB disk. $ sudo zpool replace pool <old guid> /dev/disk/by-id/<new id> cannot replace <old guid> with /...
0
votes
0answers
35 views

Why does a ZFS scrub offline a disk after some errors, but onlines the disk after a reboot?

Yesterday during a monthly scrub, zpool offlined a disk after 61 errors, and urged me to replace it. I ordered a new one. Until such time, the status was "degraded performance." Today, when powering ...
1
vote
1answer
51 views

Adding External USB Drive & Reboot Won't Mount Zpool

Ubuntu server 16.04.5 LTS has been running well with external USB drive for years but we've outgrown it. Trying to add a larger external USB drive before removing the old. I have a four drive RAIDZ ...
0
votes
0answers
10 views

restore xfs drive after formating

After installing a couple of new drives, I was trying to create a new ZFS pool. zpool create store2 /dev/sdb /dev/sdc /dev/sdd Unfortunately, I realised later I didn't mean to include sdb. It ...
1
vote
0answers
80 views

ZFS, Ubuntu 18.04 - Loss of recently written data

I have some audio files that are copied to a ZFS filesystem, but after opening most them with VLC for a few minutes, Files and VLC crashed, and I am left with none of the audio files in the directory. ...
0
votes
0answers
17 views

mount a dataset

The web server will host an Apache2 web service. The document root is /www that is mounted to a dataset called /webpool/doc from the ZFS pool webpool made from a VDEV of 2 disks in a mirror. Create a ...
1
vote
1answer
36 views

zpool made from 3 disks, configured as double-parity RAID-Z pool

The file server I'm building will host a ZFS pool datapool made from 3 disks, configured as double-parity RAID-Z pool. There is a dataset, datapool/home created on the pool. The dataset datapool/home ...
1
vote
1answer
46 views

LXD ZFS snapshot creation slows down as number of snapshots increases

Ubuntu 18.04 LTS - LXD Ubuntu launch using loopback ZFS (about 400MB) # lxc launch ubuntu:16.04 test -s ianzfspool (I have one other idle multi-GB container using the same ianzfspool.) I have lots ...
0
votes
0answers
22 views

Unknown partition status on running system!

I am using ZFS and have a problem with the drives being renumbered at boot time. After my last boot my main drive was renamed to /dev/sdm and ZFS mistook it for a corrupted spare drive. Without ...
1
vote
1answer
544 views

Is ZFS on Ubuntu 18.04 root supported?

I'm using Ubuntu 18.04 with a root filesystem on ZFS without any problems but have discovered this page from the Ubuntu Wiki which states ZFS on root is not supported: https://wiki.ubuntu.com/Kernel/...
0
votes
0answers
125 views

Can’t Import ZFS Pools After Upgrade to 16.04.5 LTS

I had been running one of the 12.04 LTS releases (can’t recall which) and had 2 ZFS pools. I upgraded to 16.04.5 LTS (in 2 steps) and now my pools are gone. I didn’t export the pools before ...
0
votes
1answer
239 views

Migrating /home to ZFS [duplicate]

I created a zpool, called zstorage, on two mirrored drives, on Ubuntu 18.04. The OS is installed on an SSD, with the /home directory on its own partition on that same SSD. I want to migrate /home to ...
0
votes
0answers
19 views

ubuntu 18.04 zpool import from openindiana missing label on 1 of 3 drives

I'm importing a raidz with cache (it's missing, that's OK) and the import finds the pool, but only 2 of 3 disks. The drives are all present and found by the kernel. It's a label issue, I believe. I ...
2
votes
0answers
445 views

Ubuntu 18.04 with ZFS on root, update to ZFS on linux 0.8 rc1

04 test system, with ZFS on root (system disk) with LUKES encryption. I'd like to update ZFS to version 0.8 RC1 that was just recently released, to test out the ZFS native encryption. What do I ...
2
votes
0answers
55 views

Encrypting a RAIDZ2 pool?

I have Ubuntu Server 18.04 (18.04.1 LTS to be exact) running on my home file server (Dell Precision T3500) and I'm wondering if I can do full-disk encryption on my RAIDZ2 array (NetApp DS4243)? Ubuntu ...
0
votes
1answer
264 views

How do I mount loop device with zfs in fstab?

How do I mount loop device with zfs in fstab ? Here is how I created it: fallocate -l 150G /jdata/zfs_psql.disk sudo losetup /dev/loop2 jdata/zfs_psql.disk sudo zpool create -f -O atime=off -O ...
1
vote
0answers
29 views

ZFS raidz1 - Where did my storage space go?

I have a raidz1 pool with 3 disks of 12 TB each. Now with single parity, wouldn't that mean I have about 24 TB of total space? $ zfs list -o space -r pool NAME AVAIL USED ...
0
votes
0answers
213 views

ZFS settings on Ubuntu 18.04?

im running ZFS on ubuntu 18.04 and I'm experience slow performance with NFS over 1gb ethernet. The server is a supermicro c3000, A2SDi-8C-HLN4F. It seems that many others have/had this problem, and ...
0
votes
1answer
81 views

Cannot make Subiquity see zfs zvol block device, like I could with Ubiquity

I am playing around with the newer server installer TUI (Subiquity). With the desktop installer (Ubiquity), I am able to pre-install zfs and create a zvol, then launch ubiquity and have the zvol seen ...
0
votes
0answers
43 views

Ubuntu Core zfs tools to mount array?

I have installed Ubuntu Core bare metal. My intention is to host dockers on it. However I need to mount an existing ZFS array for data storage. Is there a way to get the ZFS tools in an Ubuntu Core ...
0
votes
1answer
170 views

18.04 zfs+lxd causes container host to reboot under heavy load?

Spent a few days struggling with this and I guess 18.04 just aint ready for production. 18.04 server w/ lxd over zfs on raw block devices just reboots itself randomly. No panic or output. I have ...
1
vote
1answer
312 views

zpool import of destroyed pool

I'm trying to import a zpool that's on an attached USB disk, and zpool import isn't finding it. Is there more debugging/troubleshooting I can do? root@bierstadt:~# zdb -l /dev/sdb1 ----------------...
4
votes
1answer
526 views

rsync giving “file name too long” errors

I'm trying to use rsync to make an archival copy of a file system. Most of the files are being copied OK. However, some files are failing to be copied with errors such as the following: rsync: ...
0
votes
0answers
92 views

LXC/LXD Container in ERROR State

I have a Ubuntu 16.04 LTS system where i created 3 LXD containers. They where working fine. The system was reseted without stopping the containers by accident. Now they are in a ERROR state and I ...
0
votes
0answers
35 views

Is there support for LSI-9800-8e in Ubuntu 18.04?

Basically, I want to make an Ubuntu-based NAS to be used for backups with ZFS, and I'm wondering if there is support for the LSI-9800-8e HBA card in Ubuntu 18.04 LTS? The driver download page for this ...
0
votes
1answer
819 views

autounlock luks encrypted drives upon startup with keyfile

i have a raidz2 zpool across 6 disks. i am using ubuntu server 16.04 LTS and i want to encrypt those disks with luks and have the system decrypt them on startup, so that zfs can use them. how exactly ...
0
votes
1answer
648 views

Recovery of existing ZFS pool after clean server install of 18.04 LTS

I have an existing 16.04 LTS server with an O/S HDD and separate drives in the ZFS pool. I want to do a clean install of 18.04.1 LTS once it becomes avaialble rather than an upgrade and my question is ...
5
votes
1answer
323 views

Is zfs-dkms required for ZFS support in generic kernels?

I adapted a ZoL guide for putting Ubuntu Server 14.04 on ZFS root for 18.04 Bionic Beaver and desktop installations: http://vlog.averyfreeman.com/doku.php/ubuntu.18.04.desktop.on.zfs I'm trying to ...
0
votes
1answer
188 views

grub: couldn't find a necessary member device of multi-device file system (Ubuntu, zfs on root)

I use a script to deploy "ZFS on root" on Ubuntu16.04. It configures multiple disks as raidz, raidz2, raidz3 or mirror. While this script has always worked in the past, it seems to be running into ...
1
vote
0answers
337 views

Can't add ZFS to 17.10

I'm trying to install ZFS on a 17.10 install on my Lenovo laptop and the zfs module is not loading. I suspect this may be because I'm using a different kernel to resolve the corrupted BIOS issue I ...
1
vote
0answers
125 views

Ubuntu 16.04 with ZFS, more than 3000 process

I have followed the tutorial : https://github.com/zfsonlinux/zfs/wiki/Ubuntu-16.04-Root-on-ZFS to install ZFS with Ubuntu. Now I have the same issue on 3 different servers, lot of process (more than ...
2
votes
0answers
114 views

./ looks full but its actually space used in ./ZFS/

foo has failed me and I'm sure this is a simple thing but... Short version. I want to be able to configure the application KVM/QEMU/Virtual Machine Manager so it does not monitor my / mount point in ...
1
vote
1answer
123 views

Can ZFS be setup for redundancy of my entire OS (Ubuntu 16) and data?

I'm planning to do redundancy backup for my office server running Ubuntu 14 and the ZFS option came up in my research. To my understanding, hardware raid (RAID1) creates a full clone (mirror) of my ...
0
votes
0answers
95 views

ZFS shares not working: RPC: Program not registered

I export ZFS data sets and everything was working fine until the last upgrade of 16.04 LTS. The ZFS pool is working fine locally. As it is now I get the following error: # showmount -e clnt_create:...
1
vote
1answer
351 views

How much RAM does a Ubuntu 16.04 machine need to handle a 4TB ZFS volume?

I am building a backup server with a 4TB ZFS volume. I have found various guides for ZFS on Solaris and BSD which recommend 1GB of RAM for each TB of disk. How much RAM does ZFS on Ubuntu 16.04 need,...
0
votes
0answers
82 views

Ubuntu on raid-z3 (ZFS)

How to install Ubuntu on already somehow created raid-z3 zfs ? Right now I have: RAID 1 (two disks with installed ubuntu) partition zfs with raid-z3.
2
votes
0answers
66 views

white space in ZFS command line

I have found that white space seems to be significant in ZFS commands, but only apparently under some conditions.. For example, both of the following commands work: root@grandidier:~# zfs list -t ...
0
votes
1answer
350 views

spl-dkms fails to compile for 4.13.0-32 on xenial

I'm running xenial with a zfs root (and zfs-initramfs). While updating, apt installed a kernel upgrade to 4.13.0-32 via linux-image-generic-hwe-16.04. dkms compilation of spl (from spl-dkms-0.6.5.6-...
0
votes
0answers
235 views

Cannot write to ZFS share, only read

I have recently embarked (for the first time) in setting up a Ubuntu server. OS on a SSD, files to be kept on a ZFS pool. ZFS pool and various datasets installed without a hitch. I am now trying to ...
1
vote
0answers
437 views

Can I add a drive to a existing zfs drive pool

I have 4 drives in a Zfs pool. I got 4 more drives that I want to add to the same "data" pool. I'm new to zfs and raid pools I was told that I could maybe use: zpool add (pool name) /dev/(harddrive ...
1
vote
0answers
255 views

LXD PPA remove requires lxd.migrate to snap, but what about my network bridge and ZFS pool?

Ubuntu 16.04.3 LTS During the latest batch of updates I was informed that the LXD PPA packages were being removed in favor of just installing as a snap. │ LXD PPAs to go away by end of year ...
1
vote
1answer
288 views

ZFS with an external hdd

I have ZFS mirror running with three disks. Two internal and an external hdd (over USB). Now I'm wondering about three questions: Will the writing speed decrease to usb speed? What happens if someone ...
1
vote
1answer
395 views

Understanding ubuntu ZFS compression status variables

I have a Ubuntu VM which has a volume containing some very, very compressible datasets on it. For this reason, I've converted the volume in question to a ZFS volume, because I can then use ZFS ...
3
votes
1answer
299 views

Which zfs command/systemd unit to depend on to ensure that a mountpoint is available?

I would like to make sure that a ZFS mountpoint is available before service managed by systemd starts. Therefore I'd use the After= stanza in the systemd unit. But, what to write as argument? I'm ...
1
vote
0answers
492 views

May I use ZFS for fresh install of Ubuntu 17.10? [closed]

My Windows 10 license was revoked after I changed the motherboard of my home computer. I have reasonable experience with Ubuntu since I manage and use it at work for many years. I'm considering to ...
1
vote
1answer
111 views

Can side-by-side installs of Ubuntu 17.10 share a common ZFS pool?

I want to dual boot 2 copies of Ubuntu 17.10. Obviously, only one would be running at a time. Can they both share a data store on a common ZFS dataset? I assume no metadata is kept outside of the ZFS ...
2
votes
1answer
633 views

reading my zfs freenas pool

My freenas, failed somehow so I now boot my NAS on a live USB ubuntu to get my data. These were on a RAID1 with 2x3To drives. I used the following command from this post: sudo lsblk -o NAME,FSTYPE,...