[00:23] I have a fat-32 drive connected and im trying to set it up as a samba share. i have one user named samba, and i was wondering if instead of making the default user/group for the mount root, if i could set the default user and group as samba using umask and gmask. not sure how to do it [00:23] that way i dont need to reformat my disk right now to a *nix format to allow it to work totally properly [00:25] i ran $ id and i see 111(sambashare) but thats not the name of my samba user. [00:31] hi i want to ask..is it possible to built a dns server when i have a dynamic ip? === rgreening_ is now known as rgreening [00:40] shally87: Thats what ddns services are for [00:42] shally87: you can't run a DNS-server on a dynamic IP, if that's what you are asking [00:42] genii: so i need to point a ddns server to my dns server? [00:42] JanC: owh ok..too sad for that.. [00:42] shally87: Thats the idea, yeah. You also can't be an authoritive dns server [00:44] genii: so there is no need for me to built a dns server at the first place unless i want it to have my brand right. Btw how to run multiple website on a single LAMP server? any internet guide that i can use? [00:44] well, you can run a DNS server on a dynamic IP, but it won't work properly ;) [00:44] ok.. [00:44] shally87, I learned how to do that just here [00:44] virtual hosts [00:44] shally87: it's in the apache manual [00:45] shally87: You might want to pay your ISP for a static IP [00:45] I have a static ip, is that good? [00:46] LHC: with static ip you can do a lot..but getting a static ip is too expensive for a student.. [00:46] LHC: if you want to do any serious hosting, a static IP address is a must have [00:46] LHC: It makes life simpler for other boxes to find your domain [00:46] mine came with one without having to pay more [00:46] but I have no use in hosting at home [00:46] LHC: where you live? [00:47] uk [00:47] LHC: internet speed? [00:47] 10meg [00:47] 1mbyte/s [00:48] shally87, why [00:48] download I guess (upload speed is more useful to know for hosting ;) ) [00:48] still if run hosting on a 1Mb speed just so slow right.. [00:48] I know but upload is always less, mines 60kbs [00:48] yeah..upload more impotant [00:48] huh?? [00:48] less than 60kbps? [00:48] yes upload is a must ofc xD [00:48] mine is 60kbytesps [00:48] why not optimize that? [00:49] LOL [00:49] Does anyone know if I can implement a workaround for this vmbuilder bug I've submitted: https://bugs.launchpad.net/vmbuilder/+bug/337083 [00:49] Launchpad bug 337083 in vmbuilder "Multiple --mirror parameters may be required" [Undecided,New] [00:49] thats like dialup man [00:49] anyway, back on-topic [00:50] i still havent get the manual since i install the LAMP server [00:50] you got any fast link? [00:50] ohoh.. [00:50] shally87, you want to know how to vhost [00:50] i just check my self.. [00:50] its easy, k [00:50] LHC: I'm using vbox [00:50] k [00:51] the apache manual is on the apache site (and on you disk if you installed its package) [00:51] and /usr/share/doc/apache2/README.Debian.gz has some useful info too [00:51] oh_noes: you arrive in wrong channel i think.. [00:52] maybe a help in #vmware [00:52] ok.. [00:53] shally87: errr, no... [00:53] JanC: i'll have to read it first.. [00:54] maybe #ubuntu-virt, but not #vmware [00:54] gotta go now..thanks for the help JanC & genii [01:04] Hi all, does anyone know what should i use to expand a VM that's operating from 2 .qcow2 images? [01:12] define "expand" [01:12] jpds: "moved"? it's always been there [01:13] JanC, i ran out of space in the VM and i would like to make it bigger [01:13] jiggles: memory, diskspace, ... ? [01:14] JanC, diskspace (qcow2) [01:16] I'm not sure you can make qcow2 images larger than intended at creation, but if not you could create a new, larger disk image, copy everything, and then use that image instead of the old one... === espacious_ is now known as espacious [01:38] JanC: You can convert the images to raw, grow them, then convert back. [01:39] JanC / jiggles [01:41] Where "grow" means to use a conv=notrunc seek=4G type call to dd. [01:42] Yeah, there's a few blog posts with instructions that come up in Google [01:45] hads, yeah just saw a couple in google [01:45] hads, have you done this before? [01:45] hads: you still would have to grow the FS I suppose? [01:46] jiggles: No, I haven't personally. [01:46] JanC: Yeah [01:55] hads, how would you suggest i grow the FS? [01:57] Using the standard tools for your filesystem, I'm sure one of the blog posts tells you how. [02:01] resize2fs [02:02] However you'd either do that from within the running VM, or by using losetup to get a /dev/loop0 -- since the .raw file will start with an MBR. [02:02] I felt really clever when I worked out to use losetup for that a while back. [02:03] actually i did not see that part of it in the blog posts i read (the few i saw were for windows) [02:03] i'm assuming that i just boot in, and run resize2fs as twb said? [02:04] Doing losetup would be faster, since it'll run in the host environment. But IIRC growing is O(1) anyway. [02:04] http://www.outflux.net/blog/archives/2008/09/03/kvm-disk-image-filesystem-growth-notes/ [02:04] I wish I could use kvm. Sniffle. [02:05] Stupid vmware-server is hogging the VT bits [02:05] :( [02:07] * twb grumbles about the lack of libunique 1.0.6 [02:10] Incidentally, that totally fucked me over. Merely *installing* kvm causes the kvm module to be modprobed in the postinst -- which made my entire system hard-lock. [04:15] Im trying to Intall Ubuntu Server on my Server with Intel Hardware RAID1 Mirror, BUT Ubuntu Hardy is listing all my Drives and not the array I created. Why is this? [04:16] oh_noes: Is it *real* hardware RAID, or fake hardware RAID (perhaps done in the firmware)? [04:18] it's Fake, but I still can't use MDADM [04:18] I don't know what MDADM is, but if it's fake then why not use software RAID? [04:20] mdadm is linux software raid [04:21] If it's fake raid, then I'll need some driver to work. [04:22] I have the driver ... it finds the disks but instead of listing the logical volumes it displays all 6 disks [04:22] oh_noes: I get that too, though I've not tried it on Linux [04:22] hang on, I'll bring up another xterm [04:25] It's been years (literally) since I tried RAID on a Linux box. I'm not sure how it works there. [04:26] oh_noes: my motherboard has such an intel fake raid and I disabled it in the BIOS, maybe yours is too? [04:27] oh_noes: the reason I disabled it is that I want to use mdadm (software raid) instead of fake raid though, as that is what everybody suggests (it's more stable & it's faster...) [04:27] You'll probably be happier on Linux with disabling it (as JanC says) and using mdadm. [04:28] I have Intel fake RAID, and Ive enaled it. And i've created a RAID1 OS Mirror to boot from (2 disks), and a RAID10 Data volume (4 disks) [04:28] but, inside the installer, it Lists all my 6 disks, NOT the 2 logical volumes [04:29] I guess the driver is not loaded (automaticly) then [04:29] but seriously, why use it? [04:30] Because I dont want the added overhead of managing mdadm? [04:30] added overhead? [04:30] * ScottK doesn't recall any either. [04:30] If I lose a drive, will MDADM show up my drive in the server as Red? [04:30] If I replace the drive, will it auto rebuild? [04:31] fake raid will cause more overhead then linux software raid [04:31] than [04:31] there is a reason why it's called *fake* [04:32] no .. it's called fake raid because it doesnt have an onboard processir to handle the XOR's [04:35] telling mdadm to rebuild is 1 command (and you can script it, if you really want) [04:37] Actually you'll get an email telling you something's failed. [05:49] hi [05:50] hello baldaris [05:56] hi.. [05:56] hey i am using ubuntu hardy as my email server.. [05:56] when i am trying to access my email server from remote hosting via smtp using sasl , i am getting authentication error.. [05:57] i have made changes to main.cf [05:57] file.. [05:57] baldaris: #postfix [05:57] yeah [05:57] not here [05:57] can you tell me which channel? [05:57] I just did [05:57] read [05:57] ooh [05:57] thanks [05:58] giovani,hi,i solve the problem ,useing rescue disk rebuild Grub. [05:58] ai3nv39: great [06:05] Using Ubuntu Server 8.04.2, if in the installer I create a LVM Mirror thing, does that use MDADM? [06:06] I want to create a OS Mirror RAID1 (2 disks), then a RAID10 (4 disks) for /data [06:10] six disks total? [06:12] oh_noes,i used Raid controller Create a System just like you~ [06:12] not soft raid [06:16] ball, yes [06:18] oh_noes: I'd turn off fake RAID and do it through software [06:19] I am... [06:20] During the install I selected 'LVM', then selected my 2 disks iwanted to use [06:20] How do I verify I [06:20] How do I verify it's confused as a RAID1? [06:20] I dont have 'mdadm' [06:20] LVM is not RAID [06:21] so how do I deploy a simple RAID1 Mirror OS / ? [06:22] * ball wouldn't like to guess. [06:23] ball: so you keep saying dont use fakeraid, but cant point me in the direction of how to actually deploy software raid1 for ubuntu server? [06:24] oh_noes: I've not used Ubuntu Server enough to be able to guide you, sorry. [06:27] I'm thinking of putting it back on my Dell though [08:03] hi all === mib_2yfun1a6 is now known as naymyowin [08:10] ့င [08:10] hi [08:45] New bug: #339823 in postfix (main) "qmgr process loads the system when using rate_* in custom transports" [Undecided,New] https://launchpad.net/bugs/339823 [08:45] hello [08:46] anybody help me?? [08:54] hey guys, are you using any antivirus + samba? [08:54] <_ruben> !helpme [08:54] Avoid your questions being followed by a trail of "Please, help me", "Can nobody help me?", "I really need this!", and so on. This just contributes to making the channel unreadable. If you are not answered, ask again later; but see also !repeat and !patience [08:58] no [08:58] i have install mail server [08:58] but whenever i typed /etc/init.d/networking restart, i got error of posfix [09:21] hello === _Nicke_ is now known as Nicke [10:35] it seems difficult to log to a fifo file... are there some issues with this kind of logging ? [10:46] MatBoy: don't [10:47] MatBoy: fifos are one-process-to-one-process [10:47] MatBoy: not many-processes-to-one-process [10:47] MatBoy: if you want scalable logging, use datagrams to unix domain socket [10:48] though it will be lossy :) === lamont` is now known as lamont [11:40] domas: but I need to... I need to use it for some mail.* logging [11:40] I told you why it is wrong [11:41] i've added a user to an ldap group, i get see that they are in the right group in getent group, but id doesn't show the group, is there some cache i need to flush? [11:41] <_ruben> having syslogd log to a fifo would qualify as one-process-to-one-process (assuming only 1 process reads from it) [11:42] yep, only one process reads from it [11:44] domas: so, why shouldn't I use it un such case ? [11:44] *in [11:44] (cold hands) [11:44] the problem is with how fifo open/close would work [11:46] but when it's proven to work ? [11:46] I mean... I need the fifo working, nothing else :) [11:52] MatBoy: fifo is first in first out, when data in fifo is read is discarded, so only one reader can use it [11:57] simplexio: yes, I only have one reader ! [11:57] but nothing comes in it seems [12:16] and the idiot of the day award goes to me, [12:18] incorrect: forgot to log out? [12:18] no worse than that [12:19] tried on other machine? [12:19] you won't guess [12:19] so my ldap server has a group, it has a member of 'user1,user2,user3,etc' [12:20] i wonder who user user1,user2,user3 is exactly, [12:20] =) [12:20] should have been "user1","user2","user3", [12:20] it looked right in getent passwd [12:21] but the username had ,'s in it [12:21] too funny [12:22] ok next, i need a semi smart http benchmarking tool, siege doesn't seem good enough as it doesn't pull the 'page' as such just the html contents [12:23] what is wrong with pulling just html :) [12:23] the images are transcoded [12:23] make separate benchmark for that [12:23] i want to simulate real usage [12:24] see where the system bottle necks [12:25] too much dynamic data on the site [12:35] is there a service that i can check to make sure the httpd.conf is configured properly [12:35] in ubuntu [12:36] apache2ctl configtest [12:36] ok let me set up the server on my lappy toppy lol [12:40] kirkland: Before it was mounted as ~/Private, now it's ~/.Private according to df -h. [12:40] Brainstorming: I ran my server on my own up to now. Now I want to grant somebody SSH access (non-root). What things should I check beforehand? My checklist currently is this: - Make sure home-folders are only readable by their owners, - Check folder / file permissions, - ... what else? [12:43] kirkland: I don't have a ~/Private dir either. [12:50] coudl someone help me with a apahce config question i know this is not the room for it but maybe someone can help me [13:00] what is the name of the remote desktop program so i can add it to my hosts.allow file? [13:01] whats a good firewall for ubuntu server? [13:04] I am looking for a website benchmarking tool that can spider a site a couple of levels [13:04] regression testing on a single script is not what i want [13:07] moin [13:26] incorrect: wget? [13:26] thewrath: iptables. [13:26] twb, err no something more like siege [13:56] jpds: ~/.Private has always been the underlying directory that contains the encrypted data [13:57] jpds: you can mount that on top of whatever you want, by editing ~/.ecryptfs/Private.mnt [13:57] jpds: the two supported/official mountpoints are $HOME/Private and $HOME [13:58] jpds: the former i refer to as "encrypted-private" [13:58] jpds: the latter, is encrypted-home [14:20] Some more recent versions of openssh allow chrooting a user (or a group of users). Does that approach *easily* allow granting that user permission to use binaries like wget or others that I did not copy into his chroot? (I want to chroot a user, but don't want to restrict access to scp/sftp only and don't want to copy binaries) [14:22] kirkland: OK; Private.mnt has ~. [14:23] kirkland: So, if I put data into ~/.Private - what happens to it? [14:23] jpds: very bad things [14:23] jpds: you want to write through your encrypted mountpoint to ~/.Private [14:24] jpds: if data gets written to ~/.Private that didn't go through ecryptfs, it's not going to know what to do with it when it tries to read it [14:24] jpds: and you'll get some nastygrams in dmesg [14:24] kirkland: Hmm, OK. [14:24] Thanks. [14:27] jpds: what are you trying to accomplish? [14:27] jpds: encrypted home? or encrypted private? or encrypted nothing? [14:28] encrypted private. [14:29] jpds: okay, after installation, you run 'ecryptfs-setup-private' as your user [14:30] jpds: it should walk you through it [14:30] OK, thanks. [14:52] hi there, 8.10 server, trying to use a 3TB raid5 configuration. if I don't create a 3TB partition, the remaining space is flagged as unasable. Is there something I'm missing or could it be a bug? [15:13] pirroh: have you tried using lvm? [16:00] ghm [16:00] interesting [16:00] I have a server that crashes from time to time, and now I realized kswapd is doing bad stuff there (like here http://p.defau.lt/?Uf1T62Y4gyr_QSsIihQf4w ) [16:01] seems to be another kernel memory leak [16:01] ah, thats 2.6.28, probably not much ubuntu issue [17:41] New bug: #339966 in dovecot (main) "dangerous action: dovecot-postfix force-installs new conf file" [Undecided,Incomplete] https://launchpad.net/bugs/339966 [19:18] Can someone tell me what 'cat /etc/lsb-release' looks like on hardy server verbatim? [19:28] furicle: http://www.pastebin.ca/1356727 [19:28] why would it be a different format than any other release? [19:29] Thank you. My memory is playing tricks on me. I thought -server had a different release file than desktop/alternate installs... [19:31] nope [19:31] that's why there's no -server repository [19:31] it's just a question of which kernel you install, and what packages are installed by default === cjwatson_ is now known as cjwatson === bromic94 is now known as thewrath [21:04] hey all [21:05] what would i use to install a gui on the server [21:06] thewrath: it depends of what you want [21:06] just a gui itnerface [21:06] there is only X, twm, gnome, kde [21:06] which one woudl you reommend jmedina [21:06] or what kind of gui? [21:06] whcih one is the best [21:06] I never use graphics in my servers, only ssh+bash+screen [21:06] this is for a guy at the school i am implementing my senior project at [21:07] oh ok [21:07] of course I use web interfaces to manage some services, but they are specific for the services in my server [21:07] he is trying to use the server as something to help with imaging [21:07] bc zenworks is not likeing vista [21:07] so, it depends wheat you want to do in the GUI [21:08] jmedina: what services you are running if you dont mind me asking [21:08] for my desktop I use KDE (kubuntu) [21:08] oh ok [21:08] i am interested in what others run on their ubuntu server [21:08] file servers, webservices, mail, ldap, dhcp, dns, [21:08] and a lot of web applications [21:09] web applications such as ? [21:09] like phpnuke is that what you mean [21:09] wikis, CMS, CRMs, blogs, system admin, EBOX, Mandriva Directory Server, sarg, [21:09] CRMS and EBOx? [21:10] vtiger, sugarcrm [21:10] what do they do [21:10] never heard of CRMS and Ebox [21:10] ebox-project [21:11] CRM = Customer Relationshipt Managment [21:11] ebox is a web interface [21:11] oh ok [21:11] oh i think ih ave that [21:11] what CRM do u use [21:11] any free versions? [21:11] to manage servers, it runs on ubuntu [21:11] vtiger, sugarcrm [21:12] here, in my job vtiger [21:12] you like vtiger? [21:13] yeap [21:13] it is integrated with our IP PBX asterisk for clic2 call [21:13] oh ok [21:14] what is mandriva directory server [21:14] a web interface to manage LDAP accounts for mail, proxy, samba, dhcp, dns [21:14] oh ok [21:14] open ldap? [21:14] yeap [21:15] i have nothing to use ldap with i wish i did [21:15] well I use it to manage accounts in OpenLDAP, of course in ubuntu hardy servers [21:15] for vtiger to get it sudo apt-get install vtiger? [21:15] http://tuxjm.net/docs/cursos/Samba+OpenLDAP+PAM+NSS-4Ubuntu/html/ [21:15] it is my howto for ubuntu (in spanish) [21:16] oh okay [21:16] i think i found the install guide from their site [21:16] thewrath: I never install web application from apt, I always download from upstream and install by hand, because I want to have the latest [21:16] oh ok [21:16] jmedina: but you would install kubuntu-desktop over server if u had to? [21:16] but htat is my choise [21:17] we did that with ubuntu-desktop and it didnt load the desktop just the command line [21:17] thewrath: kubuntu-desktop nop [21:17] nop? [21:17] I prefere something light, like windowmaker [21:17] :D [21:17] or sometimes I only export DISPLAY or use ssh X forwarding [21:17] okay we tried wtih ubuntu-desktop and it didnt load the gui at all only the command line, any idea why [21:18] start GDM [21:18] /etc/init.d/gdm start and change to TTY7 [21:18] but, fist, install gdm (Display Manager) [21:18] or start X by hand with "startx" [21:19] so install gdm first and then kubuntu-desktop [21:19] no [21:19] install gdm [21:19] /etc/init.d/gdm start [21:19] and login [21:20] i did that as well after i removed ubuntu-desktop [21:20] well you need ubuntu-desktop in order to use GDM [21:20] if you install kubuntu-desktop you can use KDM (kdm package) [21:20] so install gdm and ubutnu-desktop or kubuntu-desktop [21:20] gdm is the graphic login manager [21:20] oh ok [21:21] so install gdm and ubuntu-desktop [21:21] for GNOME, KDM is for KDE [21:21] righ [21:21] yeap [21:21] and then run /etc/init.d/gdm start [21:21] then resetart? [21:21] for servers I prefer to use startx, I dont want to have a X enviroment all the time, only when it is needed, but is started on demand with "startx" [21:22] thewrath: there is no need to restart a servre [21:22] ok [21:22] start gdm, and login via GDM [21:22] oho k [21:22] just doit [21:23] so ubutnu desktop and gdm got it [21:23] i haev to do it at work bc it will take like forever on my net connection to do it so i have to wait till i am in at school [21:24] "bc"? [21:24] thewrath: copy yoiur /etc/apt/archives to the other machine [21:24] because [21:24] or use a I to create a CD /ISO from your cached packages in /var/cache/apt/archives/ [21:25] use a I? [21:25] application [21:25] dont remember the name [21:25] oh ok [21:25] here I only use dpkg --get-selections , copy /var/cache/apt/archives [21:26] do the machine with desktop on it cppy the /etc/apt/archive directory to my machine here at home? [21:26] copy the whole dir to the new machine, then dpkg --set-selections and apt-get upgrade [21:27] i don like copying stuff from one machine to another so what i will do is do it fresh on my machine [21:28] o you ever use webmin? [21:30] I never use webmin [21:30] I dont need it, and I dont like it [21:30] oh ok [21:31] know any other good web admin tools like webmin' [21:31] !ebox [21:31] ebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/eBox [21:32] yea but you haev to configure everything by hand [21:32] which somtimes that is not bad [21:32] any others [21:33] we should add a trigger to ubottu [21:33] wat about fluxbox+ [21:34] fluxbox? [21:34] when someone even thinks of webmin, it should paste the ebox text, and kickban the user [21:34] lol thank you ivoks [21:34] ivoks: ubottu as op? no thanks. [21:34] :) [21:34] chanserv would be fine :) [21:35] ivoks: that wont help, the user will think his connection failed, and then re-login, and ask again for webmin thinking that his last question was not published. [21:35] :) [21:36] it is my experience with some customers :D [21:36] unless you set it up as ban for webmin' [21:36] jmedina: you kickban your customers?! evil! [21:36] sometimes [21:37] when they dont pay [21:37] so... lighttpd doesn't scale on SMP [21:38] it could, we couple of drawbacks [21:38] s/we/with [21:38] lighthttpd? [21:38] like... corrupted access logs [21:38] wat [21:40] i installed fluxbox but how do i start it [21:41] startx [21:41] says not insatlled i can install it by typoing sudo apt get install xinit [21:41] is that right [21:41] command not found [21:42] can not start /etc/X11/X no such file or directory, aborting [21:42] xinit: server error [21:42] /usr/bin/startx: line 166: xauth: command not found [21:43] why do i get that [21:43] i type in starx [21:43] *startx [21:44] any ideas why] [21:46] ScottK: Just to be sure... If a new upstream release (well, bzr snapshot really, but that's rather beside the point, /me thinks) is a bugfix only release, I don't need to go through the FFe process, right? [21:46] soren: know why i get errors when typing in startx [21:47] thewrath: Nope. I do know, though, that it's off-topic for this channel. [21:48] xauth is in xbase-clients, fwiw. [21:48] ...but these sorts of questions belong in #ubuntu, not here. [21:50] why in ubuntu when i am running server [21:53] thewrath: because server is not a different product, it's just a set of server packages -- questions involving X-based guis belong in #ubuntu [21:54] soren: i'm testing web servers in kvm... any idea why i would get very bad results in side kvm (i use virtio for disk and nic)? [21:54] inside [21:54] ivoks: Which version? [21:54] soren: both host and guest are jaunty [21:55] Disk image type? [21:55] file [21:55] qcow2 [21:56] i don't think it's disk, since CPU is almost idle, at least there's no iowait [21:57] is KVM recommended for productions servers? [21:57] I always used paravirtualized servers with Xen [21:57] Works for me [21:57] if fact, fully virtualized always gave poor performance compared to para-vir [22:00] ivoks: On the host, you mean? [22:00] soren: on guest [22:00] guest's cpu is 50% sys, 50%idle [22:01] I've been using KVM in production enviroments running a webserver and email server for 20 or so users since 7.04. It has worked flawlessly for me. [22:02] ivoks: I'd try an lvm backed solution and see if that makes a difference. I'm not convinced you'd see the qcow2 performance overhead or lag exposed in any way in the guest. [22:02] interesting... [22:02] at some point, siege stops requesting pages from guest [22:03] and web server on guest just idles [22:03] it's like there's no communication [22:03] 'lag' describes this perfectly [22:11] soren: If it's bugfix only, no FFe is needed, just document what you did in a bug (if there isn't one already) and close the bug in debian/changelog. [22:11] ScottK: Thought so. Thanks for clearing that up. [22:12] * soren goes to upload [22:12] yw [22:16] Sorry for my question that isn't related to CentOS but strickly sysadmin. I don't know where to ask it... it's a best practice question: I have a 3ware raid controller with RAID1 cluster and 1 of the drive is degraded, I'd like to replace it and do it as fast as possible. My idea is to shutdown the machine swap the drive restart it and recreated the raid after the machine reboot and is running again (to limit the dow [22:16] ntime). Is it better to remove the drive from the unit (software) before shutding down the server or it doesn't matter. I'm hopping to have an automatic rebuilding after the boot [22:16] CentOS? [22:17] Pasting around the place are we [22:17] why just not hot swap it? [22:18] you don't have to remove the driver in 3ware application [22:18] if you can't hot swap it, shut it down, replace the disk, and power it up again [22:19] then rebuild it trough tw_cli [22:19] ivoks, there is no hotswap rack [22:20] I've done this a few times with the 3ware controller, you can hot swap or shut it down like ivoks suggested. one it replaced the RAID should start rebuilding by itself. [22:20] *once its [22:20] i love 3ware and its tools [22:20] olcafo, that's what I m hopping [22:20] and after your raid is synced [22:20] you should format the disk and put ubuntu on it [22:21] you will get significant preformance hit while it rebuilds though... I usually remove network access from the users while this happens. [22:22] olcafo, bad performance is ok ... downtime not really ... [22:22] right, cache is off [22:23] olcafo: you can't tweak the rebuild priority on 3ware? [22:23] I'm paranoid and downtime is acceptable in this setting. [22:23] well, if you can't hot swap, you don't have a choice [22:24] Nafallo, can't say I've ever seen that option. [22:25] olcafo: hm. oki. thanks. [22:25] rebuild priority? [22:25] the thing is that 3ware disables cache on write during rebuild [22:25] that's why performance is worse than when raid is complete [22:25] makes sence. [22:26] tw_cli is my favourite non-free application [22:27] ivoks: sure. that's sensible, but some controllers allow you to set the priority the rebuild will have over normal system tasks as well. [22:27] i know [22:27] you're kind of supposed to be able to use systems duing rebuild :-) [22:27] well, you are [22:27] the system isn't unusable [22:28] it is just slower cause write cache is off... it's like normal disk [22:28] when raid is ok, you have write performance of 150MB/s [22:29] when degraded, it's 20MB/s [22:29] its [22:29] it's [22:29] bah [22:29] well, write speed depends on amount of RAM on controller [22:30] fair enough [22:31] I'm assuming write cache is turned off because the RAM is being used to rebuild? [22:32] probably [22:36] 'night [22:41] anyone found a good guide (or wanna guide me through) how to resize and create partitions in ubuntu command line? [22:41] they are all slightly confusing for my current state or using gui;s [22:47] pjsturgeon, what are you trying to resize? [22:47] i have a 500gig drive with 250gig of content. its currently fat32 and i need to convert it to something more samba friendly like ext3 [22:48] i was gonna slice it down the middle and format half the drive as ext3 then copy the content accross [22:48] wow, you really don't have a second drive? [22:48] doing it the way you want is messy [22:48] i did... [22:48] i formatted it in ext3 about 20 minutes ago [22:49] went to get a fresh can and drop kicked the damn thing accross the room. darn usb enclosure! [22:49] so copy the files there? [22:49] now it beeps :-/ [22:49] I'm not a big fan of resizing partitions, although I have done it once successfully with NTFS (using the gui :P) [22:50] ahh its only a bunch of media files, im not TOO bothered if it all dies (no crying but a little swearing) [22:50] re-downloadable, etc. so... how to resize? [22:50] I've done it with the gui tool qtparted. Not actually sure how to do it command line.. [22:51] ahh, will put my 500giger into the usb enclosure and try not to knock it accross the room. cheers guys :) [22:53] huh, the CLI tool is called "parted", go figure. http://www.gnu.org/software/parted/manual/html_mono/parted.html [22:53] ha! who'd have thought [22:54] cheers :) [23:02] bdmurray: let me introduce https://wiki.ubuntu.com/DebuggingOpenldap - for reviewing pleasure... [23:03] * bdmurray claps [23:19] anyone had any luck resizing a fat32 partition with parted? [23:19] (parted) resize 1 0 235520 [23:19] Error: Unable to satisfy all constraints on the partition