=== Lcawte is now known as Lcawte|Away [02:13] Hay Arnold. The issue is number of max connection limit [02:13] Our hosts reached that value. [02:13] neonixcoder: ah! :) [02:13] fun [02:13] Now I increased that count and it is working fine now.. [02:48] I'm looking for an easy way to do full server backup. Something like Macrium Reflect ( http://www.macrium.com/reflectfree.aspx) [02:49] I know Clonezilla, but it requires the system to reboot [02:50] Rsnapshot is more for backing up files [03:00] duplicity :) [03:00] or if you want to go the payed route, acronis [03:44] nameuser_: bacula. [03:44] rsnapshot can do the job, but bacula is a very robust enterprise-ready fully OSS backup engine. [03:44] (And it's block-level) [03:46] Thank you! [04:32] Just bought a SSD for my self hosted web server. Expected a huge i [04:32] Expected a hugh improvement [04:33] But disappointed [04:35] heh? [04:35] why? [04:36] Except when installing or backup/restore server, the postgresql query speed doesn't seem to improve mouch [04:37] and you tested that disk speed was the problem? [04:37] Test disk speed with hdparm and dd [04:37] heh? [04:37] The ssd is fine [04:38] what does those have to do with anything? [04:38] hdparm doesn't do anything [04:38] and dd doesn't test anything, that has to do with sql [04:38] and on an ssd, dd really is horrid [04:38] so give me some tips then [04:39] instead of doing a streaming test, using dd, with all 0's [04:39] do a test that is correct for your usage [04:39] what that is, I dunno, that depends on your usage [04:39] first, ask postgresql what the problem is [04:39] I dunno postgresql, but it's simple enough in mysql [04:39] if you have cpu issue, locking issues, disk issues, ... [04:42] Yea === MinedAWAY is now known as Mined === tinyhippo is now known as darthhippo [10:52] Hi [10:52] Doesn't ubuntu-server have a way to finish a install over ssh? === CiPi is now known as cipi === Opcode90- is now known as Opcode90 === cipi is now known as CiPi === cpaelzer is now known as cpaelzer_afk === Mined is now known as MinedAWAY [11:47] Need some help with openstack single install on an Ubuntu server using Juju [11:52] The installer is waiting for creating some machines for 4 hours now === cpaelzer_afk is now known as cpaelzer [13:22] Is it a good idea to run an ms active directory on ubuntu 14.04 with samba ? [13:44] theptr, never had that work, good enough, personally [13:45] patdk-wk, I want to keep as many as possible linux so [13:46] you asked my thoughts, I gave them, now you want to say they are invalid? [13:58] hallyn, stgraber: is lxc on vivid trying to run a xenial container known to be broken? Wily works, but Xenial doesn't. I see an init process with a bunch of subprocess zombies and nothing else. I also see an apparmor denial but I think I get that in the success case with wily too. [13:58] audit: type=1400 audit(1450447067.190:28): apparmor="DENIED" operation="mount" info="failed flags match" error=-13 profile="lxc-container-default" name="/" pid=18303 comm="systemd-machine" flags="rw, rslave" [13:59] Using lxc-start-ephemeral. [14:16] Hello, guys. I am having trouble creating a software RAID 0 on Ubuntu Server 14.04.3 x86_64 using two discs (/dev/sdb and /dev/sdc) using mdadm [14:18] I've created it using mdadm --create /dev/md0 --level=raid0 --raid-devices=2 /dev/sdb /dev/sdc [14:19] Then I've created folder 'storage' (without the quotes) in / then I've put in fstab Then I've put this in /etc/fstab /dev/md0 /storage ext4 defaults 0 0 [14:19] Then I rebooted and after grub times expires and ubuntu loads i pretty much get a black screen [14:20] well, that isn't going to work [14:20] you never told mdadm to *mount* your raid [14:20] How to do that? [14:22] mdadm --detail --scan >> /etc/mdadm/mdadm.conf [14:23] I will execute that in a minute, as soon as the server boots (well from recovery console) [14:27] btw I've manually put lines in mdadm.conf now I executed the command and will check the conf [14:27] well it looks the same [14:27] first line: DEVICE /dev/sd[bc] [14:28] second line: ARRAY /dev/md0 devices=/dev/sdb,/dev/sdc [14:31] that is strange [14:31] it doesn't do something like, ARRAY /dev/md0 UUID=xxxxx [14:31] generally, depending on the drives to be called the correct letters, is a horrible thing to depend on [14:32] such as, replacing a disk, adding a disk, or even installing a new hba [14:32] will cause that all to get changed [14:32] a disk failing [14:33] actually i think for some reason it's not writing in the conf [14:33] i just checked [14:33] i deleted it and executed the command again and the conf was empty [14:33] also i don't think it was created after i installed mdadm and created it manually [14:34] mdadm after being installed mentionend mdamd.cf maybe its conf is somewhere else? [14:35] it's not [14:35] I have a few systems, including this one I'm on now, using 14.04.3 with mdadm [14:36] so maybe if I change it to use UUID? however which UUID is that of which drive or of what and how do i find it? [14:36] first I would comment out DEVICE line [14:36] blkid will give you the UUID [14:37] hmm, it will give it in a different format though [14:37] what does mdadm -Es, give you? [14:38] oh awesome it gives me the UUID and stuff of /dev/md0 [14:38] it gives: [14:38] you do NOT want the uuid of md0 [14:38] ARRAY /dev/md/0 metadata=1.2 UUID=uu:id:etc name=os1.0 [14:38] unless your putting it into /etc/fstab [14:38] name=os1:0 i mean [14:39] no, that iline is good [14:39] I meant blkid one [14:39] from blkid: /dev/md0: UUID="626a5a92-b783-44ff-8a7d-a0236287892f" TYPE="ext4" [14:39] should I put the uuid in fstab instead of '/dev/md0' [14:39] that UUID is of the ext4 filesystem installed ON md0 :) [14:39] that is optional, but generally better [14:39] well it doesn'ty give me uuid of md0 [14:39] blkid i mean [14:39] incase md0 is called something else, but not *as* likely to happen [14:40] is md0 started/assymbled? [14:40] did you format it with a filesystem yet? [14:40] maybe i should not put it in fstab as /dev/md0 but as /dev/md/0? [14:40] the md0? [14:40] let me check [14:40] ya [14:41] fdisk can't find it [14:41] fdisk finds partitions [14:41] did you put a partition on md0? [14:41] i don't think i did though (stupid tutorials on the web, show you how to do something and what to do but not how) [14:41] I never do [14:41] i don't think i have [14:41] but not why i mean [14:41] you are not suppose to use tutorials [14:42] a tutorial is notes someone created for their usage [14:42] documentation is created to explain to others [14:42] good point, thank you (didn't know that to be honest) [14:42] so a tutorial/blog/... is only useful if you already know how to use something [14:42] btw atm mdadm --detail /dev/md0 gives me mdadm: cannot open /dev/md0 no such file or directory [14:42] well, that is cause most poeple advertize it wrong :) [14:43] they make a tutorial thinking to help other people [14:43] forgetting to put in all their *thoughts* on why they did any of it [14:44] i guess the raid is not created atm because i executed mdadm --create /dev/md0 --level=raid0 --raid-devices=0 /dev/sdb /dev/sdc and it asks me to create it again [14:44] says they appear to be part of a raid array and that partition table exists there etc and asks to continue the array creation [14:45] at this point how should I proceed into creating the array, making it stick after reboot and making it auto-mount on boot etc [14:46] create it, check the uuid, put it in mdadm.conf then reboot? [14:46] hallyn, stgraber: fyi, upgrading to wily fixed the issue. I can start xenial containers now. I don't know if that's due to a side effect of the upgrade or an actual package version difference though. === CiPi is now known as cipi [14:52] patdk-lap: I created the raid again, used the command to make mdadm put stuff in its conf, cleared the conf from my stuff so only what it put in there stays in there, saved it, rebooted and pretty much the same thing (a black screen) [14:53] I think your having a different issue === cipi is now known as CiPi [14:53] and don't think mdadm is the problem :( [14:56] I will boot into recovery console and check if the raid is up and running, if it is i will try to find what else might be the problem, if not, I will try to get it to work and then see if the problem presists [14:59] at this point [15:00] I would just remove mdadm.conf and your line from fstab (thought shouldn't be needed) [15:00] even with it failing, it should not give you a blank screen [15:01] ok, I removed them and am now rebooting to see what will happen [15:04] yeah, still the same, let me try few things [15:07] without the drives inside, it's booting and even the grub timeout time (you know the time after which the chosen option will be auto loaded ) [15:07] but that is probably because of less drives and because the only drive now inside is an ssd on which is the os [15:07] also i think with the drives formated and without partitions it can also boot [15:08] i will try to erase them and try to boot with them inside [15:10] before I start creating the raid should i have some partition on the drives and any flags set? [15:10] or should i keep them as unallocated space [15:13] optional [15:14] generally it can be a good idea to create a parition, and use that parition to mdadm [15:14] I think the problem now may have been that the raid was still running, I stopped it now and rebooted now we will see [15:14] just so you don't accidently think it's a blank disk and create a partition on it later, wiping it [15:15] so create ext4 on each then create raid then I guess I should create a partition on /dev/md0 then mount it? [15:15] flags are completely useless these days, really [15:15] dunno what you mean by create ext4 [15:15] btw yes, now that the raid is stopped (using sudo mdadm --stop /dev/md0 and sudo mdadm --zero-superblock /dev/sdX... for each drive) [15:15] disk, partition, mdadm on partition, ext4/... on md [15:16] i mean create ext4 partition [15:16] why? [15:16] there is no such thing as an ext4 partition [15:16] didn't you mean that is a good idea to do so i don't think the disk is empty? [15:16] ah yeah it's a filesystem === cpaelzer is now known as cpaelzer_afk [15:16] so i guess i didn't realize there is a difference between a partition and filesystem [15:17] so i am starting from scratch now in creating the raid, what is the first thing i should do? [15:17] the filesystem type in the partition table is also mostly useless [15:17] one of those important subtle distinctions [15:17] normally set to 83 == linux filesystem [15:17] but it is mdadm, not linux filesystem [15:17] so generally fd is perferred [15:17] mdadm auto mount [15:17] fd Linux raid auto [15:18] Device Boot Start End Blocks Id System [15:18] /dev/sda1 2048 128901119 64449536 fd Linux raid autodetect [15:19] so I should operate on /dev/sdb1 not /dev/sdb? [15:19] or? [15:19] optional, but most people expect partition table to exist [15:19] so if it does, you can future protect yourself [15:19] but it's strictly not needed [15:20] I used to never use partitions [15:20] ok now I have /dev/sdb1 start 2048 End 1953525167 Blocks 976761560 ID 83 System Linux [15:20] then I found several *utilities* they kept wiping out my drives that didn't have partitions, really upset me [15:20] lol [15:20] so your point about creating a partition is a very good one [15:20] oh? you have an uninitialized disk, let me fix that for you! [15:21] :D [15:22] how did you set Linux raid autodetect to your drive and does it matter if it's just Linux or Linux raid autodetec or is this just a comment to the partition? [15:22] it doesn't matter what it is [15:22] ah yeah I found it [15:22] but I think mdadm checks it [15:22] the id [15:24] ok so what should I do next? Create raid with mdadm -C /dev/md0 --level=raid0 --raid-devices=2 /dev/sdb1 /dev/sdc1 ? [15:25] sure [15:26] Ok it is created. Now I should make mdadm put the conf for the array in its conf? [15:26] yes [15:26] post that line here too [15:26] mdadm --detail --scan >> /etc/mdadm/mdadm.conf [15:26] well, I meant of the line added to mdadm.conf [15:27] ah :D [15:27] ARRAY /dev/md0 metadata=1.2 name=os1:0 UUID=700:long:etc [15:27] ok [15:27] that looks good [15:28] blkid has stuff [15:28] so I should check blkid now? [15:28] should show linux_raid_member lines [15:28] well it shows /dev/sdb1, /dev/sda1, /dev/sda3, /dev/sda4 and /dev/sdc1 (no /dev/md0) [15:29] yes [15:29] on both /dev/sdb1 and /dev/sdc1 it says that its TTYPE is linux_raid_member [15:29] mdadm --assymble [15:29] mdadm --assemble? [15:29] probably [15:29] english was my first language [15:29] :D [15:30] it says an md device must be given in this mode [15:30] so mdadm --asemble /dev/md0? [15:31] (btw i will go for a cigarette) [15:31] ah [15:31] mdadm --assemble --scan [15:35] back and ok [15:35] done [15:36] now blkid shows md0? [15:36] or it might not [15:36] but md0 exists now right? [15:36] probably best to, cat /proc/mdstat [15:37] yes, it doesn't show md0 and yes catting /proc/mdstat shows md0:active raid0 sdc1[1] sdb1[0] [15:37] ok, time to mkfs.ext4 /dev/md0 .... [15:38] done [15:38] blkid [15:38] add to /etc/fstab using the UUID [15:38] yes it now shows UUID [15:38] of md0 [15:41] defaults for options and 0 0 for dump and pass? [15:42] well, likely 1 or 2 for pass [15:42] but it shouldn't matter much [15:43] ok i put 1 like on / [15:43] so now in theory it's all done and a reboot follows? [15:43] yes [15:43] since you don't need it in initramfs [15:44] as it's not a boot/root drive [15:44] ok, time to pray to the server :D [15:48] It works! Thank you so much dude! I will write the stuff down and look at documentation to fill in the gaps (learn the stuff I now figured out I don't know) [15:48] btw as my user I don't have write permission on there atm, did I not mount it well or it's normal [15:48] I mean I didn't mount it as read only or something? [15:48] dunno [15:48] but you didn't setup permissions [15:48] so likely only root has write access [15:48] well I can write as root [15:49] if it was read write I won't be able to write even as root, right? [15:49] yes [15:49] Thank you very much! [15:49] I should really start like right now to see what I don't know much about or don't understand and fill in the gaps [16:18] hello, all. I've just install ubuntu server and the top and left portions lay off screen so I am having a hard time configuring files. [16:18] xrandr only works in GUI [16:18] I've tried fbset, but I can't get it to change my resolution [16:19] i've tried fbset -xres=1360 -yres=850, but that outputs the usage for fbset [16:20] this last command supposedly worked for somebody, but it doesn't work for me, even with the same version of fbset [16:42] capoderra: have your monitor autoconfigure [16:53] rbasak: well, that's pretty odd seeing how lxc is identical in vivid and wily (exact same source) [16:54] rbasak: the behavior you describe sounds like a broken or crashed lxcfs though [16:54] teward, sorry, it's a TV connected via HDMI [16:55] capoderra: oh. I typically see HDMI TVs cut off things, and I never found a way to resolve it, server or otherwise [16:55] (TVs aren't the best for that stuff) [16:56] capoderra, find the "overscan" option in your TV settings menu ... and toggle it === m1dnight1 is now known as m1dnight_ [16:56] teward, it's all I got. It's funny, I never had that problem on my old machine. [16:56] Hi guys, had a server with hetzner for a while now and never seem to get kernel updates, just the kernel dev, Ubuntu 12.04.5 its currently at Linux 3.11.0-26-generic on x86_64 is this normal? I ticket hetzner and they just said they have nothing to do with software etc as usual [16:57] ogra_, I don't think I have that [16:57] it might be named differently ... but it should be there ... TVs that dont have it are rare [16:58] teward, the old machine used a VGA cable. This one has to be HDMI because it doesn't have a vga port [16:59] anyone tell me what the current kernel should be for Ubuntu 12.04.5 64 bit server should be please [17:00] Do not understand why I do not get main kernel updates, just the dev updates [17:01] davidic657, https://launchpad.net/ubuntu/+source/linux [17:01] (scroll to the bottom) [17:01] ty [17:04] ogra_: hetzner wont answer me why it does not upgrade? [17:04] upgrade from what to what ? [17:05] the latest kernel in precise is obviously 3.2.0-96.136 ... [17:06] ogra_: says Linux 3.11.0-26-generic on x86_64 here [17:06] sry bit confused here [17:06] likely installed a hwe kernel. [17:06] 3.11 ? [17:06] well, hwe kernels come from other LTS releases [17:06] quantic: all I get is the dev updates [17:06] there is no 3.11 in either of them [17:07] the hwe kernel for 14.04 would be 3.14 based [17:07] 3.11 is the kernel from saucy. [17:07] not sure what they are up to [17:07] 12.04 has an hwe kernel that's 3.11. 12.04.4, I believe. [17:07] yeah, that looks like a broken release upgrade [17:08] ogra_: not necessarily. [17:08] https://wiki.ubuntu.com/Kernel/LTSEnablementStack#Kernel.2BAC8-Support.A12.04.x_Ubuntu_Kernel_Support [17:08] just want to know if the kernel is ok and no security problem, never get any updates [17:09] thanks guys for the input [17:09] davidic657: install the "linux-generic-lts-trusty" package. [17:09] davidic657: And review https://wiki.ubuntu.com/Kernel/LTSEnablementStack [17:09] noob here proberbly mess everything up :) [17:10] should be ok fingers crossed [17:10] yeah, what quantic said "linux-generic-lts-trusty" should get you 3.13 [17:10] davidic657: Just install a single package, it will pull in the currently-supported kernel. [17:11] thanks === cpaelzer_afk is now known as cpaelzer [17:26] stgraber: I think that's reasonably consistent with what I've seen. If the latest SRU is broken but the release pocket works in both Wily and Vivid, then that is consistent with my observations. [17:26] stgraber: I only upgraded in Wily to work around a different bug. [17:41] rbasak: except that we also use the exact same lxc source in xenial as wily and vivid (1.1.5 + 2 bugfix uploads for all 3) [17:42] rbasak: anyway, the symptoms point towards lxcfs (as mentioned in the bug), hopefully hallyn can take a look when he's back [17:42] That makes sense. Thanks. === cpaelzer is now known as cpaelzer_afk === cpaelzer_afk is now known as cpaelzer [19:11] is anybody familiar with fail2ban? Do I need it if I'm going connecting to my server from my local network? [19:12] nothing [19:12] except if you are in a habbit if not using the right password, you might want to add yourself to the exceptions [19:12] or adjust what it blocks, to only block external [19:13] or add a firewall rule that overrides fail2ban rules [19:13] so many things you can do [19:13] wait wait [19:13] ok, fail2ban, as I understand, prevents brute force attempts to crack ssh password... but if I'm going to only connect to my server from another computer on the same local network, do I need fail2ban? [19:14] What i'm saying is.. [19:14] my server is not facing the wide open internet [19:14] capoderra: If the ssh port is not forwarded at the router from the internet at alrge to that machine, you're pretty safe without it [19:14] it protects against attacks that it is programmed to notice [19:14] *large [19:15] if the attacks cannot attack your server, why do you care? [19:15] genii, that's what I was thinking [19:15] patdk-wk, I'm not a security expert, so I just wanted to confirm my assumptoins [19:16] well, it doesn't help to have an extra layer [19:16] just incase someone opens it up later [19:16] or someone attacks it on the local network (though probably easier ways to do it) [19:16] but strictly, if what you say is true, it's not required [19:17] ok, thanks so much [19:17] and it's really not for security too much [19:17] though it can help slow down brute force attempts [19:19] I have another question. In my /etc/ssh/sshd_config file, there is a %h before the pathway to my authorized_keys... what is that? [19:24] capoderra: Thats a shorthand for the user's home directory. I.e. the authorized keys file for each user is located in that path relative to the users home directory. [19:25] got it [19:41] how can I make ubuntu server detect and mount my external drive on reboot? [19:41] i have to unplug/plug every time [19:45] jarkinox: what do you have now? [20:00] Synthead what do you mean? [20:12] jarkinox: how are you mounting it? Do you have any /etc/fstab or auto-mount settings? What do you mean by "have to unplug/plug"? When you do that, what happens? === cpaelzer is now known as cpaelzer_afk [20:19] fdisk -l doesn’t even show the drive after reboot [20:19] i unplug the harddrive, and then it shows up === Luke__ is now known as Luke [20:37] Synthead ^ === Luke_ is now known as Luke === darthhippo is now known as tinyhippo [22:50] jarkinox: is there any kind of error in the ring buffer (dmesg) about the drive after the server is booted with it plugged in? [22:50] jarkinox: is it usb? [23:00] jarkinox: what make/model of the drive? if it's usb, what does it show in lsusb? [23:32] Synthead: It is usb [23:32] it’s a western digital 3tb drive [23:32] let me check on those other items you asked for [23:32] jarkinox: a lot of hard drives hang a while as they spin up [23:33] jarkinox: maybe it's timing out as it's being queried by some means? [23:33] what am i looking for in dmesg? there’s a lot there. can you give me a grep command? [23:34] jarkinox: might check lsusb first and grep for its description [23:34] jarkinox: perhaps grep for /dev/sd ? [23:34] jarkinox: I recommend dmesg | less and just / to try to look for it [23:35] -i (without /) toggles case sensitivity [23:36] jarkinox@Ubuntu:~$ lsusb [23:36] Bus 001 Device 002: ID 0480:a003 Toshiba America Info. Systems, Inc. [23:36] Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub [23:36] Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub [23:36] Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub [23:36] Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub [23:36] not in there [23:36] jarkinox: is your drive plugged in? [23:36] yup [23:36] jarkinox: are you able to use it? [23:36] yes, but after a reboot, i need to physically remove the usb and plug it back in [23:36] then it’s detected [23:37] jarkinox: what does lsusb say when you unplug it, then plug it back in? [23:37] by the way, is this drive going to be permanently installed on this box? [23:37] Bus 001 Device 007: ID 1058:1230 Western Digital Technologies, Inc. [23:37] Bus 001 Device 002: ID 0480:a003 Toshiba America Info. Systems, Inc. [23:37] Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub [23:37] Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub [23:37] Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub [23:38] Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub [23:38] yes, permanently on the box [23:38] jarkinox: you might seriously reconsider using it via the usb enclosure [23:38] jarkinox: there's is almost always a data drive inside [23:38] sata* [23:38] what does that mean? [23:39] jarkinox: if you remove the drive from the enclosure and plug it directly into your motherboard with sata, not only will you circumvent this issue, but you'll have an enormous speed improvement [23:39] jarkinox: usb 2 or 3? [23:39] ok now there’s something in dmesg [23:39] can i paste a bunch of lines without it looking like spam? [23:39] jarkinox: pastie.org [23:39] it’s usb 3 on a very old Dell box [23:39] usb 3 isn't so bad [23:40] jarkinox: does the dell box have usb 3 as well? [23:40] http://pastie.org/private/uvsblr2ncn5nubgzanjr9w [23:40] i seriously doubt it has usb 3 [23:40] it’s ancient [23:41] back when 80 gigs was a lot [23:41] jarkinox: are you ok with your read and write speed being a combined 30 MiB/s ? [23:41] yeah, i don’t use it a whole bunch. it’s like cold storage [23:42] but i like to tinker with things :) [23:42] don’t mind a little speed improvement [23:43] jarkinox: ok, as long as you're aware. sata 2 will operate at 3 GiB/s, which is ~100x faster. Your drive will likely peak at a couple hundred MiB/s though, being a disk with platters [23:43] jarkinox: do you see "Western Digital" anywhere in your ring buffer before plugging that disk in? [23:44] dmesg | grep Western [23:44] [14339.730100] usb 1-4: Manufacturer: Western Digital [23:44] nope, only after I plugged it in [23:45] jarkinox: what about "USB"? [23:45] jarkinox: anything worth mentioning? [23:46] jarkinox: also, when the drive is unplugged with the platters stopped, how long does it take to spin up and be recognized? [23:46] just generally [23:46] 5-10 seconds ish? [23:46] yeah it’s pretty quick [23:46] some motherboards have a setting in the bios that goes by the tune of "wait for disks" or something [23:47] it doesn't continue to boot until all attached storage responds [23:47] http://pastie.org/private/cv1dpaa1wqmedwcfj3hblg [23:47] the box boots fine even with the hard drive attached [23:47] there’s another Toshiba drive attached that doesn’t have the problem [23:48] you might look at dmesg via less as just grep'ing dmesg will remove a lot of nice errors [23:48] how far back does dmesg go? [23:48] jarkinox: since the box was booted unless you clear the buffer [23:49] i rebooted today after some updates [23:49] what is the model of your dell? dmidecode will tell you [23:50] DE051 [23:50] released 2006 [23:50] jarkinox: do you have a visible grub boot loader when the machine is turned on? [23:50] there’s no monitor attached to it [23:50] and no gui [23:50] jarkinox: oh right on [23:51] so paste the whole dmesg? [23:51] jarkinox: the reason I mentioned it is because you might check if this is the problem preemptively by interacting with the grub menu while the disk spools up [23:51] after ~15 seconds, boot the os and see if the disk was detected [23:52] jarkinox: if you really wanted, you could [23:52] i could go that route but that would require attaching a monitor and keyboard, and I’m determined to figure this out via ssh :) [23:52] jarkinox: that's a lot of text [23:52] yeah i don’t want to but i’m not sure what i’m looking for in dmesg [23:52] jarkinox: what is your grub timeout value? [23:53] where would I find that? [23:53] jarkinox: probably /boot/grub/grub.cfg [23:53] jarkinox: ubuntu will kill any changes make directly in that file via scripts, but this would only be a temporary test [23:54] jarkinox: actually, if you have to wait for the disk to spool up before it works properly, maybe just putting a longer timeout in there would be good enough [23:54] you'll probably want to do it the "formal" way via /etc/defaults/grub, though [23:54] it’s either 2 or 30 [23:54] not too sure how to read this bash script [23:54] gruc.cfg shouldn't be a bash script [23:55] what does the line say? [23:55] sorry, it’s not. I think it’s perl [23:55] I’m a C# guy so it’s all jibberish to me ;-) [23:55] jarkinox: what file? [23:56] ok hold on, there was a note in there to go to /etc/default/grub [23:56] GRUB_TIMEOUT = 2 [23:57] jarkinox: as mentioned, grub.cfg is the real config script for grub. grub doesn't care about /etc/default/grub, but it's where you'd make permanent changes [23:58] if you want to make a temporary test, /boot/grub/grub.cfg is fine. If you want to make permanent changes, /etc/default/grub is where you'd likely put it, then run some kind of grub updater script [23:58] tbh, I'm more of an Arch guy, so I hand-write grub.cfg [23:58] terminal_output gfxterm [23:58] 85 if [ "${recordfail}" = 1 ] ; then [23:59] 86 set timeout=30 [23:59] 87 else [23:59] 88 if [ x$feature_timeout_style = xy ] ; then [23:59] 89 set timeout_style=menu [23:59] 90 set timeout=2 [23:59] Arch guy? [23:59] bleh [23:59] Architect? [23:59] Arch Linux [23:59] whoa [23:59] * jarkinox bows down [23:59] heh, nah, it's not like that