[00:24] 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] Most likely not, no. [00:25] https://schnouki.net/posts/2014/12/12/openvpn-for-a-single-application-on-linux/ [00:27] mybalzitch: And which application is using that vpn? [00:28] popcorntime in this case [00:35] i want to do it with transmission [00:36] but naice, it's possible [00:36] do i need a extra nic for this ? [00:40] 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] halvors1: what does your interfaces file look like [00:44] also, why not just use dhcp6 [00:45] mybalzitch: you're everywhere! [00:45] bearface: :( [00:48] 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] qwebirc88531: 2 seconds of googling your error message gives me http://pissedoffadmins.com/general/unsupported-sector-size-520.html [00:52] mybalzitch: I read that already. I do not want to ruin a disk before understanding what exactly thosese commands do [00:53] is 520 a standard sector size for SAS disks and if so, why does the linux kernel not support it? [00:53] no 520 is not a standard sector size. [00:54] these are seagate constellation disks. if that a standard sector size for seagate constellation disks then? [00:54] none that I've ever seen [00:55] 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] they may have been used in some proprietary raid enclosure that decided 520 byte sectors is the way to go [01:02] 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] what kind of sas controller are you using [01:03] also, I've never heard of a sas controller reporting drives as being 520 bytes. [01:03] but what I don't know could fill a book [01:03] or three [01:03] whatever comes presinstalled by default on my Lenovo ThinkServer, model# 70B5001TUX . It has 4 SAS ports on the card. [01:04] lspci|pastebinit [01:04] and I have only connected 1 SAS disk to this controller (other 3 ports are unconnected). [01:05] that server machine does not have network access, so i would be able to do lspci, but not paste anywehre... [01:05] ahhh [01:06] but think about it logically for a second [01:07] *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] 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] 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] 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] nope [01:13] nope... ? [01:13] they weren't used under windows, not with 520 byte sector sizes [01:15] AFAIK, SeaTools only works under Windows, or maybe it was a BIOS/speacial-OS utility [01:17] https://en.wikipedia.org/wiki/SeaTools [01:20] 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] 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] 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] 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] mybalzitch: It doesn't work with DHCPv6 either. [01:41] mybalzitch: I don't know why it's not working. I've tried with dhcp as well. [01:43] interesting that the sg_format manual actually shows examples of using with a block s [01:43] size of 520 [01:43] so 520 maynot be so unusual... [01:44] 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] Razva: are you sure you mean to be asking in #ubuntu-server ? [01:47] mybalzitch well I have no idea where to ask... I'm just stuck at that darn issue [02:24] mybalzitch: about how long is the 'sg_format –format –size=512 /dev/sd...' format operation supposed to take on a 3TB disk? [02:25] qwebirc88531: considering it has to rewrite every sector on the disk, 10 Hours at 80MB/s [02:25] so any time between now and then likely [02:33] 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] 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] qwebirc88531: I'm not sure [02:40] 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] sure [02:44] 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] 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] 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] 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] Good morning. [12:02] Hi! Do anyone here know how to install imagick for PHP 7.0? === shauno_ is now known as shauno === King` is now known as King [14:16] How can i request a prefix with DHCPv6-PD with dhclient using configuration in /etc/network/interfaces? === Guest82349 is now known as Jalen [21:57] for reasons I cannot really understand MAAS doesn't recognizes one of my server's NICs [21:57] it has two integrated (Dell) and one PCI with two ports === thumper is now known as thumper-bjj