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

34
votes
7answers
2k views

ZFS under Linux, does it work?

Could I get ZFS to work properly in Linux? Are there any caveats / limitations?
10
votes
4answers
514 views

The future of OpenSolaris

since OpenSolaris is more or less abandoned by Oracle, is there a nice alternative that implements the unique features of OSOL? ZFS is one thing, but I liked the image creation system, that let you ...
9
votes
1answer
289 views

What are you going to do with your OpenSolaris machines?

I have a file server running OpenSolaris (mainly for ZFS, which I really love), but since Oracle has abandoned it, I'm starting to think about what I'm going to do with the OS on that machine. ...
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 ...
6
votes
5answers
861 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 ...
6
votes
2answers
122 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 ...
6
votes
1answer
2k 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 ...
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 ...
5
votes
3answers
300 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 ...
5
votes
1answer
703 views

How to use keyfiles,for ZFS whole disk encryption?

Does anyone have a working implementation using keyfiles, preferably on SD Card, instead of a prompt for ZFS? I know how to do this with linux LVM/LUKS. In my opinion the FreeBSD full disk ...
4
votes
2answers
533 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 ...
4
votes
3answers
245 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 ...
4
votes
2answers
294 views

FreeBSD zfs timeout errors

I have FreeBSD 8.2 with ZFS v28. 8 cpu core, 16Gb ram. Two disk drives (1.5Tb WD Green) on zfs mirror raid. My system strangely uses memory. With alot of free (wired) memory it start to use swap and ...
4
votes
1answer
448 views

Why is my CIFS share showing the same files multiple times?

I asked this on ServerFault but received no response, so I figured I'd give it a try over here instead! I have a Debian backup server running the FreeBSD kernel and a ZFS filesystem on which I store ...
4
votes
1answer
110 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 ...
4
votes
2answers
404 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 ...
4
votes
1answer
666 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 ...
3
votes
2answers
956 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 ...
3
votes
1answer
853 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 ...
3
votes
1answer
299 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 ...
3
votes
1answer
708 views

Allowed and safe characters for ZFS filesystem in FreeBSD

Which characters are allowed and safe for ZFS file system name? Are this characters only ASCII or UTF-8 is supported? '@' is not allowed because it is reserved for snapshots. PS: I play with FreeBSD ...
3
votes
1answer
565 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

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. ...
3
votes
1answer
200 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 ...
3
votes
1answer
277 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 ...
3
votes
1answer
462 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 ...
3
votes
1answer
82 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
74 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 ...
3
votes
1answer
688 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 ...
3
votes
1answer
131 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
310 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 ...
3
votes
1answer
565 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
0answers
50 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) ...
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 ...
2
votes
3answers
118 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 ...
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). ...
2
votes
1answer
2k 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 ...
2
votes
2answers
95 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 ...
2
votes
1answer
141 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 ...
2
votes
1answer
35 views

zfs deduplication “low” ratio

In Solaris 11, in a pool named mypool I activated deduplication with zfs set dedup=on mypool Then I created two 100 MB file: file1 and its copy file1copy. Only their names are different: their ...
2
votes
1answer
70 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
1answer
262 views

FreeBSD zfs create gpt

How can i create gpt marks on working system. NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 ad4p3 ONLINE ...
2
votes
0answers
220 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. ...
2
votes
1answer
586 views

adjust zfs settings on freebsd 9

What's the proper way on FreeBSD 9 to tune ZFS parameters such as vfs.zfs.arc_max and vfs.zfs.vdev.cache.size? I've seen references to /boot/loader.conf, /boot/kernel.conf and /etc/sysctl.conf but I ...
1
vote
2answers
135 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 ...
1
vote
1answer
144 views

Determine if zfs is the actual filesystem [closed]

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 ...
1
vote
2answers
242 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 ...
1
vote
2answers
109 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 ...
1
vote
1answer
48 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 ...