Quantcast
Channel: Active questions tagged zfs - Server Fault
Browsing latest articles
Browse All 62 View Live

zfs: scrub vs resilver (are they equivalent?)

Is a resilver as good as a scrub? If not, why?Use case: during a scrub checksum errors come up. Instead of continuing with the scrub, stop it, replace drive and resilver. Did the resilver do some/all...

View Article



change disk cache settings on Samsung PM9A3 via nvme-cli

I will be running Proxmox guests on a ZFS volume consisting of Samsungs PM9A3 NVME drives. I read here for ex. it might be an advantage in performance to keep the cache of those drives active.So I just...

View Article

Backing up a MySQL/MariaDB database via ZFS snapshots without errors

So I am using zrepl to take snapshots of my production machine and replicate them to a backup server. This also includes MariaDB, it's in it's own dataset with recordsize=16kI've been testing the...

View Article

ZFS inside a virtual machine

Should I use ZFS inside a virtual machine? According to existing information (in particular this thread, which I will quote below) it is not a good idea, unless certain measures are provided (such as...

View Article

FreeBSD ZFS raidz1 Started a (da59) drive replacement. During resilver,...

Our system started slowing down... Found a couple of drives in the same raid that looked scary.Replaced the drive that S.M.A.R.T. marked as failure eminent. (da59)Then da60 started to error.Finally the...

View Article


Upgrade OS on ZFS file server

I need to upgrade the OS of my ZFS disk server from CentOS 7 to Rocky Linux 9. I am currently running ZFS 2.0.7, and if I'm correct Rocky Linux 9 uses 2.3. My tentative plan is to use the AlmaLinux...

View Article

Image may be NSFW.
Clik here to view.

Samba Windows ACL not working

I want to configure Samba to manage Windows ACL and manage them from Windows via the security tab.The Samba server is standalone and not part of an AD tree; i already followed various offical and...

View Article

Zpool Import, one or more devices is currently unavailable

I know this is a pretty common question, but I haven't found a situation quite like mine.To cut it short, I had a ZFS pool on my home server on bare metal of proxmox, wanted to move it to an open media...

View Article


zfs errors on hetzner cloud ubuntu 22.04

I have an ubuntu 22.04 system on hetzner cloud arm machines that keeps experiencing zfs errors, and I am a bit stumped as to what is the problem.zpool status -v pool: encpool state: ONLINEstatus: One...

View Article


ZFS silently overwrites the later mirrored devs, without any logs?

Given two mirrored drives:/dev/loop1 of zfs1.img/dev/loop2 of zfs2.imgIf the drives contain different data, even if the copies in zfs2.img are newer, or zfs2.img contains extra files, ZFS always...

View Article

Access to ZFS pool when one drive has failed is incredibly slow

I have a ZFS box that I inherited that is having a lot of issues. Checking the status I see there are a few drives with issues:ganymede $ zpool status -x pool: dpool state: DEGRADEDstatus: One or more...

View Article

zfs not using full disk I/O

I have setup zfs on a fresh Ubuntu 20.04. But speed seems awfully slow.The disks can deliver 140 MB/s if run in parallel:$ parallel -j0 dd if={} of=/dev/null bs=1M count=1000 :::...

View Article

XFS / ZFS - Unable to mount filesystem - I/O Error

We have a server with Ubuntu 20.04.6 LTS. It is the secondary storage for our backup, with 12x8TB HDDs in a RAIDZ3, with an XFS filesystem on top.A couple of days ago, one drive failed. I thought, "OK,...

View Article


Increase the ZFS partition to use the entire disk

I have a ZFS pool that currently occupies 100Gb. I increased the disk size to 150Gb, but I can't seem to get the ZFS use the entire disk. I have a the same exact issue yesterday with another server,...

View Article

MongoDB and ZFS bad performance: disk always busy with reads while doing only...

I have huge performance issues using MongoDB (i believe it is mmapped DB) with ZFSonlinux.Our Mongodb is almost only writes. On replicas without ZFS, disk is completely busy for ~5s spikes, when app...

View Article


How to delete all but last [n] ZFS snapshots?

I'm currently snapshotting my ZFS-based NAS nightly and weekly, a process that has saved my ass a few times. However, while the creation of the snapshot is automatic (from cron), the deletion of old...

View Article

Restore ZFS Pool after a broken HDD

i lost my ZFS Pool on a trueNAS System due to a failed / broken diskThe Pool was a non mirrored Pool with 4 HDD (6-10 TB each)I am working on a new trueNAS for backup all the files to a mirrored pool...

View Article


Should I create ZFS zpools with whole disks or partitions?

I am making zpools on FreeBSD machine. While creating zpools I observe these two cases:If I take raw disks and create zpool then I am able to form zpools and they are working perfectly.If I format...

View Article

Can you set inode quotas in ZFS?

I figured out how to set block quotas in ZFS from the documentation on oracle's site.I didn't see if / how to setup a quota on how many inodes a user gets, though. I realize that there may not be...

View Article

Zpool scrub won't resume after reboot

Linux Mint 21.3Linux version 6.5.0-26-genericzfs-2.2.3-0ofthesun1zfs-kmod-2.2.0-0ubuntu1~23.10.2I've set up the zpool just fine, put some data on it and started a scrub. While this was in progress I...

View Article

zfs pool online but can't be imported "one or more devices is currently...

I recently moved my zfs pool from a 5 bay drive to a 10 bay drive and it can not be imported any more. The pool (nextcloud) appears to be online but when I tried to import it, it throws "one or more...

View Article


ZFS protection against bit rot and silent corruption without RAIDZ

I have never encountered a disk failure in my whole life but I had a dozen of bit rot and silent corruptions. 'Normal' file systems and hardware RAID does absolutely nothing about it. I have been using...

View Article


With ZFS snapshot rollback the file system remains unchanged

Server with latest version available and ZFS File System.I tried ZFS Snapshot. Below is the list of commands.First I check if the zpool is available and create the snapshot.At this point I copy a dozen...

View Article

How to access/import/mount a zfs file [migrated]

I've asked my wordpress hosting provider to give me a snapshot of the server as I'm looking to migrate the site elsewhere. What I've been given is a .zfs file.I was completely unaware of what zfs was...

View Article

zfs module not found on centos after restart

After I rebooted a CentOS server, ZFS does not work:$ sudo zfs listThe ZFS modules are not loaded.Try running '/sbin/modprobe zfs' as root to load them.$ sudo modprobe zfsmodprobe: FATAL: Module zfs...

View Article


Debian & Broadcom: poor performance transferring files via network

I setup a new server running Debian Bullseye with Proxmox-kernel as a NAS to host mainly video content (so in general large files). I noticed an abysmally bad performance transferring files via SMB so...

View Article

Repartitioning proxmox root/data LVM and zfs pool recovery

Ok so I created my first proxmox virtual environment about a month or two ago and due to inexperience and miscalculations I created a partition table I am not really happy with. Along with that it has...

View Article

Disk does not spin down for unknown reasons - How to debug?

I have a setup where we need to spin down HDDs that host a zfs array for energy reasons. I use hdparm to configure apm = 24 and spindown_time = 24 for all disks.The system works as expected most of the...

View Article

zdb doesn’t recognize my pool?

On my freenas server, zpool status tells me I have 2 zfs pool : data& freenas-boot :% zpool status pool: data state: ONLINE scan: scrub repaired 0 in 0 days 04:16:16 with 0 errors on Mon Nov 20...

View Article



Optimal ARC and L2ARC settings for purpose specific storage application

I am configuring a server that runs 3 ZFS pools, 2 of which are rather purpose specific and I feel like the default recommendations are simply not optimized for them. Networking is facilitated by dual...

View Article
Browsing latest articles
Browse All 62 View Live




Latest Images