=== dendrobates is now known as dendro-afk | ||
=== dendro-afk is now known as dendrobates | ||
pythonirc1011 | 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. | 00:16 |
---|---|---|
=== dendrobates is now known as dendro-afk | ||
pythonirc1011 | 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:38 |
genii-around | pythonirc1011: Because it's possible for instance to do mkfs on a raw root device | 00:46 |
pythonirc1011 | genii-around: ? | 00:47 |
pythonirc1011 | so fdisk doesnt understand what kind of device it is ? | 00:47 |
pythonirc1011 | but mount tells me its ext3? | 00:48 |
genii-around | pythonirc1011: eg: on an unpartitioned /dev/sda for instance, you can mkfs /dev/sda ... it will have no partitions be be mountable | 00:48 |
pythonirc1011 | oh i see | 00:48 |
genii-around | ( as oppsed to first making a partition sda1 and then mounting that ) | 00:48 |
pythonirc1011 | how do you list from cylinder to what cylinder it spans? | 00:48 |
pythonirc1011 | genii-around: Thanks. | 00:58 |
virusuy | howdy | 01:00 |
pythonirc1011 | 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:17 |
qman__ | you can clone it, if that's what you're asking, but you would overwrite all configuration and files | 01:19 |
qman__ | 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 |
qman__ | well, provided you have all the updates it needs | 01:19 |
pythonirc1011 | qman__: thanks | 01:21 |
qman__ | 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 |
pythonirc1011 | qman__: i've a machine in the cloud, whats the easiest way to replicate it as a vm locally? | 01:23 |
qman__ | you could theoretically copy the package list too but I don't know where that is | 01:23 |
pythonirc1011 | I was thinking of creating a raw disk image of the machine...but thats problematic clearly | 01:24 |
pythonirc1011 | all config files will be broken | 01:24 |
pythonirc1011 | including fstab | 01:24 |
qman__ | no, cloning will only break a couple things | 01:24 |
qman__ | fstab if it's by uuid | 01:24 |
qman__ | and persistent network cards | 01:24 |
pythonirc1011 | thats it? | 01:24 |
qman__ | /etc/udev/rules.d/70-persistent-net | 01:24 |
qman__ | I might be forgetting something, but yeah | 01:25 |
pythonirc1011 | device drivers would be different , isnt it? | 01:25 |
qman__ | if they don't ever have to communicate on the same network, duplicate hostname and IP is fine | 01:25 |
qman__ | drivers are all included in the kernel and modules | 01:25 |
qman__ | the only time that would come into play is if you had to do something non-default to get your hardware to work | 01:25 |
qman__ | just make up an archive of the handful of files you need to change for your non-production version | 01:27 |
qman__ | then you can image, and unpack those configs over the image | 01:27 |
pythonirc1011 | 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:27 |
pythonirc1011 | thats what i was hoping to do, but have never done such a thing... | 01:28 |
qman__ | well, your disk doesn't have a valid partition table | 01:28 |
pythonirc1011 | am mainly worried about the hard drive part | 01:28 |
qman__ | virtual to hardware may be the issue you're seeing | 01:28 |
pythonirc1011 | indeed, and i've no clue how it will work when i move it into a vm | 01:28 |
qman__ | in that case, copy the filesystem, or all files on the filesystem instead | 01:28 |
qman__ | other way around that is to use the same VM software on both ends | 01:29 |
pythonirc1011 | thats the problem -- the cloud people wont give me their vm -- i am on a cheap plan | 01:29 |
qman__ | which has the additional benefit of being in a nice image file to begin with | 01:30 |
pythonirc1011 | but i do have bandwidth, so i can copy the entire drive | 01:30 |
qman__ | I'd rsync with exceptions then | 01:30 |
qman__ | like /proc and whatnot | 01:30 |
patdk-lap | rsync with the -x flag, single filesystem | 01:30 |
patdk-lap | that is what I normally do so I don't need craploads of exceptions | 01:31 |
qman__ | yeah | 01:31 |
patdk-lap | I think it's -x atleast :) | 01:31 |
qman__ | I don't use it enough to know | 01:32 |
qman__ | but I do know it's up to the job | 01:32 |
pythonirc1011 | 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:32 |
qman__ | basically, but it'd work better like this | 01:33 |
qman__ | you rsync single filesystem and add exceptions for fstab, 70-persistent-net, /etc/hosts, /etc/hostname | 01:33 |
qman__ | and you boot a live disc on host B first | 01:33 |
qman__ | or any other method, just to give you access to the non-running host b | 01:34 |
pythonirc1011 | i see | 01:35 |
pythonirc1011 | sounds not that trivial. Hasnt someone written a script to do this already? | 01:36 |
qman__ | you may run into other files that are better to skip too, but that's the basic idea | 01:36 |
pythonirc1011 | A --> clone over network to B? | 01:36 |
qman__ | it's a one-line rsync | 01:36 |
qman__ | you can probably find it on google, but a script is overcomplicating it | 01:36 |
pythonirc1011 | indeed it should be , except the list of config files | 01:38 |
pythonirc1011 | in my case , "A" is heavily configured already. so even a install on B will be very different than A | 01:39 |
qman__ | 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 |
qman__ | it's reasonably hardware agnostic, by design | 01:47 |
pythonirc1011 | qman__: where can i find the list? | 01:48 |
pythonirc1011 | and perhaps i will have to reconfigure those files on B -- overwrite them or not copy them - eitherways. | 01:48 |
=== dendro-afk is now known as dendrobates | ||
=== sixstringsg is now known as sixstringsg|away | ||
gateSmalls | 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:06 |
gateSmalls | hello?? <.<? ?>.> | 03:08 |
=== dendrobates is now known as dendro-afk | ||
Zanzacar | 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:30 |
Zanzacar | 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. | 04:31 |
=== sixstringsg|away is now known as sixstringsg | ||
=== sixstringsg is now known as sixstringsg|away | ||
Zanzacar | I guess I will start off checking out libre-base and see where that gets me. | 04:33 |
=== dendro-afk is now known as dendrobates | ||
=== dendrobates is now known as dendro-afk | ||
shey | hi, has anyone made any experiance running an ubuntu server with btrfs and can offer some general advice? | 10:46 |
smw | shey, ask you question | 11:25 |
shey | smw: i did | 11:26 |
smw | shey, I don't see a real question :-P | 11:27 |
smw | shey, is it a production system? If so, don't use btrfs | 11:27 |
smw | shey, if it isn't... what type of advice are you looking for? | 11:27 |
smw | I use it for my home fileserver | 11:28 |
shey | smw: its a nas device for my home, it's not for storing really important things | 11:28 |
shey | mainly nfs sharing | 11:28 |
shey | i just want to avoid using dmraid and converting it later | 11:28 |
shey | smw: have you encountered any problems along the way? | 11:29 |
smw | shey, nope, it just works | 11:29 |
Nafallo | well, there is no working fsck for it, so it has potential to be unfixably broken. | 11:30 |
shey | Nafallo: i'll roll with the fact that it will be available before my fs breaks then :p | 11:32 |
Nafallo | heh | 11:32 |
shey | smw: are you on 12.04 by any chance? | 11:32 |
smw | shey, no | 11:33 |
samba35 | i have ubuntu server 10.04 ,how do i wake-up a system over internet | 12:58 |
patdk-lap | normally you have to use another system that has local lan access to it, to send the wol packet | 13:06 |
samba35 | ok | 13:09 |
samba35 | thanks | 13:09 |
samba35 | patdk-lap, do u have any idea on kvm networking | 13:10 |
patdk-lap | sure, its the same as non-kvm networking | 13:12 |
samba35 | i try but i am not able to configure guest for networking | 13:12 |
samba35 | or rather i am confused in using mode of network | 13:13 |
=== sixstringsg|away is now known as sixstringsg | ||
=== sixstringsg is now known as sixstringsg|away | ||
edgy | hallyn: hi | 14:53 |
=== dendro-afk is now known as dendrobates | ||
=== dendrobates is now known as dendro-afk | ||
=== dendro-afk is now known as dendrobates | ||
Sna4x8 | 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). | 16:09 |
randallz | What are some of the places to look if ssh connections on a local virtual machine are refused? | 17:09 |
randallz | ufw status \ Status: inactive | 17:10 |
randallz | ps -ef | grep sshd \ root … /usr/bin/sshd -D | 17:11 |
randallz | 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:13 |
randallz | eth1 | 17:20 |
edgy | randallz: what's the error you get? | 17:37 |
randallz | edgy: http://pastebin.com/HdvFYk0i | 17:39 |
randallz | I am trying to connect to eth1 on a virtual box machine that has "host-only" connected to eth1 | 17:40 |
edgy | randallz: please paste the output of ifconfig | 17:40 |
randallz | edgy this is the guest http://i.imgur.com/C5DkR.png | 17:42 |
edgy | randallz: what's the output of iptables -nL | 17:43 |
edgy | randallz: you are trying to connect from the guest to the guest? | 17:45 |
randallz | I am trying to connect from the host to guest, but I cannot connect from guest to guest either | 17:46 |
randallz | iptables -nL for INPUT, FORWARD, and PUTPUT is empty | 17:47 |
randallz | ufw status is "Status: inactive" though so I think it shouldn't block anything | 17:48 |
randallz | nmap from the host gives me "All 1000 scanned ports on 10.0.1.33 are filtered (502) or closed (498)" | 17:48 |
edgy | 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 |
edgy | randallz: try nmap from guest to itself | 17:53 |
edgy | randallz: also paste netstat output and see is it really listening on that ip | 17:54 |
randallz | edgy: http://i.imgur.com/tF5ZV.png <-- netstat | 18:00 |
edgy | randallz: paste the output of netstat -tunap | 18:00 |
randallz | edgy http://i.imgur.com/7QDOm.png nmap localhost | 18:01 |
edgy | randallz: no, not nmap localhost, paste nmap 10.0.1.133 | 18:03 |
edgy | randallz: no, not nmap localhost, paste nmap 10.0.1.33 | 18:03 |
randallz | edgy: http://imgur.com/WCq0V netstat -tunap | 18:03 |
randallz | edgy: http://i.imgur.com/Y1H6R.png nmap 10.0.1.33 (from the guest) | 18:04 |
randallz | edgy: it looks like the problem is in the Virtualbox interface to the guest | 18:04 |
edgy | randallz: did you try to restart sshd? | 18:05 |
edgy | randallz: or even better stop it and run it manually in the foreground with ssh -d | 18:06 |
Zanzacar | Does anyone have any experience with project-open? I was just looking for opinions on it and everything. | 18:07 |
randallz | edgy: it gives the same "All 1000 scanned ports on 10.0.1.33 are filtered (502) or closed (498)" | 18:09 |
=== sixstringsg|away is now known as sixstringsg | ||
=== sixstringsg is now known as sixstringsg|away | ||
randallz | 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:11 |
edgy | randallz: mostly | 18:12 |
edgy | randallz: i guess it's better to ask in #vbox | 18:12 |
=== sixstringsg|away is now known as sixstringsg | ||
randallz | 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 |
randallz | 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. | 18:17 |
=== sixstringsg is now known as sixstringsg|away | ||
edgy | randallz: you are welcome, but why not try kvm? | 18:40 |
randallz | edgy: wouldn't that require a linux kernel rather than XNU? | 18:44 |
edgy | randallz: ah! I didn't notice you are working in a Mac | 18:45 |
MattJ | 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 |
edgy | randallz: I would rather trash it and install linux ;) | 18:45 |
randallz | edgy: I wish that os x would run as a guest more easily. The latest does include some pretty nice interface conveniences though | 18:49 |
randallz | edgy: I might also choose Xen since the production machine is on linode | 18:50 |
randallz | edgy: being able to create a machine that I can use on xbox in linux, windows, and mac is pretty convenient though | 18:51 |
edgy | yes | 18:51 |
=== sixstringsg|away is now known as sixstringsg | ||
allowoverride | hi | 19:40 |
=== SJrX is now known as SJr | ||
=== sixstringsg is now known as sixstringsg|away | ||
uvirtbot | New bug: #905804 in bacula (main) "Bacula-dir automated configuration makes a false mysql connection configuration " [Undecided,New] https://launchpad.net/bugs/905804 | 21:30 |
=== 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 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!