Questions tagged [zfs]

ZFS is a combined file system and logical volume manager designed by Sun Microsystems The features of ZFS include protection against data corruption, support for high storage capacities, efficient data compression, integration of the concepts of filesystem and volume management, snapshots and copy-on-write clones, continuous integrity checking and automatic repair, RAID-Z and native NFSv4 ACLs.. -Wikipedia

Filter by
Sorted by
Tagged with
3
votes
2answers
536 views

Uninterruptible Backup Process on Solaris

=========== System Details =========== OS: Solaris 10, update 11 CPU_ARCH: SPARC (sparcv9) HW: Sun Fire V490 (Yeahhhh baby old school) KERNEL_REV: 150400-40 Program: bpbkar32 (Symantec's Netbackup) ...
1
vote
2answers
258 views

Can I use ZFS on top of 3ware raid system?

I have a server with all the disks connected to a 3ware card. I know ZFS, does his own RAID and due to its nature, needs to see individual disks, to be able to operate properly. Unfortunately this is ...
2
votes
1answer
306 views

Mysterious Samba permission failures after service migration

After migrating a maildir network share (CIFS) to a new storage server, I started having problems with file permissions (users unable to delete old mail). My IMAP service is Dovecot but we can ...
2
votes
1answer
561 views

Large media storage & ZFS or BTRFS

I have a server with about 6TB of media files on a single 8TB WD hdd. Before I ask a question I probably should provide some background. These files were on BTRFS for a few weeks but after an ...
3
votes
1answer
758 views

Inheriting group write permission, but not execute for files, on OmniOS (Illumos) using ZFS ACL

We operate with umask 027 most of the time. For certain directories, where multiple users are involved, I found a cool way to emulate umask 002 using ACL inheritance. Here's the command I'm using. ...
1
vote
1answer
686 views

Using udevadm for waiting for scsi scan to complete inside initramfs?

Where the problem is: I am using ArchLinux with archzfs, and zfs hook in my initramfs will occasionally try (and fail) to import pools too early, before scsi scan of all disks used by ZFS had ...
4
votes
1answer
128 views

Getting the version level of FreeBSD for a ZFS boot environment that is mounted but not booted

uname -v gives me the version level of the booted environment. How can I get the version level of an environment without booting that environment? In the example below, a boot environment (BE) is ...
1
vote
2answers
152 views

Stripe array which stores each (whole) file on one disk (zfs/lvm?)

My configuration is: two HDD drives (3TB+4TB), which I want to use as a stripe array. I want to achieve that if one of my drive fails, half of my files (on good drive) are guaranteed to be safe. In ...
2
votes
1answer
954 views

Install FreeBSD from usb onto usb (Root on ZFS)

I'm trying to install Freebsd on a usb stick with root on ZFS. I have FreeBSD-11.0-RELEASE-amd64-memstick.img written to an other usb stick. When I try to install it with zfs the installer doesn't ...
7
votes
2answers
3k views

Create RAID-Z2 in degraded state possible?

I am moving from one server to another and want to bring some of the disks with me. Unfortunately, I do not have enough storage to back up all of the data on the old server. Old server 4 disk RAID5 ...
1
vote
2answers
342 views

How can I move a ZFS pool to a child pool?

I have created a pool in zfs using: zpool create data001 mirror /dev/sda /dev/sdb but in hindsight I wanted to create zpool create data/001 mirror /dev/sda /dev/sdb None of the rename/move ...
3
votes
1answer
905 views

How can I automatically make ZFS filesyatems mount shared / rshared?

I have a number of ZFS sub-filesystems (so that I can granularly manage snapshots and ZFS options) like so: tank/media tank/media/pictures tank/media/pictures/photos tank/media/movies tank/media/...
2
votes
1answer
101 views

Booting FreeBSD alongside Linux

I want to install FreeBSD alongside my Debian, Arch and Kali installs, but I'm having problem creating a bootable USB. I followed the instructions given in the BSD handbook, but my PC doesn't ...
4
votes
2answers
331 views

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

How can I instruct MySQL 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 ...
2
votes
4answers
776 views

ZFS - two pools, one root.

I have a desktop machine with two sets of disks - small SSDs for things I need to be quick and large HDDs for things I need to be big. I have set up the small SSDs into a pool called "rpool" and ...
1
vote
2answers
1k views

ZFS read-only mount on Linux + simultaneous read-write mount on Solaris

We have to regularly copy quite huge files from Solaris to Linux (using network). It currently takes almost half a day for one file. The files in Solaris are on a ZFS filesystem. So I thought what a ...
14
votes
1answer
19k views

How do I change the mount point for a ZFS pool?

example: When I created the pool, I set it to mount to /mystorage zpool create -m /mystorage mypool raidz /dev/ada0 dev/ada1 /dev/ada2 But now I want the pool to mount to /myspecialfolder. Any ...
2
votes
1answer
187 views

Solaris Live Upgrade on ZFS: Pros and Cons of Boot Environemnt in a New Root Pool vs. in a Existing Root Pool

I am considering options for Live Upgrading a Solaris 10 9/10 machine with a ZFS root pool (actually will be deploying a flash archive if that is of any interest). The docs mentions several options. ...
1
vote
2answers
134 views

Invalid ZFS file system has no data

Background: I have a FreeNas box with a boot SSD and a 2x 3TB HDD. I know only enough linux and FreeNas to get me in trouble and must have gotten it up and running a while ago. I transferred data to ...
4
votes
2answers
4k views

Combining SSD + HDD into single fast, large partition?

So I have a desktop with a fast SSD and large HDD. I am trying to get a well configured large, fast zpool out of it. I have read that I can carve separate partitions into the SSD for the ZIL and ...
6
votes
1answer
1k views

How to mount a zfs filesystem on another zfs filesystem in ubuntu 16.04

With ubuntu 14.04 I had two zfs mount points set to legacy so I could mount one filesystem on another via fstab. I.e: zfs_1/base /home/xyz zfs_2/photo /home/xyz/stuff/photo With ubuntu 16.04 zfs is ...
1
vote
1answer
320 views

find: fts_read: Permission denied through mount_nullfs

I have the following set-up: FreeBSD 10.3 with ZFS on root. A ZFS volume hierarchy (multiple volumes nested in each other, for lack of a better name) is duplicated using mount_nullfs in order to ...
11
votes
1answer
12k views

How to mount external ZFS file system without clobbering/altering current or external filesystem

I am using FreeBSD 10.2 using ZFS on root as the file system (zroot01). I have an external hard disk with a ZFS file system from another FreeBSD 10.2 system (zroot02) that I want to temporarily mount,...
4
votes
1answer
1k views

100% CPU utilisation and hang after virsh migrate

I've been experimenting with ZFS + DRBD + live migration (I want to understand it well enough to write my own automation scripts before I start playing with ganeti again, and then openstack cinder). ...
1
vote
0answers
179 views

BTRFS send only new files without deleting anything on remote

I'm looking into replacing rsync with BTRFS tools, but I'm not sure if what I want to do is even possible. I have a small local volume and a large remote volume used for archiving. Files will be ...
2
votes
2answers
369 views

ZFS messed mirrors up

I have a ZFS pool with 6 drives in RAID10 -- well, it used to. I tried to upgrade a 146GB drive to 1TB drive, and messed up bad. root@x7550:~# zpool status pool: stuffpool state: ONLINE scan: ...
4
votes
2answers
1k views

How to remove device from pool

I did a mistake when I added a new device in my raidz pool thinking ZFS should do it automatically. :~# zpool status pool: data state: ONLINE scan: resilvered 78,3G in 2h4m with 0 errors on ...
4
votes
3answers
6k views

ZFS: send / receive with rolling snapshots

My small home server runs on a distribution featuring ZFS. On that system, I implemented a rolling snapshot scheme: every hour, a snapshot is created once a day, the chain is thinned so that I have a ...
16
votes
2answers
15k views

Forcing zpool to use /dev/disk/by-id in Ubuntu Xenial

I'm giving the bundled OpenZFS on Ubuntu 16.04 Xenial a try. When creating pools, I always reference drives by their serials in /dev/disk/by-id/ (or /dev/disk/gpt on FreeBSD) for resiliency. Drives ...
1
vote
1answer
2k views

Why doesn't zfs list output the real size of a snapshot?

So I am running low on space on a zfs based backup server and deleted some old backups, but the space on the filesystem wasn't freeing up afterwards. First guess? There must be some old snapshots ...
2
votes
1answer
804 views

rsync fails/hangs when copying from a Linux ext4 to a FreeBSD ZFS (via SSH)

When I try to copy directories from an ext4 on Linux to a ZFS on FreeBSD (via SSH), rsync immediately fails without copying anything: # rsync -haxHAX /mnt/source/ root@lethe:/mnt/dest/ -vvv opening ...
0
votes
2answers
367 views

what is the structure of meta-object set(MOS) metanode?

I am not very much familiar with ZFS file system. I want to know the structure of meta-object set(MOS) metanode.
0
votes
1answer
339 views

rsync options to transfer big tgz files to zfs filesystem and snapshot later

I need transfer everyday a lot of compressed tar files from a hosting server to a zfs data storage server. The standard way to rsync transfer seems to not zfs snapshot friendly. Each snapshot keep ...
4
votes
1answer
2k 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 ...
1
vote
2answers
276 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.
3
votes
1answer
2k views

Accessing Luks-encrypted disc from FreeBSD

I have some data on a ZFS in a machine running FreeBSD that needs evacuation. I have a disc in a USB enclosure with enough space, but it's encrypted using LUKS on a machine running Linux. Is there any ...
0
votes
1answer
190 views

ZFS pool disappears when adding (enabling) disks to computer

I am adding disks to computer, not to ZFS pool. More spesifically, I disabled other disks, then installed ZFS and created the pool. Now, when I enable the non-pool disks, the ZFS pool disappears. ...
17
votes
1answer
8k views

How to move files from one zfs filesystem to a different zfs filesystem in the same pool?

I have two filesystems in the same zfs pool, /mnt/fs_a and /mnt/fs_b. I want to move about 1TB of data from fs_a to fs_b. But when I: mv /mnt/fs_a/mythtv_recordings /mnt/fs_b/ to my surprise it ...
1
vote
1answer
1k 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, ...
2
votes
1answer
896 views

Setting a disk space quota on a samba share residing on an ZFS pool

I have several samba shares, one of which is used for storing some backups. I want to set a disk space quota on said share, as the ZFS volume the share resides on is huge and multi-purpose... I don't ...
2
votes
1answer
61 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 ...
0
votes
1answer
2k views

Replacing a failed disk in a ZFS pool

I've got a large ZFS disk pool; 3 nested RAIDZ2 vdevs. I am documenting the process for replacing a failed disk for my colleagues and so simulated a disk failure by removing a disk from the host. ...
1
vote
1answer
190 views

Checking for a failed drive in a ZFS pool

I'm testing a large ZFS pool at the minute and am documenting the process for replacing a failed drive before our environment moves into production. I've built the ZFS volume 'diskpool', which is 3 ...
2
votes
1answer
228 views

Seeing much less usable space than expected with new volume using ZFS on Centos 7

I have a monster server I'm provisioning at the minute. There are 15 x 8TB HDD's connected to a SATA interface card that I'm using to create a ZFS volume. The drives are all detected and I've got the ...
2
votes
0answers
2k 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 (...
15
votes
1answer
1k 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 ...
15
votes
4answers
31k views

how to one-way mirror an entire zfs pool to another zfs pool

I have one zfs pool containing several zvols and datasets of which some are also nested. All datasets and zvols are periodically snapshotted by zfs-auto-snapshot. All datasets and zvols also have some ...
0
votes
1answer
329 views

Do ZFS zvols on Linux use the arc cache ?

Is the ZFS arc cache used when doing an open() on a zvol device, or only when accessing ZFS datasets ?
1
vote
1answer
892 views

How replace disks on an existing striped zpool?

I have the following zpool: pool: mypool state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM mypool ONLINE 0 ...
4
votes
1answer
513 views

On Gentoo, ZFS stops working after 0.6.5 update

I just updated my Gentoo system, updating my world, including ZFS. Everything but the kernel. I figured I'd do a reboot first, then build a new kernel. Currently, it's running on kernel 3.17.8-gentoo-...

1 4 5 6 7 8