Tag Info

Hot answers tagged

11

To change the properties (be it compresson, deduplication or checksumming) of already written data, the zfs approach is to run the data through a zfs send | zfs receive sequence. Obviously, you do not need to offline the system for that, but you will need enough resources in your zpool / on the system to hold two dedup'ed copies of the data set in question ...


9

Much has happened since I asked this question in October 2010. As of September 2013, a new collaboration known as OpenZFS will serve as a central site for several ZFS projects. The new site is http://open-zfs.org/ (with a dash) Today at LinuxCon North America, Brian Behlendorf and Matthew Ahrens are announcing that members from the illumos, zfsonlinux.org, ...


5

Oracle officially killed OpenSolaris, so the website will not be updated anymore. FreeBSD is working with the IllumOS project to advance ZFS at this point (their website is still a bit scant on details). I don't know if these changes are derived from actual Solaris 11 development or not, nor if the changes will be merged into the official project (a likely ...


4

Everything is operating normally. You're running into TB vs TiB confusion. TL;DR 12TB raw == 10.8TiB raw (which is what is listed by zpool list) 7.5TB usable == 6.8TiB usable (which is what is listed by zfs list) You have: 3×3TB drives 2×1.5TB drives yielding a total of 12TB of raw storage. ○ → units 12TB TiB * 10.913936 / 0.091625969 ...


4

First off, it's worth stating that ZFS is not a supported filesystem for MongoDB on Linux - the recommended filesystems are ext4 or XFS. Because ZFS is not even checked for on Linux (see SERVER-13223 for example) it will not use sparse files, instead attempting to pre-allocate (fill with zeroes), and that will mean horrendous performance on a COW ...


3

Scrub your pool again (if you haven't already): zpool scrub zstorage That error is telling you that inode <0x9f115> is corrupt (deleting the file broke the filename->inode mapping, so it's just reporting the inode now). Either something still has the file open or the metadata just needs to be cleaned up (which a scrub should do). To clear the error if ...


3

The zfs mailing list remains on opensolaris.org, and Oracle has not established a new public website for their ongoing ZFS development project. Update (2013): The opensolaris.org website has now been shut down, and Oracle’s ZFS mailing list has moved to the new Solaris-ZFS.java.net website.


3

For versions up to 28, you can still browse the repository in OpenSolaris web site: http://src.opensolaris.org/source/history/onnv/onnv-gate/usr/src/uts/common/sys/fs/zfs.h http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/sys/fs/zfs.h#348 Update: This repository has moved to: ...


3

I'll answer. You may be overthinking... Snapshots aren't backups. So if you're trying to protect against a compromise, you should go the extra step and back up to another device. Now, snapshots can be extremely helpful in producing a clean consistent copy of your data to ship or back up to another device. As far as ZFS on Linux, It's very easy to integrate ...


3

Your choice would likely have twoish aspects: data integrity and security performance When using different LUNs with ZFS, it will make implicit assumptions that the LUNs are separate physical devices, distributing reads and writes among them to optimize performance. You do not have to add more redundancy to the setup (i.e. you could just add your LUNs as ...


3

Run a regular script (cron) that checks zpool status -x output. Longer-term, the ZFS on Linux project is working towards this in the form of an event daemon. The Solaris-derived systems had access to the Fault Management Architecture. As far as automated reports, even commercial solutions like NexentaStor use scheduled checks. There's nothing wrong with ...


2

A 2TB limit is not that uncommon, so you should stop thinking that you're being penalized more than most other setups in the world.. That being said - the most common way of doing this is to just stripe it (RAID 0) at the VM level. If you make sure that the SAN admin puts the LUNs on different controllers (if it's a active/active setup) you'll actually ...


2

This may sound a bit crazy, but I support another application that benefits from ZFS volume management attributes, but does not perform well on the native ZFS filesystem. My solution? XFS on top of ZFS zvols. Why? Because XFS performs well and eliminates the application-specific issues I was facing with native ZFS. ZFS zvols allow me to thin-provision ...


2

I believe your disk is busy doing reads because of the zfs_arc_max=2147483648 setting. Here you are explicitly limiting the ARC to 2Gb, even though you have 16-32Gb. ZFS is extremely memory-hungry and zealous when it comes to the ARC. If you have non-ZFS replicas identical to ZFS replicas (HW RAID1 underneath), doing some maths yields 5s spike @ (200Mb/s ...


2

You can set the file system mountpoint properties to legacy and use /etc/fstab to define them. That way, you'll be able to define the order in which they will be mounted. Edit: I just noticed you already considered the legacy approach. It might be the only one though.


2

You should check that the auto expand property is set for your zpool. $ zpool get autoexpand zstorage If the property is set to off, you should set it to on to have your pool automatically expand to fill the available space. $ zpool set autoexpand=off zstorage I'll include the relevant portion of the man page for clarity. autoexpand=on | off ...


1

This is a tricky one... In the past, a rescan of the LUN would work to get the OS to recognize the new device size. My formula used to be: zpool set autoexpand=on vol1 # Then expand SAN or underlying disk array echo 1 > /sys/class/scsi_disk/2\:0\:0\:1/device/rescan zpool online -e vol1 /dev/sdb The zpool online -e devicename used to work, but in newer ...


1

For Linux it is http://zfsonlinux.org - there is ZFS Pool Version 28. Pawel Jakub Dawidek (nickname: PJD) has added the latest open-source ZFS file system version (28) to FreeBSD Current. I suppose FreeBSD ZFS's Home is here http://wiki.freebsd.org/ZFS Above are kernel's modules. But there is kernel independent application for Linux in user space ...



Only top voted, non community-wiki answers of a minimum length are eligible