Reinstalling sarge led to my lvm partitions being marked 82 Linux swap!
Hello, After having a failing boot drive on my storage box, I reinstalled Sarge from scratch using the net-inst CD on a fresh drive. The box had two lvm volumes with some PEs for one of them on the failing disk, and the rest on other disks. In the installer I tried to only have it partition the new /dev/hda, and thought I was successful. However, once I got it up and running and tried to get the second, still intact, lvm volume working, I discovered that the partition type on all the other drives had changed to Linux swap! Here's a snippet of an fdisk -l on one of my partitions now: Device Boot Start End Blocks Id System /dev/ide/host0/bus1/target0/lun0/part1 1 24792 199141708+ 82 Linux swap Here is what it looked like before the reinstall: Device Boot Start End Blocks Id System /dev/ide/host0/bus1/target0/lun0/part1 1 24792 199141708+ 8e Linux LVM Interestingly, pvdisplay seems to somehow be able to see that there is lvm information on the drive: biotron:~# pvdisplay /dev/hdc1 --- Physical volume --- PV Name /dev/ide/host0/bus1/target0/lun0/part1 VG Name group_B PV Size 189.92 GB [398283417 secs] / NOT usable 32.19 MB [LVM: 151 KB] PV# 1 PV Status NOT available Allocatable yes (but full) Cur LV1 PE Size (KByte) 32768 Total PE 6076 Free PE 0 Allocated PE 6076 PV UUID 6he4J4-lpim-BHJG-334y-41DJ-Jz1n-lfMGA1 However, none of the lvm *scan utilities will find it, including vgscan. I'm assuming this is because of the partition type. I'd welcome any suggestions about what might have happened and if it might be possible to fix it. Even when the drive was failing I was still able to successfully mount the intact lvm volume with no problem. It was only after the reinstall of Sarge that I had problems getting to it. I'm tempted to try changing the partition type using fdisk or cfdisk, but I'd like to be certain that it will only change the partition type and not touch anything else before I try it, so I'm appealing here first for any wisdom that you can offer. Unfortunately, the data on those drives was actually very precious (not just mp3s and warez). The two lvm volumes were rsynced to each other and were on separate disks and this was providing a simple measure of redundancy, but the initial hard drive failure took out one volume because there were PEs on the failed drive for it, and now this has taken out the other, so I'm in dire straits. Thanks for any help, Mike Roark __ Do you Yahoo!? Yahoo! Photos: High-quality 4x6 digital prints for 25ยข http://photos.yahoo.com/ph/print_splash -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
RE: debian for ISP use
Chad, Here is my take on Debian Linux in an ISP environment. I admin'd for a company that managed a number of local telco ISP's (5 to be exact). Each company had their own box that handled radius authentication, email (both local and virtual), corporate websites, personal websites, ftp, and dns. We were running the following: Dec Unix, FreeBSD, RedHat, Suse, Solaris, and Debian. As far as uptime was concerned, the Debian machine was the hands down winner, followed closely by Suse and FreeBSD. Performance was not really fair to judge, as each machine was very different hardware-wise, but I felt that the Debian machine performed admirably (running on a 200mHz Micron Millenia w/256 MB of RAM). Installation was not a problem, nor were upgrades using dselect (though it is very different, not harder, than RPM). I had no problems compiling packages that I didn't install using dselect (a custom hack of radius, for example). The reason, in my opinion, for the surge in RedHat popularity is basically visability and marketing. Over a year ago you could walk into a software shop and find the Redhat distro. It has been a recent development to find Suse and Caldera in a shop (Bestbuy for example). Also, their install was more visually comforting than Debian (from the 1.x days). I say all of that to lead to this -- as you do not claim to be very technical, I would be more concerned with supporting the OS than anything else. Performance differences and package availability (at least as far as an ISP setting is concerned) is not really an issue. You can get what you need on any of the main distro's available. You need to be able to get help when you need it. If you find that you can no longer authenticate your dialup customers at 3 a.m. and you don't have anyone on staff that can help you, where are you going to turn? This list is helpful, but you will, in all likelihood, need something more immediate. There are a number of companies that offer support per incident. LinuxCare is the primary organization that comes to mind. They support Debian specifically. As far as Debian specific training goes, I don't think that it is important. You need training on Unix, and Linux specifically, not necessarily distro specific training. If you are comfortable on a Unix cl you should be fine in front of Debian. Things may be in different places, but they are mostly the same things. All in all, Debian is a wonderful distro with a committed group of people working on it, making it better, and fighting the Linux fight. I believe that it would serve you well and reliably. Michael On 28-Jun-99 Chad A.Adlawan wrote: (Redirected by Jude Ramas [EMAIL PROTECTED]) Greetings ! My first post on this list and I hope you can help me on this. We are an ISP presently running on slackware34 w/c is pretty much breaking up. It was installed for us years ago by some tech guy and we need to rebuild it. We already have contact with someone whom we'll hire on an install basis to do our dial-in, DNS, mail, etc linux server and he is recommending Debian GNU/Linux. May I ask what ISP's are presently using Debian and how widespread is its use ? If possible can you supply me with URL's because most of the talk we see on the net is re RedHat. We are not a very technical group, but we pretty can manage when given an already running system. What about Debian training, what options are there ? Thanks for your time, Jude -- Unsubscribe? mail -s unsubscribe [EMAIL PROTECTED] /dev/null ||--| | Michael Roark | We are what we repeatedly do. | | Tech Specialist| Execellence then is not an act, | | Candler County Schools | but a habit. -- Aristotle | ||--|
sendmail config problem
I just set up a spare machine intending on it being a small list server and mx host for another domain. The default Debian install is smail, but I removed it and installed Sendmail. I thought I had everything installed properly, but everything stops at /var/spool/mqueue . Sendmail seems to not be able to resolve host names. The error states Name Server: none blah, blah. I can resolve hostnames from the command line so that isn't necessarily the issue. Is there an internal for name service lookup in Sendmail or is there something missing from sendmail.cf? Anyone seen this before? Thanks, Michael -- ||--| | Michael Roark | We are what we repeatedly do. | | Tech Specialist| Execellence then is not an act, | | Candler County Schools | but a habit. -- Aristotle | ||--|
pcmcia problem after upgrade
I am sure this has come up before, but I can't find the answer in the archives. I just upgraded from 2.0 - 2.1 via apt-get. Everything seemed to go smoothly, but the new card services won't recognize my ethernet card. It's a Linksys Etherfast 10/100 PC Card (not Cardbus). I get a middle tone and low tone when inserting the card. I checked and it seems to be using the right IRQ. Any suggestions? Michael
loading pcmcia eth0
O.K., I just wiped my laptop to install Debian 1.3.1 (again), and have run into a problem. I have installed the system (plus some), recompiled the kernel with all the appropriate stuff and sundries, and generally done what I thought should be done. I cannot, however, get my ethernet card going properly. I can read my pcmcia cdrom with no problems, but when I insert my eth card, I get the high beep and the grr low beep indicating that something has failed. When looking in /var/log/message, I get no indication of the problem. ifconfig however shows no eth0, just loopback. I have read the pcmcia how-to to no avail. Any suggestions? Thanks, Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
(oops) loading pcmcia eth0 II
Sorry, I forgot a couple of things. First, I am using a 3com 3c589D card. Secondly, when I reboot the machine, I get the following errors when trying to recognize the card (?): socket 0: 3c589D /lib/modules/2.0.30/pcmcia/3c589_cs.o: unresolved symbol . . . snip (there are several lines of this) insmod exited with status 1 bind 3c589_cs to socket 0 failed; no such device I hope that is more info to figure this out :-) Thanks, Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
hostname problem (?)
I posted earlier today about configuring smail . . . well, I gave up and went back to my original problem with sendmail. As it turns out, it may not be sendmail at fault. In my mail.log file, I get the following message whenever I try to send mail to my main domain or receive mail from there with fetchmail: The following addresses have permanent fatal errors -- root Transcript of session follows -- 550 root . . . Host unknown (Name server: none: host not found) It doesn't matter whether I am using my ethernet connection or dialing up with ppp. I get the same thing. Also I get a long pause during startup when trying to initiate sendmail. I get the following in mail.err: My unqualified host name (debia) unknow; sleeping for retry unable to qualify my own domain name (debian) -- using short name That is where things stand. Any suggestions? Thanks, Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
smail set-up
I am new to smail (been using sendmail), and have a couple of questions. I am setting up services on a client only machine ( a laptop ). I will be receiving mail using fetchmail from several sources. I can't figure out how to do two things: 1. change the name of any outgoing mail to another username (i.e. [EMAIL PROTECTED] to [EMAIL PROTECTED]) 2. be able to send mail from my laptop to accounts on the main telconnect.com server. As it stands now, every message goes out as root and I can't send mail to anyone in my office - it keeps telling me the user does not exist (by looking at my own /etc/passwd file). Any ideas? Thanks, Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Xemacs weirdness
I need to ask a question that isn't Debian specific: if inappropriate, let me go ahead and apologize. I still have SuSE installed on my laptop. Curiousity got the best of me and I installed XEmacs this morning. I opened the prog and everything works fine except this: whenever I mouse-over the function button bar it beeps and tells me the following in the status bar at the bottom: Can't instantiate image (probably cached): [xbm :mask-file usr/include/X11/bitmaps/left.xbm (or whatever file) I checked and the bitmaps are actually there. Is there something I can do to fix it or maybe prevent it from trying to load the images? Thanks, Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
xserver and Matrox Mistique
I have just finished an install (1.3.1) on a machine with a Matrox Mistique. I followed the README on the cd (install the base, then the server in seperate sessions), but when I startx the screen goes blank, apparently after trying to contact the server. This is using the svga server. Is there a better one to try? I haven't had any luck finding the error output either. If I find that I will pass it along as well. Any ideas? Thanks, Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
mailer question
O.K. I'm going to go out on a limb here. I need to get one of my email servers to reject mail if the /var/spool/mail/user file is past a certain size. In so many words, I need to dole out the mailbox full error when needed. Is this something done with deliver or procmail, or is it a sendmail ruleset issue? Any suggestions? Thanks, Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: pop3 mail problem
Thus spake Brian Freeze [EMAIL PROTECTED] : I just upgraded my system with the latest pop3 server qpopper from the debian site. I am now getting errors when ever anyone tries to log on and get there mail. Mail client returns this: ERR maillock: '/var/spool/pop/username.pop' /var/log/messages returns this error: Jun 9 12:53:25 www in.qpopper[26900]: [EMAIL PROTECTED]: -ERR maillock: '/var/spool/pop/randy.pop' /var/log/daemon.log returns: Jun 9 12:53:25 www in.qpopper[26900]: connect from ws2.deltastar.nb.ca I used dftp to update my existing system and it also added shadow passwds to the system. I checked the qpopper docs dir and there is mention of allow.pop and deny.pop which neither file has been setup in /etc but it also stated if they weren't there it would run without them. Any ideas on what could be wrong? Brian, I ran into a similar problem a few months back when migrating from one machine to another. It turned out the problem was permissions on the /var/spool/mail folder. I had not set the sticky bit and it was rejecting everyones attempt to check mail. This may not be the situation for you, but it worked out for me. Good luck. Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re[4]: pop3 mail problem
I saw another list member post that we should stay away from qpopper. I haven't heard anything - either good or bad. Do you know what the problem is with that daemon. My Debian machine is serving 600 or so dial-up connections for mail (coming and going) and authentication. If I need to switch for more reliable performance I need to know. Any ideas? Thanks, Michael _ Michael Roark Systems Administrator Telconnect, Inc. v. 912.685.3947 f. 912.685.4880 _ _ Going to church does not make a person religious, nor does going to school make a person educated, any more than going to a garage makes a person a car. - unknown -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re[6]: pop3 mail problem
Thus spake Steve Lamb [EMAIL PROTECTED] : On Tue, 9 Jun 1998 11:38:04 -0500 (EST), Michael Roark wrote: I saw another list member post that we should stay away from qpopper. I haven't heard anything - either good or bad. Do you know what the problem is with that daemon. My Debian machine is serving 600 or so dial-up connections for mail (coming and going) and authentication. If I need to switch for more reliable performance I need to know. Any ideas? It is just personal bias on my part against qpopper because of one glaring oversight they made. In the non-standard (IIRC) pop send feature, which I do use from time to time, they properly accept an escaped \n.\n string. EG, they take \n..\n and strip it to the proper \n.\n string. The problem is, when they pass it on to the SMTP server they forget to escape it again so any message which contains a dot on a line by itself will end prematurely. To me that is unforgivable and calls into question what other glaring errors are lurking just below the surface. Well, that explains some things. I have been getting the following errors _alot_: collect: premature EOM: connection reset by dial31.planters.net collect: I/O error on connection from dial31.planters.net One follows the other without fail. Should I try cucipop instead? Thanks, Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Problems with /dev/audio
I have been fiddling around with getting audio going today and have run into a snag. I am using a Hitachi C-120 laptop that has a Sound Blaster 16 compatible board. I have compiles the kernel to support it and such, but I am getting devide busy when tkdesk tries to us an .au file. Also, when I try to cat an .au file to /dev/audio all I get is a faint clicking noise from the speakers. The output from cat /dev/sndstat follows: Sound Driver:3.5.4-960630 (Sun May 10 16:39:07 EST 1998 root, Linux suse 2.0.33 #7 Sun May 10 16:10:17 EST 1998 i586 unknown) Kernel: Linux suse 2.0.33 #8 Sun May 10 16:41:26 EST 1998 i586 Config options: 0 Installed drivers: Type 2: Sound Blaster Card config: Sound Blaster at 0x240 irq 10 drq 1,1 Audio devices: 0: ESS ES1688 AudioDrive (rev 11) Synth devices: Midi devices: NOT ENABLED IN CONFIG Timers: 0: System clock Mixers: If you notice, there is a Sound Blaster entry under installed drivers and under Card config, but not under Audio devices. It shows the ESS, which also shows up in the boot messages. Any ideas? Thanks, Michael 0: Sound Blaster -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
LI when booting
I know this topic is hardly fresh, but I can't find the solution anywhere. You know the case -- installing to a large disk -- reboot and freeze at LI. What how-to do I read to find the fix? Any suggestions would be great. Thanks, Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: NFS and /etc/exports
Thus spake Tim O'Brien [EMAIL PROTECTED] : I was wondering.. If I make a change to /etc/exports to export a different directory as an NFS mount, what do I have to do to get /etc/exports read again so the new mount will become available? I tried just changing the file, no results. The only thing I found that works is rebooting. I _know_ there's got to be another way besides that.. Thanks, Tim Tim, In order for the system to re-read the exports file you must kill -HUP both the rpc.mountd and rpc.nfsd. Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: pop3 problem
Martin, I went back and plugged in the qpopper daemon. I tried to telnet to pop-3, but after pass password I get ERR- maillock: '/var/spool/pop/user.pop' Anything else to try? I can't check it with 'mail' from the prompt either. I get /var/spool/mail/user permission denied. Permissions? I don't know. Anything? Michael -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
pop3 problem
I have a debian box that serves mail for a large group of people (off site). I was using in.qpopper for the pop3 daemon until the trouble started. Now, when they try to check mail they get the following error: Could not log in to the POP3 server. The server responded: maillock: '/var/spool/pop/username.pop' Please enter a new password for POP3 user user@domain.com I tried everything under the sun to get that fixed, but couldn't, so I downloaded the pop3d package. After compiling it, users can check mail, but the server responds that they don't have any, though they do. Evidently the pop client can connect to the port, but the daemon checks in the wrong place for the mail. I don't know where to go to troubleshoot the problem further. Does anyone have any ideas? Thanks in advance, Michael -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
pop3 problem
Udate: on the pop3 problem - I got a log file going. It does check /var/spool/mail as it should, but reports 0k for the user when checking. If you go to the directory, there is a mail file for the user. Any Ideas? Michael -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
kernel building
I am trying to build a new kernel, but the build keeps erring out. It fails with the following: objdump: illegal option -- k Any ideas? Thanks, Michael -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .
ip_alias.o
I am trying to setup ip aliasing on a new Debian box and am having trouble finding where to get ip_alias.o. I evidently missed it in the install and can't find it on the ftp site. Can anyone point me in the right direction? Thanks, Michael -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .