Questions tagged [zpool]
The zpool tag has no usage guidance.
111
questions
19
votes
6
answers
52k
views
Need to identify disk in zpool ... how?
I need to replace a bad disk in a zpool on FreeNAS.
zpool status shows
gptid/5fe33556-3ff2-11e2-9437-f46d049aaeca UNAVAIL 0 0 0 cannot open
How do I find the serial # of that disk?
...
12
votes
4
answers
25k
views
Is it possible to detach and reattach a ZFS disk without requiring a full resilver?
I have a ZFS mirrored pool with four total drives. Two of the drives are intended to be used for rotating offsite backups. My expectation was that after the initial resilvering I could detach and ...
12
votes
2
answers
20k
views
Need to replace disk in zpool ... confused
I need to replace a bad disk in a zpool on FreeNAS.
zpool status shows
pool: raid-5x3
state: ONLINE
scrub: scrub completed after 15h52m with 0 errors on Sun Mar 30 13:52:46 2014
config:
...
12
votes
3
answers
13k
views
ZFS pool slow sequential read
I have a related question about this problem, but it got too complicated and too big, so I decided I should split up the issue into NFS and local issues. I have also tried asking about this on the zfs-...
10
votes
4
answers
20k
views
zpool status reports error ... what next?
On our FreeNAS server, zpool status gives me:
pool: raid2
state: ONLINE
status: One or more devices has experienced an unrecoverable error. An
attempt was made to correct the error. ...
8
votes
1
answer
3k
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 ...
7
votes
1
answer
8k
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
...
7
votes
2
answers
17k
views
zpool import: volume FAULTED with corrupted data, is it possible to save some data?
I was using Freenas 8.2 and decided to upgrade to 9.2. All seem to go well, upgraded zfs to 28 and rebooted. During next boot it seem to take forever and at some point I decided to turn off the ...
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 ...
6
votes
3
answers
3k
views
ZFS, raidz1: Why is the volume size (42T) so much smaller than the pool size (50T)?
I have a pool of 28 2TB-disks (56T) in 4 arrays of 7 disks. Since it's raidz1 (~RAID5), I'd expect 1 disk to be used for parity in each array, so the resulting volume should be 2TB*4*(7-1)=48TB, right?...
6
votes
2
answers
11k
views
ZFS Recover from Faulted Pool State
I have a six disk ZFS raidz1 pool and had a recent failure requiring a disk replacement. No problem normally, but this time my server hardware died before I could do the replacement (but after and ...
6
votes
1
answer
6k
views
FreeNAS: Renaming a zpool
Now that our server is set up, I would like to rename our zpools.
I read somewhere that the way to do this is export & re-import under the new name. But will all my mount points and shares remain ...
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 ...
6
votes
1
answer
9k
views
ZFS on Linux/Ubuntu: Help importing a zpool after Ubuntu upgrade from 13.04 to 13.10, device IDs have changed
I have updated Ubuntu from version 13.04 to version 13.10, only to discover that the SATA disks IDs have changed, and my ZFS pool now fails.
On new Ubuntu 13.10 the disk IDs are now ata-* instead of ...
5
votes
3
answers
4k
views
ZPOOL Mirror setup
What is the best setup for an zpool intended for database big inserts or TCP/IP dumps (i mean sustained high write throughput using 4 disks ?
I want buy 4 Wd RE4 2TB drives and get the more power i ...
5
votes
2
answers
14k
views
Is it possible to change filesystem properties for an existing ZFS pool?
Suppose I created a pool with compression=on, and later wanted to turn off compression in-place - is that possible and if so how?
I'm using Zevo CE on OS X in case that makes any difference (zpool ...
5
votes
3
answers
19k
views
how do I add a new disk to ZFS and make it available existing mountpoints if the current pool is root pool?
My S11 server has the following configuration:
disk #1 is used for rpool, which is the root pool
I want to add disk #2 to increase the size available for the already mounted folders, but I can't add ...
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 ...
5
votes
2
answers
5k
views
can I consolidate a multi-disk zfs zpool to a single (larger) disk?
I have this zpool:
bash-3.2# zpool status dpool
pool: dpool
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
...
5
votes
1
answer
4k
views
ZFS shows pool state FAULTED, but all devices are ONLINE; how can I recover my data?
Our 100TB NAS based on FreeNAS 8 was unexpectedly powered off due to power failure. After turning it on back, 100TB zpool "projects" was unmounted with state "FAULTED".
I've tried zpool import -fFX, ...
5
votes
0
answers
779
views
ZFS restarts resilvering over and over again. Also very slow
Here's one of my Solaris 10 servers after a couple of disk replacements in a zpool
pool: volume
state: ONLINE
status: One or more devices is currently being resilvered. The pool will
...
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 ...
4
votes
1
answer
743
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 ...
4
votes
1
answer
632
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 ...
4
votes
1
answer
2k
views
ZFS permanent error; options for recovery
Background: small personal server, email, web, shell, etc, for family and friends.
SunOS 5.11, snv_113 from November 2008. Server built in 2009. I believe that was either opensolaris or Solaris early ...
4
votes
1
answer
9k
views
No more space on FreeNAS 9.3. But only half of space actually in use based on "du -sh" command
This morning I got a warning on my FreeNAS 9.3 machine about "Not enough space"
warning: The capacity for the volume 'SeanVolume' is currently at 85%, while the recommended value is below 80%.
It's ...
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 ...
3
votes
3
answers
15k
views
How to partition drive for ZFS
I'm trying to create a ZFS pool using the following command:
zpool create MyPool disk /dev/sda
However, I get the following error:
cannot use '/dev/disk': must be a block device or regular file
...
3
votes
1
answer
1k
views
Solaris: Encrypting a zpool NOT a dataset within a pool?
What is the way in Solaris to encrypt a zpool? All the documentation supporting ZFS encryption talk about using "zfs create" and specifying a dataset WITHIN a pool. I just became SA for several ...
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
902
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 ...
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
2
answers
2k
views
ZFS - zpool replace never finishes
I have a 5 x 3TB raidz1 array on a ubuntu 14.04.1 server. Last month, one of the drives died (audible clicking). I was able to replace the drive with zpool replace RAID <dead drive> <new ...
3
votes
2
answers
7k
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'...
3
votes
1
answer
615
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 ...
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 ...
3
votes
1
answer
1k
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 ...
3
votes
1
answer
816
views
zpool disappears whenever solaris cluster reboot or power cycle
I have following setup
Oracle Solaris 10 -> 5.10 Generic_147147-26 sun4v sparc
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit production
Oracle Solaris Cluster 3.3u2 for Solaris ...
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-...
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 ...
3
votes
0
answers
973
views
Can't remove zfs log device from pool
I run a FreeBSD 9.0 server with ZFS pool version 28 and ZFS version 5.
I had two pools with a log on ssd's two partitions. These pools was created on FreeBSD 8.2 with ZFS pool version 15, and ZFS ...
2
votes
1
answer
482
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
...
2
votes
2
answers
1k
views
Cannot create zpool, how to get rid of intel raid volume?
This is a FreeBSD 9.1 amd64 computer. It has 5 disks installed. The ada0 and ada1 disks are used with a hw raid to provide the root filesystem:
root@gw:/home/gandalf # ls /dev | grep ada
ada0
ada1
...
2
votes
2
answers
4k
views
Can I choose a sparse file as vdev for a zfs pool?
man zpool states that a vdev for a zfs pool can be a "regular file". Can I specify a sparse file (the warning about the integrity of the file being determined by the underlying filesystem should ...
2
votes
1
answer
320
views
ZFS root pool free space
I have an openindiana (oi_151a7) box where I used 30GB for the root partition during installation. This has become rpool1. I cannot figure out how to make the remaining 202 GB available. Looking for ...
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 ...
2
votes
1
answer
1k
views
Disk replace breaks disk naming convention in zpool
After replacing two broken disks in my RAID-Z2 pool, the output of zpool status looks strange. The disks are addressed with their full path and also seem to contain 'slices', which all other disk don'...
2
votes
1
answer
699
views
Move data from root ZFS into child filesystem
I have a zpool (pool verion 13, FS version 3, called tank0) with about 2.5TB of data in the root of the pool (i.e. directly in /mnt/tank0). OS is FreeBSD, actually FreeNAS version 0.7.2.
I would like ...
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 ...