[00:14] <slestak> ive got a brand new mdadm raid1 dev rebuilding right now
[00:15] <slestak> there is not data on it, just an empty ext3 fs.  i want to change its mount point.  i dont think i need to wait for the rebuild to complete.
[00:16] <slestak> think its safe to umount and re mount it somewhere else while mdadm is syncing?
[00:26] <jmarsden|work> slestak: I *think* it would be safe.  But I've never tried that...
[00:43] <slestak> jmarsden|work: i used the time effectively, pizza and a beer
[00:44] <jmarsden|work> Now that's some serious multitasking ;)
[00:44] <slestak> crappy costco pizza, thought i was going to ralph
[00:46] <jmarsden|work> slestak: See if you can sneak a pizza oven (described using appropriate technical jargon) into the IT equipment budget approval list, and then bake your own pizza?? :)
[01:02] <slestak> im trying to use sudo to "cp -a" a dir i dont have permission to as my regular user.  i cannot even ls it.
[01:06] <slestak> got it solved
[01:12] <seede> hi all, im trying to find a particular keyword that could be in a config file anywhere. i want to search for it while excluding certain directories. i searched the webs and found that this command should do the trick:
[01:12] <seede> find / -path /lib -prune -o -path /dev -prune -o -path /proc -prune -o -path /home -prune -o -exec grep -RH searchstring {} \;
[01:13] <seede> but when i run it i get for example : " grep: /lib/udev/devices/console: Permission denied" and now it appears to be hung
[01:13] <seede> any ideas what im doing wrong? Im using -path not -wholename because i want this to be portable and work on an ubuntu and red hat system
[01:14] <seede> why is it hanging and why is it not excluding /lib
[02:17] <mpaiva> hi, anyone with ldap experience?
[04:49] <axisys> sudo do-release-upgrade does not upgrade 8.04 server to 8.10 even though I set the Prompt=normal in /etc/update-manager/release-upgrades file
[04:49] <axisys> yes I ran the sudo apt-get install update-manager-core before
[04:49] <axisys> followign this http://www.ubuntu.com/getubuntu/upgrading
[04:49] <axisys> is there a bug I am hitting ?
[05:01] <sommer> axisys: do-release-upgrade on an lts release will want to upgrade to another lts... there's a config file you need to adjust
[05:01] <sommer> axisys: not quite sure which one it is though :(
[05:02] <genii> apt.conf maybe
[05:15] <axisys> dont see an apt.conf file
[05:15] <axisys> sommer: what u r saying does not match with this http://www.ubuntu.com/getubuntu/upgrading
[05:16] <axisys> https://help.ubuntu.com/community/IntrepidUpgrades gave the same instruction too for server
[07:00] <ropetin> Hmmm, I'm having a weird issue, that hopefully won't mean I need to reinstall.  I just set up two new Hardy servers remotely.  Everything seemed fine.  When I try and log in locally, rather than typing the letters of my username, the screen shows little 'diamond' symbols
[07:00] <ropetin> Any ideas what might be up?
[07:09] <jmarsden> ropetin: Stuck Alt-Gr key??  Or a font issue of some sort?  Can you actually log in OK?
[07:10] <ropetin>  No, won't let me log in, I tried typing my username and password anyway, but it rejects it, so it can't be typing the correct characters
[07:10] <ropetin> I'd be fine if I could just type in the dark, but I can't even get logged in!
[07:11] <ropetin> Funny thing is, happened on two identical servers, installed from the same media
[07:11] <ropetin> Or not funny, because I'm now 2  hours behind!
[07:11] <jmarsden> Sounds like the keyboard is not the kind of keyboard you told the installer you have??
[07:12] <ropetin> That's what I'd guess too (although I know it is) but I can't log in to change it :)
[07:12] <ropetin> Meh
[07:12] <jmarsden> Do you have one of whatever keyboard type you chose??
[07:13] <ropetin> Yup, it's the one that's plugged in
[07:14] <jmarsden> Ah... then... I have no idea how to fix that.  Your install didn't set up and enable openssh-server, by some good fortune, did it?  If so, can you log in over the network?
[07:15] <ropetin> Yeah, it did, but unfortunately the last thing I did was break my network, so I need local access to fix that
[07:15] <ropetin> It's not my day!
[07:15] <ropetin> NP, reinstall it is
[07:16] <jmarsden> I'd say so...  broken keyboard + broken network = reinstall
[08:10]  * ropetin hates computers!
[08:11] <BeeBuu> can i install a JEOS into a real machine?
[08:11] <kraut> moin
[08:12] <BeeBuu> moin?
[08:15] <nme> heeelp, anyone succeed running sasl on openldap (intrepid) ?
[08:15] <hads> JeOS is just a minimal install, no reason why not.
[08:18] <BeeBuu> hads: you mean yes?
[08:19] <BeeBuu> all document just said for VM.....
[08:19] <nme> BeeBuu: you can install on real machine
[08:21] <BeeBuu> nme: thanks.
[08:21] <nme> BeeBuu: Ubuntu promotes kvm which gives full virtualization, that can run Microsoft OS'es so there is no reason why "Jeos" could be somehow magical :) kvm runs other Linux distros too without any problem, Ubuntu Desktop works too :)
[08:22] <BeeBuu> nme: i got it.
[09:22] <soren> nme: The jeos install by default will install the -virtual kernel flavour which only contains drivers for the hardware you'll find in virtual machines.
[09:22] <nme> hm
[09:23] <nme> but, kvm emulates various ethernet cards so network would work and he will be able to replace it with -server
[09:24] <nme> btw. what are the differences (where can I read about it) between -desktop and -server kernel?
[09:33] <soren> nme: They're rather minor, really.
[09:34] <soren> nme: Different scheduling options. That's all.
[09:34] <soren> kvm does emulate various ethernet cards. And the -virtual kernel flavour supports them. That doesn't mean that any *real* ethernet card you might have is supported.
[09:57] <ivoks> helou
[11:11] <soren> Hey, ivoks.
[11:12] <ivoks> hi soren
[11:45] <selinuxium> Hi all. Can you run VMware and KVM on the same box? with only clients from one Virtualisation running at a time?
[11:46] <yann2> I would say you can probably run both at the same time, just give it a try
[12:12] <_ruben> is it possible to somehow "preseed" the dpkg (?) questions that pop up like when installing postfix for example?
[12:13] <ivoks> never tried that, but i don't see why it should work like normal preseed
[12:15] <_ruben> hm, just realised i should doing this differently .. which would open up that option .. now im working on a post-install script to replace our manual post install tasks .. guess if i'd add postfix and the like to the extra-packages thingie, it should be preseed-able probably .. lets try that
[12:18] <ivoks> it worked for me :)
[12:18] <ivoks> basicaly:
[12:18] <ivoks> apt-get install postfix
[12:18] <ivoks> ...
[12:18] <ivoks> debconf-get-selections &> postfix-config
[12:18] <ivoks> apt-get purge postfix
[12:18] <ivoks> and then
[12:18] <ivoks> cat postfix-config | debconf-set-selections
[12:19] <ivoks> apt-get install postfix
[12:19] <ivoks> no questions asked
[12:19] <_ruben> sweet
[12:24] <ivoks> right... turbo sweet
[12:27] <_ruben> hmm .. what was that 'trick' again to accept a default value without explicitly specifying it?
[12:27] <_ruben> when preseeding that is
[12:27] <ivoks> well, you can edit configuration options
[12:27] <ivoks> install postfix and configure it like you want
[12:28] <ivoks> then preseed it to other machines
[12:28] <_ruben> well, one of the questions is the mailname, which is the fqdn of the system and can thus not be hardcoded
[12:28] <ivoks> true, but you could extract that info from some place else
[12:29] <ivoks> for example, once i've created single install media for 60 different machines
[12:29] <_ruben> "seen true" might do the trick
[12:29] <ivoks> all those machines had uniq IPs, offered by dhcp server
[12:30] <ivoks> and all those machines had the same /etc/hosts
[12:30] <ivoks> so, during installation, i extracted hostname from /etc/hosts, based on their IP
[12:32] <soren> selinuxium: No, you can't.
[12:35] <selinuxium> Cheers soren
[12:35] <soren> :)
[12:35] <ivoks> soren: why not?
[12:36] <selinuxium> I have uninstalled all the KVM stuff and I am trying to install VMware on Ibex... It isn't building the vmmon module... Any ideas how to resolve?
[12:37] <_ruben> selinuxium: did you apply the most recent any-to-any patch to your vmware install dir
[12:37] <_ruben> ?
[12:37] <Jared555> hey.... is   ebox: Depends: libapache-authcookie-perl but it is not installable   a known error?
[12:37] <_ruben> vmware doesnt support bleeding-edge kernels, and bleeding-edge is a rather large area in vmware's opinion
[12:39] <danielm_mc> anyone know how to find out what loads netfilter and iptables modules?
[12:40] <_ruben> iptables does
[12:40] <danielm_mc> hah yah, something is loading it and i can't figure out what
[12:40] <danielm_mc> nothing in /etc/init.d
[12:40] <danielm_mc> any ideas?
[12:41] <soren> ivoks: They both want to use VMX.
[12:41] <soren> ivoks: And since there's only one thing in the upstream kernel that does that, there's not an agreed upon locking mechanism for it.
[12:42] <ivoks> so, kvm wins
[12:42] <ivoks> yay! :D
[12:42] <ivoks> well, if one uses vmware without vmx, it should work, right?
[12:42] <soren> ivoks: one doesn't.
[12:42] <ivoks> :)
[12:43] <soren> AFAIK, it's not configurable.
[12:43] <soren> If it sees it, it uses it
[12:43] <ivoks> i see
[12:46] <_ruben> i *think* vmware only uses vmx for 64bits guests, tho i might be wrong
[12:50] <selinuxium> _ruben: any-to-any patch?
[12:54] <_ruben> http://groups.google.com/group/vmkernelnewbies/files
[12:55] <ivoks> bbl
[12:56] <danielm_mc> hm, yeah any help tracking down whats loading netfilter/iptables would be awesome :)
[12:56] <danielm_mc> i can't find anything that is loading it
[13:00] <Koon> zul: about rhcs, should I push a separate SRU for bug 290399, or do you plan a common SRU for both issues ?
[13:03] <zul> Koon: if you could try to test the fix in my ppa that would be cool before we do the sru
[13:05] <Koon> zul: I can test for presence of scsi_reserve, but I miss the rhcs test setup to confirm it actually does anything
[13:06] <zul> Koon: yeah I need to find some time to set it up
[13:06] <selinuxium> _ruben: still same error  :(  http://pastebin.ubuntu.com/77364/
[13:10] <_ruben> guess the latest any-to-any patch isnt recent enough for intrepid's kernel
[13:12] <_ruben> the 'not found' errors seem tricky as well ... perhaps a vmware server 1.x vs 2.x issue or smth
[13:12] <_ruben> havent used vmware server in quite some time and only on (more or less) supported hosts
[13:19] <_ruben> grmbl .. when i try to preseed postfix into my auto install setup, it gives me "unclean target" crap .. wtf
[13:20] <selinuxium> _ruben: Cheers for your help...
[13:20] <selinuxium> going to download LTS...
[14:52] <ball> What is "Landscape"?
[14:55] <ball> (in the context of an Ubuntu Server install)
[14:59] <ball> Hello RoAkSoAx
[14:59] <RoAkSoAx> hi ball
[15:05] <Koon> ball: http://www.canonical.com/projects/landscape
[15:12] <jamey-uk> I upgraded my VPS from hardy to intrepid, everything worked fine except now it hangs on "Starting kernel log daemon..." Any ideas?
[15:13] <ball> Koon: Is it the preferred, or usual way of managing an Ubuntu Server box?
[15:13] <ball> hello jimay-uk
[15:13] <ball> jamey*
[15:13] <ball> Cambridgeshire?
[15:14] <lamont> _ruben: preseeding postfix (specifically mydestination, iirc) requires a little bit of love with a cluebat, for some painful reasons
[15:14] <Deeps> ball: it's a commercial support offering that facilitates managing multiple servers
[15:14] <ball> Okay, I'll skip it for now then.
[15:15] <ball> Thanks
[15:15] <lamont> _ruben: see also bug 252980
[15:15] <jamey-uk> ball: hi there
[15:15] <jamey-uk> oh
[15:15] <jamey-uk> why did ball leave? =/
[15:15] <_ruben> lamont: for now i only care about satelite+smarthost setup and its 2 questions (mailname + smarthost)
[15:18] <lamont> _ruben: mailname force-defaults to hostname --fqdn, unless /etc/mailname already exists, in which case that becomes the (forced) default
[15:19] <lamont> otoh, you probably want: d-i postfix/mailname seen true
[15:20] <lamont> and the trivial solution for relayhost is to just make 'smtp.$domain' work :-)
[15:20] <lamont> or mark it seen, too.
[15:20] <lamont> since it force-defaults as well
[15:21] <lamont> (patches welcome...)
[15:21] <jamey-uk> Does anyone know why I get "Starting kernel log daemon..." hanging after upgrading to intrepid?
[15:35] <_ruben> lamont: that's what i was trying to accomplish just now, but when i use pkgsel/include string postfix .. i run into some bug possibly related to my specific setup
[15:35] <_ruben> next experiment will be using a custom post install script which uses ivoks' appreach (debconf-set-selection)
[15:37] <lamont> interesting.  I know we're preseeding it here without any difficulties other than a bit of bitchslappery in the d-i values and flags
[15:38] <lamont> OTOH, I didn't set that part of it up
[15:38] <_ruben> error: Cannot find a question for postfix/mailname
[15:38] <lamont> though, I do care, since it is my package...
[15:38] <lamont> hrm
[15:38] <lamont> that's rather odd
[15:39] <_ruben> tried: (d-i|postfix) postfix/mailname seen true
[15:42] <_ruben> lamont: it only seems to work *after* postfix is installed .. catch-22 ;)
[15:43] <_ruben> after purging postfix, debconf-set-selection bails out again
[15:43] <lamont> we pick up postfix via: d-i pkgsel/include string ... postfix ...
[15:43] <_ruben> lamont: tried the same here, but i ended up with a installer that tought my target was unclean
[15:44] <_ruben> wonder if this all is somehow related .. postfix package being slightly bugged in some odd way ..
[15:44]  * _ruben hides
[15:44] <_ruben> i'll try to dive into it some more tomorrow, for now its time to head home
[15:45] <lamont> interesting... unclean target usually means some other silliness is present...
[15:45] <_ruben> unclean-ness i reproducable on both intrepid and hardy .. already bugged -installer channel about it .. will run some more tests tomorrow
[15:47] <_ruben> be back in 15hrs aprox .. thanks for the help so far
[15:49]  * lamont goes to do turkey-day
[17:59] <Juak> hi all
[18:00] <jmarsden> Happy Thanksgiving
[18:02] <Juak> i'm i have a little issue using dancer's distributed shell. i get the following from the remote hosts: "stdin: not a tty". what could this mean?
[18:07] <jmarsden> Juak: I'm not sure.  Is there anything in the shell .profile (and similar) files that is outputting stuff which is confusing dsh??
[18:13] <Juak> .profile .bashrc etc are all default distro files (ubuntu server). i've read something about mesg y affecting the output, but it isn't included in ~/[.bashrc, .profile]
[18:15] <jmarsden> It seems to be dependent on what command you run?   For me (just tested): dsh -m localhost w  # works fine
[18:15] <jmarsden> But:  dsh - m localhost mesg   # gets me that error
[18:16] <Juak> yep, i was first tring to run bash, but now running dsh with no commands give it too
[18:16] <jmarsden> So for you even    dsh -m localhost w    # will give the error?
[18:17] <Juak> i haven't tried with localhost, wait i'll try
[18:19] <Juak> oops, i forgot i wasn't running sshd on localhost :P
[18:21] <jmarsden> That would help :-)  I just used localhost for testing so any network issues should not be a factor...
[18:22] <Juak> actually i have to install it, i'll do that now
[18:23] <jmarsden> OK ... I need to go eat breakfast, back in a little bit...
[18:35] <espacious> hello im trying to setup samba to work with AD (shares accesed with AD user accounts)
[18:36] <espacious> AD runs on separate win2003
[18:36] <espacious> can somebody help me out a bit as i found some tutorials but i think i have all installed and configured but is not ok
[18:46] <Juak> i've finished my first samba/ad config yesterday succesfully
[18:47] <Juak> i can give you a few urls that helped me, i'm with w2k AD (i think it's a little different)
[18:47] <Juak> what distro?
[18:52] <mathiaz> EtienneG: do you have soren's patch to ifenslave for iscsi bonded interfaces?
[18:52] <EtienneG> mathiaz, yes, hold on
[18:52] <EtienneG> mathiaz, it is not really a patch tp ifenslave, though
[18:53] <mathiaz> EtienneG: soren mentionned ifenslave during last week discussion about iscsi
[18:54] <EtienneG> mathiaz, yes.  what he proposed was a script in /etc/network/if-preup.d that would bring the bonded interface online as soon as a slave was discovered
[18:54] <EtienneG> interesting approach, and it work
[18:54] <EtienneG> at least for the iscsi bug we have been discussing lately
[18:55] <EtienneG> mathiaz, check your inbox now
[18:55] <ivoks> hi all
[18:55] <EtienneG> hi ikonia
[18:55] <ivoks> :)
[18:56] <EtienneG> arr!  damn XChat completion!!!!
[18:56] <ivoks> hi ewook
[18:56] <ivoks> :D
[18:56] <mathiaz> hi ivoks !
[18:56] <mathiaz> EtienneG: thanks!
[18:57] <EtienneG> mathiaz, basically, it involve adding a "master" directive in the slave interface stanza in /etc/network/interfaces
[18:57] <EtienneG> this would probably require being documented somewhere
[19:09] <espacious> Juak please would be nice
[19:09] <espacious> i have ubuntu latest server and win2k3 server
[20:02]  * ball is typing this on a freshly-installed Ubuntu Server box
[20:04] <ball> (happy Thanksgiving btw to those of you in the U.S.)
[20:05] <LoveGuru> Same to ya Ball :)
[20:05] <jmarsden> ball: Happy Thanksgiving.  BTW, if you didn't do it already, I suggest that you do    sudo apt-get update && sudo apt-get update on your new server, there have been kernel fixes since the 8.10 release
[20:06] <ball> Thanks, I'll try that.
[20:06] <ball> I've got irssi, lynx and joe installed
[20:07]  * jmarsden thinks... irssi is the #1 app on a new server...? ;)
[20:07] <LoveGuru> *Happy Thanksgiving to awl*
[20:08] <ball> oooh!  Can I point out a bug?
[20:09] <jmarsden> ball: Sure... go ahead :)
[20:10] <ball> Because I told it that I live in the U.S, I wasn't given the option of keeping the clock at UTC
[20:11] <jmarsden> Are you sure it asks you that question if you tell it you live somewhere else?
[20:11] <ball> jmarsden: if it doesn't, it should.
[20:11] <ball> This is a server OS
[20:12] <jmarsden> I agree that servers should keep their hardware clocks in UTC.  So is the bug that it never asks, or that it doesn't ask "because you told it that you live in the U.S" ?
[20:14] <ball> jmarsden: well, it presented me with a list of U.S. timezones.  That makes sense, but the omission of UTC doesn't imo.
[20:15] <jmarsden> I somewhat agree, but it could be argued that this is a way to simplify the initial installer dialog... did it actualy set your hardware clock to use UTC?
[20:16] <ball> I haven't looked yet, but UTC should be available as a timezone, regardless of the RTC
[20:18] <jmarsden> Oh, that's a different bug.  bug 204654
[20:19] <jmarsden> Well, hmm, that's for gnome panel... I think there is a more general one somewhere...
[20:19] <ball> That talks about gnome-panel though
[20:20] <ball> Ah, there you go.
[20:20] <ball> Yes, I think the Ubuntu Server installer should also include that option.
[20:21] <ScottK> jmarsden: It's a definite issue.
[20:21] <ScottK> ball: I think there's an existing bug for that.
[20:21] <ball> I suspect that I can work around it by editing a text file, but I thought I'd mention it anyway.
[20:26] <jmarsden> ball: (1) TO set hw clock to UTC do:   sudo hwclock --utc --systohc   # (2) to set displayed local time to UTC, do   sudo dpkg-reconfigure tzdata  # and select None of the above and then UTC
[20:28] <jmarsden> And to verify your hardware clock is in UTC, do   grep UTC /etc/adjtime  # if it shows UTC you are good.
[20:30] <ball> Thanks
[20:33] <jmarsden> No problem.  BTW related bugs seem to be bug 37750 and bug 51409
[20:33] <ball> That worked
[20:33] <ball> brb
[20:37] <jmarsden> ball: One more... so the clock UTC-ness is known during reboot, also do:    sudo perl -p -i -e s/^UTC=no/UTC=yes/ /etc/default/rcS
[20:38] <jmarsden> Although I think it should be UTC by default, on a server install with no Windows partitions on the disk.
[20:38] <ball> heh... that said "pies"
[20:38] <jmarsden> ;)
[20:38] <hads> Is UTC not the default?
[20:40] <ball> Does Ubuntu Server come with an audio mixer control?
[20:40] <jmarsden> hads: I think it probably was for ball, the reall issue was the displayed time not the hardware clock time.
[20:40] <jmarsden> ball: alsamixer ?
[20:40] <hads> Ah
[20:40] <ball> Thanks, I'll try it
[20:41] <jmarsden> ball: There may be a pulseaudio one too, I generally do sound stuff on desktops not servers...
[20:42] <ball> jmarsden: I know, I just wanted to play the new UUPC
[20:43] <jmarsden> OK.  I wondered if you were doing something neat with alarms from nagios or whatever being spoken out loud in your server room?
[20:43] <ball> jmarsden: I've done that before too :-)
[20:44] <ball> monologue-on-boot
[20:44] <ball> scream-on-panic might be fun too
[20:45] <jmarsden> Especially if hooked into the office PA system ;)
[20:47]  * ball nods
[20:47] <ball> the SPARCstation 5's internal speaker worked for me.
[20:50] <jmarsden> Sure, though there are plenty of server rooms where you'd never hear that for all the fan noise
[20:51]  * ball nods
[20:51] <ball> "take-off mode"
[20:51] <ball> okay... wondering whether to try Edubuntu on here.
[20:51] <ball> I should learn the base OS first I suppose
[20:51] <ball> Okay, I'm off.
[20:51] <ball> thanks for your help people.
[20:52] <jmarsden> No problem, have fun with Ubuntu!
[20:52] <ball> Thanks
[21:04] <espacious> can somebody help me setup samba with my active directory?
[21:16] <J-_> I think it's time for me to go back to irssi
[21:38] <iclebyte> is there anyway I can break out to a shell during the partitioning stage of the ubuntu-server 8.04 installer? I want to check if mkfs.ext3 is still running but ALT+F2 just changes the background colour =)
[21:40] <domas> HI!
[22:32] <rbrunhuber> I use cron to backup a repository but it never backups more than 590m, any clues?
[22:33] <Kamping_Kaiser> what repository?
[22:33] <Kamping_Kaiser> and how are you backing it up?
[22:33] <rbrunhuber> subversion repository.
[22:33] <ball> 590 Mbytes?
[22:33] <rbrunhuber> the cron line calls a bash script
[22:34] <Kamping_Kaiser> rbrunhuber, add 'set -ex' to the top of your bash script (under the #! line) and see what is going wrong
[22:34]  * Kamping_Kaiser -> work
[22:34] <rbrunhuber> the bash script is like this: $SVNADMIN dump /var/svn/repository | gzip  > $TMPFOLDER/svnrepodump.dmp.gz
[22:39] <rbrunhuber> ball: it's getting worse no it dropped to 549 MB
[22:47] <rbrunhuber> Kamping_Kaiser: where is the output of the bash script with set -ex written to?
[22:47] <LoveGuru> Hi, i just made new partition using "gparted" but "df -h doen't show that partition there.. i have to do something else to make it appear? or can i access that partition?
[22:48] <rbrunhuber> LoveGuru: Did you add a filesystem to the partition? and did you mount it?
[22:48] <LoveGuru> rbrunhuber: Sorry im New im just learning those things.
[22:49] <LoveGuru> there is 5 *sda* shows in my /dev/ i dont know .. which one is the one i want.
[22:50] <LoveGuru> i try to mount /dev/sda /mnt/sda but it gave me error "mount: /dev/sda already mounted or /mnt/sda/busy
[22:50] <LoveGuru> */mnt/sda bzy
[22:51] <LoveGuru> rbrunhuber: well ya i did add the filesystem as "ext3"
[22:51] <LoveGuru> i dont know which one i have to mount.
[22:52] <rbrunhuber> LoveGuru: you cannot mount /dev/sda because it is the complete hdd. try to mount one of the sdas with a number
[22:53] <rbrunhuber> you can find out what /dev/sdas are already mounted by typing just "mount"
[22:55] <LoveGuru> rbrunhuber: ya i got it.. /dev/sda3 thats the one partition i just made it.
[22:55] <LoveGuru> rbrunhuber: how can i add that entry to df -h and make it auto mount when i reboot my system
[22:56] <rbrunhuber> you have to edit /etc/fstab
[22:59] <LoveGuru> rbrunhuber: what i have to add there?
[23:00] <rbrunhuber> LoveGuru: where do you want to mount /dev/sda3 to?
[23:01] <LoveGuru> i mount it at /mnt/sda3
[23:03] <rbrunhuber> LoveGuru: so first two columns are /dev/sda3 /mnt/sda3
[23:04] <rbrunhuber> LoveGuru: then third is ext3
[23:04] <Deeps> you'd be better suited mounting by uuid rather than variable label
[23:05] <LoveGuru> by uuid ?
[23:05] <rbrunhuber> Deeps: LoveGuru he created the partition by him self so not sure if there is a uuid on it.
[23:05] <Deeps> rbrunhuber: all partitions contain uuids
[23:05] <Deeps> ls -l /dev/disk/by-uuid
[23:06] <Deeps> gives you the uuid and what it's corresponding label is
[23:06] <Deeps> and then instead of /dev/sda3, you'd use UUID=xxxx
[23:06] <Deeps> where xxxx is your uuid
[23:06] <LoveGuru> ls -l /dev/sda3
[23:06] <LoveGuru> brw-rw---- 1 root disk 8, 3 2008-11-27 16:38 /dev/sda3
[23:06] <rbrunhuber> Deeps: I'm quite sure this is not true if you did not use special commands
[23:06] <Deeps> LoveGuru: ls -l /dev/disk/by-uuid
[23:07] <LoveGuru> ls -l /dev/sda3/by-uuid
[23:07] <LoveGuru> ls: cannot access /dev/sda3/by-uuid: Not a directory
[23:07] <Deeps> LoveGuru: copy and paste: ls -l /dev/disk/by-uuid
[23:07] <Deeps> do not replace of those bits
[23:07] <Deeps> disk is disk, not sda3
[23:07] <LoveGuru> ohh
[23:07] <LoveGuru> ahh ok
[23:07] <LoveGuru> i got the UUID of /sda3
[23:08] <LoveGuru> lrwxrwxrwx 1 root root 10 2008-11-27 16:38 73a8827b-6cac-42d9-a918-e1d7fa657e1f -> ../../sda3
[23:08] <Deeps> ok so instead of listing /dev/sda3 in your fstab, you'd use UUID=73a8827b-6cac-42d9-a918-e1d7fa657e1f
[23:09] <LoveGuru> alright thanks
[23:09] <Deeps> that way if the disk label changes (e.g. you add new disks and this one becomes sdb instead) your reference is still valid and your disk still mounts
[23:09] <LoveGuru> thats cool
[23:10] <LoveGuru> so just put "UUID=73a8827b-6cac-42d9-a918-e1d7fa657e1f /mnt/sda3 ext3" ?
[23:10] <LoveGuru> thats it?
[23:11] <Deeps> https://help.ubuntu.com/community/Fstab
[23:11] <LoveGuru> ok
[23:11] <Deeps> explains it better
[23:11] <Deeps> or at least, in full
[23:14] <LoveGuru> Deeps: the guide is so cool..
[23:14] <LoveGuru> so after edit /etc/fstab. do i have do something else ?
[23:15] <Deeps> mount <mountpoint>
[23:15] <Deeps> to actually mount it
[23:15] <rbrunhuber> LoveGuru: you no can check if you made everything right by unmounting the partition (make sure you are not in /mnt/sda3) and then do "mount /mnt/sda3"
[23:15] <Deeps> assuming it's not mounted already
[23:15] <Deeps> what rbrunhuber said
[23:16] <rbrunhuber> LoveGuru: to unmount it use "umount /mnt/sda3"
[23:17] <LoveGuru> gave me error when i try to umount it.
[23:17] <LoveGuru>  sudo umount /mnt/sda
[23:17] <LoveGuru> umount: /mnt/sda: device is busy.
[23:17] <LoveGuru>         (In some cases useful info about processes that use
[23:17] <LoveGuru>          the device is found by lsof(8) or fuser(1))
[23:17] <LoveGuru> aamir@ab1adm:~$
[23:17] <Deeps> error message is descriptive
[23:18] <LoveGuru> Deeps: i didn't get it whats lsof or fuser means.
[23:18]  * hads bets on being in the directory
[23:18] <Deeps> hads: hehe
[23:18] <rbrunhuber> LoveGuru: you have to umount /dev/sda3 <- with the number not /dev/sda
[23:19] <hads> heh, well spotted
[23:19] <Deeps> LoveGuru: lsof lets you see things like what processes are active in a directory
[23:19]  * Deeps sees confusion between /mnt/sda, /dev/sda, /mnt/sda3 and /dev/sda3
[23:19] <Deeps> which nicely brings us around to using mountpoints that aren't based on disklabels
[23:19] <Deeps> and rather, using mountpoints that have a bit more meaning
[23:20] <LoveGuru> Deeps well my acutal entry in fdisk -l is /dev/sda3 but i mount it at /mnt/sda not /mnt/sda3
[23:20] <Deeps> i'll leave y'all to it, i've got a tmnf match to play! gl loveguru
[23:20] <hads> /mnt/things_i_want_to_serve_with_my_web_server
[23:20] <LoveGuru> tx Deeps :< but still confusing for me why i can't umount it :<
[23:21] <rbrunhuber> LoveGuru: what is the output of pwd?
[23:21] <LoveGuru> rbrunhuber: i tried that too "umount /dev/sda3 same error
[23:21] <LoveGuru> rbrunhuber im not in mnt point dir
[23:21] <LoveGuru> i m in /
[23:21]  * hads loses
[23:21] <rbrunhuber> LoveGuru: what is the output of "mount |grep /dev/sda3"
[23:22] <LoveGuru>  mount |grep /dev/sda3
[23:22] <LoveGuru> /dev/sda3 on /mnt/sda type ext3 (rw)
[23:23] <rbrunhuber> LoveGuru: what is the output of "lsof |grep /mnt/sda"
[23:24] <LoveGuru> bash      5798      aamir  cwd       DIR    8,3    4096      2 /mnt/sda
[23:24] <rbrunhuber> LoveGuru: do you have another console window open where you are standing in /mnt/sda ?
[23:25]  * hads wins
[23:25] <LoveGuru> rbrunhuber: no
[23:25] <LoveGuru> i m not
[23:26] <LoveGuru> shoot
[23:26] <LoveGuru> yes
[23:26] <LoveGuru> i did sudo -i
[23:26] <LoveGuru> so the new terminal open
[23:26] <LoveGuru> ya
[23:26] <LoveGuru> its fine now.
[23:26] <rbrunhuber> hads: you win.
[23:26] <hads> :)
[23:26] <LoveGuru> rbrunhuber: sorry for that.
[23:27] <rbrunhuber> LoveGuru: np
[23:27] <LoveGuru> i didn't know that when i did sudo -i so the new tty comes up
[23:27] <LoveGuru> rbrunhuber: well i did umount /dev/sda3 and i think it works it won't give me any error this time
[23:27] <rbrunhuber> you can check by "echo $?" should be 0
[23:28] <LoveGuru> yup its 0 now
[23:28] <LoveGuru> do i have to do something else?
[23:28] <rbrunhuber> normally linux does not talk to you if it has nothing to complain ;-).
[23:28] <LoveGuru> hahaha
[23:29] <LoveGuru> ya its quite Gud When we are not wrong :)
[23:29] <rbrunhuber> Gud?
[23:29] <LoveGuru> So now whenever i boot my linux it should be mount that mnt point it self.
[23:29] <rbrunhuber> LoveGuru: yes
[23:29] <LoveGuru> i wanna say its really Good though
[23:30] <LoveGuru> linux doen't talk if we are not going wrong.
[23:31] <LoveGuru> Well rbrunhuber im done with that?
[23:32] <rbrunhuber> LoveGuru: I think so. you may give it the reboot test (IF THIS IS NOT A PRODUCTIVE MACHINE) to make sure, because I will be offline in about 10 minutes (00:40 am CET)
[23:32] <LoveGuru> rbrunhuber; no its not Production.. its my home personal system.
[23:32] <LoveGuru> alright give me minute. let me reboot it.
[23:32] <rbrunhuber> LoveGuru: and you may to use a more descriptive label in fstab.
[23:33] <LoveGuru> ah..
[23:34] <rbrunhuber> LoveGuru: You may want to use a better mountpoint for the disk I wanted to say.
[23:35] <rbrunhuber> LoveGuru: something like /mnt/music instead of /mnt/sd3 (provided you want to store music on the disk ;-)).
[23:36] <LoveGuru> rbrunhuber: well i wanna install something with wine. and im not sure.. with wine.. i can install something in diferent location .. as long as i know about wine.. wine should install apps in /home and wine itself in /usr/bin
[23:36] <LoveGuru> i dont know much about things so just take a shot with different mount point it works or not.
[23:37] <LoveGuru> well rbrunhuber: still there is no entry of /dev/sda3 in df -h
[23:38] <rbrunhuber> what is the output of "mount |grep /mnt/sda3"?
[23:39] <rbrunhuber> LoveGuru: what is the output of "mount |grep /mnt/sda3"?
[23:39] <LoveGuru> there is no output :<
[23:40] <rbrunhuber> LoveGuru: sorry and the output of "mount |grep /mnt/sda"?
[23:40] <LoveGuru> i tried both
[23:40] <LoveGuru> no output
[23:40] <rbrunhuber> so it was not mounted
[23:41] <LoveGuru> so i have to mount it again ?
[23:41] <rbrunhuber> LoveGuru: Can you try to ask deeps for further assistance, I have to go
[23:41] <LoveGuru> ohh
[23:41] <LoveGuru> nevamind.
[23:41] <LoveGuru> u can go :)
[23:41] <LoveGuru> well
[23:41] <LoveGuru> thanks U are sucha nice helper :)
[23:41] <LoveGuru> thanks for everything.
[23:42] <rbrunhuber> LoveGuru: Thanks, very generous ;-)
[23:42] <LoveGuru> :=)
[23:42] <LoveGuru> let c.
[23:42] <LoveGuru> if Deeps Comes :)
[23:42] <LoveGuru> then i will talk to him and ask for help if he can ;)
[23:45] <rbrunhuber> LoveGuru: bye!
[23:46] <LoveGuru> tc .. byE :)
[23:48] <LoveGuru> Deeps: could ya please help. if u got some time?