Tag Info

Hot answers tagged

25

Snapshotting a filesystem is an amazing feeling, as geeky as that sounds. Knowing you can roll back in an instant is a relieving thought. Snapshots also take only a few seconds. A colleague and I recently deployed an OpenSolaris NAS for a smallish college (200+ students) for virtual machine iSCSI storage for Citrix XenServer, student file storage and ...


7

If by NAS you mean (Open)Solaris or FreeBSD on PC hardware acting as a fileserver, then yes, it should be fine. See this question on building your own NAS. You might find dedicated NAS software such as FreeNAS easier to setup and admin.


5

A method some people use, but that is not recommended: Create a pool with 2 drives and a sparse file (of the right, virtual size to match the other drives), and then immediately offline the sparse file. This will create a degraded RAID-Z1 pool with two drives worth of capacity and no redundancy. Copy data to the degraded pool. Replace the offlined ...


4

1: there is no problem changing anything. The pool should be importable regardless of the CPU, mainboard or anything similar. 2: ZFS works best with devices of the same size. Moreover, as you want redundancy, devices larger than the smallest one would have their extra size wasted. Finally, you cannot add a device (eg: the 4 TB disk) to a RAIDZ. If you only ...


4

What happens if I have to change the underlying hardware behind the zfs pool? Like the mobo / processor, what happens if that dies on me in a year or two; can I port my zfs pool somehow? A ZFS pool is not hardware dependent. Just make sure your HBA (Host Bus Adapter) isn't doing something like encrypting your data at the hardware level. ZFS works ...


4

It should be noted that due to licensing issues, the Linux ZFS implementation is somewhat crippled. It runs as a Userspace program, and has dramatically reduced performance, and iirc, a reduced feature set. Solaris and FreeBSD are the recommended OS choices, although Mac OSX has limited support. Followup - The OSX port of ZFS has since become somewhat ...


4

ZFS on a home NAS is great. I've have a FreeBSD server running ZFS for years (now upgraded to FreeBSD 8.2 with V15) and the recover aspects are one of the hidden gems. I have a system that has a pair of 2TB drives in a ZFS mirror that crashed due to environmental reasons, when it came back up, it only took seconds for ZFS to correct the issues with drive. ...


4

Unfortunately, at the moment it is not possible: It is not possible to add a disk as a column to a RAID-Z, RAID-Z2, or RAID-Z3 vdev. This feature depends on the block pointer rewrite functionality due to be added soon. One can however create a new RAID-Z vdev and add it to the zpool. RAID-Z1 might work with just 2 drives, but clearly this is not very ...


3

It can be worthwhile once you find hardware that works well with Solaris. I ended up using Nexenta for usability - it (mostly) uses familiar GNU command-line and Debian's package manager. Here's my writeup of how it went.


2

The most simple way you could manage a zfs on all these drives of various sizes would be: zpool create pool /dev/sd[abcdef] zfs set dedup=on,copies=3,atime=off pool Haven't tried dedup, but it seems like a cool feature. copies=3 tells zfs to store multiple copies of each file within the file system. ZFS will automatically put these copies on different ...


2

CPU should not be a bottleneck unless you have set SHA256 checksumming on your filesystems (or gzip compression). Start by running "top -SH" and "gstat". First one will show you where CPU spends time and gstat will show you what your disks are doing. This should let you narrow down what bottlenecks your performance -- CPU or disks. With RAIDZ your ...


2

This is a bug in the new ZFS Volume Manager in FreeNAS version 9.1.x. It looks like it will be fixed in (hopefully) the next release: https://bugs.freenas.org/issues/3274#note-3


1

If you want to create a raid with zfs using different disk sizes you need to use "zpool create (name of your pool) raidz1 -f sdb sdc sdd" the -f arqument force zfs to use different sizes example 500gb 1tb 250gb hd


1

Don't have enough "reputation" to comment, so putting this in as a separate answer RE: Holger G suggestion while I agree that this is NOT safe... I found this thread looking for a way to go from RAIDZ1 to RAIDZ2 at a later date when extra drive can be acquired. So Holgers suggestion works great for me - create a RAIDZ2 with one dev as sparse file, offline ...


1

If you want to add extra drive in RAIDZ you'll have to recrete the array with extra disk. Which mean you have to back up all of your data. The capacity for RAIDZ is still N-1. For RAIDZ2 its N-2


1

It just means that one of the hard drives has a feature built into it that the FreeBSD system can utilize. It will work as normal but FreeNAS removes it from the ATA list and mkaes it look as if something is broken. Your pool is still synchronised and there is no problem. Nothing to worry about.


1

I've been meaning to try it forever, because running a Raid-Z host with an NFS share sounds like what OpenSolaris was made for. But without having tried it, I can't speak to the advantages or disadvantages yet. Clearly you won't be able to mount it directly on Windows unless you also run Samba, and it might not be able to run both for the same array. If I ...


1

RAID-Z1 can be used with only two disks but there is no advantage at all compared to mirroring - unless your two disks have different sector sizes, so that they can't be mirrored (e.g.: a new 4K sector disk and an older 512 byte disk). As already stated, adding a device to a RAID-Z isn't supported. Should you want to add a disk to an existing RAID-Z, the ...


1

I have used Solaris, OpenSolaris and OpenIndiana for quite some time. ZFS is one of the most attractive features in these OSs. I have been very favorably impressed with ZFs and recently installed native ZFS on my new Ubuntu workstation. The licensing requires that the user install it but it worked fine for me using the information found on the ZFS on ...



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