/srv/irclogs.ubuntu.com/2011/12/17/#ubuntu-server.txt

=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
pythonirc1011I'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
pythonirc1011Can 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-aroundpythonirc1011: Because it's possible for instance to do mkfs on a raw root device00:46
pythonirc1011genii-around: ?00:47
pythonirc1011so fdisk doesnt understand what kind of device it is ?00:47
pythonirc1011but mount tells me its ext3?00:48
genii-aroundpythonirc1011: eg: on an unpartitioned /dev/sda for instance, you can mkfs /dev/sda    ... it will have no partitions be be mountable00:48
pythonirc1011oh i see00:48
genii-around( as oppsed to first making a partition sda1 and then mounting that )00:48
pythonirc1011how do you list from cylinder to what cylinder it spans?00:48
pythonirc1011genii-around: Thanks.00:58
virusuyhowdy01:00
pythonirc1011if 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 files01: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 anything01:19
qman__well, provided you have all the updates it needs01:19
pythonirc1011qman__: thanks01:21
qman__actually it would still have to download the package list, it'd just be able to skip all the package files you copied01:23
pythonirc1011qman__: 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 is01:23
pythonirc1011I was thinking of creating a raw disk image of the machine...but thats problematic clearly01:24
pythonirc1011all config files will be broken01:24
pythonirc1011including fstab01:24
qman__no, cloning will only break a couple things01:24
qman__fstab if it's by uuid01:24
qman__and persistent network cards01:24
pythonirc1011thats it?01:24
qman__ /etc/udev/rules.d/70-persistent-net01:24
qman__I might be forgetting something, but yeah01:25
pythonirc1011device 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 fine01:25
qman__drivers are all included in the kernel and modules01:25
qman__the only time that would come into play is if you had to do something non-default to get your hardware to work01:25
qman__just make up an archive of the handful of files you need to change for your non-production version01:27
qman__then you can image, and unpack those configs over the image01:27
pythonirc1011how 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
pythonirc1011thats 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 table01:28
pythonirc1011am mainly worried about the hard drive part01:28
qman__virtual to hardware may be the issue you're seeing01:28
pythonirc1011indeed, and i've no clue how it will work when i move it into a vm01:28
qman__in that case, copy the filesystem, or all files on the filesystem instead01:28
qman__other way around that is to use the same VM software on both ends01:29
pythonirc1011thats the problem -- the cloud people wont give me their vm -- i am on a cheap plan01:29
qman__which has the additional benefit of being in a nice image file to begin with01:30
pythonirc1011but i do have bandwidth, so i can copy the entire drive01:30
qman__I'd rsync with exceptions then01:30
qman__like /proc and whatnot01:30
patdk-laprsync with the -x flag, single filesystem01:30
patdk-lapthat is what I normally do so I don't need craploads of exceptions01:31
qman__yeah01:31
patdk-lapI think it's -x atleast :)01:31
qman__I don't use it enough to know01:32
qman__but I do know it's up to the job01:32
pythonirc1011ok, 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 this01:33
qman__you rsync single filesystem and add exceptions for fstab, 70-persistent-net, /etc/hosts, /etc/hostname01:33
qman__and you boot a live disc on host B first01:33
qman__or any other method, just to give you access to the non-running host b01:34
pythonirc1011i see01:35
pythonirc1011sounds 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 idea01:36
pythonirc1011A --> clone over network to B?01:36
qman__it's a one-line rsync01:36
qman__you can probably find it on google, but a script is overcomplicating it01:36
pythonirc1011indeed it should be , except the list of config files01:38
pythonirc1011in my case , "A" is heavily configured already. so even a install on B will be very different than A01: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 release01:47
qman__it's reasonably hardware agnostic, by design01:47
pythonirc1011qman__: where can i find the list?01:48
pythonirc1011and 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
gateSmallshello 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 port03:06
gateSmallshello??   <.<?     ?>.>03:08
=== dendrobates is now known as dendro-afk
ZanzacarI am looking for some advice on software. I am trying to find something to keep track of my project and clients and everything04:30
Zanzacardoes 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
ZanzacarI 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
sheyhi, has anyone made any experiance running an ubuntu server with btrfs and can offer some general advice?10:46
smwshey, ask you question11:25
sheysmw: i did11:26
smwshey, I don't see a real question :-P11:27
smwshey, is it a production system? If so, don't use btrfs11:27
smwshey, if it isn't... what type of advice are you looking for?11:27
smwI use it for my home fileserver11:28
sheysmw: its a nas device for my home, it's not for storing really important things11:28
sheymainly nfs sharing11:28
sheyi just want to avoid using dmraid and converting it later11:28
sheysmw: have you encountered any problems along the way?11:29
smwshey, nope, it just works11:29
Nafallowell, there is no working fsck for it, so it has potential to be unfixably broken.11:30
sheyNafallo: i'll roll with the fact that it will be available before my fs breaks then :p11:32
Nafalloheh11:32
sheysmw: are you on 12.04 by any chance?11:32
smwshey, no11:33
samba35i have ubuntu server 10.04 ,how do i wake-up a system over internet12:58
patdk-lapnormally you have to use another system that has local lan access to it, to send the wol packet13:06
samba35ok13:09
samba35thanks13:09
samba35patdk-lap, do u have any idea on kvm networking13:10
patdk-lapsure, its the same as non-kvm networking13:12
samba35i try but i am not able to configure guest for networking13:12
samba35or rather i am confused in using mode of network13:13
=== sixstringsg|away is now known as sixstringsg
=== sixstringsg is now known as sixstringsg|away
edgyhallyn: hi14:53
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
Sna4x8I'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
randallzWhat are some of the places to look if ssh connections on a local virtual machine are refused?17:09
randallzufw status \ Status: inactive17:10
randallzps -ef | grep sshd \ root … /usr/bin/sshd -D17:11
randallzifconfig \ 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
randallzeth117:20
edgyrandallz: what's the error you get?17:37
randallzedgy: http://pastebin.com/HdvFYk0i17:39
randallzI am trying to connect to eth1 on a virtual box machine that has "host-only" connected to eth117:40
edgyrandallz: please paste the output of ifconfig17:40
randallzedgy this is the guest http://i.imgur.com/C5DkR.png17:42
edgyrandallz: what's the output of iptables -nL17:43
edgyrandallz: you are trying to connect from the guest to the guest?17:45
randallzI am trying to connect from the host to guest, but I cannot connect from guest to guest either17:46
randallziptables -nL for INPUT, FORWARD, and PUTPUT is empty17:47
randallzufw status is "Status: inactive" though so I think it shouldn't block anything17:48
randallznmap from the host gives me "All 1000 scanned ports on 10.0.1.33 are filtered (502) or closed (498)"17:48
edgyrandallz: I am not familiar with virtualbox but i think host only would only allow you to connect from guest to host not vice versa17:53
edgyrandallz: try nmap from guest to itself17:53
edgyrandallz: also paste netstat output and see is it really listening on that ip17:54
randallzedgy: http://i.imgur.com/tF5ZV.png <-- netstat18:00
edgyrandallz: paste the output of netstat -tunap18:00
randallzedgy http://i.imgur.com/7QDOm.png nmap localhost18:01
edgyrandallz: no, not nmap localhost, paste nmap 10.0.1.13318:03
edgyrandallz: no, not nmap localhost, paste nmap 10.0.1.3318:03
randallzedgy: http://imgur.com/WCq0V netstat -tunap18:03
randallzedgy: http://i.imgur.com/Y1H6R.png nmap 10.0.1.33 (from the guest)18:04
randallzedgy: it looks like the problem is in the Virtualbox interface to the guest18:04
edgyrandallz: did you try to restart sshd?18:05
edgyrandallz: or even better stop it and run it manually in the foreground with ssh -d18:06
ZanzacarDoes anyone have any experience with project-open? I was just looking for opinions on it and everything.18:07
randallzedgy: 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
randallzedgy:  doing nmap 10.0.1.33 from the guest was good, since I think it points to a problem in the vbox virtual network18:11
edgyrandallz: mostly18:12
edgyrandallz: i guess it's better to ask in #vbox18:12
=== sixstringsg|away is now known as sixstringsg
randallzedgy:  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 interface18:17
randallzthe 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
edgyrandallz: you are welcome, but why not try kvm?18:40
randallzedgy: wouldn't that require a linux kernel rather than XNU?18:44
edgyrandallz: ah! I didn't notice you are working in a Mac18:45
MattJI couldn't find a relevant place for discussion of cloud-init development... is here a good place? (*looks in smoser's direction*)18:45
edgyrandallz: I would rather trash it and install linux ;)18:45
randallzedgy: I wish that os x would run as a guest more easily. The latest does include some pretty nice interface conveniences though18:49
randallzedgy: I might also choose Xen since the production machine is on linode18:50
randallzedgy: being able to create a machine that I can use on xbox in linux, windows, and mac is pretty convenient though18:51
edgyyes18:51
=== sixstringsg|away is now known as sixstringsg
allowoverridehi19:40
=== SJrX is now known as SJr
=== sixstringsg is now known as sixstringsg|away
uvirtbotNew bug: #905804 in bacula (main) "Bacula-dir automated configuration makes a false mysql connection configuration " [Undecided,New] https://launchpad.net/bugs/90580421: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!