Linux-Misc Digest #453, Volume #27 Mon, 26 Mar 01 11:13:04 EST
Contents:
Re: Partitions and Sizes (Ralph Miguel Hansen)
Re: Partitions and Sizes (Ralph Miguel Hansen)
Re: how can uninstall and install cron daemon ([EMAIL PROTECTED])
Re: Partitions and Sizes ("Peter T. Breuer")
Re: ssh to linux/unix from windows (Michel Bardiaux)
Re: NFS Installation ([EMAIL PROTECTED])
Re: Help please! My root partition's supper block dead (Ralph Miguel Hansen)
Re: how do I zip it (Eggert Ehmke)
Re: Newbie Configure Network Card? ("Eric Dennis")
Re: Partitions and Sizes (Jean-David Beyer)
Re: Music Editing Software (Tom)
Re: Help: Howto setup dialin server (Dustin Puryear)
SuSE-7.0, get rid of the nfslockdsvc failure message? ("G. Hugh Song")
----------------------------------------------------------------------------
From: Ralph Miguel Hansen <[EMAIL PROTECTED]>
Subject: Re: Partitions and Sizes
Date: Mon, 26 Mar 2001 16:15:03 +0200
Reply-To: [EMAIL PROTECTED]
Peter T. Breuer wrote:
> Ralph Miguel Hansen <[EMAIL PROTECTED]> wrote:
>> Peter T. Breuer wrote:
>>> Ralph Miguel Hansen <[EMAIL PROTECTED]> wrote:
>>>> Tim Thompson wrote:
>>>
>> I like to do things properly too, but so much partitions seems to me like
>> a
>
> That's nice
>
>> kind of overkill. If he installs things like KDE or Gnome, 100 MB swap
>
> Why does it seem that way to you? It's correct. Read the
> Partitioning-HOWTO for more info. And no, it's not many partitions.
> He only has / /usr /var and /home. If you were getting fancy, you could
> argue for /usr/share, /usr/X11R6, /usr/local and /opt and /users as
> well.
>
>> working together with 64 MB RAM isn't too much. And if you don't like the
>
> That's not nice. If he needs 100MB swap he is dead in the water. He should
> never be more than about 10MB into swap at a maximum or his machine
> will go at the speed of his disk, not at the speed of his ram and
> cpu. 64MB swap is more than enough for 64MB ram, and he could probably
> cut it to 32MB. It'd be a good idea. FYI kde needs about 32MB of resident
> ram.
>
>> way I am answering to a question, don't reply to my posting, troll.
>
> G'way. I don't like the way you are answering the question AND I
> don't like the posting of misinformation. I am _correcting_ your
> posting, not replying to it.
>
> To give you the benefit of the doubt (i.e. that you are not trying to
> soothe your ego but actually trying to provide a techically feasible
> alternative) and to put words into your mouth, I suspect that you are
> advocating / (1GB) and /home (500MB). I.e. you don't like /usr and /var
> being split off from /.
>
> Why not? If he uses 64Mb for / he can only be overestimating by
> 10-25MB, which means he loses out on 10-25MB of available space. If he
> doesn't like that, he can always repartition and do it again. I'm
> guessing he needs 48MB, so I am saying 64. And then he has the benefit
> of having / all nice and bootable the next time he does something silly
> to the rest of his disk, which he will do in fairly short order. That's
> a BIIIIG lifesaver.
>
> And if you seriously advocate having /var on the same partition as /,
> you are crazy. I really hate having my /etc/mtab not creatable at boot
> time because my /var/log files have filled the disk. It's also not good
> wrecking your nice stable / partition because your machine was busy
> writing stuff to syslog at the time the appartment cleaner pulled the
> plug. I hate having a machine complain it can't boot because / contains
> duplicated blocks and would the nice person in charge kindly disentangle
> /var/log/apache/error.log from /lib/libc-2.1.3.so, which were the two
> files "in use" at the time the power went. Brrrrrrrrrrr.
>
>
> Peter
>
I don't like to do stuff like partitioning twice and I don't like to run
out of space in let's say /usr and having a lot of space left on /opt. What
you said about the growing logs is right; therefore a /var may be
recommended.
Cheers
Ralph Miguel Hansen
Using S.u.S.E. 4.3 and SuSE 7.1
------------------------------
From: Ralph Miguel Hansen <[EMAIL PROTECTED]>
Subject: Re: Partitions and Sizes
Date: Mon, 26 Mar 2001 16:17:39 +0200
Reply-To: [EMAIL PROTECTED]
Martin Vonwald wrote:
> Ralph Miguel Hansen wrote:
>
>> Tim Thompson wrote:
>>
>>> Can any one give me some advice on what partitions to set up and the
>>> size they should be? From reading the info on the web, there seems to be
>>> lots of conflicting information, but so far I plan to set up the
>>> following,
>>>
>>> / 200mb
>>> /usr 850mb
>>> /var 50mb
>>> /boot 10
>>> /home 320
>>> Swap 64mb
>>>
>>> My main concern is that the /home partition is not the correct size. The
>>> book I am using says that you do not need this partition, but a lot of
>>> the stuff on the web says that it is worth setting up and that it should
>>> be "set according to your needs." As I am new to this I do not know what
>>> my needs will be!
>>>
>>> I intend to run Linux on a stand-alone lap-top, single user. I have 64mb
>>> memory and 1.5gb hard-disk.
>>>
>>> Thanks
>>>
>> Why so many partititons ? One for swap (100MB), one / (700-900MB) and one
>> /home should be enough for your 1,5 GB -disk
>>
>> Cheers
>>
>> Ralph Miguel Hansen
>> Using S.u.S.E. 4.3 and SuSE 7.1
>
> I read your message and the replies to it - and have to agree you - even
> more: for a linux beginner who uses a machine only for one person it is
> _completely overkill_ to have more than _one_ partition (+swap).
> Dont think "server" - think "workstation"!
> He will use this machine alone. So why does he need a /usr, /var, .....
> partition???
> Especially on such a small harddisk it will happen for sure, that one of
> his partition is full while on others there is still plenty of room.
>
> For single user machines I cant see any reason for more than two
> partitions (root and swap). When he has gained some experience later on
> and want to setup a _real_ machine he can take a look on his machine and
> find out how many space is used by each directory and then do it the
> "right way".
>
> I have to say that all my workstations (all single user) have still only
> two partitions - only the servers are done the "right way".
>
> greetings,
> Martin
>
I like /home as a separate partition because no personal data are lost if
re-installing the system.
Cheers
Ralph Miguel Hansen
Using S.u.S.E. 4.3 and SuSE 7.1
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: how can uninstall and install cron daemon
Date: Mon, 26 Mar 2001 14:20:20 GMT
Alumne FIB - MARC COLL CARRILLO <[EMAIL PROTECTED]> writes:
> To uninstall cron: rpm -e crond
> to install it again, mount the Red Hat CD-ROM, go to /cd_dir/RedHat/RPMS/
> and run rpm -Uvh crond-xxx.i386.rpm (where xxx is the version number)
> PD:
> You should upgrade your distribution. Red Hat 7.0 is avaliable since
> long time ago.
.. But it might be wiser to install Red Hat 6.2, at this point, as
that is the "bugs from 6.0 and 6.1 fixed" version, and lacks the
"we'll aggressively add the latest bleeding edge bugs" of 7.0...
--
(reverse (concatenate 'string "gro.mca@" "enworbbc"))
http://www.ntlug.org/~cbbrowne/resume.html
"For systems, the analogue of a face-lift is to add to the control
graph an edge that creates a cycle, not just an additional node."
-- Alan Perlis
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Subject: Re: Partitions and Sizes
Date: Mon, 26 Mar 2001 14:29:38 GMT
Martin Vonwald <[EMAIL PROTECTED]> wrote:
> I read your message and the replies to it - and have to agree you - even
> more: for a linux beginner who uses a machine only for one person it is
> _completely overkill_ to have more than _one_ partition (+swap).
> Dont think "server" - think "workstation"!
Why? There is no difference. The configuration is exactly equal. Only
microsoft like to pretend that there is for the commercial reason that
they can charge more for one than the other. And some distros copy them
as a way of giving users what they expect to be buying, and thus
letting them buy it! (I "sell" some of my free software for the same
reason - many companies just don't have a way of invoicing for free
things so you have to let them be charged for it!).
> He will use this machine alone. So why does he need a /usr, /var, .....
> partition???
To protect himself from erorrs and power outs and hardware failures and
the like. Exactly as he would on any machine. Just like you do for
your "server". Are you saying that the data and configuration of his
"workstation" are somehow less valuable than those on his "server"?
That's possibly so, but you'll have to explain how.
> Especially on such a small harddisk it will happen for sure, that one of
> his partition is full while on others there is still plenty of room.
Good! That's excellent. It means he has protected himself.
> For single user machines I cant see any reason for more than two partitions
You cannot have /var and / (and /home) on the same FS without causing
major pain. For one thing, you can't make /usr readonly, like it should
be, to save your skin.
> I have to say that all my workstations (all single user) have still only
> two partitions - only the servers are done the "right way".
Why are you wibbling? Putting up a 64MB partition for / and a 700MB
partition for /usr and a 256MB partition for /var is no skin off your
nose, or anyones. He will need 48MB for / in any case, so he wastes
20MB. He will need all of 200MB for /var in any case, so he wastes
nothing there. If he doesn't like it that way, let him get out parted and
change whatever he's not satisfied with! It takes all of 60s.
What's the bother? You act like putting in more partitions is somehow
more effort! But it's not. One of 64MB for root and one of 700MB for
/var and one of 200MB for /var takes no more physical effort at setup
than one of 1GB for /. But it saves your hide later on.
And while he can trivially _combine_ partitions if he feels like, it he
cannot trivially _split_ them, so it is best to start out with as many
partitions as you can. Use the whole 15 or 64, if you like! It doesn't
cost any effort to coalesce them as needed.
Peter
------------------------------
From: Michel Bardiaux <[EMAIL PROTECTED]>
Subject: Re: ssh to linux/unix from windows
Date: Mon, 26 Mar 2001 14:32:08 GMT
ThanhVu Nguyen wrote:
>
> Sorry, I want to connect to a nix machine and able to use X on it. Can't
> run VNC because the Nix machines don't have those.
>
> > Oh, wait. Your subject line is misleading. X-servers and ssh are not
> > the same thing. I think you want VNC. It's GPLed and runs under Win32
> > and Linux. HTH,
> >
http://sources.redhat.com/cygwin/xfree/
--
Michel Bardiaux
------------------------------
From: [EMAIL PROTECTED]
Subject: Re: NFS Installation
Date: Mon, 26 Mar 2001 14:31:49 GMT
On Sat, 24 Mar 2001 06:44:48 GMT, [EMAIL PROTECTED] (Fester) wrote:
>I saw [EMAIL PROTECTED] rant about the following:
>> I set up the NFS server and exported /mnt/cdrom.
>> The clients see the directory (I can mount to it on a running
>>client as well, and I can see the entire tree).
>>
>> The problem:
>>
>> When I try to install Linux on a machine using NFS, the install
>>fails because it does not recognize the tree as a Red Hat installation
>>tree. The Red Hat CD is in the server's CDROM drive --- What gives?
>>
>> Any suggestions would be GREATLY appreciated.......
>>Thanks.
>
>Try /path/RedHat/
>
>Where path is where you have mounted the exported /mnt/cdrom. The "RedHat
>installation tree" is a subdirectory on the cdrom, not the root directory
>of the cdrom.
I tried that as well, but still get the same error. My exports file
looks like this:
/mnt/cdrom (ro)
/var/ftp/pub/rh7 (rw)
the second directory contains the 2 bindery CDs.
When I choose the mount location on the server for the NFS install, I
choose the RedHat subdirectory. Is there something else I'm missing?
------------------------------
From: Ralph Miguel Hansen <[EMAIL PROTECTED]>
Subject: Re: Help please! My root partition's supper block dead
Date: Mon, 26 Mar 2001 17:04:51 +0200
Reply-To: [EMAIL PROTECTED]
John Todd wrote:
> Also use -f to force it:
> e2fsck -f -b 8193 /dev/hdb2
>
snip
>
You are right... . Shame on me.
Cheers
Ralph Miguel Hansen
Using S.u.S.E. 4.3 and SuSE 7.1
------------------------------
From: Eggert Ehmke <[EMAIL PROTECTED]>
Subject: Re: how do I zip it
Date: Mon, 26 Mar 2001 17:26:36 +0200
Reply-To: [EMAIL PROTECTED]
On Mon, 26 Mar 2001 10:26:48 +0100, "Michelle Reddan" <[EMAIL PROTECTED]>
wrote:
>I want to compress a folder.
>I created a tar file of it, but how do I reduce the size, is there a way to
>zip in linux
tar cfz archive.tar.gz directory-to-compress
--
Eggert Ehmke
Email: [EMAIL PROTECTED]
------------------------------
From: "Eric Dennis" <[EMAIL PROTECTED]>
Subject: Re: Newbie Configure Network Card?
Crossposted-To:
alt.uu.comp.os.linux.questions,comp.os.linux.help,comp.os.linux.questions,comp.os.linux.redhat,comp.os.linux.setup,linux.redhat.install
Date: Mon, 26 Mar 2001 15:27:08 GMT
You've been using too much Windows 2000: the command is 'ifconfig', not
'ipconfig'. And it's better to use 'ifconfig -a' for troubleshooting, because
it shows all interfaces, including downed ones.
FYI, piping dmesg output to more is not always the best way to check for a
network driver being loaded, because other messages are often written
to the kernel ring buffer that will prevent you from seeing the initial
boot-time dmesg entries. If this has occurred, then try 'less
/var/log/dmesg'. Under Red Hat 7, the dmesg output from immediately
after initial boot-up is saved to that file.
Also, an easy way to configure network interfaces under Red Hat 7 is
linuxconf.
In article <xYGv6.12877$[EMAIL PROTECTED]>,
"RickQ" <[EMAIL PROTECTED]> wrote:
> You can check to see if linux has recognized your card by typing
> "ipconfig". This will display loopback, and ethernet connections. Also,
> you can use
> "dmesg|more" to see the boot up sequence and see if it list any eth0
> lines.
>
>
> "The R" <[EMAIL PROTECTED]> wrote in message
> news:HQAv6.64431$[EMAIL PROTECTED]...
>> Where do I go to configure the network card and TCP/IP on RH Linux 7.0
>> running either KDE or GNOME desktop?
>>
>> I have a network card installed and I'm not sure if Linux has found it,
>> if not how do I install it? (I have linux drivers)
>>
>> Ps. the card is a linxus card..
>>
>>
>>
>
>
------------------------------
From: Jean-David Beyer <[EMAIL PROTECTED]>
Subject: Re: Partitions and Sizes
Date: Mon, 26 Mar 2001 10:28:49 -0500
Ralph Miguel Hansen wrote:
>
> Peter T. Breuer wrote:
>
> > Ralph Miguel Hansen <[EMAIL PROTECTED]> wrote:
> >> Peter T. Breuer wrote:
> >>> Ralph Miguel Hansen <[EMAIL PROTECTED]> wrote:
> >>>> Tim Thompson wrote:
> >>>
> >> I like to do things properly too, but so much partitions seems to me like
> >> a
> >
> > That's nice
> >
> >> kind of overkill. If he installs things like KDE or Gnome, 100 MB swap
> >
> > Why does it seem that way to you? It's correct. Read the
> > Partitioning-HOWTO for more info. And no, it's not many partitions.
> > He only has / /usr /var and /home. If you were getting fancy, you could
> > argue for /usr/share, /usr/X11R6, /usr/local and /opt and /users as
> > well.
> >
> >> working together with 64 MB RAM isn't too much. And if you don't like the
> >
> > That's not nice. If he needs 100MB swap he is dead in the water. He should
> > never be more than about 10MB into swap at a maximum or his machine
> > will go at the speed of his disk, not at the speed of his ram and
> > cpu. 64MB swap is more than enough for 64MB ram, and he could probably
> > cut it to 32MB. It'd be a good idea. FYI kde needs about 32MB of resident
> > ram.
> >
> >> way I am answering to a question, don't reply to my posting, troll.
> >
> > G'way. I don't like the way you are answering the question AND I
> > don't like the posting of misinformation. I am _correcting_ your
> > posting, not replying to it.
> >
> > To give you the benefit of the doubt (i.e. that you are not trying to
> > soothe your ego but actually trying to provide a techically feasible
> > alternative) and to put words into your mouth, I suspect that you are
> > advocating / (1GB) and /home (500MB). I.e. you don't like /usr and /var
> > being split off from /.
> >
> > Why not? If he uses 64Mb for / he can only be overestimating by
> > 10-25MB, which means he loses out on 10-25MB of available space. If he
> > doesn't like that, he can always repartition and do it again. I'm
> > guessing he needs 48MB, so I am saying 64. And then he has the benefit
> > of having / all nice and bootable the next time he does something silly
> > to the rest of his disk, which he will do in fairly short order. That's
> > a BIIIIG lifesaver.
> >
> > And if you seriously advocate having /var on the same partition as /,
> > you are crazy. I really hate having my /etc/mtab not creatable at boot
> > time because my /var/log files have filled the disk. It's also not good
> > wrecking your nice stable / partition because your machine was busy
> > writing stuff to syslog at the time the appartment cleaner pulled the
> > plug. I hate having a machine complain it can't boot because / contains
> > duplicated blocks and would the nice person in charge kindly disentangle
> > /var/log/apache/error.log from /lib/libc-2.1.3.so, which were the two
> > files "in use" at the time the power went. Brrrrrrrrrrr.
> >
> >
> > Peter
> >
> I don't like to do stuff like partitioning twice and I don't like to run
> out of space in let's say /usr and having a lot of space left on /opt. What
> you said about the growing logs is right; therefore a /var may be
> recommended.
>
> Cheers
>
> Ralph Miguel Hansen
> Using S.u.S.E. 4.3 and SuSE 7.1
I think there is a lot to be said for partitioning twice, but in an
educated way.
1.) First time: one swap partition, one /home partition (guess the
size), and / for everything else. Run this for several months to see
how things go. Then proceed to step 2.
2.) With the statistics that you should now be able to collect,
consider making more partitions.
Get the sizes of things like /usr, /opt, /home, /tmp, /var by running
du /usr, du /opt, etc. Determine the amount of swap space needed by
watching its consumption with a tool like top (man top), or cat
/proc/swaps. (Do this latter from time to time to determine the
maximum amount used.
2a.) I have limited experience with large systems with lots of users
as a sysadmin, so I can say that one objective is to get as much stuff
out of / as possible without breaking your system. Thus, you should
surely leave /bin, /etc, /lib, and /sbin in the / partition. Based on
my own needs, I how have:
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda8 5249680 2096988 2886016 42% /
/dev/sda1 23302 6547 15552 30% /boot
/dev/sdb1 23302 6535 15564 30% /boot2
/dev/sda3 2016044 120672 1792960 6% /data1
/dev/sdb3 2016044 120416 1793216 6% /data2
/dev/sdb5 6649148 452228 5859156 7% /home
/dev/sda5 1011928 391712 568812 41% /opt
/dev/sda6 132207 235 125146 0% /tmp
/dev/sda7 248895 33963 202082 14% /var
for my partitions. IMO, the / partition still has too much stuff in
it, but the biggest offender is IBM's DB2 that INSISTS on being in
/usr/IBMdb2, and it is over 100 megabytes. It is unlikely that you
would need the /data1 or /data2 partitions.
The compromises in deciding on the number of partitions is related to
the fragmentation you want to put up with, vs. the isolation you get
with a lot of partitions. Usually if you screw up a partition, it is a
larger one that gets it (larger in the sense of most accesses per unit
of time). Thus a smaller partition is less likely to get hit (and you
surely want the / partition to be OK or you will have trouble
rebooting your system). If I had a lot of users, I would split /home
up into several pieces, for example.
If you do a lot of source development, you may wish, also, a /usr/src
partition.
--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 73926.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 10:10am up 15:58, 4 users, load average: 2.10, 2.09, 2.07
------------------------------
From: Tom <[EMAIL PROTECTED]>
Subject: Re: Music Editing Software
Date: Mon, 26 Mar 2001 15:30:03 -0000
I might have what you are looking for, I over the past few weeks have
been looking for some software to do the same thing. I recently
downloaded AcidWav. I have not yet found out how to isolate and remove
the lyrics from a song but I am learning. I hope this helps you out in
your search.
Morrison Hughes wrote:
>
> Can you point me to any good quality software on the market that will
> allow me to edit out the lyrics from a song?
>
> To accomplish this task, do I need any special hardware?
>
> --
> Posted via CNET Help.com
> http://www.help.com/
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: [EMAIL PROTECTED] (Dustin Puryear)
Crossposted-To: comp.os.linux.networking,comp.os.linux.setup,alt.linux
Subject: Re: Help: Howto setup dialin server
Date: Mon, 26 Mar 2001 09:26:27 -0600
Reply-To: [EMAIL PROTECTED]
On Fri, 23 Mar 2001 02:21:36 GMT, David. E. Goble <goble@gtech> wrote:
>On Tue, 20 Mar 2001 09:40:39 -0600, [EMAIL PROTECTED] (Dustin
>Puryear) wrote:
>>
>>Where is the configuration for the remote peer?
>>
>Hi Dustin;
>
>Currently the remote computer is my fathers Apple Mac performa 580. As
>far as I know, it only requires a username and password.
>
>This remote computer does make a connection and does login, but then
>disconnects and my server then shows the error "Could not determine
>local IP" in /var/log/ppp.
Well, now I have this, but no longer have the server configuration. Anyway,
I'll post a known working configuration and you can work from that.
## Dial-up PPP server options
# Peer auth
auth
require-pap
# Debug options
#kdebug 1
#debug
# Link options
asyncmap 0
modem
crtscts
lock
# Act as ARP proxy for peer
proxyarp
# Send DNS and WINS information
ms-dns ns
ms-wins wins
# Idle time-out in seconds
idle 7200
# Do not detach pppd
nodetach
Regards, Dustin
>>
>>--
>>Dustin Puryear <[EMAIL PROTECTED]>
>>http://members.telocity.com/~dpuryear
>>Integrate Linux Solutions into Your Windows Network
>>- http://www.prima-tech.com/integrate-linux
>>
>
--
Dustin Puryear <[EMAIL PROTECTED]>
http://members.telocity.com/~dpuryear
Integrate Linux Solutions into Your Windows Network
- http://www.prima-tech.com/integrate-linux
------------------------------
From: "G. Hugh Song" <[EMAIL PROTECTED]>
Crossposted-To: comp.protocols.nfs
Subject: SuSE-7.0, get rid of the nfslockdsvc failure message?
Date: Tue, 27 Mar 2001 00:48:57 +0900
I am using the SuSE-7.0 distribution of Linux.
During the boot procedure, nfslockdsvc fails, although
nfsserver still works after the boot.
How can I make this situation clean?
Thanks a lot.
Regards,
--
G. Hugh Song
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************