/srv/irclogs.ubuntu.com/2008/11/27/#ubuntu-server.txt

slestakive got a brand new mdadm raid1 dev rebuilding right now00:14
slestakthere 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:15
slestakthink its safe to umount and re mount it somewhere else while mdadm is syncing?00:16
jmarsden|workslestak: I *think* it would be safe.  But I've never tried that...00:26
slestakjmarsden|work: i used the time effectively, pizza and a beer00:43
jmarsden|workNow that's some serious multitasking ;)00:44
slestakcrappy costco pizza, thought i was going to ralph00:44
jmarsden|workslestak: 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?? :)00:46
slestakim trying to use sudo to "cp -a" a dir i dont have permission to as my regular user.  i cannot even ls it.01:02
slestakgot it solved01:06
seedehi 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
seedefind / -path /lib -prune -o -path /dev -prune -o -path /proc -prune -o -path /home -prune -o -exec grep -RH searchstring {} \;01:12
seedebut when i run it i get for example : " grep: /lib/udev/devices/console: Permission denied" and now it appears to be hung01:13
seedeany 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 system01:13
seedewhy is it hanging and why is it not excluding /lib01:14
mpaivahi, anyone with ldap experience?02:17
=== mcasadevall is now known as NCommander
axisyssudo 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 file04:49
axisysyes I ran the sudo apt-get install update-manager-core before04:49
axisysfollowign this http://www.ubuntu.com/getubuntu/upgrading04:49
axisysis there a bug I am hitting ?04:49
sommeraxisys: do-release-upgrade on an lts release will want to upgrade to another lts... there's a config file you need to adjust05:01
sommeraxisys: not quite sure which one it is though :(05:01
geniiapt.conf maybe05:02
axisysdont see an apt.conf file05:15
axisyssommer: what u r saying does not match with this http://www.ubuntu.com/getubuntu/upgrading05:15
axisyshttps://help.ubuntu.com/community/IntrepidUpgrades gave the same instruction too for server05:16
ropetinHmmm, 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' symbols07:00
ropetinAny ideas what might be up?07:00
jmarsdenropetin: Stuck Alt-Gr key??  Or a font issue of some sort?  Can you actually log in OK?07:09
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 characters07:10
ropetinI'd be fine if I could just type in the dark, but I can't even get logged in!07:10
ropetinFunny thing is, happened on two identical servers, installed from the same media07:11
ropetinOr not funny, because I'm now 2  hours behind!07:11
jmarsdenSounds like the keyboard is not the kind of keyboard you told the installer you have??07:11
ropetinThat's what I'd guess too (although I know it is) but I can't log in to change it :)07:12
ropetinMeh07:12
jmarsdenDo you have one of whatever keyboard type you chose??07:12
ropetinYup, it's the one that's plugged in07:13
jmarsdenAh... 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:14
ropetinYeah, it did, but unfortunately the last thing I did was break my network, so I need local access to fix that07:15
ropetinIt's not my day!07:15
ropetinNP, reinstall it is07:15
jmarsdenI'd say so...  broken keyboard + broken network = reinstall07:16
=== milestone_away is now known as milestone
* ropetin hates computers!08:10
BeeBuucan i install a JEOS into a real machine?08:11
krautmoin08:11
BeeBuumoin?08:12
nmeheeelp, anyone succeed running sasl on openldap (intrepid) ?08:15
hadsJeOS is just a minimal install, no reason why not.08:15
BeeBuuhads: you mean yes?08:18
BeeBuuall document just said for VM.....08:19
nmeBeeBuu: you can install on real machine08:19
BeeBuunme: thanks.08:21
nmeBeeBuu: 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:21
BeeBuunme: i got it.08:22
sorennme: 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
nmehm09:22
nmebut, kvm emulates various ethernet cards so network would work and he will be able to replace it with -server09:23
nmebtw. what are the differences (where can I read about it) between -desktop and -server kernel?09:24
sorennme: They're rather minor, really.09:33
sorennme: Different scheduling options. That's all.09:34
sorenkvm 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:34
ivokshelou09:57
sorenHey, ivoks.11:11
ivokshi soren11:12
selinuxiumHi all. Can you run VMware and KVM on the same box? with only clients from one Virtualisation running at a time?11:45
yann2I would say you can probably run both at the same time, just give it a try11:46
_rubenis it possible to somehow "preseed" the dpkg (?) questions that pop up like when installing postfix for example?12:12
ivoksnever tried that, but i don't see why it should work like normal preseed12:13
_rubenhm, 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 that12:15
ivoksit worked for me :)12:18
ivoksbasicaly:12:18
ivoksapt-get install postfix12:18
ivoks...12:18
ivoksdebconf-get-selections &> postfix-config12:18
ivoksapt-get purge postfix12:18
ivoksand then12:18
ivokscat postfix-config | debconf-set-selections12:18
ivoksapt-get install postfix12:19
ivoksno questions asked12:19
_rubensweet12:19
ivoksright... turbo sweet12:24
_rubenhmm .. what was that 'trick' again to accept a default value without explicitly specifying it?12:27
_rubenwhen preseeding that is12:27
ivokswell, you can edit configuration options12:27
ivoksinstall postfix and configure it like you want12:27
ivoksthen preseed it to other machines12:28
_rubenwell, one of the questions is the mailname, which is the fqdn of the system and can thus not be hardcoded12:28
ivokstrue, but you could extract that info from some place else12:28
ivoksfor example, once i've created single install media for 60 different machines12:29
_ruben"seen true" might do the trick12:29
ivoksall those machines had uniq IPs, offered by dhcp server12:29
ivoksand all those machines had the same /etc/hosts12:30
ivoksso, during installation, i extracted hostname from /etc/hosts, based on their IP12:30
sorenselinuxium: No, you can't.12:32
selinuxiumCheers soren12:35
soren:)12:35
ivokssoren: why not?12:35
selinuxiumI 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:36
_rubenselinuxium: did you apply the most recent any-to-any patch to your vmware install dir12:37
_ruben?12:37
Jared555hey.... is   ebox: Depends: libapache-authcookie-perl but it is not installable   a known error?12:37
_rubenvmware doesnt support bleeding-edge kernels, and bleeding-edge is a rather large area in vmware's opinion12:37
danielm_mcanyone know how to find out what loads netfilter and iptables modules?12:39
_rubeniptables does12:40
danielm_mchah yah, something is loading it and i can't figure out what12:40
danielm_mcnothing in /etc/init.d12:40
danielm_mcany ideas?12:40
sorenivoks: They both want to use VMX.12:41
sorenivoks: 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:41
ivoksso, kvm wins12:42
ivoksyay! :D12:42
ivokswell, if one uses vmware without vmx, it should work, right?12:42
sorenivoks: one doesn't.12:42
ivoks:)12:42
sorenAFAIK, it's not configurable.12:43
sorenIf it sees it, it uses it12:43
ivoksi see12:43
_rubeni *think* vmware only uses vmx for 64bits guests, tho i might be wrong12:46
selinuxium_ruben: any-to-any patch?12:50
_rubenhttp://groups.google.com/group/vmkernelnewbies/files12:54
ivoksbbl12:55
danielm_mchm, yeah any help tracking down whats loading netfilter/iptables would be awesome :)12:56
danielm_mci can't find anything that is loading it12:56
Koonzul: about rhcs, should I push a separate SRU for bug 290399, or do you plan a common SRU for both issues ?13:00
uvirtbotLaunchpad bug 290399 in redhat-cluster "After ran the command fence_tool dump, the fenced process will take 100% CPU usage" [Undecided,Confirmed] https://launchpad.net/bugs/29039913:00
zulKoon: if you could try to test the fix in my ppa that would be cool before we do the sru13:03
Koonzul: I can test for presence of scsi_reserve, but I miss the rhcs test setup to confirm it actually does anything13:05
zulKoon: yeah I need to find some time to set it up13:06
selinuxium_ruben: still same error  :(  http://pastebin.ubuntu.com/77364/13:06
=== milestone is now known as milestone_feiera
_rubenguess the latest any-to-any patch isnt recent enough for intrepid's kernel13:10
_rubenthe 'not found' errors seem tricky as well ... perhaps a vmware server 1.x vs 2.x issue or smth13:12
_rubenhavent used vmware server in quite some time and only on (more or less) supported hosts13:12
_rubengrmbl .. when i try to preseed postfix into my auto install setup, it gives me "unclean target" crap .. wtf13:19
selinuxium_ruben: Cheers for your help...13:20
selinuxiumgoing to download LTS...13:20
ballWhat is "Landscape"?14:52
ball(in the context of an Ubuntu Server install)14:55
ballHello RoAkSoAx14:59
RoAkSoAxhi ball14:59
Koonball: http://www.canonical.com/projects/landscape15:05
jamey-ukI upgraded my VPS from hardy to intrepid, everything worked fine except now it hangs on "Starting kernel log daemon..." Any ideas?15:12
ballKoon: Is it the preferred, or usual way of managing an Ubuntu Server box?15:13
ballhello jimay-uk15:13
balljamey*15:13
ballCambridgeshire?15:13
lamont_ruben: preseeding postfix (specifically mydestination, iirc) requires a little bit of love with a cluebat, for some painful reasons15:14
Deepsball: it's a commercial support offering that facilitates managing multiple servers15:14
ballOkay, I'll skip it for now then.15:14
ballThanks15:15
lamont_ruben: see also bug 25298015:15
uvirtbotLaunchpad bug 252980 in postfix "mydestinations can't be preseeded" [Undecided,Confirmed] https://launchpad.net/bugs/25298015:15
jamey-ukball: hi there15:15
jamey-ukoh15:15
jamey-ukwhy did ball leave? =/15:15
_rubenlamont: for now i only care about satelite+smarthost setup and its 2 questions (mailname + smarthost)15:15
lamont_ruben: mailname force-defaults to hostname --fqdn, unless /etc/mailname already exists, in which case that becomes the (forced) default15:18
lamontotoh, you probably want: d-i postfix/mailname seen true15:19
lamontand the trivial solution for relayhost is to just make 'smtp.$domain' work :-)15:20
lamontor mark it seen, too.15:20
lamontsince it force-defaults as well15:20
lamont(patches welcome...)15:21
jamey-ukDoes anyone know why I get "Starting kernel log daemon..." hanging after upgrading to intrepid?15:21
_rubenlamont: 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 setup15:35
_rubennext experiment will be using a custom post install script which uses ivoks' appreach (debconf-set-selection)15:35
lamontinteresting.  I know we're preseeding it here without any difficulties other than a bit of bitchslappery in the d-i values and flags15:37
lamontOTOH, I didn't set that part of it up15:38
_rubenerror: Cannot find a question for postfix/mailname15:38
lamontthough, I do care, since it is my package...15:38
lamonthrm15:38
lamontthat's rather odd15:38
_rubentried: (d-i|postfix) postfix/mailname seen true15:39
_rubenlamont: it only seems to work *after* postfix is installed .. catch-22 ;)15:42
_rubenafter purging postfix, debconf-set-selection bails out again15:43
lamontwe pick up postfix via: d-i pkgsel/include string ... postfix ...15:43
_rubenlamont: tried the same here, but i ended up with a installer that tought my target was unclean15:43
_rubenwonder if this all is somehow related .. postfix package being slightly bugged in some odd way ..15:44
* _ruben hides15:44
_rubeni'll try to dive into it some more tomorrow, for now its time to head home15:44
lamontinteresting... unclean target usually means some other silliness is present...15:45
_rubenunclean-ness i reproducable on both intrepid and hardy .. already bugged -installer channel about it .. will run some more tests tomorrow15:45
_rubenbe back in 15hrs aprox .. thanks for the help so far15:47
* lamont goes to do turkey-day15:49
uvirtbotNew bug: #299848 in ipsec-tools (main) "armel build failure (package not yet in the archive)" [Undecided,Fix released] https://launchpad.net/bugs/29984816:34
uvirtbotNew bug: #302872 in samba (main) "package samba 2:3.2.3-1ubuntu3 failed to install/upgrade: subprocess new post-removal script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/30287217:42
Juakhi all17:59
jmarsdenHappy Thanksgiving18:00
Juaki'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:02
jmarsdenJuak: I'm not sure.  Is there anything in the shell .profile (and similar) files that is outputting stuff which is confusing dsh??18:07
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:13
jmarsdenIt seems to be dependent on what command you run?   For me (just tested): dsh -m localhost w  # works fine18:15
jmarsdenBut:  dsh - m localhost mesg   # gets me that error18:15
Juakyep, i was first tring to run bash, but now running dsh with no commands give it too18:16
jmarsdenSo for you even    dsh -m localhost w    # will give the error?18:16
Juaki haven't tried with localhost, wait i'll try18:17
Juakoops, i forgot i wasn't running sshd on localhost :P18:19
jmarsdenThat would help :-)  I just used localhost for testing so any network issues should not be a factor...18:21
Juakactually i have to install it, i'll do that now18:22
jmarsdenOK ... I need to go eat breakfast, back in a little bit...18:23
=== _Nicke_ is now known as Nicke
espacioushello im trying to setup samba to work with AD (shares accesed with AD user accounts)18:35
espaciousAD runs on separate win200318:36
espaciouscan somebody help me out a bit as i found some tutorials but i think i have all installed and configured but is not ok18:36
Juaki've finished my first samba/ad config yesterday succesfully18:46
Juaki can give you a few urls that helped me, i'm with w2k AD (i think it's a little different)18:47
Juakwhat distro?18:47
mathiazEtienneG: do you have soren's patch to ifenslave for iscsi bonded interfaces?18:52
EtienneGmathiaz, yes, hold on18:52
EtienneGmathiaz, it is not really a patch tp ifenslave, though18:52
mathiazEtienneG: soren mentionned ifenslave during last week discussion about iscsi18:53
EtienneGmathiaz, 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 discovered18:54
EtienneGinteresting approach, and it work18:54
EtienneGat least for the iscsi bug we have been discussing lately18:54
EtienneGmathiaz, check your inbox now18:55
ivokshi all18:55
EtienneGhi ikonia18:55
ivoks:)18:55
EtienneGarr!  damn XChat completion!!!!18:56
ivokshi ewook18:56
ivoks:D18:56
mathiazhi ivoks !18:56
mathiazEtienneG: thanks!18:56
EtienneGmathiaz, basically, it involve adding a "master" directive in the slave interface stanza in /etc/network/interfaces18:57
EtienneGthis would probably require being documented somewhere18:57
espaciousJuak please would be nice19:09
espaciousi have ubuntu latest server and win2k3 server19:09
uvirtbotNew bug: #302914 in tomcat6 (main) "tomcat6-examples stops tomcat6 during installation - auto-deployement should be used instead" [Wishlist,New] https://launchpad.net/bugs/30291419:46
* ball is typing this on a freshly-installed Ubuntu Server box20:02
ball(happy Thanksgiving btw to those of you in the U.S.)20:04
LoveGuruSame to ya Ball :)20:05
jmarsdenball: 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 release20:05
ballThanks, I'll try that.20:06
ballI've got irssi, lynx and joe installed20:06
* jmarsden thinks... irssi is the #1 app on a new server...? ;)20:07
LoveGuru*Happy Thanksgiving to awl*20:07
uvirtbotNew bug: #300697 in tomcat6 (main) "Tomcat6 AJP connector should be disabled by default" [Wishlist,Fix released] https://launchpad.net/bugs/30069720:07
balloooh!  Can I point out a bug?20:08
jmarsdenball: Sure... go ahead :)20:09
ballBecause I told it that I live in the U.S, I wasn't given the option of keeping the clock at UTC20:10
jmarsdenAre you sure it asks you that question if you tell it you live somewhere else?20:11
balljmarsden: if it doesn't, it should.20:11
ballThis is a server OS20:11
jmarsdenI 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:12
balljmarsden: well, it presented me with a list of U.S. timezones.  That makes sense, but the omission of UTC doesn't imo.20:14
jmarsdenI 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:15
ballI haven't looked yet, but UTC should be available as a timezone, regardless of the RTC20:16
jmarsdenOh, that's a different bug.  bug 20465420:18
uvirtbotLaunchpad bug 204654 in gnome-panel "add UTC entry to clock" [Wishlist,Triaged] https://launchpad.net/bugs/20465420:18
jmarsdenWell, hmm, that's for gnome panel... I think there is a more general one somewhere...20:19
ballThat talks about gnome-panel though20:19
ballAh, there you go.20:20
ballYes, I think the Ubuntu Server installer should also include that option.20:20
ScottKjmarsden: It's a definite issue.20:21
ScottKball: I think there's an existing bug for that.20:21
ballI suspect that I can work around it by editing a text file, but I thought I'd mention it anyway.20:21
jmarsdenball: (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 UTC20:26
jmarsdenAnd to verify your hardware clock is in UTC, do   grep UTC /etc/adjtime  # if it shows UTC you are good.20:28
ballThanks20:30
jmarsdenNo problem.  BTW related bugs seem to be bug 37750 and bug 5140920:33
ballThat worked20:33
uvirtbotLaunchpad bug 37750 in ubiquity "doesn't ask if BIOS time is in UTC" [Medium,Confirmed] https://launchpad.net/bugs/3775020:33
uvirtbotLaunchpad bug 51409 in ubiquity "Timezone selection dialog bugs" [Medium,Confirmed] https://launchpad.net/bugs/5140920:33
ballbrb20:33
jmarsdenball: 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/rcS20:37
jmarsdenAlthough I think it should be UTC by default, on a server install with no Windows partitions on the disk.20:38
ballheh... that said "pies"20:38
jmarsden;)20:38
hadsIs UTC not the default?20:38
ballDoes Ubuntu Server come with an audio mixer control?20:40
jmarsdenhads: I think it probably was for ball, the reall issue was the displayed time not the hardware clock time.20:40
jmarsdenball: alsamixer ?20:40
hadsAh20:40
ballThanks, I'll try it20:40
jmarsdenball: There may be a pulseaudio one too, I generally do sound stuff on desktops not servers...20:41
balljmarsden: I know, I just wanted to play the new UUPC20:42
jmarsdenOK.  I wondered if you were doing something neat with alarms from nagios or whatever being spoken out loud in your server room?20:43
balljmarsden: I've done that before too :-)20:43
ballmonologue-on-boot20:44
ballscream-on-panic might be fun too20:44
jmarsdenEspecially if hooked into the office PA system ;)20:45
* ball nods20:47
ballthe SPARCstation 5's internal speaker worked for me.20:47
jmarsdenSure, though there are plenty of server rooms where you'd never hear that for all the fan noise20:50
* ball nods20:51
ball"take-off mode"20:51
ballokay... wondering whether to try Edubuntu on here.20:51
ballI should learn the base OS first I suppose20:51
ballOkay, I'm off.20:51
ballthanks for your help people.20:51
jmarsdenNo problem, have fun with Ubuntu!20:52
ballThanks20:52
espaciouscan somebody help me setup samba with my active directory?21:04
J-_I think it's time for me to go back to irssi21:16
=== liberfiasco is now known as libervisco
iclebyteis 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:38
domasHI!21:40
uvirtbotNew bug: #302939 in mysql-dfsg-5.0 (main) "package mysql-server-5.0 " [Undecided,New] https://launchpad.net/bugs/30293921:51
rbrunhuberI use cron to backup a repository but it never backups more than 590m, any clues?22:32
Kamping_Kaiserwhat repository?22:33
Kamping_Kaiserand how are you backing it up?22:33
rbrunhubersubversion repository.22:33
ball590 Mbytes?22:33
rbrunhuberthe cron line calls a bash script22:33
Kamping_Kaiserrbrunhuber, add 'set -ex' to the top of your bash script (under the #! line) and see what is going wrong22:34
* Kamping_Kaiser -> work22:34
rbrunhuberthe bash script is like this: $SVNADMIN dump /var/svn/repository | gzip  > $TMPFOLDER/svnrepodump.dmp.gz22:34
rbrunhuberball: it's getting worse no it dropped to 549 MB22:39
rbrunhuberKamping_Kaiser: where is the output of the bash script with set -ex written to?22:47
LoveGuruHi, 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:47
rbrunhuberLoveGuru: Did you add a filesystem to the partition? and did you mount it?22:48
LoveGururbrunhuber: Sorry im New im just learning those things.22:48
LoveGuruthere is 5 *sda* shows in my /dev/ i dont know .. which one is the one i want.22:49
LoveGurui try to mount /dev/sda /mnt/sda but it gave me error "mount: /dev/sda already mounted or /mnt/sda/busy22:50
LoveGuru*/mnt/sda bzy22:50
LoveGururbrunhuber: well ya i did add the filesystem as "ext3"22:51
LoveGurui dont know which one i have to mount.22:51
rbrunhuberLoveGuru: you cannot mount /dev/sda because it is the complete hdd. try to mount one of the sdas with a number22:52
rbrunhuberyou can find out what /dev/sdas are already mounted by typing just "mount"22:53
LoveGururbrunhuber: ya i got it.. /dev/sda3 thats the one partition i just made it.22:55
LoveGururbrunhuber: how can i add that entry to df -h and make it auto mount when i reboot my system22:55
rbrunhuberyou have to edit /etc/fstab22:56
LoveGururbrunhuber: what i have to add there?22:59
rbrunhuberLoveGuru: where do you want to mount /dev/sda3 to?23:00
LoveGurui mount it at /mnt/sda323:01
rbrunhuberLoveGuru: so first two columns are /dev/sda3 /mnt/sda323:03
rbrunhuberLoveGuru: then third is ext323:04
Deepsyou'd be better suited mounting by uuid rather than variable label23:04
LoveGuruby uuid ?23:05
rbrunhuberDeeps: LoveGuru he created the partition by him self so not sure if there is a uuid on it.23:05
Deepsrbrunhuber: all partitions contain uuids23:05
Deepsls -l /dev/disk/by-uuid23:05
Deepsgives you the uuid and what it's corresponding label is23:06
Deepsand then instead of /dev/sda3, you'd use UUID=xxxx23:06
Deepswhere xxxx is your uuid23:06
LoveGuruls -l /dev/sda323:06
LoveGurubrw-rw---- 1 root disk 8, 3 2008-11-27 16:38 /dev/sda323:06
rbrunhuberDeeps: I'm quite sure this is not true if you did not use special commands23:06
DeepsLoveGuru: ls -l /dev/disk/by-uuid23:06
LoveGuruls -l /dev/sda3/by-uuid23:07
LoveGuruls: cannot access /dev/sda3/by-uuid: Not a directory23:07
DeepsLoveGuru: copy and paste: ls -l /dev/disk/by-uuid23:07
Deepsdo not replace of those bits23:07
Deepsdisk is disk, not sda323:07
LoveGuruohh23:07
LoveGuruahh ok23:07
LoveGurui got the UUID of /sda323:07
LoveGurulrwxrwxrwx 1 root root 10 2008-11-27 16:38 73a8827b-6cac-42d9-a918-e1d7fa657e1f -> ../../sda323:08
Deepsok so instead of listing /dev/sda3 in your fstab, you'd use UUID=73a8827b-6cac-42d9-a918-e1d7fa657e1f23:08
LoveGurualright thanks23:09
Deepsthat 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 mounts23:09
LoveGuruthats cool23:09
LoveGuruso just put "UUID=73a8827b-6cac-42d9-a918-e1d7fa657e1f /mnt/sda3 ext3" ?23:10
LoveGuruthats it?23:10
Deepshttps://help.ubuntu.com/community/Fstab23:11
LoveGuruok23:11
Deepsexplains it better23:11
Deepsor at least, in full23:11
LoveGuruDeeps: the guide is so cool..23:14
LoveGuruso after edit /etc/fstab. do i have do something else ?23:14
Deepsmount <mountpoint>23:15
Deepsto actually mount it23:15
rbrunhuberLoveGuru: 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
Deepsassuming it's not mounted already23:15
Deepswhat rbrunhuber said23:15
rbrunhuberLoveGuru: to unmount it use "umount /mnt/sda3"23:16
LoveGurugave me error when i try to umount it.23:17
LoveGuru sudo umount /mnt/sda23:17
LoveGuruumount: /mnt/sda: device is busy.23:17
LoveGuru        (In some cases useful info about processes that use23:17
LoveGuru         the device is found by lsof(8) or fuser(1))23:17
LoveGuruaamir@ab1adm:~$23:17
Deepserror message is descriptive23:17
LoveGuruDeeps: i didn't get it whats lsof or fuser means.23:18
* hads bets on being in the directory23:18
Deepshads: hehe23:18
rbrunhuberLoveGuru: you have to umount /dev/sda3 <- with the number not /dev/sda23:18
hadsheh, well spotted23:19
DeepsLoveGuru: lsof lets you see things like what processes are active in a directory23:19
* Deeps sees confusion between /mnt/sda, /dev/sda, /mnt/sda3 and /dev/sda323:19
Deepswhich nicely brings us around to using mountpoints that aren't based on disklabels23:19
Deepsand rather, using mountpoints that have a bit more meaning23:19
LoveGuruDeeps well my acutal entry in fdisk -l is /dev/sda3 but i mount it at /mnt/sda not /mnt/sda323:20
Deepsi'll leave y'all to it, i've got a tmnf match to play! gl loveguru23:20
hads/mnt/things_i_want_to_serve_with_my_web_server23:20
LoveGurutx Deeps :< but still confusing for me why i can't umount it :<23:20
rbrunhuberLoveGuru: what is the output of pwd?23:21
LoveGururbrunhuber: i tried that too "umount /dev/sda3 same error23:21
LoveGururbrunhuber im not in mnt point dir23:21
LoveGurui m in /23:21
* hads loses23:21
rbrunhuberLoveGuru: what is the output of "mount |grep /dev/sda3"23:21
LoveGuru mount |grep /dev/sda323:22
LoveGuru/dev/sda3 on /mnt/sda type ext3 (rw)23:22
rbrunhuberLoveGuru: what is the output of "lsof |grep /mnt/sda"23:23
LoveGurubash      5798      aamir  cwd       DIR    8,3    4096      2 /mnt/sda23:24
rbrunhuberLoveGuru: do you have another console window open where you are standing in /mnt/sda ?23:24
* hads wins23:25
LoveGururbrunhuber: no23:25
LoveGurui m not23:25
LoveGurushoot23:26
LoveGuruyes23:26
LoveGurui did sudo -i23:26
LoveGuruso the new terminal open23:26
LoveGuruya23:26
LoveGuruits fine now.23:26
rbrunhuberhads: you win.23:26
hads:)23:26
LoveGururbrunhuber: sorry for that.23:26
rbrunhuberLoveGuru: np23:27
LoveGurui didn't know that when i did sudo -i so the new tty comes up23:27
LoveGururbrunhuber: well i did umount /dev/sda3 and i think it works it won't give me any error this time23:27
rbrunhuberyou can check by "echo $?" should be 023:27
LoveGuruyup its 0 now23:28
LoveGurudo i have to do something else?23:28
rbrunhubernormally linux does not talk to you if it has nothing to complain ;-).23:28
LoveGuruhahaha23:28
LoveGuruya its quite Gud When we are not wrong :)23:29
rbrunhuberGud?23:29
LoveGuruSo now whenever i boot my linux it should be mount that mnt point it self.23:29
rbrunhuberLoveGuru: yes23:29
LoveGurui wanna say its really Good though23:29
LoveGurulinux doen't talk if we are not going wrong.23:30
LoveGuruWell rbrunhuber im done with that?23:31
rbrunhuberLoveGuru: 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
LoveGururbrunhuber; no its not Production.. its my home personal system.23:32
LoveGurualright give me minute. let me reboot it.23:32
rbrunhuberLoveGuru: and you may to use a more descriptive label in fstab.23:32
LoveGuruah..23:33
rbrunhuberLoveGuru: You may want to use a better mountpoint for the disk I wanted to say.23:34
rbrunhuberLoveGuru: something like /mnt/music instead of /mnt/sd3 (provided you want to store music on the disk ;-)).23:35
LoveGururbrunhuber: 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/bin23:36
LoveGurui dont know much about things so just take a shot with different mount point it works or not.23:36
LoveGuruwell rbrunhuber: still there is no entry of /dev/sda3 in df -h23:37
rbrunhuberwhat is the output of "mount |grep /mnt/sda3"?23:38
rbrunhuberLoveGuru: what is the output of "mount |grep /mnt/sda3"?23:39
LoveGuruthere is no output :<23:39
rbrunhuberLoveGuru: sorry and the output of "mount |grep /mnt/sda"?23:40
LoveGurui tried both23:40
LoveGuruno output23:40
rbrunhuberso it was not mounted23:40
LoveGuruso i have to mount it again ?23:41
rbrunhuberLoveGuru: Can you try to ask deeps for further assistance, I have to go23:41
LoveGuruohh23:41
LoveGurunevamind.23:41
LoveGuruu can go :)23:41
LoveGuruwell23:41
LoveGuruthanks U are sucha nice helper :)23:41
LoveGuruthanks for everything.23:41
rbrunhuberLoveGuru: Thanks, very generous ;-)23:42
LoveGuru:=)23:42
LoveGurulet c.23:42
LoveGuruif Deeps Comes :)23:42
LoveGuruthen i will talk to him and ask for help if he can ;)23:42
rbrunhuberLoveGuru: bye!23:45
LoveGurutc .. byE :)23:46
LoveGuruDeeps: could ya please help. if u got some time?23:48

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!