Skip to main content

Questions tagged [zpool]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2 votes
1 answer
31 views

ZFS Kernel Panic Issue and Troubleshooting Steps

Experiencing kernel panic with the error message "PANIC: zfs: adding existent segment to range tree" when attempting to import the ZFS pool (rpool). The system hangs upon import attempts, ...
blech's user avatar
  • 21
1 vote
0 answers
78 views

ZFS corruption, how to restore file

# zpool status -v pool: data-2024-06-04 ...
Albert's user avatar
  • 362
1 vote
1 answer
97 views

Zpool scrub won't resume after reboot

Linux Mint 21.3 Linux version 6.5.0-26-generic zfs-2.2.3-0ofthesun1 zfs-kmod-2.2.0-0ubuntu1~23.10.2 I've set up the zpool just fine, put some data on it and started a scrub. While this was in ...
Dominik's user avatar
  • 11
0 votes
0 answers
44 views

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

Given two mirrored drives: /dev/loop1 of zfs1.img /dev/loop2 of zfs2.img If the drives contain different data, even if the copies in zfs2.img are newer, or zfs2.img contains extra files, ZFS always ...
midnite's user avatar
  • 151
1 vote
1 answer
112 views

zpool 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......
mikem's user avatar
  • 460
0 votes
1 answer
50 views

zfs force import multiple VMS (IDs) and now can't find VM but it's not missing according to zfs?

I'm completely new to ZFS. Today, I did something stupid and caused a problem where I need to recover my entire OS. On a live OS I'm using to recover my machine, I need to mount my ZFS volumes for ...
Jim's user avatar
  • 355
0 votes
1 answer
977 views

ZFS import pool by ID as name already exists

My original system won't boot (startup). There are many errors which I am not able to solve. I have installed ubuntu on a new device and can see the old pools from the old disk. I cannot import the ...
Simon2019's user avatar
0 votes
1 answer
81 views

Home directory, user database and key-based authentication

I want to share it NFS share with my users just like the home-directories (traditional way), but I don't want to create the users instead I want to get the server integrated with the github or google ...
AAB's user avatar
  • 13
2 votes
0 answers
32 views

Issue with Volume Mounting after Server Restart

Originally on bkp-01 instance. The server and disk have manually been set to a different availability zone. The disk are running zfs for backups/snapshots. It's an old server with a manual Raid ...
santosh baruah's user avatar
0 votes
0 answers
144 views

Why isn't my zpool listed for export when plugged into new host?

I have a zpool called 'temp' with some data I'm trying to move between systems. I used zpool export temp to export the zpool, then I unplugged the disks, and installed them in my new computer. But now ...
John Elliot V's user avatar
2 votes
2 answers
414 views

Does the ZFS scrub support parallelization for increased performance, e.g., with a 64-core AMD Threadripper Pro?

I have a 24 drive zpool comprised of 3 RAIDZ1 vdevs running 8 Seagate Exos X18 16TB drives per vdev. This is on a Supermicro MB with a 64-Core (128 thread) AMD Threadripper Pro and 256GB ECC RAM. ...
docBrian's user avatar
4 votes
2 answers
1k views

Why does ZFS RAIDZ2 only use 2GB of data when I create a 1GB File

I have created a ZFS RAIDZ2 / Raid 6 file system, which from what I believe will store parity on 2 disks. root@zfs-demo:/data# zpool status pool: data state: ONLINE config: NAME ...
PrestonDocks's user avatar
0 votes
1 answer
919 views

Can we change the name of rpool?

Can we change the name of rpool? Do we have to create a new BE(Boot Environment)? Can anyone tell me the complete process? # zpool status pool: rpool state: ONLINE scrub: none requested config: ...
Shehryarkh95's user avatar
0 votes
1 answer
138 views

In SOLARIS 10 ZFS, I want Hot spare pool and want to associate its 1st disk with rpool and 2nd disk with the xpool. What will be the complete method?

enter image description here This is the Current two pools that I have, and now want to associate Hot Spare disks with it, so please help
Shehryarkh95's user avatar
4 votes
0 answers
1k views

What are "indirect-X" after zpool remove?

After zpool remove, the removed disks are shown as indirect-0, indirect-1, indirect-2, and so forth. What are they? How can I get rid of them? Will they pose any problems? Demonstrate: There were ...
midnite's user avatar
  • 151
2 votes
2 answers
1k views

Errors on a zpool filesystem

I'm using ZFS on a Debian 9 machine. This machine has been working for years without any problem until today. The zfs pool is mounted on top of a RAID system, controlled by hardware (so only one drive ...
marolafm's user avatar
  • 123
0 votes
1 answer
688 views

ZFS / Zpool with limited disk usage?

I have a server with a JBOD of 36 x 14TB disks that have a total usage capacity of 12.7TB (Disks are WUH721414AL5201) I have created two zpool's: zpool1 which contains 3 vdev's (Each of them having ...
Birdy's user avatar
  • 103
3 votes
2 answers
4k views

ZFS pool corrupted

I am running proxmox (7.1-10) and a number of VMs. I accidentally forced to import from proxmox a ZFS pool that was being used by a VM (truenas 12.0-U7) with: zpool import -f Pool-1 The command ...
rnng's user avatar
  • 51
2 votes
1 answer
1k views

How to fix ZFS pool once spare replacement done or how to correct spare replacement

I have a ZFS pool in the current state: [root@SERVER-abc ~]# zpool status -v DATAPOOL pool: DATAPOOL state: DEGRADED status: One or more devices has experienced an error resulting in data ...
phaidros's user avatar
2 votes
1 answer
1k views

ZFS Pool Data Backup and Restore

I currently have a zfs raidz2 pool stuck in a resilvering loop as I was trying to replace the 3TB disks with 8TB disks. After letting the first replacement disk resilver online for over a week it ...
Jason's user avatar
  • 58
0 votes
1 answer
2k views

Testing zpool IO performance

To test the write speed of a 2.5 inch SATA3 spinning hard drive (some old Seagate one) installed in my TrueNAS system I used dd if=/dev/zero of=/mnt/pool/test.dd bs=1024 count=1m (found this in ...
Andept's user avatar
  • 73
4 votes
1 answer
790 views

ZFS: device vdev wandered faulting zpool

I have a zpool thats now showing in a FAULTED state after a power outage rebooted the server & devices names got thrown around. I understand I messed up by adding vdevs by device name, but didnt ...
tango's user avatar
  • 43
0 votes
1 answer
426 views

ZFS: i/o error - all block copies unavailable on reboot

I am trying to create RAID-Z pool on 3 disks, but I'm getting this error after reboot: zpool create -f -o altroot=/mnt datapool raidz vtbd0p3 /dev/da0 /dev/da1 Error is ZFS: i/o error - all block ...
Sreekanth Chityala's user avatar
0 votes
1 answer
97 views

Creative solution for a crippled zpool (aka help a dying raid to survive for 1-2 weeks)

I have a ZFS RAIDZ-7 made by 8x4TB on a Proxmox 6 (linux kernel version: 5.4.78-2-pve, openZFS version: 0.8.5-pve1). An unfortunate astral conjunction force me to remove 3 disk from my RAIDZ. In ...
Steve81's user avatar
  • 23
0 votes
1 answer
236 views

Cannot see the right and used space on a ZFS dataset

I have set up a vm with debian buster and ZFS. Initially the machine booted from first hard drive, but added x4 20Gb hd and transfered the system to zfs for testing purposes. It works, so I added some ...
ppk's user avatar
  • 143
3 votes
2 answers
8k views

Unable to zpool drive: is in use and contains a unknown filesystem

Created raidz1 drive array on CentOS8. Five drives and after reboot zpool would not load. Did a zpool import -a, to import the zpool and datasets. I had a missing drive, which bugs me to no avail, I'...
DaBus's user avatar
  • 51
2 votes
1 answer
2k views

Why is the available space not increased when i increase the quota of the ZFS share?

I'm not very familiar with ZFS and need to increase the size of an ZFS share on our FreeNAS. When i do zpool list i see that we have 2 ZFS pools: NAME SIZE ALLOC FREE EXPANDSZ FRAG ...
CodeNinja's user avatar
  • 325
3 votes
1 answer
2k views

zfs remove wrongly added device

I accidentally added a device as normal pool device instead of cache device. Is there a way undo this? (I basically forgot to type cache when adding the device) I can't remove it root@dmi-vault2:~# ...
Bas's user avatar
  • 31
3 votes
1 answer
1k views

Expand existing RAID1 zpool into RAID10 zpool

I'd like to expand/convert my existing RAID1 (2x 3TB mirror) zpool to RAID10 zpool by adding 2 more 3TB HDDs without losing (or moving) data stored on my existing pool. The final result will look ...
MrQ's user avatar
  • 33
2 votes
1 answer
2k views

Recover from "FAULTED" zfs pool. "-F" option seems to be ignored

On Ubuntu, I recently started trying out ZFS on an external USB hard drive. I now seem to have a corrupted zfs pool, which probably happened simply as a result of me shutting down my computer (with ...
Pryo's user avatar
  • 685
7 votes
0 answers
1k views

Recovering/importing ZFS Linux pool with duplicate pool name

I did something very stupid today in attempting to add a third mirror to an existing Linux zpool named backup. Suffice it to say that I made a couple errors because I don't really do much admin with ...
Athanasius's user avatar
4 votes
1 answer
676 views

When does "zpool scrub" delete files automatically?

Background is a general discussion about ZFS and the claim that in case of permanent errors to files, it automatically deletes files unless a correct copy is available. That sounded pretty wrong to me ...
Thorsten Schöning's user avatar
2 votes
1 answer
4k views

zpool stuck in resilvering loop

I have the following zpool: NAME STATE READ WRITE CKSUM zfspool ONLINE 0 0 0 mirror-0 ONLINE 0 0 ...
John Moffitt's user avatar
3 votes
1 answer
630 views

zpool status shows drives are defaulted, but they seem okay. Can I add them back?

zpool status is reporting defaulted drives. But they actually appear to be okay. Is it possible to add them back? $ dev/disk# zpool status -v pool: darkpool state: DEGRADED status: One or more ...
Louis Waweru's user avatar
1 vote
1 answer
4k views

Why are my ZFS pools "unavailable"?

I just replaced a hard-drive, that was part of two different redundant pools, and now both pools are unavailable... Details: There are four drives: 2x4TB (da0 and ada1) and 2x3TB (da1 and da2). One ...
Mikhail T.'s user avatar
  • 2,411
1 vote
0 answers
35 views

How to Boot to Mirrored ZFS Drive

I would like to clone an existing operating system environment. I currently have a Solaris 10 running ZFS mirrored drives on a Sun Fire x4100 box. Can I take one of the mirrored drives, remove from ...
Dorothy's user avatar
  • 179
6 votes
1 answer
2k views

Send email when zpool drive dies?

I couldn't access my media drive the other day. SSH'd into my media server to see what was up. ZFS pool wasn't even mounted. When I got it running again, I saw that it was degraded and one of the ...
mpen's user avatar
  • 473
2 votes
1 answer
246 views

zpool replace ran successfully, but still recommends zpool replace. What is it telling me?

A drive failed in a raidz3 (pci-0000:03:00.0-scsi-0:0:10:0), and I replaced it with an available spare (wwn-0x5000c500858252ef): pool: darkpool state: DEGRADED status: One or more devices are ...
Louis Waweru's user avatar
1 vote
0 answers
3k views

ZFS Replace Cannot Label new Disk

I am running Ubuntu 18.04.3 and zfs 0.7.5-1ubuntu16.6. I had a disk go bad and I am in the middle of replacing it. In the past, this has worked just fine by making sure the bad disk is offline, then ...
Aaron's user avatar
  • 11
3 votes
1 answer
7k views

ZFS pool degraded with faulted disk, export and replace not working

I run into troubles after trying to add more disks to my Ubuntu server device. While being a total beginner I powered the server off, added two more disks and restarted the system only to find one of ...
MatsonWatson's user avatar
3 votes
1 answer
2k views

Replaced a dead disk in a ZFS pool. After resilvering finished, the status look weird :/

I replaced a dead disk in a ZFS pool (on FreeNAS-11.1-U6.3) following the hints I found at Need to replace disk in zpool ... confused ... # zpool replace raid2 gptid/f00-whatever-id-that-was-...
rror's user avatar
  • 31
1 vote
1 answer
3k views

How to correctly attach a disk to a zpool to create a mirror? - zpool attach says no such pool or dataset

Yesterday one of my pools which is a mirror was degraded - one of two 2TB disks failed. I replaced the failed one with another disk 4TB (ada3). Now I want to add another 4TB disk (ada1) to enlarge the ...
conqueror's user avatar
5 votes
1 answer
2k views

ZFS pool degraded on reboot

I have a Ubuntu server set up with a 14-disk ZFS raidz2 pool. About 80% of the time, on reboot, I will end up with a degraded pool with two of the disks marked as faulted. The drives that are ...
David Chappelle's user avatar
2 votes
2 answers
1k views

ZFS replace disks in freebsd, how and when

I have the following zpool configuration: zpool status NAME STATE READ WRITE CKSUM data ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 da1 ...
Sebastian's user avatar
  • 145
3 votes
1 answer
1k views

Faulted zpool recovery - can I dd some disks to new disks to allow me to scavenge donors?

I am in the process of trying to recover a pool that had been degraded and neglected, then had a second mirror member fail, resulting in a faulted pool. For whatever reason, the spare never ...
Dirk's user avatar
  • 33
3 votes
1 answer
2k views

cannot import a zpool volume : I/O error

this is on nexenta open storage. I have a zpool that is in UNAVAIL state because of some disks. # zpool import -F pool: delta id: XYAZA state: UNAVAIL status: One or more devices are ...
Nikhil Mulley's user avatar
2 votes
1 answer
1k views

ZFS (Freenas) off-lining an apparently healthy drive during scrub

I have a 4 disc RAIDZ config running on Freenas 9.1. Earlier I noticed that one of the drives had been taken offline. I ran smartctl, and all the discs passed SMART. A few days ago the machine had ...
James's user avatar
  • 21
3 votes
1 answer
693 views

How to delete the pool with state = Faulted?

I have a pool named test_pool and i can only see it when "zfs import" is run. How can i delete this pool and detach associated device from it ? # zpool import pool: test_pool id: ...
sherpaurgen's user avatar
1 vote
1 answer
5k views

Can I remove a disk from a zpool raidz2?

Unfortunately I do not really understand zfs. I have a Proxmox 5 node with 5 300GB disk in raidz2. History: zpool create -f -o cachefile=none -o ashift=12 rpool raidz2 /dev/sda2 /dev/sdb2 /dev/sdc2 /...
Laszlo Malina's user avatar
0 votes
2 answers
424 views

ZFS - 2 Striped mirror set to 1 mirror set, how?

Currently I'm running a ZFS striped mirror set: NAME STATE READ WRITE CKSUM data ONLINE 0 0 0 ...
Splendid's user avatar