/srv/irclogs.ubuntu.com/2019/07/15/#ubuntu-discuss.txt

Mr_CyclopsHello. Is it possible to have Google Photos on Ubuntu? I mean, run an application or webserver, add the folder that has all the pics, and get the view with face taggin etc. like it works on google photos? thank you00:58
pragmaticenigmaMr_Cyclops: What you described, already exists as Google Photos. Google has not released any applications for any computer to interface with that web application. As far as homebrew, start searching the web. That is all relatively new territory and I haven't heard of any projects for home users that are ready for prime time01:20
Mr_Cyclopspragmaticenigma, :) It restricts the usage to 15GB, my collection is in TB ...01:20
Mr_Cyclopswhen I mean restricts, I mean, 15GB is free ... :)01:21
Mr_Cyclopswhich you know of course01:21
Mr_Cyclops:d01:21
pragmaticenigmaMr_Cyclops: that sounds like a you problem... they have paid platforms for more storage01:22
Mr_Cyclopspragmaticenigma, yup, I can't afford it :)01:22
Mr_Cyclopsbut thanks anyway ... appreciate it01:22
pragmaticenigmaMr_Cyclops: If you can't afford a paid platform, then I would say that you probably can't afford all your photos to be corrupted because of a configuration mistake either01:23
lotuspsychjegood morning to all04:31
lordievaderGood morning06:34
Sveta!indonesia07:00
ubot5join ke #ubuntu-id untuk membahas ubuntu dalam bahasa Indonesia07:00
marcoagpintoHeya!10:59
marcoagpinto>:)10:59
akem-hpHey.11:32
akem-hpGot myself a new 4TB external drive for backup, time for file copying - long time ;)11:33
lotuspsychjewich brand11:35
akem-hpSeagate, it was relativly cheap, 90 euros for 4 TB.11:35
lotuspsychjesweet deal11:35
lotuspsychjeim also a seagate fan11:36
tomreynthat'll be shingled, i guess11:36
akem-hpI don't which one bought the other, but some drives are double branded Seagate/Maxtor nowdays.11:37
akem-hpBut this one is clearly labeled Seagate everywhere on the packaging and on the drive.11:37
TJ-akem-hp: check which type the drive is before writing anything to it - if it is a Seagate "Archive" drive it uses Shingled Magnetic Recording (SMR) and there are two versions of those - drive-managed and host-managed. Later devices are host-managed and so you may need to ensure operating system support for it11:51
akem-hpTJ? i already started copying to it, i mounted it, it was formated already, not sure what type it is but it looks like its copying fine atm, TJ how can i tell the type of drive?11:53
akem-hpAt about 100 MB/s: Copying 2.36 TiB   4% |##                                                       | 106.28 MB/s ETA:  6:28:1111:54
lordievaderlotuspsychje: Seagate is still leading in drive failures in backblaze's hard drive failures report: https://www.backblaze.com/blog/backblaze-hard-drive-stats-q1-2019/11:55
lordievaderakem-hp: `smartctl -a /dev/sdX` typically tells you the make and model.11:55
lordievaderUnless behind a raid controller or something.11:56
TJ-akem-hp: "grep . /sys/block/sd?/device/model"11:57
TJ-akem-hp: SMR drives use overlapping tracks grouped into zones. When a write is done to a track the drive has to re-write every track in the zone11:58
TJ-akem-hp: to prevent problems with very low write throughput and other issues the drive (or the Host OS) needs to be aware of the zones and their size and handle them correctly11:59
akem-hphttps://pastebin.com/5iRf3Vd712:00
TJ-akem-hp: arghh, behind a USB bridge12:01
akem-hpIt's plugged on my USB hub.12:01
TJ-akem-hp: I'd strongly recommend you determine the exact model ID and firmware version from the device's sticker in that case12:01
akem-hpI can stop the copying and plug it directly to the computer.12:02
TJ-akem-hp: from those you can search for the seagate specs that'll tell you if it is SMR, and if so whether it is drive- or host-managed12:02
TJ-akem-hp: if the device is host-managed you'll need to use the dm-zoned device-mapper layer. See https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/device-mapper/dm-zoned.txt?id=3a564bb3a8a6950e18b1f5d209bda39fc383107412:03
marcoagpintoahhh.. I too bought a WD 4 TB HDD months ago to convert all my DVD films to .iso12:06
marcoagpinto:)12:06
marcoagpintobut for months that I don't do it12:06
tomreynTJ-: this is the first time i hear you need dm-zoned for SMR. is this documented anywhere in ubuntuland, to your knowledge?12:08
tomreynhost-managed SMR, that is.12:08
tomreynthere's also https://lwn.net/Articles/720226/12:12
tomreynmkfs.ext4 on 18.04 does mention two *lazy* options.12:13
akem-hpTJ-, Well i plugged it directly to the computer, i got the smae outputs for both commands - this is dmesg https://pastebin.com/C6gZSVX4, and on the papers or stickers there is nothing like that, just serial numbers but i cannot get info with them online, it's just written Expansion, not archive...But this is for backup, it won't be plugged very often.12:17
TJ-tomreyn: it's mainly an Enterprise issue for read-mostly SANs so there's not much info for consumers12:19
TJ-akem-hp: does the drive have a native USB3 interface then?12:20
tomreynenterprises using SMR disks?12:20
akem-hpTJ-, yes.12:20
akem-hpHopefully, i wouldn't get lower than 3.0 for large data copying like that, it would be too slow.12:21
TJ-akem-hp: looks like the STEF4000400 (Expansion+ 4TB)12:22
tomreynakem-hp: does hdparm -i return anything more useful?12:23
TJ-tomreyn: yes, for read-mostly online storage (that's why they're called "archive" drives)12:23
tomreyni imagine it'd make sense for aws glacier or the like12:24
akem-hptomreyn, No: SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 HDIO_GET_IDENTITY failed: Invalid argument12:24
tomreynakem-hp: how about   hdparm -I   (upper case)12:25
tomreynoh you need sudo for both12:26
akem-hpYes i used sudo, there is more infos there with -I.12:26
tomreynbut you wont share it? :)12:26
akem-hpBut i don't see anything related to SMR or something, wait i'm pasting it. :)12:27
akem-hphttps://pastebin.com/HTGUX8yH12:27
tomreynfrom what i read online, those drives marketed as Seagate Expansion Desktop can be all kinds of models12:28
TJ-akem-hp: you  might be OK, it looks like there are too model-streams "Expansion" and "Backup". 'Backup' are definitely SMR but cannot find any specs for the "Expansion" stream12:28
akem-hpTJ-, I see, it's good to know about it, i didn't know about SMR at all, i'll pay attention to this when buying harddrives from now on.12:29
TJ-hmm, that hdparm output is hilarious: "Nominal Media Rotation Rate: 29295"12:30
tomreynthanks for sharing, akem-hp. the drive identification looks like garbage to me.12:30
TJ-the only info (which doesn't make it clear) is here, but it calls the 4TB "Expansion+" https://www.seagate.com/gb/en/consumer/backup/expansion-portable/#specs12:31
akem-hptomreyn, Yes, it's just exactly like that in the terminal too. :/12:31
TJ-tomreyn: akem-hp  garbage for sure, due to the USB bridge :) I hate how the drive makers are hiding the devices behind the USB translation12:32
tomreynTJ-: seems to depend on the page language, german shows both the Expansion+ STEF4000400 and Expansion STEA4000400   4 TB models12:32
akem-hpTJ-, the last one 4TB on the link you posted is Expansion without "+" it's the same i think.12:33
akem-hpYes i'm looking at the french version...12:33
tomreynthe UK page variant only knows about the + one12:33
tomreynand the pdf file names even have 'emea' and the country code in them12:34
tomreyngeez12:34
TJ-apparently the only difference between "Expansion" and "Expansion+" is the latter is shipped with some Seagate drive management software12:34
BluesKajHi folks12:35
marcoagpintoBluesKaj!!!! Hello!!!!12:35
marcoagpinto>:)12:35
akem-hpHey.12:35
BluesKajhi marcoagpinto12:35
marcoagpintoI am drinking some cola12:35
marcoagpinto:)12:35
BluesKajwelk, it's your pancreas...12:37
tomreynBluesKaj!!!! Hello!!!!12:39
tomreynI am drinking some tea12:39
BluesKajhey tomreyn12:40
tomreynjust so you know!!!12:40
BluesKajhehe12:40
akem-hpA bit offtopic but Termux is great on Android without need for root.12:42
TJ-akem-hp: I'd presume as the drive is behind a USB bridge, if it is SMR, it has to be drive-managed, so the only effect you might see is a slow-down in sustained write throughput once it fills its internal cache RAM12:43
BluesKajthe caffeine probly doesn't hurt your organs much, but all that sugar isn't good marcoagpinto12:44
akem-hpTJ-, ok, i see, but i'll use it for very occasional writes as it is backup unit, actually i'm writing to it full speed.12:45
lordievaderakem-hp: Termux is lovely12:48
lordievaderThrough a termux script I can download youtube videos by sharing the link from youtube with termux.12:48
akem-hplordievader, yep :) it has apt just like Ubuntu.12:48
akem-hpDidn't know you could do things like that.12:49
lordievaderakem-hp: https://medium.com/@baradhiren07/download-youtube-videos-using-termux-2e72082d517312:50
akem-hpI tried to run my small ruby IRC bot on it, it worked just fine :P12:50
akem-hplordievader, nice.12:53
tomreyn3 days left for 18.1013:28
BluesKajgood riddance...it was buggy in my experience, and some of the bugs still show up in the newer releases13:32
BluesKajone of them is a dev release, but the annoyances are still there13:33
tomreynblackflow: i like that you have an opinion and that you state it. i prefer you not calling 'BS' when others voice theirs (note how i did neither).13:54
blackflowI call it as I see it. Feel free to call my opinion BS if you think it is.13:57
tomreynregarding 'generic', OP asked for "the recomended options", which i rephrased (translated?) as a "general recommendation".13:57
blackflow(in particular for LVM snapshotting being a "traditional" route, what with all its bugs and performance issue, it's anything _but_ "the" traditional route)13:58
tomreynit's what's been supported for a long time, and what's been used for a long time.13:58
tomreyni'm not saying it's the technically greatest solution, it certainly isn't. i'm not saying there are no bugs there. but lvm snapshotting is tried and tested, the deficits are well understood. for people who prefer a somewhat conservative approach, it can be a good choice. and with data, I want conservative, and i think many others want it, too.14:03
tomreyni'm by no means saying your approach is wrong, i'm saying that it's probably not the solution which works for the average user.14:04
blackflowThey asked for recommended. I recommended based on tried and tested, personal experience, which I'm also dogfooding. If they don't want it or don't feel confident about ZFS, fine. It's still my recommendation. And not just mine.14:06
tomreynyes, but you didn't state so, so i listed other approaches.14:08
blackflowbut shooting it down just because you noobs can't use anything other than what ubiquity is pre-installing for you.... well.... hilarious.14:08
tomreynnow you call me a noob, nice. are we getting personal now?14:08
tomreynmaybe you should take a break and cool off a little.14:09
BluesKajI guess if one uses a conservative approach it's considered noob, by some more advanced users14:11
blackflowYou know what, you're right. I'm sick of this crap anyway.14:11
BluesKajangry young man attitude14:12
tomreynhe certainly knows a lot more about zfs than some (or many) of us, definitely me - no doubt there. i'd just hope for a better environment for discussions, and one where we can point out multiple solutions to solving stated problems / tasks.14:15
RikMillso_O14:17
lordcirthtomreyn, was the snapshot discussion for a root partition?14:22
tomreynlordcirth: all we had to work with was: <JustJohnny> what are the recomended options to implement bare metal backup in CLI-only ubuntu server?14:23
lordcirthAh, that's not much.14:25
TJ-I don't think "works for me" is a good basis for a recommendation, when considering https://github.com/zfsonlinux/zfs/issues?q=is%3Aissue+is%3Aopen+label%3A%22Type%3A+Defect%2214:26
TJ-What with those and the recent performance issues due to the 5.x kernel changes affecting SIMD/FPU access as I understand it14:27
lordcirthThe performance issue is a concern. The others would not prevent me from running 0.7.x in prod. 0.8.x is another matter.14:30
lordcirthUnfortunately there's still nothing that really competes with ZFS. Btrfs is ok for rootfs's, since ZFS on root is annoying to set up.14:31
TJ-I think one other issue is always going to a concern. Learning-curve, experience, testing, before using it in anger14:32
lordcirthLearning is certainly needed, yes. But that's true of everything, really.14:32
TJ-ZFS hasn't grown support for zoned devices has it (ZAC/ZBC) ?14:32
TJ-lordcirth: right... but someone familiar with general Linux admin is going to be better off with bacula/rsync type back-up solutions than block-device/file-system specific solutions, I think14:33
lordcirthI don't think it supports zoned devices, no. Are they common? I've never had one.14:34
lordcirthYes, for the question as phrased I would have replied "BorgBackup"14:34
TJ-host-managed SMRs are becoming quite common because they're cheap. we can use dm-zoned device-mapper to handle them with anything on top of course, so that could be used under ZFS as with other options like LVM, but then the purported advantage of ZFS foing everything is lost14:37
TJ-err s/foing/doing/14:37
lordcirthWell, the main advantages of ZFS are checksumming, redundancy / failure handling, and snapshots. If using dm-zoned underneath works well, I'd use it. But I suspect there'd be a performance hit in practice.14:40
TJ-Less than not using it :)14:41
lordcirthBut then, if you are using SMR you have already traded away performance14:41
TJ-SMR is fine when used with host-aware OS tooling (or device-aware)14:41
TJ-the problem is when using a host-aware drive and no OS support14:42
lordcirthTJ-, what performance do you get with proper OS support?14:48
TJ-lordcirth: the zones are mapped so there's a metadata zone hidden from 'users' and then user zones for data, which prevents constant re-writing of entire zones just due to metadata changes14:49
lordcirthAnd the metadata zone has different performance? Or is it just so that you can rewrite just that zone?14:50
TJ-see https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/Documentation/device-mapper/dm-zoned.txt14:50
lordcirthIt's .rst now, apparently14:50
TJ-well doh! teach me to delete the original commit ID from the URL for clarity!14:52
tomreyn"dmzadm" is not an ideal choice for a name.14:57
TJ-yeah, sounds like a networking tool14:58
tomreynthere are too many acronyms in IT ;)14:58
TJ-Maybe its for use on the 38th parallel (north/south korea border)14:59
TJ-there's only two in IT, I and T :)14:59
tomreyn:-)15:03
coffeecowlotuspsychje,19:22
lotuspsychjewelcome coffeecow19:22
lotuspsychjeyou can launch a poll or discussion about ubuntu here fi you like19:22
lotuspsychje*if19:22
coffeecowhow do I launch a poll, and thanks lotuspsychje19:26
coffeecowI was asking "Is there anyone here who prefers Seahorse over KeePassXC after trying them both?"19:26
lotuspsychjeim fan of using none myself coffeecow19:26
coffeecowI keep hearing bad stuff abotu seahorse but I'm not sure if it really is any less secure. All I know is it integrates like a thousand times better than keepassxc does.19:27
coffeecowYeah but I like using different passwords for *everything*.19:27
coffeecowMy memory ain't that good.19:27
coffeecowI don't need someone to be able to build a profile of me from like... a database leak a la haveibeenpwned.com19:28
lotuspsychjecoffeecow: leaked password from that sorts of sites, usualy come from owned websites19:29
lotuspsychjecoffeecow: the security part of ubuntu, is keeping your system up to date, and often change password, use complex passwords19:29
lotuspsychjemaybe other volunteers can point you do the pro & contra of seahorse and keepassx19:30
daftykinsKeePassXC is a service that lets you maintain a local database file, so there's no cloud involvement19:30
daftykinsbeen looking at that to move clients to, since they're so terrible with passwords + security19:31
lotuspsychjehttps://www.forbes.com/sites/jasonevangelho/2019/07/12/ubuntu-executes-another-massive-change-to-the-way-it-updates-proprietary-nvidia-drivers/#1850b6597aa819:35
TJ-!info pass | coffeecow: gpg + pass + git19:43
ubot5coffeecow: gpg + pass + git: pass (source: password-store): lightweight directory-based password manager. In component universe, is optional. Version 1.7.1-3 (bionic), package size 35 kB, installed size 149 kB19:43
jeremy31Wait for it....21:12
OerHeks1.. 2 .. ?21:17
jeremy31UWN21:18
Bashing-omUWN587 is on the streets: https://wiki.ubuntu.com/UbuntuWeeklyNewsletter/Issue587 :D21:35
OerHeksyeah, good news for Zen 2 users https://www.phoronix.com/scan.php?page=news_item&px=AMD-Releases-Linux-Zen2-Fix21:53
TJ-OerHeks: thought you were on about my UK ISP, Zen!22:04
TJ-phew! looks like we solved the apache2/openssl 1.1 DoS22:23
TJ-Had my head deep inside libssl1.1/apache2 debugging with gdb most of the evening22:24
sarnoldTJ-: what was it?22:25
TJ-SSL_error queues being mis-handled and the wrong errors causing 2 processes to spin at 100%22:25
TJ-bug #183632922:26
ubot5bug 1836329 in apache2 (Ubuntu Bionic) "Regression running ssllabs.com/ssltest causes 2 apache process to eat up 100% cpu, easy DoS" [Critical,In progress] https://launchpad.net/bugs/183632922:26
TJ-looks like it needed two commits cherry-picking to solve it22:27
tomreynthanks for working this out.22:28
TJ-I wasted 1/2 hour before I realised there are no -dbgsym packages for apache :s22:29
TJ-well, not for the version in 18.04 anyhow; not sure why that is, I thought there was a debhelper that generated those automatically22:30
tomreynthere seem to be a couple packages without ddebs22:30
daftykinswhen does this situation arise, is it affecting anyone running apache on bionic?22:31
tomreynnot sure why either.22:31
tomreynlooks like #1836329 should be public security really22:32
TJ-daftykins: almost any client could cause it22:35
TJ-daftykins: it seems to be 2 scenarios we know of, 1) client protocol renegotiation and 2) client X509 certificates22:36
daftykinshmm doesn't seem like a good situation22:37

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!