[00:24] <jancoow> Hi. Is it possible to port only 1 application over a vpn, but the rest of the connections (apache, normal ethernet) just trough the normal connection ?
[00:25] <bekks> Most likely not, no.
[00:25] <mybalzitch> https://schnouki.net/posts/2014/12/12/openvpn-for-a-single-application-on-linux/
[00:27] <bekks> mybalzitch: And which application is using that vpn?
[00:28] <mybalzitch> popcorntime in this case
[00:35] <jancoow> i want to do it with transmission
[00:36] <jancoow> but naice, it's possible
[00:36] <jancoow> do i need a extra nic for this ?
[00:40] <halvors1> I have some problems with IPv6. Even when a gateway is set in /etc/network/interfaces ubuntu does not add it to the routing table. Why is that?
[00:44] <mybalzitch> halvors1: what does your interfaces file look like
[00:44] <mybalzitch> also, why not just use dhcp6
[00:45] <bearface> mybalzitch: you're everywhere!
[00:45] <mybalzitch> bearface: :(
[00:48] <qwebirc88531> Hi, I just connected a SAS hard-disk to my server machine, and i'm getting the following message in dmesg:  "Unsupported sector size 520."   What does this mean, and how to do I fix it so that I can use check the disk using badblocks (and then mke2fs to create FS) because right now badblocks is giving me the error message: "invalid starting block" "must be less than 0", which I suspect has to do with the former "Unsupporte
[00:51] <mybalzitch> qwebirc88531: 2 seconds of googling your error message gives me http://pissedoffadmins.com/general/unsupported-sector-size-520.html
[00:52] <qwebirc88531> mybalzitch:  I read that already.   I do not want to ruin a disk before understanding what exactly thosese commands do
[00:53] <qwebirc88531> is 520 a standard sector size for SAS disks and if so, why does the linux kernel not support it?
[00:53] <mybalzitch> no 520 is not a standard sector size.
[00:54] <qwebirc88531> these are seagate constellation disks.  if that a standard sector size for seagate constellation disks then?
[00:54] <mybalzitch> none that I've ever seen
[00:55] <qwebirc88531> i'm trying to understand how the sector size of 520 was set to begin with.  these are used disks I bought off of ebay
[00:55] <mybalzitch> they may have been used in some proprietary raid enclosure that decided 520 byte sectors is the way to go
[01:02] <qwebirc88531> now that you mention that, could it be the case that my SAS controller (hardware/firmware) on my server machine only supports sector size of 520, and how could I verify this...
[01:03] <mybalzitch> what kind of sas controller are you using
[01:03] <mybalzitch> also, I've never heard of a sas controller reporting drives as being 520 bytes.
[01:03] <mybalzitch> but what I don't know could fill a book
[01:03] <mybalzitch> or three
[01:03] <qwebirc88531> whatever comes presinstalled by default on my Lenovo ThinkServer, model# 70B5001TUX .  It has 4 SAS ports on the card.
[01:04] <mybalzitch> lspci|pastebinit
[01:04] <qwebirc88531> and I have only connected 1 SAS disk to this controller (other 3 ports are unconnected).
[01:05] <qwebirc88531> that server machine does not  have network access, so i would be able to do lspci, but not paste anywehre...
[01:05] <mybalzitch> ahhh
[01:06] <mybalzitch> but think about it logically for a second
[01:07] <mybalzitch> *everything* expects 512/4k sector sizes, and it's been this way since the age of modern hard drives. Why would they put out a sas card that only identifies drives as having 520 byte sectors, which breaks compatability with everything
[01:08] <qwebirc88531> right, that makes sense... but then again, keep in mind I'm a complete NOOB to this - this is my first ever SAS disk, and even SCSI is new to me, i've only deal with SATA thus far...
[01:09] <mybalzitch> quoting some random internet post: I read online the reason that these drive are formatted that way is due to some proprietary software that these vendor uses needs the additional sector size for some fancy parity stuff.
[01:10] <qwebirc88531> the previous owner/seller seems to have used SeaTools (SeaGate proprietery disk checking software) to check these disks, and AFAIK used these disks under Windows...
[01:11] <mybalzitch> nope
[01:13] <qwebirc88531> nope... ?
[01:13] <mybalzitch> they weren't used under windows, not with 520 byte sector sizes
[01:15] <qwebirc88531> AFAIK, SeaTools only works under Windows, or maybe it was a BIOS/speacial-OS utility
[01:17] <qwebirc88531> https://en.wikipedia.org/wiki/SeaTools
[01:20] <qwebirc88531> Now, to the issue of making the disk usuable:  http://pissedoffadmins.com/general/unsupported-sector-size-520.html  says I have to download 'setblocksize'    ,    but https://bjartolini.wordpress.com/2014/11/06/108/  says I have to just run:  sg_format –format –size=512 /dev/sd...
[01:22] <qwebirc88531> again, i do not want to ruin these disks by running some command that makes them permanently inacessible (if that is even possible), and so is running:  "sg_format –format –size=512 /dev/sd..."  safe to do? (I'll be replacing "..." with the drive letter).
[01:32] <Razva> guys I *really* need an advice with this one. check this out: http://screencast.com/t/cu6FhNFpiCf < what is ks? the source (cd/dvd) or the target?
[01:34] <mybalzitch> qwebirc88531: do it via sg_format and it's not like the disk works for you currently, so it's not going to get any worse.
[01:40] <halvors1> mybalzitch: It doesn't work with DHCPv6 either.
[01:41] <halvors1> mybalzitch: I don't know why it's not working. I've tried with dhcp as well.
[01:43] <qwebirc88531> interesting that the sg_format manual actually shows examples of using with a block s
[01:43] <qwebirc88531> size of 520
[01:43] <qwebirc88531> so 520 maynot be so unusual...
[01:44] <Razva> ok I'm officialy lost. can you please give me a hand with this: http://screencast.com/t/xWAygdZVzu I have no idea what the heck is going on.
[01:45] <mybalzitch> Razva: are you sure you mean to be asking in #ubuntu-server ?
[01:47] <Razva> mybalzitch well I have no idea where to ask... I'm just stuck at that darn issue
[02:24] <qwebirc88531> mybalzitch:  about how long is the 'sg_format –format –size=512 /dev/sd...'  format operation supposed to take on a 3TB disk?
[02:25] <mybalzitch> qwebirc88531: considering it has to rewrite every sector on the disk, 10 Hours at 80MB/s
[02:25] <mybalzitch> so any time between now and then likely
[02:33] <qwebirc88531> was not expecting that.... I thought it was an O(1) operation, not an O(n) operation... wish I had known about this block size issue earlier.... I would have started that process off, in advance... i'm running out of disk space and need that disk to be accessible fast ;-(
[02:36] <qwebirc88531> mybalzitch:  and does it matter if I used /dev/sg2 in the command line, rather than /dev/sda (since they both refer to the same device)?
[02:37] <mybalzitch> qwebirc88531: I'm not sure
[02:40] <qwebirc88531> sg_scan revealed /dev/sg2 as that disk device... so, I figured I'd stick with that , and running sg_format without any options on that device shows the appropriate diagnostic output of 520-block-size disk , etc.
[02:41] <mybalzitch> sure
[02:44] <qwebirc88531> correct me if i'm wrong but /dev/sg* are character devices and, /dev/sd* are block devices.  So, does this make the sg_format operation any slower when accessing the disk as a character device as opposed to a block device?
[05:15] <jayjo> i have a dead.letter that file that was outputting cron job outputs that I need to find an error message in, and it's now about 19.8 MB large. What are some tools I can use to search? I don't even mind scrolling, but I think cat is limiting the number of lines it prints
[05:16] <jayjo> I frustratingly caputured an ouput of the time a script took that ran often, so a lot if is meaningless lenghts of time (eg "completed 9.384 seconds\n")
[05:18] <jayjo> I do know that the error would first print the directory it was in, so I could eliminate a lot by just checking lines starting with "/home/jayjo/" knowing that it would have originated there, that would eliminate around 95% of lines. Can I do this with grep and piping or do I need some other tool?
[10:31] <lordievader> Good morning.
[12:02] <Tangurin> Hi! Do anyone here know how to install imagick for PHP 7.0?
[14:16] <halvors> How can i request a prefix with DHCPv6-PD with dhclient using configuration in /etc/network/interfaces?
[21:57] <Razva> for reasons I cannot really understand MAAS doesn't recognizes one of my server's NICs
[21:57] <Razva> it has two integrated (Dell) and one PCI with two ports