Questions tagged [zpool]
The zpool tag has no usage guidance.
100
questions
2
votes
2
answers
63
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 ...
0
votes
1
answer
65
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 ...
2
votes
2
answers
228
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 ...
0
votes
0
answers
20
views
zpool import missing cache drive; ubuntu
I apologise if my information here is badly laid out.
I added a cache drive to my zpool by udev id (e.g. sda). Later, I restarted the computer and it was assigned a different udev id (of course). To ...
2
votes
1
answer
101
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
...
2
votes
1
answer
321
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 ...
0
votes
1
answer
1k
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 ...
4
votes
1
answer
395
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 ...
0
votes
1
answer
188
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 ...
0
votes
1
answer
59
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 ...
0
votes
1
answer
87
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 ...
2
votes
2
answers
3k
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'...
2
votes
1
answer
662
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 ...
3
votes
1
answer
984
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:~# ...
3
votes
1
answer
140
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 ...
2
votes
1
answer
1k
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 ...
5
votes
0
answers
616
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 ...
4
votes
1
answer
352
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 ...
1
vote
1
answer
2k
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 ...
3
votes
1
answer
332
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 ...
1
vote
1
answer
2k
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 ...
1
vote
0
answers
24
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 ...
4
votes
1
answer
1k
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 ...
2
votes
1
answer
151
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 ...
1
vote
0
answers
1k
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 ...
3
votes
1
answer
4k
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 ...
2
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-...
1
vote
1
answer
2k
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 ...
5
votes
1
answer
1k
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 ...
2
votes
2
answers
627
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 ...
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 ...
3
votes
1
answer
1k
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 ...
2
votes
1
answer
975
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 ...
2
votes
1
answer
254
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: ...
1
vote
1
answer
3k
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 /...
0
votes
1
answer
228
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
...
1
vote
1
answer
176
views
Hard drive in zpool showed error, but later seemed ok. How do I tell if something is wrong?
My work computer has a 4 hard drives setup in a zpool on an Ubuntu system. I'm trained as a programmer, not IT, but I'm partially responsible for managing my computer. After rebooting the other day, I ...
0
votes
2
answers
2k
views
Increase rpool size on Solaris 11.3 ESXi Virtual Machine
I'm trying to run updates on my Solaris 11.3 server but I am unable to because there isn't enough space on my rpool. I've tried deleting log files and other useless stuff but it's not enough. ...
2
votes
1
answer
731
views
mdadm reclaimed my zfs storage pool
I recently converted a mirrored mdadm partition on Ubuntu 16.04 to a zfs mirrored pool, or so I thought.
After a few days of using the zfs pool, I rebooted the system and the zfs pool disappeared.
"...
1
vote
1
answer
1k
views
Where'd my zpool data go?
N.B. I'm a complete noob when it comes to ZFS pools.
I created a ZFS pool yesterday across 4 3TB HDDs, like so:
2017-06-10.16:31:08 zpool create data sda sdc sdd sde
2017-06-10.16:31:29 zfs set ...
-2
votes
2
answers
390
views
zfs backup script cannot receive destination zpool is renamed
Hello I have an issue with a backup script for ZFS snapshots:
basically the break down of the script is this:
### START OF SCRIPT
# These variables are named first because they are nested in other ...
5
votes
1
answer
5k
views
How to add more physical disks to a mirror vdev (to increase redundancy)?
Can more physical drives be added to mirror vdevs after a zpool has been created?
For example, if a zpool is created using:
zpool create test_pool mirror /dev/sd0 /dev/sd1 mirror /dev/sd2 /dev/sd3
...
2
votes
1
answer
416
views
ZFS disk in two pools after reboot?
I'm pretty new to ZFS, so perhaps I'm reading this wrong.
After rebooting my server I had to reimport my pool, and upon doing some was presented with this state:
# zpool status -v
pool: data
...
-1
votes
1
answer
135
views
How to export zpool from alternate disk slice?
I need some help in recovering ZFS pool. Here is scenerio. There are two disks -
c0t0d0 - This is good disk. I cloned it from other server and boot server from this disk.
c0t1d0 - This is original ...
1
vote
1
answer
796
views
Unable to Import Zpool
We are facing an failure of one of our Solaris/ZFS file server. The h/w won't boot, we are not that worried about the server but the data is precious. We took out a set of 8 drives in raidz2 pool and ...
3
votes
1
answer
791
views
Importing an exported pool on Solaris 11 fails
Unable to import an exported pool.
Based on the info below, am I able to somehow import the pool? Or, is there a way to retrieve the data from the drive itself?
There is no corruption on either ...
2
votes
1
answer
2k
views
zfs change block size without going offline
Given a raidz1 vdev on FreeBSD 10 with this config:
root@gw:~ # zpool status
pool: data
state: ONLINE
status: One or more devices are configured to use a non-native block size.
Expect ...
8
votes
1
answer
2k
views
ZFS vdevs accumulate checksum errors, but individual disks do not
I'm running a vendor-specific derivative of FreeNAS 9.3.
My trouble started when I installed a new JBOD chassis to add two new vdevs into my pool, and the chassis had a bad board. During this time, I ...
0
votes
3
answers
212
views
Is there a zpool configuration other than raidz2 which lets me survive ANY 2 out of 4 failures?
I am going to purchase a HP Microserver gen8 system for a home fileserver and it contains 4 drive bays.
I will use those four drive bays to create a single zpool for mass storage.
My goal is the ...
3
votes
0
answers
1k
views
ZFS slow read speed on 8 drive 4 vdev striped mirrors
I have 8 3TB WD Red SATA drives sdb through sdi i use in my pool.
My boot and OS drive is a an 850 EVO SSD on sda.
The 8 WD drives are on a Supermicro AOC-SAS2LP-MV8 Add-on Card, 8-Channel SAS/SATA ...