=== dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [00:16] I've a machine that is working in a cloud. It has 10GB hard drive space. Is there a way I can clone it on the network, and convert it to a vdi file? (ubuntu LTS) -- I'd like to have this to and fro , so that i can back it up, and make changes remotely, then deploy. === dendrobates is now known as dendro-afk [00:38] Can someone explain how the setup works on this machine? fdisk -l output --> http://paste.pocoo.org/show/521935/ -- The machine works perfectly: Then why the error: Disk /dev/xvda1 doesn't contain a valid partition table ? [00:46] pythonirc1011: Because it's possible for instance to do mkfs on a raw root device [00:47] genii-around: ? [00:47] so fdisk doesnt understand what kind of device it is ? [00:48] but mount tells me its ext3? [00:48] pythonirc1011: eg: on an unpartitioned /dev/sda for instance, you can mkfs /dev/sda ... it will have no partitions be be mountable [00:48] oh i see [00:48] ( as oppsed to first making a partition sda1 and then mounting that ) [00:48] how do you list from cylinder to what cylinder it spans? [00:58] genii-around: Thanks. [01:00] howdy [01:17] if i have a ubuntu box running, and i've a raw disk of exactly the size of the ubuntu box (but this one is more upto date), is there a way to push the update image as an update on the running box? [01:19] you can clone it, if that's what you're asking, but you would overwrite all configuration and files [01:19] if you just want updated packages, and you haven't run apt-get clean, you can copy the deb files from /var/cache/apt/archives and then update, and it won't have to download anything [01:19] well, provided you have all the updates it needs [01:21] qman__: thanks [01:23] actually it would still have to download the package list, it'd just be able to skip all the package files you copied [01:23] qman__: i've a machine in the cloud, whats the easiest way to replicate it as a vm locally? [01:23] you could theoretically copy the package list too but I don't know where that is [01:24] I was thinking of creating a raw disk image of the machine...but thats problematic clearly [01:24] all config files will be broken [01:24] including fstab [01:24] no, cloning will only break a couple things [01:24] fstab if it's by uuid [01:24] and persistent network cards [01:24] thats it? [01:24] /etc/udev/rules.d/70-persistent-net [01:25] I might be forgetting something, but yeah [01:25] device drivers would be different , isnt it? [01:25] if they don't ever have to communicate on the same network, duplicate hostname and IP is fine [01:25] drivers are all included in the kernel and modules [01:25] the only time that would come into play is if you had to do something non-default to get your hardware to work [01:27] just make up an archive of the handful of files you need to change for your non-production version [01:27] then you can image, and unpack those configs over the image [01:27] how do you fix this when you cant even boot? tell grub or boot loader to boot in single user mode? http://paste.pocoo.org/show/521953/ [01:28] thats what i was hoping to do, but have never done such a thing... [01:28] well, your disk doesn't have a valid partition table [01:28] am mainly worried about the hard drive part [01:28] virtual to hardware may be the issue you're seeing [01:28] indeed, and i've no clue how it will work when i move it into a vm [01:28] in that case, copy the filesystem, or all files on the filesystem instead [01:29] other way around that is to use the same VM software on both ends [01:29] thats the problem -- the cloud people wont give me their vm -- i am on a cheap plan [01:30] which has the additional benefit of being in a nice image file to begin with [01:30] but i do have bandwidth, so i can copy the entire drive [01:30] I'd rsync with exceptions then [01:30] like /proc and whatnot [01:30] rsync with the -x flag, single filesystem [01:31] that is what I normally do so I don't need craploads of exceptions [01:31] yeah [01:31] I think it's -x atleast :) [01:32] I don't use it enough to know [01:32] but I do know it's up to the job [01:32] ok, i've machine A -- and B (blank machine) -- you install ubuntu same version on B, then run rsync A B ? that'll break B? [01:33] basically, but it'd work better like this [01:33] you rsync single filesystem and add exceptions for fstab, 70-persistent-net, /etc/hosts, /etc/hostname [01:33] and you boot a live disc on host B first [01:34] or any other method, just to give you access to the non-running host b [01:35] i see [01:36] sounds not that trivial. Hasnt someone written a script to do this already? [01:36] you may run into other files that are better to skip too, but that's the basic idea [01:36] A --> clone over network to B? [01:36] it's a one-line rsync [01:36] you can probably find it on google, but a script is overcomplicating it [01:38] indeed it should be , except the list of config files [01:39] in my case , "A" is heavily configured already. so even a install on B will be very different than A [01:47] but that's my point, the list of config files is short and pretty much standard as long as you're using the same release [01:47] it's reasonably hardware agnostic, by design [01:48] qman__: where can i find the list? [01:48] and perhaps i will have to reconfigure those files on B -- overwrite them or not copy them - eitherways. === dendro-afk is now known as dendrobates === sixstringsg is now known as sixstringsg|away [03:06] hello i need help getting a mac book pro 15.5 in laptop to boot to an ex tunnel drive (1tb) with ubuntu server 11.10 64bit using eather a usb or a firewire port [03:08] hello?? <..> === dendrobates is now known as dendro-afk [04:30] I am looking for some advice on software. I am trying to find something to keep track of my project and clients and everything [04:31] does anyone know of any software that would be good for doing this? I thought a database would work out great but I dont know what software to use and kind of lost on that frunt. === sixstringsg|away is now known as sixstringsg === sixstringsg is now known as sixstringsg|away [04:33] I guess I will start off checking out libre-base and see where that gets me. === dendro-afk is now known as dendrobates === dendrobates is now known as dendro-afk [10:46] hi, has anyone made any experiance running an ubuntu server with btrfs and can offer some general advice? [11:25] shey, ask you question [11:26] smw: i did [11:27] shey, I don't see a real question :-P [11:27] shey, is it a production system? If so, don't use btrfs [11:27] shey, if it isn't... what type of advice are you looking for? [11:28] I use it for my home fileserver [11:28] smw: its a nas device for my home, it's not for storing really important things [11:28] mainly nfs sharing [11:28] i just want to avoid using dmraid and converting it later [11:29] smw: have you encountered any problems along the way? [11:29] shey, nope, it just works [11:30] well, there is no working fsck for it, so it has potential to be unfixably broken. [11:32] Nafallo: i'll roll with the fact that it will be available before my fs breaks then :p [11:32] heh [11:32] smw: are you on 12.04 by any chance? [11:33] shey, no [12:58] i have ubuntu server 10.04 ,how do i wake-up a system over internet [13:06] normally you have to use another system that has local lan access to it, to send the wol packet [13:09] ok [13:09] thanks [13:10] patdk-lap, do u have any idea on kvm networking [13:12] sure, its the same as non-kvm networking [13:12] i try but i am not able to configure guest for networking [13:13] or rather i am confused in using mode of network === sixstringsg|away is now known as sixstringsg === sixstringsg is now known as sixstringsg|away [14:53] hallyn: hi === dendro-afk is now known as dendrobates === dendrobates is now known as dendro-afk === dendro-afk is now known as dendrobates [16:09] I'm using Kerberos/NFS4. I keep seeing this in my syslog: RPC: AUTH_GSS upcall timed out. It appears infrequently - generally after a client mounts a share and does their first write. Often times the first time a client tries to write to a file, it takes approximately 30-45 seconds (I'm not sure if the two problems are related). [17:09] What are some of the places to look if ssh connections on a local virtual machine are refused? [17:10] ufw status \ Status: inactive [17:11] ps -ef | grep sshd \ root … /usr/bin/sshd -D [17:13] ifconfig \ eth0adn eth1 look fine. However using the terminal in the host machine I can neither connect to eth0 nor eth1. I am using VirtualBox and eth0 is using NAT, while eth1 is connected to "host-only" network. I cannot ssh to either IP. [17:20] eth1 [17:37] randallz: what's the error you get? [17:39] edgy: http://pastebin.com/HdvFYk0i [17:40] I am trying to connect to eth1 on a virtual box machine that has "host-only" connected to eth1 [17:40] randallz: please paste the output of ifconfig [17:42] edgy this is the guest http://i.imgur.com/C5DkR.png [17:43] randallz: what's the output of iptables -nL [17:45] randallz: you are trying to connect from the guest to the guest? [17:46] I am trying to connect from the host to guest, but I cannot connect from guest to guest either [17:47] iptables -nL for INPUT, FORWARD, and PUTPUT is empty [17:48] ufw status is "Status: inactive" though so I think it shouldn't block anything [17:48] nmap from the host gives me "All 1000 scanned ports on 10.0.1.33 are filtered (502) or closed (498)" [17:53] randallz: I am not familiar with virtualbox but i think host only would only allow you to connect from guest to host not vice versa [17:53] randallz: try nmap from guest to itself [17:54] randallz: also paste netstat output and see is it really listening on that ip [18:00] edgy: http://i.imgur.com/tF5ZV.png <-- netstat [18:00] randallz: paste the output of netstat -tunap [18:01] edgy http://i.imgur.com/7QDOm.png nmap localhost [18:03] randallz: no, not nmap localhost, paste nmap 10.0.1.133 [18:03] randallz: no, not nmap localhost, paste nmap 10.0.1.33 [18:03] edgy: http://imgur.com/WCq0V netstat -tunap [18:04] edgy: http://i.imgur.com/Y1H6R.png nmap 10.0.1.33 (from the guest) [18:04] edgy: it looks like the problem is in the Virtualbox interface to the guest [18:05] randallz: did you try to restart sshd? [18:06] randallz: or even better stop it and run it manually in the foreground with ssh -d [18:07] Does anyone have any experience with project-open? I was just looking for opinions on it and everything. [18:09] edgy: it gives the same "All 1000 scanned ports on 10.0.1.33 are filtered (502) or closed (498)" === sixstringsg|away is now known as sixstringsg === sixstringsg is now known as sixstringsg|away [18:11] edgy: doing nmap 10.0.1.33 from the guest was good, since I think it points to a problem in the vbox virtual network [18:12] randallz: mostly [18:12] randallz: i guess it's better to ask in #vbox === sixstringsg|away is now known as sixstringsg [18:17] edgy: It's been a great development environment before to use ubuntu server in a guest. There may be a problem with trying to use 10.0.x.x rather than 192.168.56.x, but in the past I had difficulty when working at different locations and the possibility of an IP conflict. I am using a Mac rather than a PC, as before, and there may be something strange in the different implementation. However, being able to ping the eth1 interface [18:17] the host says the host can at least find the guest's eth1. It is strange that it is refusing the connection though. I don't think that I am doing anything particularly exotic. Anyway, thanks a lot for the help. === sixstringsg is now known as sixstringsg|away [18:40] randallz: you are welcome, but why not try kvm? [18:44] edgy: wouldn't that require a linux kernel rather than XNU? [18:45] randallz: ah! I didn't notice you are working in a Mac [18:45] I couldn't find a relevant place for discussion of cloud-init development... is here a good place? (*looks in smoser's direction*) [18:45] randallz: I would rather trash it and install linux ;) [18:49] edgy: I wish that os x would run as a guest more easily. The latest does include some pretty nice interface conveniences though [18:50] edgy: I might also choose Xen since the production machine is on linode [18:51] edgy: being able to create a machine that I can use on xbox in linux, windows, and mac is pretty convenient though [18:51] yes === sixstringsg|away is now known as sixstringsg [19:40] hi === SJrX is now known as SJr === sixstringsg is now known as sixstringsg|away [21:30] New bug: #905804 in bacula (main) "Bacula-dir automated configuration makes a false mysql connection configuration " [Undecided,New] https://launchpad.net/bugs/905804 === sixstringsg|away is now known as sixstringsg === jibel_ is now known as jibel === sixstringsg is now known as sixstringsg|away === koolhead17 is now known as koolhead17|zzZZ