=== dendrobates is now known as dendro-afk === skrewler_ is now known as skrewler === dendro-afk is now known as dendrobates === almaisan-away is now known as al-maisan === al-maisan is now known as almaisan-away === almaisan-away is now known as al-maisan === dendrobates is now known as dendro-afk === al-maisan is now known as almaisan-away === skrewler_ is now known as skrewler === skrewler_ is now known as skrewler === skrewler_ is now known as skrewler === almaisan-away is now known as al-maisan === daker_ is now known as daker === hallyn_afk is now known as hallyn [14:47] anyone seen errors like: walrus_request(): server responded with HTTP code 408 (timeout) before? [14:47] fresh 10.04 UEC setup, can upload image bundles but can't launch them, seems the kernel is downloaded on the nc but not the image [15:58] Hi, im trying to mount /dev/xvda2 on a Ec2 instance (ami-1b9fa86f) with cloud-config to /var. [15:58] bootcmd: [15:58] - mount /dev/xvda2 /mnt; cp -ax /var/* /mnt; umount /mnt [15:58] mounts: [15:58] - [ ephemeral0, /var, auto, "noatime,nodiratime,noexec,nosuid,nodev" ] [15:58] But it does not work like this. Any ideas? [16:08] joshua__, what is going wrong ? [16:12] Maybe, the /var partition is empty. The copying dosent work. I can't connect to the machine. [16:12] or should it be ephemeral1 instead of ephemeral0? [16:12] -> trying ;) [16:13] no. [16:13] what is in /etc/fstab ? [16:14] and do you have evidence that the bootcmd is running ? [16:15] With the cloud-config above, i canot access the machine. Ant the system log is empty. [16:17] i guess, the skript mount ephemeral0 correctly to /var. Afther that is /var empty. [16:17] No Librarys could be loaded. [16:19] I need a solution, that copy the contents of the target Mountpoint to the new device, bevore it's get mounted. [16:25] system log = console log ? [16:25] it will be empty for 4 minutes [16:25] joshua__, yeah, that is reasonable === dendro-afk is now known as dendrobates [16:43] smoser: Heere the output of ec2-get-console-output: http://pastebin.com/TUrYuSRK [16:45] and you can't ssh to that ? [16:45] Maybe i shoult put anything to the bootcmd (cp -ax, umount, edit fstab, mount -a). But this is not constable [16:45] smoser no, i can't [16:46] what happens ? [16:46] when you try ssh [16:46] ssh_exchange_identification: Connection closed by remote host [16:46] can you give me the full user data? [16:46] i'm actually concerned about the apt-update issue that it shows. [16:47] apt_upgrade is set to true and packages contains vim wich is already installed. [16:48] http://pastebin.com/K5GgdJ44 [16:48] oh. ah [16:48] one thing that is definitely wrong [16:48] noexec [16:48] you can't have /var mounted noexec [16:48] as dpkg is trying to run scripts from it [16:49] hmm, afaik i have tryed it also whidtout. mom. Trying again. [16:52] ok, i've tryed with: [ ephemeral0, /var, auto, "noatime,nodiratime" ] .. cannot login. [16:54] another solution could be, to copy /var to /mnt/var and set an symlink. from /var to /mnt/var... [16:56] Heere the current Console output: http://pastebin.com/f3CXZBgq [17:08] :q [17:09] lol [17:09] smoser: Are you the maintainer of cc_mounts.py? [17:10] yes. [17:11] Nice :). It would be nice, if you could check, if the target mount location is empty. If not, copy the contents to the device before mounting. [17:13] i'd be willing to review a patch... [17:13] i somewhat exxplicitly avoided that [17:14] as what happens if both source and target have content? [17:14] is it possible, that the source have contents? [17:14] Maybe theere is an additional option needed. [17:16] joshua__, ok... so the thing you're trying to do above... [17:16] http://paste.ubuntu.com/613831/ [17:17] i just tried it here, and noticed that in the console output. [17:17] hah... [17:17] yeah. [17:17] so the problem is that /var is volitile [17:17] and avert you rsync and before you mount, things have happend there, and then that messes other things up [17:18] one thing that would *definitely* cause issue is /var/run [17:19] joshua__, of course its possible for the source to have contents. i think yo umean the target. [17:19] but the possibility of the target having contents is real in a rebundle case [17:19] (not for ephemeral store, but for other partitions, ie ebs or something) [17:22] hmm, the reason to choose /var as target, is, beacuse i need the full space for /var/www, /var/mysql and /var/log. [17:24] now i will use puppet to create symlinks from /mnt/www|mysql|log to /var/www/mysql/log. [17:24] it's an easy and comfortable solution for me. [17:25] thanks for your great help Scott! [17:28] so. my wife is cooking. i have to go $HOME. Thanks a lot! [17:28] cu [17:29] i bet you can do something like this in runcmd [17:29] the system is in a much less volitale state then [17:29] thx. i will figure it out. [17:30] if it works with runcmd i send you an E-Mail ok? [17:31] just for the next case === dendrobates is now known as dendro-afk === daker_ is now known as daker === hallyn is now known as hallyn_afk === daker is now known as daker_ === hallyn_afk is now known as hallyn === dendro-afk is now known as dendrobates === skrewler_ is now known as skrewler === dendrobates is now known as dendro-afk