Questions tagged [zpool]
109 questions
2
votes
1 answer
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
corruption. Applications may be affected.
action:…

phaidros
- 21
- 2
2
votes
1 answer
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 finally finished only to immediately start again.…

Jason
- 58
- 8
2
votes
1 answer
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 CAP DEDUP HEALTH ALTROOT
Volume1 1.98T …

CodeNinja
- 305
- 1
- 8
- 18
2
votes
1 answer
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 poweroff).
$ zpool import
pool: zfs
id:…

Pryo
- 655
- 1
- 5
- 11
1
vote
1 answer
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 0
wwn-0x5000cca266f3d8ee ONLINE …

John Moffitt
- 182
- 1
- 2
- 8
1
vote
1 answer
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 pool is a RAIDZ1 consisting of both of the 3TB…

Mikhail T.
- 2,338
- 1
- 24
- 55
1
vote
0 answers
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 the current x4100 box, insert into another x4100…

Dorothy
- 179
- 7
1
vote
0 answers
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 typing in:
sudo zpool replace storage…

Aaron
- 11
- 3
1
vote
1 answer
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 size of the mirror to 4TB. But unfortunately,…

conqueror
- 71
- 1
- 6
1
vote
1 answer
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 /dev/sdd2 /dev/sde2
I would like to remove a disk…

Laszlo Malina
- 168
- 2
- 10
1
vote
1 answer
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 noticed the pool wasn't mounted, and this was…

Colin
- 113
- 3
1
vote
1 answer
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 compression=lz4 data
2017-06-10.16:31:43 zfs set…

mpen
- 423
- 1
- 6
- 15
1
vote
1 answer
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 attached them to another Solaris machine. The…

Sumit Saluja
- 11
- 2
1
vote
0 answers
zpool didn't increase after adding disk slice
i added formatted 3 different slices from a disk and added to a zpool but i didn't increase his size.
This is the pool size before adding the slide
root@snr-hosting-bta-02:~# zfs list z3363af79-edf5-474e-9568-4922eafee28b-data1
NAME …

josseossa
- 31
- 1
- 3
1
vote
0 answers
ZFS issue after enlarging image
I created a new img using the following command:
truncate -s 250G disk.img
and I replace the existing image that I used for zpool with that one using (lxd.img was 2G):
zpool replace lxd lxd.img disk.img
I set the autoexpand to on
sudo zpool set…

glarkou
- 149
- 1
- 8