Can ZFS send/receive help me recover from partial pool loss after upgrade to...
I have a long-running ZFS pool under Ubuntu, which has been through many upgrades. After upgrade from Ubuntu 20 to 22, the encrypted filesystems refuse to mount, though the rest seem OK. zpool status...
View ArticleWhy are files copied over usb to be 0 bytes?
This is a recurrent topic and I have read some answers on serverfault amongst them:Folder sizes differ within two copied NTFS file trees (using ntfs-3g)We have a ubuntu client from which researchers...
View ArticleBash script error when trying to create a snapshot
I am trying to create a snapshot using Bash script as below but error occurred.Environment: FreeBSD,Version: 13.2,Script: Bash#!/usr/local/bin/bashname="17102023_1234"zfs snapshot data/library@$namerun...
View ArticleSnaphot sizes in ZFS and syncoid backups of them
I got a question about ZFS snapshotting:So, as far as I understand, when I take a snaphot of a ZFS dataset, the snapshot will be initially 0 bytes in size, because at the moment of creation, there is...
View ArticleZFS: Is there a way to find out where the blocks for a file are stored?
Is there a way in zfs to find out where blocks for a particular file are stored? I'd like to be able to ask for the locations of all the blocks for a file, including ditto blocks.(Yes, I understand...
View ArticleHow do I expand the root's volume size?
I have Ubuntu Server 18.04 LTS running off a 16GB SanDisk USB pendrive in my server. From what I can remember, when I installed Ubuntu on there I had enabled LVM support. For some reason, when I ssh...
View ArticleZFS list - root mounted twice?
I've followed this guide to install ubuntu with root on zfs. I've skipped creating all the dedicated (sub) datasets in step 3.3. Now "zfs list" looks like:NAME USED AVAIL REFER MOUNTPOINTrpool 1.94G...
View Article/dev/zvol/pool/group/srv points to partition zd0p16 not volume zd0 - bug or...
I am only starting to get familiar with openzfs 2.2.0 on Linux (Ubuntu kernel 6.5) and immediately ran into something strange. A symlink I was expecting to point to a zvol block device.. was pointing...
View ArticleFreeBSD - Is it possible to create a clone of a snapshot in a different disk...
I am a new to FreeBSD and want to make a virtual disk service via iSCSI.I create snapshots of a dataset on the same disks, however I would like to create clones on a different disk like a NVMe drive to...
View ArticleRecover ZFS mirror from pool with unavailable device
I tried to expand my two-way mirror to a three-way mirror. The new drive had some filesystem issues (ext4) so I tried to force zpool add -f the drive for ZFS to handle for me. This led to a weird...
View ArticleZFS scrubbing keeps reparing disks
I've got two SSDs in a RAID 1 (mirroring) configuration on ZFS. They are quite old (~10 years I guess) but have never been used much in these years. That's my configuration pool: tank state:...
View ArticleChange ZFS mountpoint property without remounting
I want to replace one ZFS filesystem (volume in a pool) with another ZFS filesystem (another volume in the same pool). Rebooting is okay, but I'd like to avoid single user mode.When I try to set...
View ArticleZFS still writes to HDDs vdev while dataset is configure to store special for...
I'm facing a strange behaviour when using Docker together with ZFS.I have one pool with 2x10TB HDDs as mirror vdev and 2x250GB NVMEs as mirror for special vdev (to store metadata and datasets with...
View ArticleHow does zfs know which snapshots to send with the `-I` flag?
From the manual:A group of incremental snapshots can be combined into one snapshot byusing the zfs send -I option. For example:# zfs send -I pool/fs@snapA pool/fs@snapD > /snaps/fs@all-IHow does zfs...
View Articlezpool mismatched replication level
I have accidentally added a mismatched raidz1 to an existing pool. Yes, I specified the '-f' to do it, but I was expecting to use the '-f' for a different reason and wasn't paying attention.Anyhoo......
View ArticleHow to 're-balance' data in zfs? (Make sure the data is spread amongst all...
Using a striped mirror (Raid 10) as an example, if two disks are expanded to four, how can the data from the two disks be 're-balanced' (spread out) amongst the two mirrors?That is, how can the files...
View Articlezfs 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 ArticleZFS send/recv full snapshot
I have been backing up my ZFS pool in Server A to Server B (backup server) via zfs send/recv, and using daily incremental snapshots.Due to hardware issues, the ZFS pool in Server A is now gone - and I...
View ArticleZFS permission error 'cannot set property' when receiving snapshot from...
ContextI'm setting up ZFS autobackup on my home server for offsite backups. All commands printed below are run as non-root.ProblemA 'permission denied' error arises originating from the target machine...
View ArticleIs it possible to backup across multiple hard drives?
I'm going to be setting up an 8x20TB ZFS RaidZ2 with no spare. This will give me roughly 100TB of storage for large 3D model files.I want to purchase some extra HDDs so I can periodically backup and...
View Article