Re: [gentoo-user] How many GB for / partition?

2006-02-16 Thread Martin Eisenhardt
Alexander Skwar wrote:
 Hm, as I said before - have a look at LVM. It makes
 life *SO* much easier. I don't quite get, why people
 still do the old style partitioning.

 For example, in your setup, how do you make /var larger, if need
 be?

 With LVM, it would just be a matter of lvresize -L+512m
 /dev/Volume00/Var. You also wouldn't waste so much space.

 Alexander Skwar
 --
 BOFH Excuse #126:

 it has Intel Inside

I do agree with almost all you said (like - for instance - having separate 
filesystems for the different top-level directories). Indeed, this (using 
several small filesystems mounted together instead of one large filesystem 
for /) is a technique that can be applied to speed things up (have a look at 
http://gentoo-wiki.com/TIP_Speeding_up_portage to see how Portage may profit 
from the use of small filesystems).

Having said that, I would like to suggest that instead of using LVM, the 
top-poster might be better off by using EVMS (http://evms.sourceforge.net) 
since EVMS sports different UIs for all kinds of users (CLI, ncurses, X) and 
automates many tasks like resizing etc.

Kind regards
Martin Eisenhardt
-- 
Dipl. Wirtsch.Inf.(Univ.) Martin Eisenhardt

Otto-Friedrich-Universität Bamberg
Fakultät Wirtschaftinformatik und Angewandte Informatik
Lehrstuhl für Medieninformatik

D-96045 Bamberg

fon: +49 (951) 863-2856
fax: +49 (951) 863-2852

www: http://www.mneisen.org


pgptl8XUmkLRt.pgp
Description: PGP signature


Re: [gentoo-user] How many GB for / partition?

2006-02-16 Thread Martin Eisenhardt
On Thursday February 16 2006 16:10, [EMAIL PROTECTED] wrote:
 Alexander Skwar [EMAIL PROTECTED] wrote:
  Hm, as I said before - have a look at LVM. It makes
  life *SO* much easier. I don't quite get, why people
  still do the old style partitioning.

 Correct me if I am wrong, but with lvm you do not have
 control over physical placement of your partitions. Right?

No, wrong, I am sorry :-D

You might let LVM choose where to put the extends for a newly created logical 
volume, but you might also tell LVM where to put it.

 So if you use lvm even for swap, lvm might place it anywhere
 on disk, on the beginning (first cylinders, highest speed,
 i.e. ~50 MB/s) or at the end (in my case ~30 MB/s).

You can tell LVM to put it wherever you want, see above.

 Utilities like hdtach (win-world, I do not know something
 equivalent for linux) show, that read/write speed is not
 constant over the whole disk (number of sectors on outside
 cylinders is much higher, than on the inside cylinders).

Correct, but then - does the performance of your system really depend on the 
speed of your swap device? If so, consider upgrading RAM. You will *never* 
get swap devices so fast that it is really pleasurable to work with them.

 In some cases it might matter to partition disk wisely,
 for example when someone is doing tv/video grabbing, he
 needs maximum transfer speed to avoid frame-dropping, so
 it might be worth putting /home or /tmp somewhere near
 beginning of disk (outside cylinders).  Similar for swap,
 plus optimising of head-movement, etc...

Again, see above.

Regards
Martin
-- 
Dipl. Wirtsch.Inf.(Univ.) Martin Eisenhardt

Otto-Friedrich-Universität Bamberg
Fakultät Wirtschaftinformatik und Angewandte Informatik
Lehrstuhl für Medieninformatik

D-96045 Bamberg

fon: +49 (951) 863-2856
fax: +49 (951) 863-2852

www: http://www.mneisen.org


pgpsmF2p3QUtq.pgp
Description: PGP signature


Re: [gentoo-user] How many GB for / partition?

2006-02-16 Thread Martin Eisenhardt
On Thursday February 16 2006 16:30, Alexander Skwar wrote:
 [EMAIL PROTECTED] wrote:
  Alexander Skwar [EMAIL PROTECTED] wrote:
  Hm, as I said before - have a look at LVM. It makes
  life *SO* much easier. I don't quite get, why people
  still do the old style partitioning.
 
  Correct me if I am wrong, but with lvm you do not have
  control over physical placement of your partitions. Right?

 Right.


No, wrong, please see my other message.

You *can* tell LVM where to put LVs but you do not *have* to. In the latter 
case, LVM chooses where to put the LV.

Regards
Martin
-- 
Dipl. Wirtsch.Inf.(Univ.) Martin Eisenhardt

Otto-Friedrich-Universität Bamberg
Fakultät Wirtschaftinformatik und Angewandte Informatik
Lehrstuhl für Medieninformatik

D-96045 Bamberg

fon: +49 (951) 863-2856
fax: +49 (951) 863-2852

www: http://www.mneisen.org


pgplY2eYDI5EM.pgp
Description: PGP signature


Re: [gentoo-user] How many GB for / partition?

2006-02-16 Thread Martin Eisenhardt
On Thursday 16 February 2006 17:21, Alexander Skwar wrote:

  You *can* tell LVM where to put LVs but you do not *have* to.

 But how do you actually do that? Or are you talking about
 the allocation policy? Like --contiguous y?


Well, first of all, you can pass lvcreate a list of physical volumes that are 
then used to allocate extends for the newly created logical volume. By the 
order of LV creation, you determine the sequence of LVs on the PVs (or ore 
correctly, the sequence, in which the extends of one or more PVs are 
allocated to one or more LVs).

Then, you may use lvmove to move a LV to another PV. You may use lvsplit to 
split a LV into two or more parts and then use lvmove to move these part-LVs 
around.

Thirdly, you can (either by hand or by using a more sophisticated tool like 
EVMS) alter the mapping of LV extends to PV extends.

There are surely even more ways to tell LVM where to store LVs, but these are 
the ones that come immediately to my mind.

Kind regads
Martin
-- 
Dipl. Wirtsch.Inf. (Univ.) Martin Eisenhardt

Otto-Friedrich-University Bamberg
Department Business Informatics and Applied Computer Science
Media Informatics Group

D - 96045 Bamberg

fon: +49 (951) 863 2856
fax: +49 (951) 863 2852

www: http://www.mneisen.org



pgpKhOTBSQJIK.pgp
Description: PGP signature


Re: [gentoo-user] A New Linux Way

2006-01-11 Thread Martin Eisenhardt
Hello everyone,

OK, this *is* getting rather off-topic, but what the heck ... :-D

On Wednesday 11 January 2006 14:04, Mattias Merilai wrote:
 Antoine wrote:
  I'm glad you didn't write humor-impaired, because then we'd have had a
  long discussion on whether the longer humour stands out and
  represents a great community better than the traditional (albeit more
  recent) humor...

 Didn't that ou/o stuff in humour/humor, saviour/savior, colour/color
 etc. have anything to do with  differences between uk and us english? I
 seem to remember that in uk they spell these words with ou and the lazy
 and/or progressive americans have shortened it down to only o for
 themselves...

IIRC it is just the other way round. The Pilgrim Fathers came from England to 
Cape Cod (near Boston) and brought with them the English language. At that 
point in time, color was spelt color - even in the UK. Americans have kept 
the old spelling while their progressive European ancestors changed the 
spelling of some word (f.e. color - colour) - maybe because of some French 
influence at the Court in London ...?

If you want more information on this, Bill Bryson's book Made in America is 
a rich source for that kind of things.

Kind regards
Martin Eisenhardt

 English is however not my native language so if i'm mistaken please
 excuse my yet-another-spam inspired by the infamous Yet Another Best
 Distro Ever (tm).

P.S.: Since English is not my native language either I am by no means an 
authoritative source of information on the development of the English 
language over the past centuries - I just think I remember having read this 
somewhere but forgot exactly where ...
-- 
Dipl. Wirtsch.Inf. (Univ.) Martin Eisenhardt

Otto-Friedrich-University Bamberg
Department Business Informatics and Applied Computer Science
Media Informatics Group

D - 96045 Bamberg

fon: +49 (951) 863 2856
fax: +49 (951) 863 2852

www: http://www.mneisen.org

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lock SSH user to their directory

2005-10-04 Thread Martin Eisenhardt
Hi Khan,

you might want to have a look into chroot or even jaildir. on an unrelated 
note, it is more or less customary to use your full name on this mailing 
list.

Kind regards
Martin Eisenhardt

On Tuesday October 4 2005 10:53, Khan wrote:
 Hello,

 I would like to give my friend ssh access to my server, but I would like
 to lock him only to his directory.

 Is that possible?

 TNX

-- 
Dipl. Wirtsch.Inf.(Univ.) Martin Eisenhardt

Otto-Friedrich-Universität Bamberg
Fakultät Wirtschaftinformatik und Angewandte Informatik
Lehrstuhl für Medieninformatik

D-96045 Bamberg

fon: +49 (951) 863-2856
fax: +49 (951) 863-2852

www: http://www.mneisen.org

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Good command for wiping a hard drive?

2005-09-30 Thread Martin Eisenhardt
Hello,

you might want to give shred a try. It is probably already installed on your 
box.

Regards
Martin

On Friday 30 September 2005 23:11, Mark Knecht wrote:
 Thanks Remy

 On 9/30/05, Remy Blank [EMAIL PROTECTED] wrote:
  Mark Knecht wrote:
  Sold my laptop on Ebay. It was dual boot Gentoo/XP Pro and had
   financial data on it. I'd like to pretty securely wipe the drive
   before shipping. I've already deleted all 10 partitions and written
   new partitions on which are different sizes and different file
   systems. What simple command can Ido to write data to the whole drive?
 
  Assuming your hard disk is /dev/hda, I'd do:
 
dd if=/dev/zero of=/dev/hda bs=8M
 
  Then go have a coffee. If you want it more secure, go for this, a few
  times in a row (at least 7, I read):
 
dd if=/dev/urandom of=/dev/hda bs=8M
 
  However, this will take a *long* time, as /dev/urandom is quite slow.
  But it will make the data unrecoverable even with expensive means.
 
  -- Remy
 
 
  Remove underscore and suffix in reply address for a timely response.
 
  --
  gentoo-user@gentoo.org mailing list

-- 
Dipl. Wirtsch.Inf. (Univ.) Martin Eisenhardt

Otto-Friedrich-University Bamberg
Department Business Informatics and Applied Computer Science
Media Informatics Group

D - 96045 Bamberg

fon: +49 (951) 863 2856
fax: +49 (951) 863 2852

www: http://www.mneisen.org

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nfs behavior

2005-09-02 Thread Martin Eisenhardt
Hello John,

On Friday 02 September 2005 19:31, John Dangler wrote:
 I setup nfs on a file server and my laptop and the first couple of days
 everything was running fine.
 I had to reboot the file server, and now all commands on the laptop to the
 /mnt directory lock up.
 e.g. - [EMAIL PROTECTED]: ls /mnt

 just sits.

 I have to kill the terminal window, since there is no way to exit from it.

 if I try umount /mnt/Mambo , I get
 Cannot MOUNTPROG RPC: RPC: Program not registered.
 umount: /mnt/Mambo: device is busy.
 Cannot MOUNTPROG RPC: RPC: Program not registered.
 umount: /mnt/Mambo: device is busy.

 Any suggestions on what's going on here ?

Are you sure that the portmapper service is running on both the server and the 
laptop? Check

/etc/init.d/portmap status

and start the portmapper if it is not already running.

Regards
Martin
 Any input is appreciated.

 John

-- 
Dipl. Wirtsch.Inf. (Univ.) Martin Eisenhardt

Otto-Friedrich-University Bamberg
Department Business Informatics and Applied Computer Science
Media Informatics Group

D - 96045 Bamberg

fon: +49 (951) 863 2856
fax: +49 (951) 863 2852

www: http://www.mneisen.org

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [NEWBIE ALERT] VMware 5.0 and a kernel upgrade

2005-06-15 Thread Martin Eisenhardt
Hi Jules,

On Wednesday 15 June 2005 11:29, Jules Colding wrote:
 The only such kernel module I have is the VMware 5.0 module. The vm-
 config.pl script compiles the kernel module, IIRC. This seems to
 indicate that I only need to re-configure VMware. A complete re-emerge
 should not be needed.

 Am I correct here?

most probably yes. I am using VMware 4, and it is the same issue there.

Kind regards
Martin
-- 
Dipl.Wirtsch.Inf.(Univ.) Martin Eisenhardt

Bamberg University
Media Informatics
D - 96045 Bamberg

fon: +49 (951) 863 - 2856
fax: +49 (951) 863 - 2852
-- 
gentoo-user@gentoo.org mailing list