Questions tagged [zpool]
The zpool tag has no usage guidance.
111
questions
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
661
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 ...
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
...
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
...
-1
votes
1
answer
161
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
1k
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
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 ...
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
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 ...
0
votes
3
answers
243
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 ...
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
...
1
vote
0
answers
180
views
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-...
1
vote
0
answers
198
views
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 ...
1
vote
1
answer
382
views
zfs zpool degraded drive missing
I have a degraded zpool called storage of 4 6TB Drives in 2 mirrors. One of the drives on the second mirror is unavailable. All cables seem to to be plugged in physically. Did my device id change?
...
1
vote
2
answers
5k
views
zpool forgot all data devices of a pool: how to bring them online again?
My Debian server is running ZFS on Linux. Today I had to reboot it two times due to software upgrades. A first reboot because of ZFS update from some 0.6.4-1.2-1-wheezy to 0.6.5.2-2-wheezy, which went ...
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-...
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 ...
1
vote
0
answers
519
views
zfs pools unavailable, disks shared with other pools
My ZFS pool called data do not mount anymore after a shutdown.
Maybe there was some automatic update on the computer. I Don't know.
zpool status returns
no pools available
zpool import returns ...
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 ...
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, ...
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 ...
2
votes
2
answers
430
views
ZFS pool members start sectors overwriten, including partition table and L0 L1 labels. Data and L2 L3 labels intact. How to recover?
Have two identical 2Tb disks in mirror ZFS pool. Unfortunately, overwriten start of disks with errorneus attempt to attach them via HP Smartarray P400 RAID controller as separate RAID0 logical volumes ...
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 ...
0
votes
0
answers
242
views
zfs raidz can not read from disk
my freebsd 10 server running on zfs raidz. I have a problem with reading files, test
dd of=/dev/null if=/tmp/test/1000mb.bin bs=1024k count=1000
953+1 records in
953+1 records out
1000000000 bytes ...
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 ...
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
...
0
votes
1
answer
371
views
Can't find created directory on zfs
I'm using openSUSE 13.1.
I created a new directory on a zpool
zfs create zpgd0/iSCSI -o compression=lz4 -o atime=off
but I'm not looking on that...
So I do it again but I'm getting...
zfs create ...
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
1k
views
Why is the size of a zfs filesystem after sending it to a different pool different?
I've move a zfs filesystem from a pool made of a bunch or mirror vdevs to another pool made of two raidz1s with the following command
# zfs send -R pool/project@moving | zfs recv tank/project
As far ...
1
vote
2
answers
680
views
2 drive failures in zpool raid
I have a question if I'm going to be able to restore this partition if I order replacement drives. zpool clear didn't seem to do anything.
zpool status Partition1 ...
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 ...
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:
...
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?
...
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. ...
0
votes
1
answer
4k
views
zpool import with missing device
I had two geli-encrypted partitions on separate disk in a zpool as simple disks (no raid*). I didn't want redundancy for all files, only for some selected datasets (for which I set copies=2).
Now one ...
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 ...
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 ...
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
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 ...
0
votes
2
answers
2k
views
Two devices with the same name in a zpool, cannot replace
Today I have found this on a server (FreeBSD 8.2 STABLE):
NAME STATE READ WRITE CKSUM
data DEGRADED 1.38K 0 0
raidz1-0 DEGRADED 1.38K 0 0
ad10 ONLINE 1.38K 0 0
ad12 ONLINE 0 0 0
ad14 ...
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 ...
1
vote
1
answer
1k
views
Solaris 11.1 ZFS Root rpool shows one disk unavailable and online, how to detach
This is an x86 Solaris 11.1 installation. I have two zfs pools R500 and rpool
I wanted to upgrade R500 from 500GB disks to 2TB which I've done then use the 500GB disks as root rpool disks to replace ...
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'...
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 ...
0
votes
2
answers
257
views
raidz plus mirror on the same disk different slice in 2 pools
I need a little assistance. I have 6 2TB disks.
I'm planning to assign approximately 500GB to my root pool slice 0 mirrored with another disk, since one disk isn't used up I then decided to do a raidz ...
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 ...
-2
votes
1
answer
1k
views
Move data to a new zpool [closed]
I want to create a new Zpool and move data from an old zpool
The old zpool is like this:
rpool [mirror-0 (c1t0d0s0 c1t1d0s0) ]
I will insert two new hard drives and want to configure a new ...
1
vote
1
answer
2k
views
Freenas - Expanding volume
We currently have a server with 5x3TB disks configured as a RAIDZ:
zpool status
pool: raid-5x3
state: ONLINE
scrub: none requested
config:
NAME STATE ...