Questions tagged [zfsonlinux]

zfsonlinux provides a native Linux kernel port of the ZFS filesystem so that ZFS may run natively on Linux. It is very different from ZFS-fuse which provides ZFS on top of a userspace-filesystem layer. The ZFS On Linux project is hosted on zfsonlinux.org.

zfsonlinux provides a native Linux kernel port of the ZFS filesystem so that ZFS may run natively on Linux. It is very different from ZFS-fuse which provides ZFS on top of a userspace-filesystem layer.

The ZFS On Linux project is hosted on zfsonlinux.org.

268 questions
3
votes
1 answer

ZFS Send and ZFS receive dataset without -RI incremental replication sync

Is there a way I can send ONLY the latest snapshots to the backup zfs system even though it has previous snapshots? When I try I keep getting error: "cannot receive new filesystem stream: destination has snapshots (eg. mirrorpool/ETC/Stuff) must…
htfree
  • 483
  • 4
  • 9
  • 21
3
votes
2 answers

Is ZFS L2ARC required if primary data is already on SSD?

I'm trying to tune ZFS on Linux for my workload (Postgres and a fileserver on the same physical machine [1]), and wanted to understand if I really need L2ARC, or not. If the information given at…
Saurabh Nanda
  • 489
  • 1
  • 8
  • 20
3
votes
0 answers

Is this disk about to die?

I have a WD Red 4 TB disk (WD40EFRX-68WT0N0, firmware 82.00A82) that is occasionally showing uncorrectable read errors in the SMART error log, e.g.: Error 43 [18] occurred at disk power-on lifetime: 13157 hours (548 days + 5 hours) When the…
FlorentR
  • 71
  • 4
3
votes
1 answer

ZFS (on Linux): zfs import cannot import online pool

I have a pool that cannot be imported even though it is detected and is online. $ zpool import -d /dev/disk/by-id pool: threetb id: 10173957064206389394 state: ONLINE action: The pool can be imported using its name or numeric…
Jan Bernhardt
  • 51
  • 1
  • 4
3
votes
1 answer

ZFS keeps repairing the same disk when scrubbing - what does that mean?

I have a ZFS pool comprised of 6 disk, arranged in 3 stripped mirrors. The server is a Supermicro X11SSM-F with a Xeon CPU, 32 GB of ECC RAM running Ubuntu 17.04. I'm using 2 Icy Dock MB154SP-B to physically host the disks, and there are 8 SATA 3…
FlorentR
  • 71
  • 4
3
votes
1 answer

ZFS on Linux: Deleting the "Solaris reserved 1" partition. Did I break anything?

I have a Debian 8 VM with: 1x virtual root disk 1x virtual data disk with a ZFS file system on it. When I initially created the ZFS file system, I did not manually create partitions, but simply ran this command: zpool create -f my-pool…
user122992
  • 150
  • 1
  • 8
3
votes
2 answers

ZFS mirrored new drives added not reporting correct size

I am running Ubuntu 16.04 on ZFS. I have my OS on rpool and my data in /tank Problem: I have added 2 6TB drives to my zvol using the following command: # zpool add -f tank mirror ${DISK1} ${DISK2} The drives added. I was expecting to gain…
posop
  • 247
  • 2
  • 10
3
votes
1 answer

ZFS doesn't want to detach replaced disk

I wanted to replace a disk in my zpool by issuing the following command: zpool replace -o ashift=12 pool /dev/mapper/transport /dev/mapper/data2 ZFS got to work and…
jplitza
  • 329
  • 1
  • 10
3
votes
1 answer

ZFS on Linux: How do I correctly configure the vdev_id.conf file and trigger vdev aliasing?

I have been trying to get ZFS on Linux to read / process the vdev_id.conf file and give me a /dev/disk/by-vdev directory, to no avail. I have a SAS HBA with redundant connectivity to several hard drives. I have read the documentation but I am not…
Sam Alsalem
  • 51
  • 2
  • 9
3
votes
2 answers

Using exotic setups to maximize capacity (when using different sized disks) in ZFS raidz

I have 2 x 4TB disks and 3 x 6TB disk which I want use with ZFS. My objective is to maximise the usable storage space whilst allowing for a single disk failure. Ideally a raidz setup would be used however from my research, different size drives…
Greg
  • 1,657
  • 5
  • 27
  • 38
3
votes
2 answers

How to pause Postgres before taking an LVM/ZFS snapshot?

How can I instruct Postgres to complete all "in-progress" transactions, but to delay starting new ones (without kicking clients off) until I have taken a ZFS or LVM snapshot (which takes less than a second). e.g. pause Postgres, waiting for…
fadedbee
  • 2,068
  • 5
  • 24
  • 36
3
votes
2 answers

Will ZFS automatically switch to fault tolerant when I add a third drive?

If I start off with a 2 drive stripped ZFS POOL will it automatically become a fault tolerant POOLS like RAID-5 when I add the third drive? I can't seem to find anything in the ZFS CheatSheets I find online about adding a third drive to a stripe set…
Frank Barcenas
  • 605
  • 6
  • 18
3
votes
1 answer

ZFS copy on write

I am planning to use ZFS for backups. 5-10 servers will "stream" updates via DRBD to very large files (500 gigabytes each) on ZFS file system. The servers will generate about 20 megabytes per second of random writes about 100 MBps total. I don't…
Igor Chulkov
  • 39
  • 1
  • 2
3
votes
1 answer

Broken ACLs when "zfs send"ing a snapshot from a Linux machine to Solaris

I'm running ZFS on a Ubuntu machine that hosts our home directories. The pool has the following ACL setting: # zfs get all homes | grep acl homes aclinherit restricted default homes acltype off …
Pavel
  • 1,038
  • 1
  • 11
  • 30
3
votes
1 answer

why are zfs on linux transfer rtates reported incorrectly after expanding array?

I have upgraded the drives in a 4 drive Raidz array in a NAS server and the array has auto expanded to the new size. In testing transfer rates from the NAS server now I observe that when performing large read transfers the performance is poor,…
barrymac
  • 163
  • 5