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
1
vote
0answers
235 views

Confused about using `setuid` on a FreeBSD mounted dataset to ensure all files/dirs have a fixed owner?

Initially I thought that what I'm trying to do was simple. But the more I look at FreeBSD man pages, the more confused I'm getting about whether it's even possible. I have a zfs pool that is used for ...
0
votes
1answer
714 views

Reading iostat utilization with ZFS zvols

First off, I asked this question 5 days ago over on Serverfault. I hope I'm not doing a bad by bringing it over here to the Unix&Linux Stack. I have also asked this question on 3 other sites not ...
2
votes
0answers
139 views

Home NAS: Best setup to ease data recovery in case of hardware failure? Should I get rid of HW raid 1?

I'm not quite sure how to formulate the question here. I built myself a low energy NAS with an Intel N4200 with 8GB RAM. For the hard drives I'm using two WD red in a Raidon GR3660-B3 which is running ...
0
votes
1answer
226 views

I mounted a ZFS dataset within an ecryptfs directory and now cannot see the contents or change the mountpoint

I'm running Ubuntu 16.04 LTS on a desktop that uses a ZFS on Linux (ZoL) pool. My home directory is encrypted using the built-in encryption setup at install time and has worked great, and ZFS has ...
0
votes
1answer
2k views

Command to list vdev device names for a ZFS pool for scripting?

I'm working on a script that requires the device name of the disks in all of the vdevs for an arbitrary pool. (All of the devices in the vdevs in my pools are disks.) zpool list -v mypoolname seems ...
1
vote
0answers
103 views

Why doesn't ZFS on Linux report a dropped drive?

I found one of my personal file servers had slowed to a crawl. On further examination it turned out that one of the drives in a ZFS pool had stopped responding. I can find no indication of this in any ...
0
votes
1answer
461 views

Configure Grub for Arch Linux ZFS

Does anybody know how to configure Grub in such a way it can mount an Arch Linux installed on a ZFS system? I have /dev/sda1 (boot partition) and /dev/sda2 (root partition). The ZFS system has one ...
1
vote
1answer
705 views

ZFS NFS export user mapping

I'm trying to use ZFS NFS export on my small home network. So far I've managed to export and to mount, but the mounted directory is mapped to user 'nobody' and it is readonly. I'd like to be able to ...
2
votes
1answer
403 views

Will writing identical data to blocks of a file under ZFS use space in snapshots?

I have a 16M file. I take a snapshot of the ZFS filesystem which contains it. If I overwrite the file with the same data, will ZFS need to store two copies of all of the blocks of the file?
1
vote
1answer
3k views

zfs and solaris11: how to reduce ram consumption?

sudo echo ::memstat | sudo mdb -k Usage Type/Subtype Pages Bytes %Tot %Tot/%Subt ---------------------------- ---------------- -------- ----- ----------- Kernel ...
3
votes
0answers
105 views

zfs pool not available on boot after setting noatime and drive idle times with hd-idle / hdparm

At first, I set up my RHEL7-x64 to sleep the zfs drives using this,this, and this. I believe I tried hd-idle first, when the problems began. I had written a script idle_drives_enable to handle ...
3
votes
1answer
587 views

Does ZFS scrub update compression and copies on existing data?

I know that ZFS properties like copies and compression only affect newly written data. However I wonder if a scrub would update that? Let's say that I have have created a pool and set compression=...
2
votes
0answers
789 views

Incremental backups - rsync with hard links, or rsync to zfs with snapshots?

I need to set up a backup server to pull data from on-site linux servers. The server will be running Ubuntu 16.04. A requirement is to be able to access backups of files which have been subsequently ...
1
vote
1answer
691 views

Offlining a ZFS pool speedily and safely as a monolithic whole?

Much as the question says. Suppose I want to have the equivalent of a scripted "emergency button" for my FreeNAS pool - something that I can click to run from a GUI or execute in console/SSH, which ...
1
vote
1answer
198 views

Does ZFS check integrity by swap too?

I have ECC memory and I'd like to put swap on a filesystem, which does integrity checks. Will ZFS check integrity by reading the swap?
0
votes
1answer
607 views

“VFS: Can't find ext4 filesystem” on ZFS disk

I am getting many of these messages on one of my systems: [ 348.515157] EXT4-fs (vda9): VFS: Can't find ext4 filesystem [ 348.517587] EXT4-fs (vda9): VFS: Can't find ext4 filesystem [ 348.519944] ...
1
vote
1answer
3k views

Parted: how to solve Location outside of device error?

I was trying to create new partition from existing unallocated space on /dev/sda , but when ever i set the 'start and end' i get location outside of device error. Below is the output root@server01:/#...
0
votes
2answers
2k views

High IO on KVM/LXC host will hang server but not on guest (Proxmox/Debian)

I have problem for past several months which was progressively getting worse and now I'm in state that if I try to do almost any intensive IO operation on my visualization host (Proxmox ve 5.1-41) ...
1
vote
3answers
833 views

ZFS on Amazon linux ami

I am trying to install ZFS on my amazon linux ami. Since the package is by default not available in their repository, I downloaded it from http://zfsonlinux.org/ . I also managed to install spl and ...
2
votes
1answer
786 views

OpenZFS on Windows Subsystem for Linux

Has anybody seen or tried running OpenZFS under Windows Subsystem for Linux? I know that someone is working on a windows port of OpenZFS, but it would seem that using the Linux port would be much ...
3
votes
1answer
887 views

What is the best way pause “zfs send via PV” and resume

I'm using PV for my ZFS send-recv replication. I use ZFS resume token too but i want to pause and resume like sigstop, sigcontinue. Because using resume token means sending same thing again. So how ...
1
vote
1answer
570 views

Recreate zfs pool for a reinstalled os

I need to replace disk for a zfs root installed system. Previously it was (before reinstalling OS for test purpose which is also I want to accomplish after install): Created mirror with zpool attach ...
1
vote
2answers
554 views

Is ZFS safer with non-ECC RAM if you disable checksums?

I've heard about the Scrub of Death. However one can disable chekcsuming in ZFS datasets. If so - will that make the situation safer for a system that's not using ECC RAM? I'm not thinking of a NAS ...
1
vote
1answer
123 views

Is 'zfs send' a safe read only command?

I would allow server A to be backed up by server B, without allowing any server to modify the other server. non-root user zfsbackup @ server A is allowed to use only zfs send: # serverA: /etc/...
2
votes
1answer
431 views

Stop broken NFS mounts from locking a directory in solaris 11.3?

Data from my nfs server: zfs set share=name=opt_media,path=/opt/media,prot=nfs,sec=sys,root=iphostclent,public,rw=* rpool/media Data from my nfs client: mount -F nfs -o bg,soft,retry=5,timeo=5 ...
1
vote
1answer
505 views

How to make zpool refer to a disk using a readable string?

There are loads of ways a system might uniquely identify a disk or partition, GUID/UUID, how it's connected 'usb-...', and the traditional directory structure '/dev/sda'. zpool seems to choose ...
1
vote
1answer
399 views

ZFS mount dataset for zone

I shutdown my non-global zone and umount her point zfs zonepath. command for umount: zfs unmount -f zones-pool/one-zone details: zfs list | grep one zones-pool/one-zone ...
1
vote
0answers
1k views

How to restart ZFS?

I am using ZFS and zpool, however it is locked up on a faulty drive. Without restarting the machine (it is a server) how can ZFS be force restarted? OS: CentOS 7 Linux
2
votes
1answer
541 views

Why does ZFS not report disk as degraded?

S.M.A.R.T. has found an unrecoverable read-error on one of my disks, but zpool status lists all disks as ONLINE (I.E. not DEGRADED). Do you know why might that be? I though ZFS would know of any ...
5
votes
1answer
471 views

How full is my ZFS pool? (not sure how to read command output)

I'm using ZFS on FreeBSD to store several TB of data. If stored as non-dedup, about 25% of the raw data would be unique enough that compression helps but dedup is wasted. The other 75% contains a ...
1
vote
1answer
197 views

Firewall configuration for NFS share of ZFS mirror

I have several Ubuntu Server 16.04 VMs. One of these is my fileserver and has a ZFS mirror. I want to mount filesystems in the mirror to various different client VMs. I can successfully do so when the ...
2
votes
2answers
4k views

What is maximum number of files you can store in a tar archive under Solaris 11?

I need to store a large number of files (> 100,000) in a tar archive and have run into the error: /bin/sh: /bin/tar: cannot execute [Arg list too long]. Are there limits with UNIX Solaris tar or GNU ...
0
votes
1answer
403 views

moving only some directories / filesystems to ZFS datasets

At present, I'm playing around with a very small fileserver based around an Intel NUC, with the boot environment on a USB flash drive ("usbflash") and then using a large spinning disk ("HDD") for bulk ...
4
votes
1answer
515 views

Explain ZFS system output

I have output of zdb -DDD geek1 command: [root@zfs-test centos]# zdb -DDD geek1 DDT-sha256-zap-duplicate: 8193 entries, size 290 on disk, 141 in core bucket allocated ...
3
votes
1answer
332 views

When did zfs-fuse become such a fundamental dependency on Fedora?

I installed Fedora 26 recently. Some recent dnf updates I made pulled in zfs-fuse upon which lots of packages are now dependent (qemu*, gluster*, libvirt*, gnome-boxes, ...). I am looking for the ...
2
votes
0answers
70 views

How to keep linux pagecache minimal?

I want to setup Debian system with ZFS as primary filesystem and some as secondary (ntfs, ext2/4). When I'll read/write from non-ZFS filesystems pagecache will grow and will force zfs arc to shrink. I ...
1
vote
0answers
134 views

Trying to install Funtoo (inside VirtualBox only for now, for testing) with ZFS for boot/root - failed install and booting

Following guide https://www.funtoo.org/ZFS_Install_Guide everything works great, until in section "Create optional Datasets" at "Build directory": zfs create -o mountpoint=/var/tmp/portage -o ...
3
votes
1answer
626 views

Can I resume a failed (ZoL) ZFS send over netcat?

I have a volume with client data that is encrypted using ZFS native encryption. I was trying to send this from a Ubuntu server to a Debian server. It is not possible to receive zfs send data into ...
1
vote
0answers
367 views

How to install ZFS on KDE neon?

The distro is based on Ubuntu xenial. In fact sources.list is the same as my Ubuntu setup. When I try to install ZFS via the normal Ubuntu way (sudo apt install ZFS), there's no zfs.ko. Can you ...
4
votes
1answer
127 views

Can a user-defined “destroy-after” property be set on a ZFS snapshot?

I know that (almost) arbitrary user-created properties can be added to a ZFS dataset on FreeBSD. But if I take snapshots of a dataset (or pool), can I set a user-defined property on an individual ...
1
vote
1answer
115 views

How can I detect time of last harddisk/samba or zfs activity for a ifplugd like action?

I have built a little NAS-like device on armbian, that uses external harddisks for its file serving purposes. The (hardware) interface only provides a reduced SATA-command set and overrides some APM/...
2
votes
3answers
4k views

Unable to zfs send | zfs receive datasets in same zpool

I have two environments Staging (staging) and Development (choang). I am unable to replicate (including snapshots) from dataset zfs/staging.assets to another dataset zfs/choang.assets within the same ...
2
votes
1answer
722 views

FreeBSD: Samba eating memory

I have a freebsd file server root@vstorage:~ # freebsd-version 11.1-RELEASE-p1 Here's some additional info. root@vstorage:~ # dmesg | grep CPU: CPU: AMD Phenom(tm) 9750 Quad-Core Processor (2400....
1
vote
0answers
376 views

Zfs Replace - How to remove drives after replaced

I have a zfs Z2 (Raid 6 equivalent array) comprising 8 1Tb drives, that previously had been working well for a couple of years. Due to disk problems, I have had to replace at first one drive, then ...
1
vote
1answer
417 views

How to downgrade ZFS On Linux on CentOS

I need to do some testing of ZFS on CentOS 7.3 using the 0.6.5 branch, not the 0.7x branch. When I install using the ZoL site instructions for "zfs-release" package I only see listings for the 0.7x ...
3
votes
1answer
71 views

Large archival storage laypout [closed]

I am playing with a though of buying into a large redundant storage for all the family data like old photos, causal backups and such. My primary question here is how to layout it so it is safe, ...
4
votes
1answer
965 views

How can I detect whether an “NMI watchdog: BUG: soft lockup” is a hardware or a software issue?

Soft Lockup dmesg reports in my laptop, since quite some time now, NMI watchdog: BUG: soft lockup every time I try to use updatedb or firefox. Samples of what is reported posted at https://github.com/...
3
votes
0answers
77 views

Does ZFS reads and writes show up in vmstat -p output

I am aware of ZFS not using the regular file system cache for caching pages for reads or writes (ZFS uses ARC and ZILs). My question is would "vmstat -p" on a recent Solaris machine also reflect read ...
3
votes
1answer
853 views

ZFS ARC memory tuning [closed]

Recently we are trying to tune ZFS on a machine which runs on 256RAM memory. Our current ZFS memory variables for the ARC are max 255Gb and min 64Mb. A main issue that we face is that during ...
1
vote
2answers
1k views

DEGRADED zpool can't be imported with I/O error

I'm running a personal server at home with a CentOS 7 OS and a 12TB zpool. It's been running for a couple of years and yesterday I noticed some problems so I went in to have a look. At first it ...

1 2 3 4 5 8