[00:14] <Linyuan> I am following the Guide on the https://help.ubuntu.com/community/KVM
[00:14] <Linyuan> I have done all the steps until I got an error on the Installation using the virt-install to install a unix VM.
[00:14] <Linyuan> sudo virt-install --connect qemu:///system -n freebsd6 -r 512 -f freebsd6.img -s 4 -c 7.0-RELEASE-amd64-disc1.iso --vnc --accelerate --noautoconsole
[00:14] <Linyuan> Starting install...
[00:14] <Linyuan> libvir: QEMU error :
[00:14] <Linyuan> libvir: QEMU error :
[00:15] <Linyuan> libvir: QEMU error :
[00:15] <Linyuan> Creating storage file...  100% |[00:15] <Linyuan> Creating domain...                                                 0 B 00:00
[00:15] <Linyuan> Domain installation still in progress.  You can reconnect to
[00:15] <Linyuan> the console to complete the installation process.
[00:15] <Linyuan> I see no actual error message there and I can't connect to the VNC by
[00:15] <Linyuan>   virt-viewer qemu+ssh://192.168.1.115/system
[00:17] <Linyuan> I can see the domain running by virsh list
[00:18] <Linyuan> However I can't connect to it. What should I do?
[00:25] <Linyuan> Could anybody help? I have been working on this problem for more than 6 hours, I really don't want to fall back to the vmware solution for my new VMs.
[00:37] <Linyuan> I have some problem with installing a VM with the virt-install, with no specific error message and I cant connect to the console of the newly created VM. What should I do?
[02:42] <[Solaris]> installing on a mobo with a "hardware' raid .. a.k.a. "fakeRAID" do i need to tell the bios to turn off the raid for a software raid?
[03:05] <[Solaris]> should i disable the fake raid inbios to install on a software raid?
[03:06] <Kamping_Kaiser> you dont have to tell it to turn it off, but you may as well
[03:06] <[Solaris]> kk, just want to make sure my bios is setup right
[03:06] <[Solaris]> for software raid
[03:07] <[Solaris]> any tips for setting up a software raid that isn't really explained much in the howto's?
[03:14] <jmedina> [Solaris]: the official software raid howto
[03:15] <jmedina> [Solaris]: http://tldp.org/HOWTO/Software-RAID-HOWTO.html
[03:23] <[Solaris]> thanks jmedina reading it now
[03:33] <[Solaris]> jmedina thanks for the info ... now its time to see if i can install ubuntu on this raid
[03:49] <[Solaris]> manually configureing the drives during install, do I need to allicate a swap partition and a root partition at this time or .. just set the entire (max size) to "phyical volumn for raid"
[04:05] <randomlogic78> I'm trying to setup a chroot jail for people logging into my server via ssh
[04:05] <randomlogic78> I've got the chroot env set up... but I don't know how to force the users into the chroot when the log in, and prevent them from exiting
[04:20]  * mneptok blinks
[04:20] <mneptok> whose bot is that?
[04:29] <[Solaris]> heh i feel so good now, finually figured out hw to do a software raid setup
[04:30] <[Solaris]> does grub install on all hard drives automatically?
[04:30] <[Solaris]> or do i need to go and install on each drive manually?
[04:39] <sp4sm69> Solaris: i think you need to install to each drive manually
[04:40] <[Solaris]> kk
[05:02] <[Solaris]> erm does grub normally fail on a software raid on a new install?
[06:14] <[Solaris]> strange
[06:14] <[Solaris]> can't install grub, but i can run the restore on the alt. install cd go to cmd prompt for my /dev/md0 and start x
[06:15] <[Solaris]> mdraid showed references to the old raid .. e.g. raid name and number disks was in it
[06:16] <flyback> collapses on the floor crying from the sound of mikey mouse having sex family guy
[06:46] <kees> [Solaris]: if grub didn't work on Intrepid with MD, please file a bug.  kirkland has done a lot of work on it recently, so it should be working.
[06:47] <[Solaris]> kees I'll do that once i figure out how i can get around it .. or if its even my system fault or not
[06:48] <kees> [Solaris]: what's the problem, exactly?
[06:48] <[Solaris]> during install process following https://help.ubuntu.com/community/Installation/SoftwareRAID
[06:48] <[Solaris]> it got to the point where it went to install grub and it puked
[06:49] <[Solaris]> now only way i can get onto my "raid" is go into rescue mode, mount /md0 and go to a shell
[06:49] <[Solaris]> there wasn't even a /boot/grub/menu.lst
[06:50] <kees> that document is out of date (all the manual grub stuff isn't needed now)
[06:50] <kees> what were the errors when it puked?
[06:50] <[Solaris]> and i an't get supergrub to fix it either
[06:50] <[Solaris]> i don't remember lemme go recreate it :P
[06:51] <kees> cool, please open a bug with the output.  that should help kirkland when he looks into it.
[06:51] <[Solaris]> i know 100% sure grub did not install or touch mbr
[06:52] <[Solaris]> i also noticed with mdraid that the disks shoued infomation about its previous life as part of the "fakeraid' (e.g. volumn name and #of disks)
[06:52] <kees> hrm... fakeraid I don't know about.
[06:52] <[Solaris]> fakeraid = so called hardware raid that requires a driver
[06:53] <[Solaris]> its basically software assisted raid to allow windows to see them as a 'raid volumn'
[06:53] <[Solaris]> when ubuntu looks at the them .. it sees the individual drives
[06:54] <kees> yeah, that's the dmraid stuff.  I have no idea how that might impact a normal MD setup.
[06:56] <[Solaris]> well lets see if ican recreate thge flaw...i am at the the point of setting up the drives
[06:56] <[Solaris]> each drive is 400GB ... i dedicated 394 GB to "root" and rest to swap
[06:58] <[Solaris]> that seems big for the swap drive .... now that i think about it 24G just for swap
[07:01] <[Solaris]> reformating root with ext2 format
[07:01] <[Solaris]> this part takes a bit 1.2TB raid
[07:01] <kees> why not ext3?
[07:02] <[Solaris]> no idea
[07:02] <[Solaris]> prolyl should of done ext3
[07:02] <[Solaris]> i'll go back and fix that
[07:03] <[Solaris]> just have to wiat till it finishes what its doing now
[07:09] <[Solaris]> (restarted cuase it was faster then waiting and really lost nothing)
[07:15] <[Solaris]> just waiting for ext3 to finish formating
[07:19] <[Solaris]> instlaling OS
[07:22] <[Solaris]> should be nearing the grub installation
[07:37] <[Solaris]> kees dunno if it passed that point or not, but i be upset if doesn't break again lol
[07:53] <[Solaris]> kees "executing `grub-install (hd0)' failed
[07:53] <[Solaris]> this is a fatel error
[07:54] <[Solaris]> not sure how to get a dump out of that
[07:56] <[Solaris]> can i get it to spit out more info?
[07:57] <[Solaris]> actually
[07:57] <[Solaris]> ctrl-f4 :P
[07:57] <[Solaris]> it saying that stage1 not read correctly
[08:05] <ivoks> do you have any USB devices attached?
[08:06] <ivoks> like a usb stick or disk
[08:06] <[Solaris]> erm a usb mouse
[08:07] <ivoks> are you still installing?
[08:07] <[Solaris]> still in the install sequence but halted at the error
[08:08] <ivoks> ctrl+alt+f2
[08:08] <ivoks> chroot /target /bin/bash
[08:08] <[Solaris]> kk
[08:08] <ivoks> now, is there anything in /boot/grub/?
[08:09] <[Solaris]> yes
[08:09] <ivoks> like device.map, stage1, etc...
[08:09] <[Solaris]> but no menu.lst
[08:09] <ivoks> that's ok
[08:09] <ivoks> cat device.map
[08:10] <ivoks> no such file?
[08:10] <[Solaris]> "(hd0) /dev/sda" "(hd1) /dev/sdb" etc etc "(hd3) /dev/sdd"
[08:11] <ivoks> ok... so are you installing your system on /dev/sda?
[08:11] <[Solaris]> on all
[08:11] <ivoks> all?
[08:11] <[Solaris]> software raid
[08:11] <[Solaris]> ./dev/md0
[08:11] <ivoks> ok... what raid?
[08:11] <[Solaris]> raid5
[08:11] <ivoks> 0, 1, 5?
[08:11] <ivoks> and your /boot is on raid5?
[08:12] <[Solaris]> i believe so
[08:12] <ivoks> that won't work
[08:12] <ivoks> grub can't read from raid5
[08:12] <ivoks> it can from raid1
[08:12] <[Solaris]> ohh... ern
[08:12] <ivoks> otoh, i don't know about lilo
[08:13] <ivoks> but i doubt you could 'spread' MBR over 3 devices :D
[08:13] <[Solaris]> *cough* 4
[08:13] <ivoks> right, 4
[08:13] <ivoks> here's and advice
[08:13] <[Solaris]> well using the alt installation cd
[08:14] <[Solaris]> and going into rescue mode, i can get into the raid
[08:14] <ivoks> create 1GB partition on all four disks
[08:14] <[Solaris]> kk
[08:14] <ivoks> create raid1 with 2 of them and another raid1 with another 2
[08:15] <ivoks> hm... is it possible to create raid1 with 4 disks?
[08:15] <[Solaris]> yes
[08:15] <[Solaris]> raid 1 requires pairs of disks
[08:15] <[Solaris]> i.e. its mirror raid ..iirc
[08:15] <ivoks> then, create raid1 with 4 partitions
[08:16] <ivoks> with those 1GB partitions
[08:16] <ivoks> and mount that raid as /boot
[08:17] <ivoks> create swap partitions and then rest (or just a part) as raid5 for /
[08:17] <[Solaris]> erm i can do that
[08:17] <ivoks> if you are going to swap a lot, then thing about creating raid1 with swap
[08:17] <[Solaris]> what part of the disk is ideal to put the /boot
[08:17] <[Solaris]> not planning on swapping
[08:18] <ivoks> i usually put swap on the begining, cause r/w on the begining of disk is a bit faster
[08:18] <[Solaris]> i would be using raid 0 or 10 if it wasn't for having a bad mem stick killing several raid attempts
[08:18] <ivoks> and then /boot
[08:18] <[Solaris]> how big does /boot really need to be
[08:18] <[Solaris]> blah i have plenty of room
[08:19] <ivoks> depends on a liftime of server :)
[08:19] <ivoks> lots of kernels could end up there
[08:19] <[Solaris]> 4 400.1G drifves
[08:19] <ivoks> 500MB should be enough
[08:19] <[Solaris]> 500mb / 4 = 125mb per
[08:20] <ivoks> no
[08:20] <ivoks> 500MB on each
[08:20] <ivoks> eaquals 500MB :)
[08:20] <ivoks> cause you are mirroring
[08:20] <[Solaris]> heh i was thinking raid 5
[08:20] <[Solaris]> but even that was wrong
[08:20] <ivoks> in raid5, 125MB each would be 325MB total
[08:21] <ivoks> 375
[08:21] <ivoks> :)
[08:21] <[Solaris]> see neither of us can do math
[08:21] <[Solaris]> so lemme restart
[08:22] <[Solaris]> erm i could try
[08:22] <[Solaris]> raiding disk 1 and 2
[08:23] <[Solaris]> raiding disk 3 and 4
[08:23] <[Solaris]> then raid raid 1 with raid 2 :P
[08:23] <[Solaris]> j/k
[08:24] <ivoks> no
[08:24] <ivoks> raid all four of them
[08:24] <ivoks> if possible
[08:24] <ivoks> if not, then like you said raid 1+1 :D
[08:25] <[Solaris]> i been working on getting this pc setup since tuesday :P
[08:25] <[Solaris]> first I tried installing winxp64 pro.... had memory problems killing "fakeraid"
[08:27] <[Solaris]> then i tired dualbooting with hardware raid .. that didn't work then... then just virtualize ubuntu inside winxp64 till memory killed the raid. .(found out the problem this time and removed the ill stick)
[08:27] <[Solaris]> so i said screw it and started installing ubuntu :P
[08:28] <ivoks> which hardware raid?
[08:29] <[Solaris]> ich9
[08:29] <[Solaris]> on a gigabyte p35 board
[08:29] <ivoks> i doubt that's a hardware raid :)
[08:30] <[Solaris]> its a fakeraid
[08:30] <ivoks> right :)
[08:30] <[Solaris]> i want /boot to be bootable i assume :P
[08:33] <[Solaris]> ohh erm
[08:33] <[Solaris]> so with a raid1 you have 4 disks
[08:33] <[Solaris]> first disk is pri the second, third, fourth are just redudents
[08:34] <[Solaris]> so the size is still 500 mb
[08:34] <[Solaris]> its not commulative
[08:34] <ivoks> right
[08:34] <[Solaris]> so 500mb big enough for /boot
[08:34] <ivoks> yes
[08:34] <[Solaris]> kk
[08:34] <[Solaris]> going to add swap now :P
[08:35] <ivoks>  /boot shouldn't pass 100MB, but just to be sure, 500MB :)
[08:35] <[Solaris]> typically swap is >= 1.5 x memory ?
[08:36] <ivoks> not really
[08:36] <ivoks> how much memory do you have?
[08:36] <[Solaris]> 4G
[08:36] <ivoks> 2GB should be enough
[08:36] <ivoks> you don't want to big swap
[08:36] <ivoks> cause if you fill out 4GB, then something is really wrong
[08:37] <[Solaris]> heh true
[08:37] <ivoks> and if your 'bugy' program starts filling 6 or 8GB
[08:37] <ivoks> you won't be able to log in and kill it
[08:37] <ivoks> cause of big i/o waint caused by writting to disk
[08:37] <ivoks> s/waint/wait/
[08:38] <[Solaris]> erm so 2g / 3 = (2 x 1024 =2048)/3 = 682.6M
[08:38] <[Solaris]> odd ball number :P
[08:39] <ivoks> you want swap in raid5?
[08:39] <[Solaris]> yea
[08:39] <ivoks> i think it would be better just to create 4 swaps
[08:39] <ivoks> without raid
[08:39] <ivoks> imho, that would be faster than raid5
[08:39] <ivoks> but, i could be wrong :)
[08:40] <[Solaris]> swap shouldn't really be used with 4g memory
[08:40] <[Solaris]> either
[08:40] <[Solaris]> iirc
[08:46] <\sh> grmpf...
[08:47] <\sh> did anyone solve linux + bonding + vlan + ipvs via a 4Gbit/s portchannel + port flapping on cisco routers?
[08:47] <\sh> I wonder if I should set spanning-tree portfast on the portchannel ports to stop that..
[08:50] <ivoks> brb
[08:58] <[Solaris]> ivoks well got it installing now
[08:58] <[Solaris]> we'll see if it works
[08:58] <[Solaris]> prolly another 30 mins or so
[08:59] <ivoks> it will work :)
[08:59] <[Solaris]> ivoks this stuff (playing with disks and partitions) reminds me of the days of slackware and the dreaded 24+ floppies
[08:59] <ivoks> :)
[09:00] <[Solaris]> when you had to partition out your drive for various things lol
[09:28] <[Solaris]> looks like its cleaning up from the installs
[09:28] <[Solaris]> this is going to be nice
[09:28] <ivoks> :)
[09:28] <[Solaris]> installing grub
[09:29] <[Solaris]> and it...
[09:29] <[Solaris]> didn't work
[09:29] <ivoks> how come?
[09:29] <[Solaris]> stage1 not read correctly
[09:29] <ivoks> alt f2
[09:30] <ivoks> chroot /target /bin/bash
[09:30] <[Solaris]> at bash
[09:30] <ivoks> grub
[09:30] <ivoks> ind /grub/stage1
[09:31] <ivoks> find /grub/stage1
[09:31]  * [Solaris] waits for the probing to stop
[09:32] <[Solaris]> error 15: file not found
[09:32] <ivoks> quit
[09:33] <ivoks> is there anything in /boot/grub?
[09:33] <[Solaris]> yepp
[09:34] <ivoks> stage1?
[09:34] <[Solaris]> yepp
[09:35] <ivoks> in device.map, hd0 is mapped to /dev/sda?
[09:35] <ivoks> should be /dev/md0
[09:35] <[Solaris]> nope
[09:36] <ivoks> or md1, depends on what is /boot
[09:36] <\sh> grmpf...where do someone get real serial cables nowadays, which are working with heartbeat...well, ucast does work too...
[09:36] <[Solaris]> it has /dev/sda
[09:36] <[Solaris]> instea of /dev/md0
[09:36] <ivoks> open it, change /dev/sda to /dev/md0
[09:38] <ivoks> did you?
[09:40] <[Solaris]> heh took a momment to remember my vi commands
[09:40] <[Solaris]> but yea
[09:42] <ivoks> now run grub
[09:43] <[Solaris]> erm so this part trial and error to see which /dev/md* /boot is on?
[09:43] <[Solaris]> still didn't find stage one
[09:43] <[Solaris]> err /grub/stage1
[09:43] <ivoks> root (hd0,0)
[09:44] <[Solaris]> kk
[09:45] <ivoks> no errors?
[09:45] <[Solaris]> nope
[09:45] <[Solaris]> just echoed the command back to me
[09:45] <ivoks> setup (hd0)
[09:45] <ivoks> er... hm...
[09:45] <[Solaris]> that had errors
[09:46] <ivoks> of course...
[09:46] <ivoks> i gave you wrong instructions :)
[09:46] <[Solaris]> heh
[09:46] <ivoks> just a second...
[09:47] <ivoks> so... hd0 should be /dev/sda
[09:47] <ivoks> that was ok
[09:47] <ivoks> sorry for that
[09:47] <[Solaris]> heh
[09:47] <ivoks> so, change it back :)
[09:48] <ivoks> now, do 'cat /proc/mdstat'
[09:48] <[Solaris]> done
[09:48] <ivoks> check if md0 is in sync or still syncing
[09:48] <[Solaris]> no such file or directory
[09:48] <ivoks> exit the chroot
[09:48] <ivoks> just enter exit
[09:49] <[Solaris]> done
[09:49] <ivoks> cat /proc/mdstat
[09:50] <[Solaris]> what you want to know
[09:50] <[Solaris]> its a quarter page long
[09:50] <ivoks> md0 :
[09:50] <ivoks> should be something like:
[09:50] <ivoks> md0 : active raid1 sda1[0] sdb1[1] sdc1[2] sdd1[3]
[09:51] <ivoks> my guess is that sda1 isn't the 0
[09:51] <ivoks> or sda2
[09:51] <[Solaris]> md0 : active raid1 sdd1[3] sdc1[2] sdb1[1] sda1[0]
[09:52] <ivoks> ah, i tought so...
[09:52] <[Solaris]> 489856 blocks [4/4] [UUUU]
[09:52] <ivoks> all UUUU?
[09:52] <ivoks> nice...
[09:52] <ivoks> sda1 was the last to sync, and the installer tried to read stage1 from it
[09:53] <ivoks> and failed, cause it was out of sync :)
[09:53] <ivoks> that's my guess
[09:53] <[Solaris]> so how we 'resync' thm
[09:53] <ivoks> they are in sync how
[09:53] <ivoks> now
[09:53] <ivoks> so, go back to alt+f1
[09:53] <ivoks> and try re-running grub installer
[09:54] <[Solaris]> kk
[09:54] <[Solaris]> nope
[09:54] <ivoks> try with lilo
[09:55] <[Solaris]> heh lilo atkeast ask what raid to put it on
[09:55] <[Solaris]> fatel
[09:55] <[Solaris]> only raid1 devices are supported as boot devices
[09:55] <[Solaris]> raid1 = /boot
[09:56] <[Solaris]> and i flagged that as bootable
[09:57] <ivoks> strange...
[09:57] <ivoks> ok, try this
[09:57] <ivoks> chroot /target /bin/bash
[09:57] <[Solaris]> kk
[09:57] <ivoks> cp /usr/lib/grub/i386-pc/* /boot/grub/
[09:58] <ivoks> grub
[09:58] <ivoks> find /grub/stage1
[09:58] <[Solaris]> i don't ahve i386 :p
[09:58] <ivoks> ah... 64bit?
[09:58] <[Solaris]> yea
[09:58] <ivoks> then x64..whatever :)
[09:59] <[Solaris]> heh
[09:59] <[Solaris]> in grub
[10:01] <[Solaris]> can't find stage1
[10:01] <ivoks> bummer
[10:02] <ivoks> i really don't have any ideas now...
[10:02] <[Solaris]> how do i check the intergity of the raids and thier mount points
[10:02] <ivoks> try with /boot on two disk mirror
[10:02] <ivoks> cat /proc/mdstat
[10:02] <ivoks> that will tell you the state or raids
[10:02] <[Solaris]> make sure i don't have another raid flagged bootable
[10:02] <ivoks> that's irrelevant
[10:03] <ivoks> i'll be back later
[10:03] <ivoks> you can always setup /boot on raid1 with two disks or with /boot on only one disk
[10:04] <ivoks> after that you can play with partitions after you install your system
[10:04] <ivoks> that's 8.04, right?
[10:05] <[Solaris]> in cat /proc/mounts i don't think i see "/boot" in there
[10:05] <[Solaris]> yea this is 8.04
[10:05] <[Solaris]> the system is installed
[10:23] <[Solaris]> erm my "/root" raid is resynching dunno if that would be part of the problem or not
[10:23] <[Solaris]> ~70% don
[10:23] <[Solaris]> e
[10:43] <ivoks> [Solaris]: root sync isn't relevant...
[10:43] <ivoks> [Solaris]: /boot is your problem
[10:43] <[Solaris]> yea
[10:43] <ivoks> [Solaris]: i never had any problems with /boot on raid1 of two disks...
[10:43] <ivoks> maybe you should try that
[10:45] <[Solaris]> heh could use mdadm to disable 2 of the drives/partition of /dev/md0
[10:45] <[Solaris]> but don't think that would resolve the issue
[10:45] <[Solaris]> what prolly i should of done
[10:45] <[Solaris]> is done 2 disk with the other two disks as standby
[10:46] <[Solaris]> dunno if i cna change that w/o reinstalling
[10:47] <[Solaris]> how can i tell if /dev/md0 is actually mounted anywhere
[10:47] <[Solaris]> fstab?
[10:52] <[Solaris]> when i mount /dev/md0 to /mnt
[10:52] <[Solaris]> and do a ls
[10:52] <[Solaris]> it is empty
[10:52] <ivoks> empty?
[10:52] <[Solaris]> yea
[10:53] <ivoks> you didn't set up a mount point?
[10:53] <[Solaris]> shouldn't it contain all that "boot" stuff
[10:53] <ivoks> ah... your boot is still on raid5 :D
[10:53] <[Solaris]> yea
[10:53] <ivoks> doh...
[10:53] <[Solaris]> and the raid5 doesn't have a bootflag
[10:53] <ivoks> md0 shoud be mounted to /boot
[10:54] <ivoks> during partitioning, when you create md0, you have to define mountpoint
[10:54] <ivoks> it shoud be /boot
[10:54] <[Solaris]> i suppose i can use fdisk to recreate it
[10:54] <ivoks> no, no need
[10:54] <[Solaris]> i think mdadm can fix it
[10:54] <ivoks> just go back to partitioning
[10:54] <[Solaris]> won't let me
[10:54] <ivoks> and choose /boot as a mountpoint for /dev/md0
[10:55] <[Solaris]> cuase everything already installed
[10:55] <ivoks> ok
[10:55] <ivoks> let's do it like this
[10:55] <ivoks> alt+f2
[10:55] <[Solaris]> kk
[10:55] <ivoks> umount /mnt (or wherever you've mount it)
[10:55] <[Solaris]> kk
[10:56] <ivoks> mkdir /boot_tmp
[10:56] <[Solaris]> on the target
[10:56] <ivoks> cp -a /target/boot/* /boot_tmp/
[10:56] <[Solaris]> or ..
[10:56] <ivoks> mount /dev/md0 /target/boot
[10:56] <ivoks> cp -a /boot_tmp/* /target/boot/
[10:58] <[Solaris]> with it mounted try grub?
[10:59] <ivoks> not yet...
[10:59] <ivoks> nano /target/etc/fstab
[10:59] <ivoks> and add:
[10:59] <ivoks> /dev/md0 /boot ext3 relatime 0 0
[10:59] <ivoks> at the end
[10:59] <[Solaris]> heh can't nano
[10:59] <ivoks> nano-tiny
[11:00] <ivoks> (grmph... we should have vim-tiny by default in server)
[11:00] <[Solaris]> vi for the wind!
[11:00] <[Solaris]> err win
[11:02] <[Solaris]> err helps if i remember all my vi cmd
[11:02] <ivoks> i - insert
[11:02] <ivoks> shift g - last line
[11:03] <ivoks> o - open new line underneeth current, with insert
[11:03] <ivoks> esc - exit insert
[11:03] <ivoks> :wq - save and quit
[11:03] <ivoks> basicaly, you need:
[11:03] <ivoks> shift g
[11:03] <ivoks> o
[11:03] <ivoks> /dev/md0 /boot ext3 relatime 0 0
[11:03] <ivoks> [Esc]
[11:03] <ivoks> :wq
[11:06] <[Solaris]> done
[11:06] <[Solaris]> heh the other two are done via UUID numbers :P
[11:06] <ivoks> don't worry about that now
[11:07] <ivoks> we'll change that later
[11:07] <ivoks> now, try reinstalling grub
[11:07] <ivoks> in installer
[11:08] <[Solaris]> heh
[11:08] <[Solaris]> find /grub/stage1
[11:08] <[Solaris]> worked!
[11:08] <[Solaris]> on all 4 drives
[11:08] <ivoks> forget that now
[11:08] <ivoks> quit the grub
[11:08] <ivoks> alt+f1
[11:09] <ivoks> and try reinstalling grub
[11:09] <ivoks> everything should work now
[11:10] <[Solaris]> gah dunno what happen it took me bakc to partition disks
[11:10] <[Solaris]> i walked out the room for a sec
[11:10] <[Solaris]> lemm try again
[11:11] <[Solaris]> think with all that previous mounting and unmounting i unmounted /target?
[11:12] <ivoks> wouldn't it be easier just to start again with partitioning and installing?
[11:12] <ivoks> and this time with /dev/md0 as a mountpoint
[11:13] <ivoks> you won't have to partition everything again, since you allready did
[11:13] <[Solaris]> thats what i am doing now..
[11:13] <ivoks> don't forget marking /dev/md0 as /boot mountpoint
[11:14] <[Solaris]> it didnt touch /boot or / ... some reason it formated the swap
[11:14]  * [Solaris] shrug
[11:14] <ivoks> maybe you didn't select 'No, format it' on 'Keep data?' question :)
[11:14] <ivoks> just bellow the mountpoint option
[11:15] <[Solaris]> prolyl
[11:15] <[Solaris]> cuase i didnt' go into /swap
[11:15] <ivoks> it always formats swap
[11:16] <[Solaris]> i wonder if this going to rewrite /etc/fstab
[11:16] <ivoks> it will reinstall everything :)
[11:17] <[Solaris]> ohh boy
[11:17] <[Solaris]> wife might be awake be the tme this is done :P
[11:19] <ivoks> well, you should've be carefull first time :)
[11:20] <[Solaris]> not holding my breath till this done :p
[11:20] <[Solaris]> "debootstrap warning"
[11:21]  * [Solaris] sighs
[11:22] <[Solaris]> going to start over
[11:22] <ivoks> :D
[11:22] <[Solaris]> somehow it lost /target
[11:25] <ivoks> when you enter partitioning now
[11:25] <ivoks> first thing you have to do is go to 'Manual'
[11:25] <ivoks> and then 'Software RAID setup'
[11:25] <ivoks> this will activate your raid devices you've created before
[11:25] <[Solaris]> i am almost to that point
[11:25] <[Solaris]> there now
[11:26] <ivoks> great... did you activate them?
[11:27] <[Solaris]> yea
[11:27] <[Solaris]> setting mount points
[11:27] <[Solaris]> should I also include labels
[11:27] <ivoks> choose format partition
[11:27] <[Solaris]> e.g. /boot be labeld "boot"
[11:27] <ivoks> no need, labels are old and bad :D
[11:27] <[Solaris]> heh
[11:27] <ivoks> you can have two disks with same label :)
[11:28] <ivoks> don't forget /boot mountpoint for /dev/md0 :D
[11:28] <[Solaris]> heh i didn't
[11:28] <[Solaris]> went down the list
[11:28] <[Solaris]> formating them now
[11:28] <ivoks> great... that's should be ok now
[11:29] <ivoks> i'll be here for next 10 minutes, if you need any help
[11:29] <\sh> now I have to patch heartbeats ldirectord to recognize adobe fms admin calls...crap
[11:30] <[Solaris]> ivoks heh it'll take more then 10 mins to reach the grub install step.. .but i'll keep you on speed-dail
[11:32] <ivoks> [Solaris]: hit alt+f2
[11:32] <ivoks> and run 'mount'
[11:32] <[Solaris]> kk
[11:32] <ivoks> if /dev/md0 is mounted to /target/boot
[11:32] <ivoks> then everything should be fine
[11:33] <ivoks> you can double check with 'cat /proc/mdstat'
[11:33] <ivoks> yo check if md0 is really raid1 :D
[11:33] <[Solaris]> heh gotta wait till the system are formated
[11:33] <ivoks> ah... ext3 for /?
[11:33] <[Solaris]> yepp
[11:33] <ivoks> i always choose XFS when i'm dealing with large partitions
[11:34] <ivoks> so that formating is the longest process in instalation?
[11:34] <ivoks> i was wondering how come your installation lasts for 30 minutes... it's usually done in max. 15 :)
[11:34] <[Solaris]> heh
[11:34] <[Solaris]> root is 1.2TB ext3
[11:34] <[Solaris]> takes a bit to formate
[11:35] <ivoks> 'a bit' :)
[11:35] <\sh> xfs is the best for this
[11:35] <ivoks> right
[11:35] <[Solaris]> well all raids are active and the correct type
[11:35] <\sh> /dev/drbd0            6.9T   74G  6.8T   2% /webzooms
[11:36] <\sh> hehe
[11:36] <[Solaris]> now now don't get me jealous
[11:36] <ivoks> i have one non-drbd 7TB
[11:36] <[Solaris]> having a hard enough time with grub :P
[11:37] <[Solaris]> everything is mounted correctly
[11:37] <ivoks> \sh: if you are using drbd, check out (and help with) https://bugs.edge.launchpad.net/ubuntu/+source/drbd8/+bug/271254
[11:37] <ivoks> :)
[11:39] <ivoks> [Solaris]: still formating?
[11:39] <\sh> ivoks: did he do the first sync ?
[11:39] <[Solaris]> ivoks nope its done
[11:39] <ivoks> \sh: the sync isn't the problem
[11:39] <ivoks> \sh: drbd userland just doesn't see drbd
[11:39] <\sh> ivoks: I do run drbd8 and never had the problem...
[11:39] <ivoks> \sh: this is intrepid
[11:39] <\sh> bah
[11:40] <\sh> kernel ;9
[11:40] <ivoks> i also think it's a kernel issue
[11:40] <ivoks> we took the bullet taking 2.6.27 :/
[11:41] <ivoks> [Solaris]: then check with mount if /dev/md0 is mounted to /target/boot
[11:41] <[Solaris]> [05:36:20] <[Solaris]> everything is mounted correctly
[11:41] <ivoks> ok, ok :)
[11:41] <ivoks> didn't see that one
[11:41] <\sh> ivoks: seems so
[11:42] <ivoks> well... bbl guys
[11:42] <ivoks> [Solaris]: happy ubuntuing ;)
[11:43] <[Solaris]> heh thanks for yhe help
[12:08] <\sh> aye...I don't need to patch ldirectord ;)
[13:02] <[Solaris]> \sh besides irssd any recommendation for irc clients?
[13:08] <\sh> [Solaris]: depends what you want...UI or text...if text==irssie
[13:08] <\sh> if UI: xchat  quassel konversation
[13:11] <[Solaris]> got pretty used to GUI interfaces ...
[13:11] <[Solaris]> slowly changing back over
[17:06] <zzgvh> Is it possible to mount a RAID1 partition on the host form a KVM guest and if so how should the /etc/libvirt/qemu/guest.xml for that look?
[17:18]  * flyback dies laughign again at the sound of mickey mouse humping on family guy
[20:02] <zeroTheHero> hi all,
[20:29] <He1lBound> can I upgrade hardy ubuntu to hardy ubuntu server?
[20:31] <HellMind> can I upgrade hardy ubuntu to hardy ubuntu server?
[20:31] <_ruben> HellMind: sudo apt-get install linux-server .. that'd install the server kernel ..
[20:33] <HellMind> ty
[20:33] <HellMind> is there any big differences between server and normal version?
[20:43] <HellMind> im trying to install ubuntu server on a routeros xen host
[20:46] <_ruben> desktop and server differ in that they have slightly different kernels, and a different set of base applications, but since they use the same repositories, one can be turned into the other 'easily'
[20:55] <HellMind> ok
[20:55] <HellMind> anyone installed ubuntu server on xen host?
[20:57] <_ruben> probably tons of ppl, i never used xen though ;) .. might wanna try in #ubuntu-virt as well, tho that channel isnt that active either most of the time
[20:57] <Deeps> there are issues with ubuntu hardy and xen, look on launchpad, i forget the bugid
[20:58] <HellMind> :(
[21:00]  * [Solars] is curious now on the real difference in kernels and which apps are used between server and non-server
[22:20] <Kapli> I have a problem, on my router I have ports which are opened on specific internal IP's. Sometimes when for example the power goes out and the router resets and such my server gets a different internal IP. Is there any way to get my server to just get the internal IP that I want it to?
[22:21] <[Solars]> have the dhcp assign a static ip address
[22:23] <Kapli> exactly how do i do that? :)
[22:25] <[Solars]> not 100% sure :P
[22:30] <Kapli> i used the command $sudo ifconfig eth0 192.168.10.100 but can i be sure that like if power goes out or something that my server doesnt accept any other ip than that one?
[22:33] <[Solars]> erm i can think you can hardcode your eth0 (again not sure how todo it (been years since i played with *nix))
[22:34] <[Solars]> also you can edit...erm can't remember the file that runs commands after boot... and add that line to adjust the ip
[22:34] <Kapli> well see my problem right now
[22:34] <Kapli> is that i have opened port 80 on 192.168.10.100
[22:35] <Kapli> and when i typed ifconfig on my server it said 192.168.10.102
[22:35] <Kapli> and so if i typed that address in my address bar it would work for me ofc but my external ip wouldnt work for anyone else cuz ye 80 would be opened on 100 and thats not the ip my server had
[22:36] <Kapli> so i typed the command and my ifconfig now says it has 192.168.10.100
[22:36] <Kapli> but it doenst seem like anyone else can connect
[22:37] <Kapli> how can i check if my server has internet
[22:38] <Kapli> if i try to ping something it says unknown host, does that mean it doesnt have internet?
[22:38] <[Solars]> can you open the port for your internal ip range?
[22:38] <[Solars]> unable pings just means there wasn't a ctcp reply
[22:39] <Kapli> ye thats my problem, i cant bcuz i lost the password to my customer pages and i cant request a new one until monday when they are at work
[22:39] <Kapli> well how can i check my server has internet
[22:40] <[Solars]> ohh erm, i'll let soemone else answer if they can help, I prolyl just getting in the way
[22:40] <Kapli> i googled it and they suggest pinging
[22:41] <Kapli> so if pinging doesnt work then it doesnt have net
[22:41] <Kapli> cuz it worked before i changed the internal ip
[22:41] <[Solars]> telnet
[22:41] <[Solars]> ftp
[22:41] <Kapli> telnet to what :D
[22:41] <[Solars]> heh dunno
[22:44] <Kapli> well rebooted, check if config and its 102 now, pinged google and got response, c
[22:44] <Kapli> changed it to 100, pinged again and it says unknown host
[22:57] <arico> hi, greetings for everybody
[22:58] <arico> I have this question: has somebody an idea of how to sync ubuntu computer with UPD connected through serial port ???
[22:58] <arico> * UPS I mean
[22:58] <arico> * not UDP
[23:09] <arico> how does this chat works??
[23:10] <arico> does somebody helps??
[23:10] <arico> or it's just p2p conversations ???
[23:15] <J_5> what is he latest version of ubuntu server?
[23:16] <Nafallo> 8.04.1
[23:17] <Nafallo> even if "daily" is the absolute latest :-P
[23:17] <kgoetz> arico: you ask a questino, and when someone thinks they can help, they answer
[23:17] <kgoetz> latest stable is 8.04.1 (.2 i thought was out, was a mistaken?)
[23:18] <Nafallo> yes.
[23:18] <kgoetz> arico: and perhaps 'apt-cache search ups' will givce you some starting points
[23:18] <Nafallo> you are thinking of 6.06.2
[23:19] <kgoetz> Nafallo: thanks, i likely was.
[23:21] <kgoetz> lease keep in mind that I do not have in hand either the
[23:21] <kgoetz> full GPL text or the source code of the last mmv release (oops).
[23:21] <kgoetz> er, sorry.
[23:21] <kgoetz> win 27
[23:21] <kgoetz> :| not my day
[23:38] <arico> thanks kgoetz for your answer
[23:40] <kgoetz> no worries