Re: resize2fs on LVM2 on hardware RAID5

2007-01-31 Thread Drake Mobius

of course, only use XFS with a very reliable and stable OS and power supply.
Being non-journalled, and all.

On 1/30/07, Roberto C. Sanchez [EMAIL PROTECTED] wrote:


On Tue, Jan 30, 2007 at 10:21:59PM +0100, Pim Bliek wrote:
 Hi

 Since a couple of months I am running Etch on a new production server,
 with the following specs:

 - kernel 2.6.18-smp package
 - lvm 2.02.06-3
 - RAID5 on a 3Ware card (3w_9xxx)

 I want to grow my /var filesystem ONLINE. I can find tons of docs on
 offline resizing, but I am not in the position to go into single user
 and umount it. This is production.

If you won't be shrinking LVs and want real online resizing support
(i.e., not experimental) then you want XFS.  I know that doesn't help
you out now, but for future reference.

Regards,

-Roberto

--
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFv/BD1snWssAFC08RAlW1AJ4kKVhtZJpTwohPgZa/o7oxc3VXqwCfWjIU
oqi9Ftxr/SVrGeLwj1VTDHg=
=JUrj
-END PGP SIGNATURE-




static linking?

2007-01-10 Thread Drake Mobius

Hi all

I'm trying to build a cd with a few utils, without loading a full-blown
distribution. So I'm loading everything into the initrd. I knew I'd need the
associated libraries, but I have been running into some troubles. I thought
it might help to just use as many statically linked executables as possible
-- dialog, ssh, etc.

The question is, how do I do that? I apt-get source dialog, for example, and
then ./configure and edit the resultant makefile to include -static on the
LDFLAGS line...but it doesn't seem to be working. ldd /usr/bin/local/dialog
returns 'not a dynamic executable' instead of 'statically linked'.

If anyone has any ideas, it would be really appreciated. If not, I guess I
could try to find a lightweight livecd (but I'd rather that be a last
resort)

(cross-posted just about everywhere)


Re: static linking?

2007-01-10 Thread Drake Mobius

OH. Well, thanks! I am used to seeing 'statically linked'. I guess the
issues I'm having getting dialog to run from init stem from somewhere else..

On 1/10/07, Jhair Tocancipa Triana [EMAIL PROTECTED] wrote:


Drake Mobius writes:

 The question is, how do I do that? I apt-get source dialog, for example,
and
 then ./configure and edit the resultant makefile to include -static on
the
 LDFLAGS line...but it doesn't seem to be working. ldd
/usr/bin/local/dialog
 returns 'not a dynamic executable' instead of 'statically linked'.

ldd returning 'not a dynamic executable' on your executable, means
that your executable *is* statically linked.

It will not resolve symbols using dynamic libraries, since all symbols
will reside in the executable itself.

A dynamic executable would say:

$ ldd foo
libpthread.so.0 = /lib/i686/libpthread.so.0 (0x4001f000)
libm.so.6 = /lib/i686/libm.so.6 (0x4007)
libwibucmlin.so = /usr/lib/libwibucmlin.so (0x40093000)
libc.so.6 = /lib/i686/libc.so.6 (0x403b4000)
/lib/ld-linux.so.2 = /lib/ld-linux.so.2 (0x4000)
libstdc++.so.5 = /usr/lib/libstdc++.so.5 (0x404e8000)
libdl.so.2 = /lib/libdl.so.2 (0x405a8000)
libgcc_s.so.1 = /lib/libgcc_s.so.1 (0x405ab000)

And a statically linked executable would say:

$ ldd foo
not a dynamic executable

$ file foo
file foo: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
for GNU/Linux 2.2.5, statically linked, not stripped
 ^
--
-- Jhair


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact
[EMAIL PROTECTED]




Re: Unofficial Debian GNU/Linux Repositories Overview

2006-03-29 Thread Drake Mobius
I believe you've missed ftp.nerim.net/debian-marillat/
You can check out a webpage with information about the available packages at http://ftp.nerim.net/debian-marillat/

This includes mythtv, libdvdcss, some amd64 packages, a whole bunch of useful things. On 3/29/06, Alexey N. Kovyrin 
[EMAIL PROTECTED] wrote:Hello, Debian Users,Sometimes, especially if you have switched from some another GNU/Linux
distribution to Debian GNU/Linux, your will have one major problem: youare missing some software available in your previous distribution. Thatis were Debian unofficial repositories can help you.In this article I want to describe the most popular unofficial
repositories with set of useful packages for my favorite Linuxdistribution - Debian .Read more:http://blog.kovyrin.net/2006/03/27/unofficial-debian-reposotories-overview/
Thanks for attention.--/Scoundrel[http://kovyrin.info]--To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]


Problem with X

2006-03-28 Thread Drake Mobius
Hi all,On my testing box, where a lot of installation/removal happens as I both 1) test new configs and 2) learn how to do things without fear of data loss, I've run into an issue with X windowsNo graphical/X apps appear to be able to open. Fluxbox doesn't report anything, but trying to open a graphical app from shell fails with:
Xlib: connection to :1 refused by serverXlib: No protocol specifiedSometimes multiple times per application. I do have Xauthority, I am running as user (not root), and my DISPLAY variable is set correctly. 
Any ideas folks?


Re: Honesty about some exim mistakes

2006-03-28 Thread Drake Mobius
Virtual domains are a big concern to me..I may be brand new at this but I'm stuck with the task and I need an enterprise-size mail server.cpanel: http://www.cpanel.net/ is used for site config and mgmt
plesk: server mgmt for web hosting. think webmin, but bigger.I think my greatest hate of exim-config thus far has actually been my lack of experience with DEBCONF, and thus all the debconf replacements in the otherwise easy to read config.
It should also be noted that the multi-file config is more like The Debian Way tmAs you can see with apache, includes of directories of files is easier for dropping in a new section and version managing an existing config. I do this also!
On 3/28/06, listrcv [EMAIL PROTECTED] wrote:
Greg Folkert wrote: If you do a bit of reading, you'll see that the multi-config files setup is very flexible.It might be flexible, but it's utterly hard to get and to maintain anoverview of what is actually being configured. I didn't manage to find
that out, and getting to the configuration you want becomes impossible.It's not only the splitting of the configuration across a multitude offiles, but using macros and/or replacements within the actual
configuration file created thereof makes it totally unreadable.Exim becomes like sendmail with this :( It's a very big mistake to do itthat way in the first place. It has made it so I can use Exim4 with C-Panel and
 Plesk, rather than shudder the default. Yes, I have a heavily invested time into it... but it works and I don't care.What are c-panel and plesk?I have also invested a lot of time into configuring mail servers. Many
years ago I kicked sendmail because it's not configurable and switchedto qmail on Suse distributions. When switching to Debian, Exim wasproposed as the default MTA, and I decided to give it a try. I found out
that Exim is just great because it's easy to configure and has lots ofnice features. But later, a switch from Exim3 to Exim4 was made (whichwas overdue), and Debain-Exim4 started out with the automagicconfiguration. I had more than enough trouble to get the simplest setup
with that on my system at home, and I still don't have the functionalityI had before yet because I gave up on the sucking autoconfig and haven'thad time to get it anew yet. Recently, I had to renew our company mail
server, and it was obvious that I wont be able to set things up with theautoconfig. So I just started with the example config provided along thedocs, and it became very easy to get to the required setup within a few
minutes. All I had to learn about is new features like ACLs and othersmall changes to the config options. There's no way to get that with theautoconfig, and anything you get out of it is an unreadable config file
that _might_ do what it should, but you won't know because you can'tread it. So I keep saying the autoconfig sucks.Fortunately, you don't have to use it if you don't want to, and if it'shelpful for others, than it is a good thing.
 Just think how nice it would be to be able to drop a template file into a directory for a domain (virtual) and then allow the owner to have control over it through a svn merge. So that it can be reverted.
 It'd be hell to do that with the single config.Hm, I have never dealt with virtual domains, so I can't think about it.I just keep hoping that we won't get forced to use the autoconfig atsome time.
And I can only recommend not to use it because it makes things much moredifficult once you want more than the standard options you are providedwith when setting up a system. But if you don't want more than that, you
won't ask here :)GH--To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of unsubscribe. Trouble? Contact 
[EMAIL PROTECTED]


Re: Honesty about some exim mistakes

2006-03-27 Thread Drake Mobius
Nah, I just used apt-get remove --purge then reinstalled and it allowed me to reconfigure properly. In fact I'm only using this address because gmail is SO good at dealing with lists.
On 3/27/06, listrcv [EMAIL PROTECTED] wrote:
Drake Mobius wrote: Now I've got my mail server running, and all it took was an hour and a half of complete idiocy and associated frustation!Yeah, the automagical configuration of Exim4 is a horrible mess! You
have no chance to get a clue what's actually configured and what not.Just ignore exim-config, copy over the example config from the docsdirectory, adapt it to your needs and make Exim use it. 15 minutes of
fun, and you got it running.GH