[ / / / / / / / / / / / / / ] [ dir / b2 / baaa / cafechan / dempart / fa / truebrit / vichan / x ][Options][ watchlist ]

/tech/ - Technology

You can now write text to your AI-generated image at https://aiproto.com It is currently free to use for Proto members.
Email
Comment *
Verification *
File
Select/drop/paste files here
Password (Randomized for file and post deletion; you may also set your own.)
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Expand all images

[–]

 No.1062424>>1062425 >>1062427 >>1062797 [Watch Thread][Show All Posts]

Does mirroring zfs over HDD and SSD make sense? And is HDD in a laptop acceptable?

 No.1062425

>>1062424 (OP)

fugg meant to post that in the questions thread

jim fix noscript-posting


 No.1062427>>1062443

>>1062424 (OP)

>And is HDD in a laptop acceptable?

Yes, but a SSD is better for portable devices. In fact, HDDs are superior to SSDs in most ways.


 No.1062443

>>1062427

Agreed, but I'd never put an HDD in a laptop if I had the choice. They're just not meant to be moved around like that.


 No.1062794

>Does mirroring zfs over HDD and SSD make sense?

No, zfs makes no guarantees about where the data is coming from, it won't prefer the SSD over the HDD for reads.

What you can do instead of using this meme is use lvm + ext4. You can lvm mirror two partitions, one on the hdd, one on the ssd, and then assign one a "write-mostly" flag.


--[raid]writemostly PV[:t|n|y]
Mark a device in a RAID1 LV as write-mostly. All reads to
these drives will be avoided unless absolutely necessary. This
keeps the number of I/Os to the drive to a minimum. The
default behavior is to set the write-mostly attribute for the
specified PV. It is also possible to remove the write-mostly
flag by adding the suffix :n at the end of the PV name, or to
toggle the value with the suffix :t. Repeat this option to
change the attribute on multiple PVs.

http://man7.org/linux/man-pages/man8/lvchange.8.html


 No.1062797>>1062805

>>1062424 (OP)

Are you talking about having an ssd and hdd in the same vdev or pool? If so, DON'T do that. ZFS is not built for this in mind and won't do anything special. You'll have the worst space and performances limitations of boths disks, and none of the benefits.

If you are talking about using an SSD based pool for active work, and using an HDD pool to send snapshots for a backup, then that's both fine and recommended.

If you are asking about using mirrors over raidz2/raidz3, then:

-For IOPs, mirrors are usually significantly better than raidz levels, especially once you hit 3 vdevs in a pool. A single SSD will always be vastly superior to HDDs in regards to IOPs.

-For throughput, it really depends.

-The biggest downside of mirrors is space needed for parity. Mirrors don't make sense for large storage pools. Put data that is written once and occasionally read on a raidz2-3 pool.

-Mirrors are easy to expand with only two disks needed. Great for people starting out with storage.


 No.1062805>>1062968

>>1062797

>ZFS

>Great for people starting out with storage.

https://github.com/zfsonlinux/zfs/issues?q=panic


 No.1062838>>1062968

Doesn't ZFS allow adding an SSD to a pool as a cache disk?

When will these stupid captchas go away?


 No.1062968

File (hide): fbfa28d828b70b9⋯.png (201.85 KB, 612x1008, 17:28, 1330175675864.png) (h) (u)

>>1062805

And? Hundred crash (not data loss) issues for widely deployed software is normal.

It's reliability is still miles ahead of BTRFS.

>>1062838

Yes, it does.

SSD can also be used for ZIL (write-back cache: you get sync performance of battery-backed controller, but without vendor lock-in and paying 300% premium on branded parts)




[Return][Go to top][Catalog][Screencap][Nerve Center][Cancer][Update] ( Scroll to new posts) ( Auto) 5
8 replies | 1 images | Page ?
[Post a Reply]
[ / / / / / / / / / / / / / ] [ dir / b2 / baaa / cafechan / dempart / fa / truebrit / vichan / x ][ watchlist ]