Questions tagged [zpool]
The zpool tag has no usage guidance.
110
questions
0
votes
1
answer
35
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 ...
0
votes
1
answer
34
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 ...
2
votes
0
answers
21
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 ...
0
votes
0
answers
65
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 ...
0
votes
0
answers
145
views
Recover mirrored ZFS pool with faulted disk
I had a ZFS pool with 2 disks mirrored on Ubuntu 20.04.5. After a reboot, my pool has disappeared.
# zpool list
no pools available
It seems like I could just import it back.
# zpool import
pool: ...
2
votes
2
answers
230
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.
...
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 ...
0
votes
0
answers
20
views
Is there a way to add a drive which has a mismatched txg in a ZFS zpool?
I've got a raidz2 that should be finding one more drive, that is physically there, only its txg # is out of sync, so I think that is causing it not to be added. (Disk 4 did indeed fail and is missing)....
0
votes
1
answer
408
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:
...
0
votes
1
answer
73
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
4
votes
0
answers
862
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 ...
2
votes
2
answers
931
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
575
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
3k
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 ...
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
...
2
votes
1
answer
970
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
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 ...
4
votes
1
answer
633
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
335
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
91
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
221
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 ...
3
votes
2
answers
6k
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
1k
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
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:~# ...
3
votes
1
answer
672
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
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 ...
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 ...
4
votes
1
answer
553
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
3k
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
559
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
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 ...
1
vote
0
answers
29
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 ...
5
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 ...
2
votes
1
answer
232
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
2k
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
6k
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 ...
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-...
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 ...
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 ...
2
votes
2
answers
883
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
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 ...
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 ...
2
votes
1
answer
539
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
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 /...
0
votes
2
answers
346
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
259
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
883
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 ...