Tagged Questions

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
18 views

iostat error counters on Solaris

In a Solaris system i use iostat -E and kstat to identify faulted disks. My problem is that I don't know if the problem is on disk, on controller, on bus or on the filesystem layer (ZFS). The key is ...
1
vote
0answers
17 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
1answer
22 views

du -sh on a new directory gives different results in different locations

Here's what happened when I created a new directory and immediately ran du on it. There are no contents in this directory. me@mybox[~]$ mkdir /scratch/test2 me@mybox[~]$ du -sh /scratch/test2 4.0K ...
1
vote
1answer
48 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 ...
3
votes
1answer
41 views

What's an effective offsite backup strategy for a ZFS mirrored pool?

I use a ZFS pool consisting of two mirrored disks. To get offsite backups going I've purchased two more disks. My initial plan was to create the offsite backup by attaching a third disk to the ...
1
vote
1answer
30 views

Can I use dd to quickly resilver a ZFS mirror disk?

My ZFS pool consists of two mirrored disks. I have two more disks which I plan to use for rotating offsite backups. The first backup disk was added to the zpool and has nearly completed resilvering. ...
1
vote
1answer
50 views

Impossible to umount /mnt [duplicate]

I am running Debian kFreeBSD wheezy. Accidentally I mounted my zfs pool directly into /mnt. When I try to unmount I get an error: zfs unmount myzfspool cannot unmount '/mnt': Device or resource busy ...
1
vote
1answer
59 views

The pool cannot be imported, because is formatted using an incompatible version

I can't access my zfs pool on Debian as it's saying that my version is too old: root@Microknoppix:~# zpool import pool: WD_4TB id: 12726205736285302822 state: UNAVAIL status: The pool is ...
1
vote
0answers
45 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 ...
0
votes
0answers
144 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 ...
0
votes
1answer
140 views

ZFS support for linux kernel versions 3.16

Attempting to boot Funtoo with a debian-sources-3.16.2-3 kernel, in a system where the root file-system lives in a zpool, drops off to the rescue shell after failing to import the pool properly. Does ...
2
votes
1answer
43 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 ...
1
vote
1answer
209 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 ...
4
votes
3answers
381 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
2answers
154 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
161 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
92 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
125 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
103 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
99 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
143 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
51 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
1k 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
2answers
518 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
163 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
46 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
51 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
222 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
889 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
239 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. ...
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 ...
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 ...
3
votes
1answer
135 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
231 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
600 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
297 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
711 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
2k 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
330 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
97 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
642 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
326 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
735 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
255 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 ...
3
votes
1answer
2k 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
317 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
1k 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
358 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 ...