-
dvlCrtxReavr: come on ZFS.....
-
acuyeah - I know it is stupid --- I had ZFS raid before - it was good - but to have ZFS on a single drive is plain ignorance
-
CrtxReavrZFS on a single drive is like tits on a bull.
-
aculol
-
acuI know
-
CrtxReavrNot sure you do.
-
acuI think I do now, but if you care to share more knowledge, I am all eyes
-
CrtxReavrThe point of ZFS (and most RAID) is redundancy. Using it on a single drive (spindle) just slows your machine down and provides zero upside.
-
CrtxReavrIt'd say it's like using RAID0, but it's actually worse than that, because at least RAID0 speeds up reads and writes.
-
ekNot true. You still get snapshots and ZFS send/recv. :)
-
CrtxReavrRight up until that single drive dies.
-
ivyclones, boot environments, checkpoints, dedup... plenty of reasons to use zfs on a single-drive system, like a laptop
-
ekThat's why you send/recv.
-
CrtxReavrTruths of Information Technology: Storage fails.
-
ivyusing zfs on a single drive is no worse than using ufs on a single drive
-
ekNope. And I'd take ZFS over UFS any day of the week.
-
CrtxReavr'Cept UFS is a lot faster.
-
CrtxReavrThen you're ignorant.
-
ekBecause I'd take resiliency over speed?
-
ivyi feel like most people running on a single disk are not running performance critical workloads, and probably care a lot more about features like boot environments and cheap jails
-
ivyso saying it's "ignorant" to use zfs instead of ufs in that situation seems pretty silly
-
ekOr... ignorant?
-
wavefunctionI run compression on my single ZFS boot drive.
-
ekNothing wrong with that.
-
wavefunctionI've got a few other drives in mirrors and such, but having ZFS as the sole manager of my disks keeps me from being an accidental moron.
-
ekSafety nets are handy to have.
-
thedaemonDanger nets, however, are not.
-
ivy(also, single disk is basically the only situation where copies=2 is useful, except with SSDs it's probably still not useful as they don't tend to fail that way)
-
wavefunctionI'll be building an 8-drive box here "soon"
-
wavefunctionThink I'm going to have a pool of two disk mirrors
-
thedaemonI need another 8TB or 2, as I still have *cough* ntfs disks I need to convert
-
wavefunction
-
wavefunctionSlap one o' them in your drive bay. No need to worry then X-D
-
thedaemonoh goodness, that could cover my issue
-
wavefunctionRefurbs are nice.
-
thedaemonbookmarking for future reference :) thanks
-
ivyfor some reason i find the idea of a 26TB 512e drive slightly hilarious... isn't everyone using 4k-aware systems now?
-
ivy(i guess you can just reformat it to 4kn though)
-
thedaemonI don't know what that even is :O
-
SponiXthe sector size default on the drive
-
thedaemonsome of the lower capacity ones are 4Kn
-
ivythedaemon: 512e means it uses 4K sectors but pretends to the OS that it uses 512-byte sectors (which is why the zfs ashift option exists...)
-
wavefunctionThe drive has sectors in 512-bytes vs 4kb
-
thedaemonthanks, gotcha.
-
thedaemonhey SponiX
-
» wavefunction retracts his statement, as ivy is more specific and correct
-
SponiXthedaemon: filed my 1st FreeBSD-Current bug report today --> bugs.freebsd.org/bugzilla/show_bug.cgi?id=288084
-
thedaemon:) cool
-
ivySponiX: that's already fixed, update and rebuild kernel
-
ivyoh, i see kib already commented
-
SponiXivy: I often buy the 512 as sometimes they are significantly cheaper LOL
-
SponiXivy: It is actually a kernel bug, and not a tail bug?
-
ivySponiX: yes, it's a kqueue bug
-
SponiXI've done a system update since then. Just haven't rebooted yet
-
SponiXOkay, I will reboot and see if it goes away
-
ivy
-
SponiXI want points for effort anyway damn it :P
-
SponiX<-- rebooting
-
ivywell, i appreciate you filing bugs :-)
-
ivyat least this one wasn't my fault
-
ekThat's always nice.
-
ekI'm wondering if the bug was a typo or if the code was re-written and the test was actually expected to be true.
-
ekI'll have to dig into when I have the time just out of curiosity.
-
SponiXivy: Yeah, it is fixed already. That was FAST
-
ivySponiX: unsurprisingly a lot of people immediately complained on the mailing list when tail -f stopped working :-)
-
SponiXYeah, looking at logs is kinda important in the Unix world - who would have thought LOL
-
SponiXI kept looking at my unbound configuration thinking it was an unbound problem for a bit.
-
SponiXwell, I gotta get to work now
-
acuI am still confused about ZFS copy on write feature. Is it enabled by default ? How do you go back on file level to saved previous version etc ?
-
ivyacu: copy-on-write is used automatically for snapshots and clones, and it's also support by commands like cp(1) (this is a newer feature called block cloning). usually it's not something you need to worry about - if you want to be able to roll back to previous versions of files, use snapshots
-
acuivy: I thought COW is anytime you open a file like myschedule.odt it will automaically create a copy on it.. so you will actually have a new copy of the file while the old one is "hidden" - maybe my knowledge is not up to par on this - but the name suggest - any time you write something on a file - you make a copy of it...
-
ivyno, that's called "file versioning" (as seen in operating systems like OpenVMS) and ZFS doesn't support it. copy-on-write means the filesystem internally avoids copying blocks when doing things like creating snapshots
-
ivyit's true that writing to a file on zfs writes new data instead of overwriting the existing blocks, but that functionality is not exposed to the user directly, and it's on the block level, not the file level
-
acuivy thanks - I think you should make a youtube about it --- zfs is not trivial..
-
ivyi'm fairly sure many people have already made youtube videos about zfs
-
ivy(starting with the Sun one about yelling at your disk array)
-
acuthere are a lot - all confusing...
-
acuyou seem to really know your stuff... I mean it... it should be a practical usage both on freebsd and debian - all what you said...real life examples
8 hours ago