ZFS, which stands for Zettabyte File System, is a combined file system and logical volume manager designed by Sun Microsystems.

learn more… | top users | synonyms

6
votes
2answers
2k views

How do I get systemd to start my ZFS mount script before doing anything else?

Right now I'm using zfsonlinux on Fedora 19, and it works excellently. Mounting works at bootup as planned using the initscript (included with zfs) that systemd calls, but there's a pretty significant ...
4
votes
1answer
592 views

ZFS: Trying to remove top-level drive from Zpool

I have a zpool called storage that contains a five device raidz1 array. Today I went and bought another 3TB device and put it in my enclosure. However, instead of creating a new pool and adding that ...
2
votes
1answer
65 views

How to mount /boot from LiveCD (FreeBSD 11 ZFS)

FreeBSD 11 (current) with ZFS I can mount zroot with zpool import -fR /mnt zroot but /mnt/boot is empty (and it's even not a directory) I need to edit loader.conf, how can I do it?
2
votes
1answer
273 views

Btrfs/ZFS Network Replication

Is it possible to replicate a ZFS or Btrfs raid volume in real-time (or as close to as possible, network specs aside) over a network? ZFF and Btrfs are ideal because of their CoW properties. I'm ...
2
votes
1answer
268 views

Why does ZFS large file not instantly like btrfs?

Copying a 1TB disk image on a btrfs partition with cp takes less than a second on my Ubuntu 14.10 amd64 with Linux 3.16.0. Why does it take at least 5 minutes and requires > 1 GB to be read on a ZFS ...
1
vote
1answer
18 views

Mounting zpool (Solaris server and Freebsd client)

I have a Solaris with ZFS file system and NFS. I am kind of lost on how to export directories from the Solaris OS which has zfs via NFS? That way I can mount them on Freebsd client.
1
vote
1answer
195 views

Why can't I import an ZFS pool without partitioning the data disk with fdisk?

I have a strange situation here, in which I am unable to import an ZFS pool that I brought from another OS UNLESS I fdisk the disk of the pool. I am puzzled as to why this is happening and hoping to ...
1
vote
1answer
208 views

zpool online doesn't work

I've hard disk failure on this pool. I replace the disk, I don't have any hard error and I can not to put back it online as nofified: :~# zpool status data pool: data state: UNAVAIL status: One or ...
1
vote
1answer
73 views

ZFS Mirror on same drive for redundancy?

The device I would like to use as a home server has only a single 2.5'' internal hard drive bay currently fitted with 1TB. The actual data storage (2x 1TB) will be attached to the external USB 3.0 ...
1
vote
1answer
125 views

ZFS on Linux volume low freespace. Usedbydataset is larger than volsize

I have a storage with ZFS and Debian wheezy. I am always using the latest ZFS from their github. I created 3 different raidz-3 pools. One for every controller. On every controller I have 24x 4T SATA ...
1
vote
1answer
355 views

Cannot create new zpool

I'm working on creating a ZFS zpool and I'm getting the following error: # zpool create main_zfs raidz2 /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh /dev/sdi /dev/sdj /dev/sdk /dev/sdl ...
1
vote
1answer
149 views

ZFS ACL (NFS4 ACL)

I'm using Openindiana (Solaris 10) containers and I want to let users upload web content over sftp I'v managed to setup internal-sftp of openssh and lock user under web root. All the files under web ...
0
votes
1answer
54 views

Struggling to remove a faulted ZFS pool on Centos 7 using zpool

I have been doing lots of testing of ZFS recently on a new server. I'm ready to move this server into production now, but I'm wondering if I can get rid of my old 'faulted' diskpools before I do, ...
0
votes
1answer
47 views

Solaris 11 /var used significant space, but I cannot see it on filesystem

I have a mirrored rpool: NAME USED AVAIL REFER MOUNTPOINT rpool 72.1G 1.22G 39.5K /rpool rpool/ROOT 67.9G 1.22G 31K legacy ...
0
votes
1answer
38 views

inconsistency between format and probe-scsi-all outputs

my platform: SPARC T4-1 Generic_150400-24 sun4v sparc sun4v 1 of the disk is seems different in the output of format when I am on console cli even though relevant disk seems same as others in the ...
0
votes
1answer
65 views

How do I test or verify ZFS encryption is working?

How do I test or verify that the ZFS encryption is working, especially when running as a Samba share? Like if I create a ZFS pool with encryption=on, how can I tell whether a file is being properly ...
5
votes
0answers
118 views

State of ZFS xattr support in FreeBSD

I'm trying to work out whether or not, or rather to what extend, xattrs are supported in FreeBSD using ZFS. I've read some conflicting information. zfs get xattr lists it as on (default) for /, /usr ...
3
votes
0answers
43 views

RAID: ZFS or Btrfs?

I've mounted my own NAS with ArchLinux on an old HDD. I want to add 3x4To to have real storage capabilites and I would like to use a RAID5 system with these 3 disks. I've read a lot about ZFS Raid-z ...
3
votes
0answers
61 views

ZFS (on linux) performance issues

I have a server setup with RaidZ2 (8 disks in array) + 2 spares (+ system disk). The disks are 6TB each, 7200 RPM SAS The machine runs Centos7 x86_64 (not a VM), and has 128 GB of RAM and 48 cores ...
3
votes
0answers
231 views

Does ZFS for Linux over stress VirtualBox?

I've been using MD raid + LVM for many years, but recently decided to take a look at ZFS. In order to try it, I created a VirtualBox VM with a similar layout to my main server - 7 'SATA' drives or ...
3
votes
0answers
268 views

How to import ZFS pool with different configuration

After rebooting my ZFS pool was unable to open my main pool. The exact error that I'm getting is: "The pool metadata is corrupted and the pool cannot be opened" When I checked the zpool configuration ...
3
votes
0answers
87 views

Merge partitions

Due to some unfortunate partitioning I ended up with the following layout: /dev/sda1 (0-120MB) 128MB (boot) /dev/sda2 (128MB-500GB) 500GB (empty) /dev/sda3 (500GB-1TB) 500GB (zfs) ...
2
votes
0answers
25 views

ZFS groupused value not current

On my Solaris 11 box I have a zfs pool (z) that uses 100G group quotas on each user in /org/users folder. One user had reached their quota and cleaned up their data. The df output, that had previously ...
2
votes
0answers
73 views

How to distinguish ZFS pool from mounts?

I'd like to zerofill all free space in partitions inside a FreeBSD virtual machine. The virtual machine contains a 512K boot freebsd-boot type slice (hope I got the terminology right here), followed ...
2
votes
0answers
117 views

ZFS allocation algorithm

I'm looking for a way to know which algorithm ZFS is using to find free blocks. By default there are two algorithms: Best Fit First Fit These are automatically changed once a threshold is passed ...
2
votes
0answers
466 views

What is the kernel syntax when booting from ZFS?

I'm trying to write a grub.cfg completely from scratch that will boot one of several FreeBSD systems off of a single ZFS pool named tank with a set of root file systems named root1, root2, root3. ...
1
vote
0answers
12 views

How to make mdstat ignore specified devices

I have a hypervisor with KVM that uses zvols for virtual machine storage. One such virtual machine was moved from a physical one and has software RAID inside it. Zvols are detected as block devices on ...
1
vote
0answers
86 views

Recovering data from a UFS drive with bad superblock

I've got a UFS drive that has a bad superblock. I've used mke2fs to find the alternate superblocks. The drive has a zfs_member on it named "james". How can I mount the drive with the alternate ...
1
vote
0answers
45 views

How to install a system on top of ZFS?

I have a clear system with 5 hard drives, bios. No OS installed, no formatting applied to hard drives. I want to install a Scientific linux (6.6 or higher) OS on top of ZFS on it. What are the ...
1
vote
0answers
44 views

Sample monitoring of ZFS using mrtg

Was wondering if anyone has a quick and simple mrtg hack to monitor a ZFS file system, thought it would be wise to ask before writing one up myself....
1
vote
0answers
67 views

Failed umount /home (ZFS) on shutdown

During shutdown I notice an error reported in the logging messages on the screen that the umounting of /home (a ZFS filesystem) failed. (After restart I don't find any respective log entry in the ...
1
vote
0answers
151 views

ZFS datasets attribute inheritance

I have a ZFS filesystem on a Solaris system. In one pool I have an ISCSI share and an NFS share. zfs list tank 1,01G 2,88G 24,0K /tank tank/nfs 24,0K 2,88G ...
1
vote
0answers
236 views

zpool mount issues on boot

Looking for help with errors I'm encountering with ZFS. Firstly, the main issue is that I can't get my zpool to mount at boot, but there are obviously other problems I would like to sort out (see ...
1
vote
0answers
2k views

Can't load zfs kernel module on Fedora with Secure Boot - “Required key not available”

I'd like to use zfs with my Fedora 20 system. I've installed the ZFS on Linux Fedora repository and subsequently the kernel-devel and zfs package. As far as I can tell, everything was installed ...
1
vote
0answers
438 views

zpool status hangs forever

Openindiana oi_151a7. zpool with 15x 1TB raidz3 + 2x 8 disk 2TB raidz2. Many disk operations such as zpool status, creating a new iscsi volume (using sbdadm) etc hangs. Using iostat (-xne) I can ...
1
vote
0answers
69 views

Edit partition of disk part of a ZFS Raid

I've gota strange problem. Since a previous failure from one of my hard drive, I had to replace one of my 4 hdd running in RAIDZ. But since I changed this disk, the last partition of my disk appear ...
1
vote
0answers
2k views

How to set up ZFS with ZIL and L2ARC SSD?

I have been considering bcache and flashcache. However my friend suggested me something called ZFS. In fact it says that formating disk with ZFS can actually do the exact same thing without kernel ...
1
vote
0answers
516 views

slow samba seek performance

I am using FreeBSD 9.0 RC3 (PCBSD distro) with samba 3.4.14. I am trying to access portions of several large (4 - 10 GB) files over samba using seek commands, and I am seeing that calls to the front ...
0
votes
0answers
42 views

ZFS Snapshots and low space on zpool

I am trying to backup every hour my zvols. I am using zfs for virtual servers on Proxmox VE. I made myself script, which runs snapshot every hour and then send it to offsite backup, then bookmarks ...
0
votes
0answers
28 views

Server hardware errors?

I have a large data server running ZFS-on-Linux under Debian 6.0.10, which has been running stably for several years. In the last two weeks, however, it's been crashing every few days and throwing ...
0
votes
0answers
32 views

zfs dataset constantly unmounting itself after some time, others still available

I have a linux box, that i putty into, which is my backup system. It has a zfs linear span array with 3 2TB drives. Every night i use freefilesync (great program) to sync files to this mount, which ...
0
votes
0answers
55 views

BSD crashing after creating ZFS pool

I've just installed FreeBSD 10.1 on a virtual machine (using Oracle VirtualBox), and I'm attempting to enable and setup ZFS. I did the following commands: # mkdir /tut/ - from root dir # echo ...
0
votes
0answers
2k views

freenas disc problems - smart error - how to repair zfs raid?

Whats the best way to analyse problems on an freenas raid file server? I have troubles with my freenas 9.2.1. It crashed today. Its running a fileserver on zfs jbod raid 2. I'm not sure what exactly ...