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

1
vote
1answer
79 views

Determine if zfs is the actual filesystem [on hold]

With Solaris 11 the default filesystem should be zfs, but following the official guide I obtained (with cat /etc/default/fs) LOCAL=ufs Is this an error? I thought that the same information was in ...
4
votes
3answers
63 views

FreeBSD 10 with Root-on-ZFS using only a part of the disk

I'm having a bit of trouble here. I'll try and be as concise as possible in describing my objective: I'm setting up a storage server for my employer, using two Intel DC S3500 series 120GB solid state ...
1
vote
1answer
47 views

Why does creating a ZPool result in this error?

When I try to create a ZPool, the following error occurs: user@arch ~ % sudo zpool create -f -o ashift=12 -m /data media raidz /dev/disk/by-id/ata-ST2000DM001-1CH164_Z2F0TL8V ...
4
votes
1answer
44 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
45 views

Do I need to setup my ZFS (using FreeBSD 10) for foreign-language files (e.g. filenames in Japanese/Thai/etc language)?

I am in the process of setting up a ZFS file server. I am planning to store all sorts of files in it. I have several hundred music tracks that are in Japanese/Korean native character. I want the file ...
2
votes
3answers
100 views

Why is dd running forever on a 8 GB drive

I have a filesystem handled by ZFS and it's about 8 GB. I tried to zero out the filesystem by running: dd if=/dev/zero of=/EMPTY bs=1M | true rm -f /EMPTY And normally on an ext4 filesystem, it ...
3
votes
1answer
54 views

zfs-fuse: enabling compression has no effect

I installed on Debian Wheezy zfs-fuse file system and enabled compression gzip-9 on one dataset ("storage/backup"). When I check if the compression is enabled on this dataset, it shows YES: $: zfs ...
3
votes
1answer
37 views

ZFS detach mirrored drives in a pool

I have an older (2-3 years) NAS running FreeNAS. I figured its time to upgrade some of the hard drives. Here's the current status: NAME STATE READ WRITE CKSUM ...
1
vote
0answers
67 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
1answer
41 views

zfs replication temporary file

I'm running a zfs replication task, of a snapshot size ~2.5GB. I see that there is traffic going between the master and the slave, by using snoop, but I want to monitor the transmission. Is there a ...
6
votes
5answers
418 views

Read files owned by another user as non-root

I'm backing up servers on a backup server. Each server which is backed up has it's own account on the backup server, and the files are rsynced. It is important that the permissions remain intact ...
4
votes
1answer
157 views

How to remove broken ZIL disk from ZFS pool

I have a ZFS pool, which contains two mirrored hard drives and ramdisk for logs. In my scenario is that log disk died: # zpool status -x tank pool: tank state: FAULTED status: An intent log record ...
6
votes
2answers
85 views

FreeBSD 10 trace disk activity

Is there any way to find some process which is periodically writing to disk (according to hdd led) on FreeBSD 10 with ZFS (maybe turn ZFS into verbose logging mode)? lsof and other instantly ...
1
vote
0answers
32 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 ...
3
votes
0answers
46 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) ...
1
vote
1answer
129 views

Caching write changes on SSD to avoid HDD spin-up? ZFS, but (probably) not L2ARC

I have a home server, which - between other things - stores my documents, mail archives etc.. It uses a ZFS RAIDZ, based on spinning hdds. The server also runs an off-line IMAP service, synchronizing ...
1
vote
0answers
22 views

Encrypted file system on external storage [duplicate]

I use archlinux and manjaro. I recently bought an external 2TB toshiba stor.E canvio, and I planned to use it as back up. I used gpt layout and partitioned it with luks and ext4. Dolphin reports 6% ...
3
votes
1answer
411 views

Optimised ZFS in low RAM environment feasibility?

I am currently setting up a file server and have come to the point of actually setting up the data drives. The system has 4 drives (one OS disk, 3 data disks). The OS disk is formatted as ext4 and ...
2
votes
0answers
144 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. ...
5
votes
1answer
926 views

ZFS Snapshot to file as Backup with rotation

I have a local FreeNAS system and want to use ZFS snapshots for backups. FreeNAS has the built-in Replication Tasks which use zfs send snapshot_name to send a snapshot to a remote system. But this ...
2
votes
1answer
1k views

ZFS Raid-Z with different size disks

I've searched, and I think I understand, but just want to verify that I have the right concept. I am building a new PC, and want to set up the old one as a file server. Ultimately, I would like two ...
3
votes
1answer
121 views

Does any OS support ZFS on MIPS?

Does there exist an operating system supporting ZFS under the MIPS architecture? If so, which operating system(s)? I am especially interested in: Support for ZFS on Loongson. OSes free from binary ...
3
votes
1answer
172 views

Attempt to test corruption of ZFS filesystem using dd fails

I'm trying to test error detection and recovery on a system with recently installed ZFS. I deliberately overwrite the start of one of the disks with dd but can't force any errors to be detected. Can ...
4
votes
2answers
399 views

Is a ZFS storage array portable across operating systems & CPU Architectures?

I know that ZFS is available on variety of operating systems Solaris, Illumos, Linux, BSD etc. Suppose I have a bunch of disks that are part of ZFS raid file system that was created on Linux, could ...
3
votes
1answer
240 views

How does ZFS grow/scale?

I am wondering how would one design a ZFS system to build something that is massively scalable, along the lines of your favorite cloud storage, but with all the neat benefits the come with ZFS. A ...
2
votes
1answer
366 views

Fedora 19 zfsonlinux - how to configure cifs share?

Fedora 19 with current version of zfsonlinux / smb version 4.0.9. When I try to zfs set sharesmb=on I receive smb add share failed Any ideas? Is this supposed to work yet or still in ...
3
votes
1answer
1k views

Is it possible to change the sector size of a partition for zfs raidz pool in linux?

I've been migrating a zfs raidz pool on linux to new discs via virtual devices which were sparse files. I've used partitions on the discs as the discs are different sizes of 1.9T each. The last disc ...
3
votes
1answer
245 views

Can zfs resilvering destroy data with misreported device failures?

I have had a situation where I am moving data into a new zfs raidz pool with four devices, some of them virtual to facilitate the migration. The system completely hung in the middle of a device ...
2
votes
2answers
89 views

What is a good way of layering zfs filsystems to manage unpredictable future workload that doesn't severely compromise performance?

I've been playing around with ZFS and using sparse files as virtual devices to learn how to use the zfs tools. It seems that there isn't much of a hit in performance by creating a raid pool out of ...
3
votes
1answer
459 views

Solaris 11: Accessing a pool on disk from live DVD?

I made a rather bad mistake while playing around with Solaris 11, which has left me locked-out. I accidently changed the first character of my username in /etc/passwd, and the "new" username is not ...
3
votes
1answer
253 views

What are potential consequences of going nuts with sparse file based vdevs for a LVM to ZFS migration?

I've been playing around with ZFS having finally accepted that it's mature enough I shouldn't get burned. Now to migrate the home NAS box which is currently an LVM JBOD set up that's quite full, but ...
4
votes
1answer
568 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 ...
3
votes
1answer
2k views

How to replace a disk in a non-redundant ZFS pool?

I've been doing a bit of reading, and it looks like ZFS doesn't like disks being removed from non-redundant arrays: You can use the zpool detach command to detach a device from a mirrored storage ...
1
vote
2answers
208 views

Can one use a md-type raid-0 as a drive for zfs pool

I want to play with ZFS at my CentOS. At the moment I have two 750Gb drives and two 400Gb spare drives that I could use. Of course the simplest solution would be to take all of them and use only 400Gb ...
2
votes
1answer
1k views

zpool import - cannot import: one or more devices is currently unavailable

I have moved a ZFS pool from one SunFire server running some pre-release of Solaris 11 to another server running latest Solaris 10 and now can't import it. It was properly zfs export from the old one. ...
5
votes
3answers
268 views

How can I get rid of this invisible file?

Background I have a folder named akorgāœ½. That Unicode character causes headaches for me when software makes incorrect assumptions about the text encoding of my file paths, so I'd like to remove it ...
3
votes
2answers
866 views

ZFS on Linux and Amazon EC2

I have a situation where I need dynamically expandable storage space on a Linux machine running in Amazon EC2, and ZFS came to mind. If I remember properly, ZFS supports a way to dynamically expand a ...
0
votes
1answer
336 views

ZFS on Linux gets corrupted on export [closed]

Edit: I am not using Sabayon Linux anymore. I suggest to close this question. I just started experimenting with ZFS on Linux. I use Sabayon Linux with kernel 3.8. I used a whole single USB disk to ...
1
vote
2answers
127 views

Encrypted disk filesystem compatibilities

On my Debian Linux system during the install I decided to use disk encryption (the one offered during a regulard Debian install). When the system boots up I need to enter a password and then the ...
2
votes
1answer
135 views

zfs send volume fluctuates misteriously

Why would the amount of data in a zfs send stream "fluctuate"? I would expect send of a specific snapshot to always produce exactly the same data! The test data below was created through something ...
1
vote
0answers
1k 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 ...
0
votes
4answers
403 views

targeted network speed over LAN

I have a Solaris 11 system which has several NFS exports which are accessed my other systems within my LAN. I use a Linux system as a client for testing. I wrote a quick script to test read speed and ...
1
vote
2answers
130 views

zfs one pool error

I have zpool with name zroot and zroot has 4 pool when electricity down system reboots and than i saw some error with 1 pool: Solaris: Warning: can`t open object for zroot/var/crash log_sysevent: ...
3
votes
1answer
447 views

FreeBSD: Remove symlinks in devfs

Background I have been rebuilding a small home NAS. This server represents my first 'real' foray into the world of server administration and it has taught me quite a bit already. Originally, the ...
2
votes
2answers
2k views

Mixing 4k/512 drives with ZFS (FreeNAS)

I have the following drives: Seagate Barracuda ST3200054AS WDC WD20EADS-00S2B0 Samsung HD204UI As far as I understand, the first are ordinary 512 drives while the last is 4096 (Advanced format). ...
8
votes
2answers
1k views

Is there a way to create cow-copies in ZFS?

I am trying to make cow-copies of some files/directories, but of the several ways I know of, all seem sub-optimal. For example, btrfs can, with the use of cp --reflink=auto quickly generate ...
1
vote
1answer
867 views

AES-NI accelerated ZFS v31 encryption in Solaris 11

I'm not quite sure if this is the right place to ask this, if not, feel free to migrate it to wherever it fits in. I'm testing the encryption feature in ZFS v31 in a Solaris 11.11.11 VM under ESXi ...
1
vote
2answers
898 views

The receiving of returns by Nagios from script through NRPE

I am using nagios3 and want to collect some information from nrpe_server. Next script is at nrpe_server: #!/bin/sh #set -x # script for checking disk usage on ZFS # requires min zpool version 13 or ...
6
votes
4answers
4k views

FreeBSD + ZFS + Encryption ? Alternatives ? Suggestions?

I would like to create a dedicated physical server which will work as a NAS & fileserver inside my LAN (as well as through VPN). However I need to fully encrypt the drives (both the system ones ...
3
votes
1answer
836 views

24 hour crash course in ZFS… some final questions

Due to various circumstances I've given myself a crash course on the ZFS file sytem. I need some help getting comfortable with the unknowns. Whatever those are. Data: Running www.zfsonlinux.org on ...