Re: [gentoo-user] Can't get a DVD to burn.

2010-04-02 Thread Neil Bothwick
On Thu, 01 Apr 2010 16:12:30 -0500, Dale wrote:

 Then again, when I put a CD/DVD in, it doesn't mount it 
 automatically anymore.  I think that is a KDE4 thing.  I may not have 
 turned something on.  I just haven't looked into it yet.

That's a settings thing, turned off by default

System Settings  Advanced  Removable Devices


-- 
Neil Bothwick

She's always late. Her ancestors arrived on the June flower.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Duplicate identical Hard Disk

2010-04-02 Thread Neil Bothwick
On Thu, 01 Apr 2010 19:47:09 -0700, walt wrote:

 However, if you want to leave both cables connected and change your
 BIOS to boot from 'sdb', you will need to edit some of the files on
 'sdb',

Check your BIOS first, some allow you to disable individual SATA ports,
so you can disconnect the drive without pulling cables.


-- 
Neil Bothwick

To most people solutions mean finding the answers. But to chemists
solutions are things that are still all mixed up.


signature.asc
Description: PGP signature


Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Neil Bothwick
On Thu, 1 Apr 2010 21:09:30 +0200, meino.cra...@gmx.de wrote:

 So I have a lot of docs (specs of microcontrollers, howtos, programm
 and source code docs...etc) on my disk.
 This one part.

Those are fairly normal files.

 Then: I often transer videos from my DVB-T-receiver/recorder to my
 harddisk to cut out the advertising and to transcode the videos to
 somethings better than ts (transport streams),

These tend to be bigger, often in the GB range, so I'd use a separate
filesystem for them with XFS, which handles large files better in my
experience.

 Then I want something encrypted, either as a partition or as a files
 (carrying a encrypted fs), which I can copy to dvd and will be able 
 to mount this dvd and use it without to have to copy the whole dvd
 first to harddisk before using it...
 Currently I am using encfs...(outdated?). What can I do use instead?

ecryptfs does much the same job as encfs but is in the kernel.

I'd say something like reiser3 for most areas and an XFS filesystem for
the videos would be a good starting point. I would strongly recommend you
use LVM and only set up volumes for what you need. That gives you extra
space to play with and even experiment with different filesystems to see
which work for you.


-- 
Neil Bothwick

The facts, although interesting, are irrelevant.


signature.asc
Description: PGP signature


Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread meino . cramer
Neil Bothwick n...@digimed.co.uk [10-04-02 10:52]:
 On Thu, 1 Apr 2010 21:09:30 +0200, meino.cra...@gmx.de wrote:
 
  So I have a lot of docs (specs of microcontrollers, howtos, programm
  and source code docs...etc) on my disk.
  This one part.
 
 Those are fairly normal files.
 
  Then: I often transer videos from my DVB-T-receiver/recorder to my
  harddisk to cut out the advertising and to transcode the videos to
  somethings better than ts (transport streams),
 
 These tend to be bigger, often in the GB range, so I'd use a separate
 filesystem for them with XFS, which handles large files better in my
 experience.
 
  Then I want something encrypted, either as a partition or as a files
  (carrying a encrypted fs), which I can copy to dvd and will be able 
  to mount this dvd and use it without to have to copy the whole dvd
  first to harddisk before using it...
  Currently I am using encfs...(outdated?). What can I do use instead?
 
 ecryptfs does much the same job as encfs but is in the kernel.
 
 I'd say something like reiser3 for most areas and an XFS filesystem for
 the videos would be a good starting point. I would strongly recommend you
 use LVM and only set up volumes for what you need. That gives you extra
 space to play with and even experiment with different filesystems to see
 which work for you.
 
 
 -- 
 Neil Bothwick
 
 The facts, although interesting, are irrelevant.

Hi Neil,

Thank you for your help! :)

A question to LVM: As much as I know, LVM combines several partition
to one big partition, and if one partition fails, at least other
others of that volume are damaged, too.
What is the advantage of using LVM and several small partitions
instead of one in the size of the sum of the others and not using
LVM?

Best regards,
mcc




-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread William Kenworthy
On Fri, 2010-04-02 at 11:11 +0200, meino.cra...@gmx.de wrote:
 Neil Bothwick n...@digimed.co.uk [10-04-02 10:52]:
  On Thu, 1 Apr 2010 21:09:30 +0200, meino.cra...@gmx.de wrote:
  
   So I have a lot of docs (specs of microcontrollers, howtos, programm
   and source code docs...etc) on my disk.
   This one part.
  
  Those are fairly normal files.
  
   Then: I often transer videos from my DVB-T-receiver/recorder to my
   harddisk to cut out the advertising and to transcode the videos to
   somethings better than ts (transport streams),
  
  These tend to be bigger, often in the GB range, so I'd use a separate
  filesystem for them with XFS, which handles large files better in my
  experience.
  
   Then I want something encrypted, either as a partition or as a files
   (carrying a encrypted fs), which I can copy to dvd and will be able 
   to mount this dvd and use it without to have to copy the whole dvd
   first to harddisk before using it...
   Currently I am using encfs...(outdated?). What can I do use instead?
  
  ecryptfs does much the same job as encfs but is in the kernel.
  
  I'd say something like reiser3 for most areas and an XFS filesystem for
  the videos would be a good starting point. I would strongly recommend you
  use LVM and only set up volumes for what you need. That gives you extra
  space to play with and even experiment with different filesystems to see
  which work for you.
  
  
  -- 
  Neil Bothwick
  
  The facts, although interesting, are irrelevant.
 
 Hi Neil,
 
 Thank you for your help! :)
 
 A question to LVM: As much as I know, LVM combines several partition
 to one big partition, and if one partition fails, at least other
 others of that volume are damaged, too.
 What is the advantage of using LVM and several small partitions
 instead of one in the size of the sum of the others and not using
 LVM?
 
 Best regards,
 mcc
 
The advantage is flexibility - you absolutely love LVM when you discover
you have made a file system too small!  Shrinking/enlarging/adding more
storage etc is a real bonus.

Downside as you mention is lose one disk and you may lose all - however
I believe that sometimes the remaining data can be recovered.

Also keep in mind that while small partitions can be a pain and waste
space, normal corruption is limited to one partition, and physical data
protection is better (i.e., when one partition fills up, others are
safe)

BillK






Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread meino . cramer
William Kenworthy bi...@iinet.net.au [10-04-02 11:32]:
 On Fri, 2010-04-02 at 11:11 +0200, meino.cra...@gmx.de wrote:
  Neil Bothwick n...@digimed.co.uk [10-04-02 10:52]:
   On Thu, 1 Apr 2010 21:09:30 +0200, meino.cra...@gmx.de wrote:
   
So I have a lot of docs (specs of microcontrollers, howtos, programm
and source code docs...etc) on my disk.
This one part.
   
   Those are fairly normal files.
   
Then: I often transer videos from my DVB-T-receiver/recorder to my
harddisk to cut out the advertising and to transcode the videos to
somethings better than ts (transport streams),
   
   These tend to be bigger, often in the GB range, so I'd use a separate
   filesystem for them with XFS, which handles large files better in my
   experience.
   
Then I want something encrypted, either as a partition or as a files
(carrying a encrypted fs), which I can copy to dvd and will be able 
to mount this dvd and use it without to have to copy the whole dvd
first to harddisk before using it...
Currently I am using encfs...(outdated?). What can I do use instead?
   
   ecryptfs does much the same job as encfs but is in the kernel.
   
   I'd say something like reiser3 for most areas and an XFS filesystem for
   the videos would be a good starting point. I would strongly recommend you
   use LVM and only set up volumes for what you need. That gives you extra
   space to play with and even experiment with different filesystems to see
   which work for you.
   
   
   -- 
   Neil Bothwick
   
   The facts, although interesting, are irrelevant.
  
  Hi Neil,
  
  Thank you for your help! :)
  
  A question to LVM: As much as I know, LVM combines several partition
  to one big partition, and if one partition fails, at least other
  others of that volume are damaged, too.
  What is the advantage of using LVM and several small partitions
  instead of one in the size of the sum of the others and not using
  LVM?
  
  Best regards,
  mcc
  
 The advantage is flexibility - you absolutely love LVM when you discover
 you have made a file system too small!  Shrinking/enlarging/adding more
 storage etc is a real bonus.
 
 Downside as you mention is lose one disk and you may lose all - however
 I believe that sometimes the remaining data can be recovered.
 
 Also keep in mind that while small partitions can be a pain and waste
 space, normal corruption is limited to one partition, and physical data
 protection is better (i.e., when one partition fills up, others are
 safe)
 
 BillK
 
 
 

Hi Bill,

tahnks for your reply! :)
Seems that that, what I thought to have remembered of LVM seems to be
still correct. 

mcc

-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Neil Bothwick
On Fri, 2 Apr 2010 11:11:30 +0200, meino.cra...@gmx.de wrote:

 A question to LVM: As much as I know, LVM combines several partition
 to one big partition, and if one partition fails, at least other
 others of that volume are damaged, too.

It can be used that way, but you have only one disk, so you would create
a single physical volume from a large partition on that disk and then use
LVM to create individual logical volumes within it.

 What is the advantage of using LVM and several small partitions
 instead of one in the size of the sum of the others and not using
 LVM?

Flexibility and convenience. No single filesystem is right for all of
your needs, with LVM you can use XFS where it is best suited and
something else elsewhere, and you can resize and reorganise your volumes
without needing to repartition the drive. I have a few hundred GB unused
on my volume group, so I can add volumes or resize existing ones in
seconds with minimal effort and no downtime.

Just one note of caution, XFS filesystems cannot be shrunk, although they
are easy to grow, so make any XFS volumes no larger than your current
needs. That advice applies to all your volumes, because growing is easier
and faster than shrinking, but doubly so to XFS.


-- 
Neil Bothwick

Better to understand a little than to misunderstand a lot.


signature.asc
Description: PGP signature


Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread meino . cramer
Neil Bothwick n...@digimed.co.uk [10-04-02 12:48]:
 On Fri, 2 Apr 2010 11:11:30 +0200, meino.cra...@gmx.de wrote:
 
  A question to LVM: As much as I know, LVM combines several partition
  to one big partition, and if one partition fails, at least other
  others of that volume are damaged, too.
 
 It can be used that way, but you have only one disk, so you would create
 a single physical volume from a large partition on that disk and then use
 LVM to create individual logical volumes within it.
 
  What is the advantage of using LVM and several small partitions
  instead of one in the size of the sum of the others and not using
  LVM?
 
 Flexibility and convenience. No single filesystem is right for all of
 your needs, with LVM you can use XFS where it is best suited and
 something else elsewhere, and you can resize and reorganise your volumes
 without needing to repartition the drive. I have a few hundred GB unused
 on my volume group, so I can add volumes or resize existing ones in
 seconds with minimal effort and no downtime.
 
 Just one note of caution, XFS filesystems cannot be shrunk, although they
 are easy to grow, so make any XFS volumes no larger than your current
 needs. That advice applies to all your volumes, because growing is easier
 and faster than shrinking, but doubly so to XFS.
 
 
 -- 
 Neil Bothwick
 
 Better to understand a little than to misunderstand a lot.

Hi Neil,

only to be sure to have understood everything correctly:
Suggestion is to create for example one root partition and a swap
partion. And I will create on big rest of the disk-partition.
The last one will be subdivided with LVM into portions as needed.

Since the last big partition is big due to physical reasons (not for logical 
one):
What will happen, if -- for example -- one portion will be not unmounted cleanly
and while booting/checking fails to recover? Are all others
damaged/lost?

Best regards,
mcc



-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread David W Noon
On Fri, 02 Apr 2010 11:20:02 +0200, meino.cra...@gmx.de wrote about Re:
[gentoo-user] OT:Choosing a filesystem:

[snip]
A question to LVM: As much as I know, LVM combines several partition
to one big partition, and if one partition fails, at least other
others of that volume are damaged, too.

Disks fail.  Sectors fail.  Partitions do not fail.  Logical volumes do
not fail.

If your disk fails you lose *all* partitions on it.

If some sectors fail, the file(s) backed by those sectors will be
corrupted -- regardless of filesystem type.  If the defective sectors
back a filesystem's superblock or other infrastructure, you could well
lose the filesystem; but most modern filesystems keep redundant copies
of their infrastructure, and fsck can sometimes recover.

What is the advantage of using LVM and several small partitions
instead of one in the size of the sum of the others and not using
LVM?

LVM provides immense flexibility in creating, deleting and expanding
filesystems.  Once you get used to using LVM, which is not difficult,
you will never go back to partitions.
-- 
Regards,

Dave  [RLU #314465]
==
dwn...@ntlworld.com (David W Noon)
==


signature.asc
Description: PGP signature


Re: [gentoo-user] Duplicate identical Hard Disk

2010-04-02 Thread Dan Cowsill
On Thu, Apr 1, 2010 at 10:09 PM, Mark Knecht markkne...@gmail.com wrote:

 With only 2 disks I personally think you're on the right path. With 3
 disks I'm personally planning on RAID1 using 3 copies.
 ...
 My comment about RAID was that I am learning the hard (alas expensive)
 way that not all disks can actually do RAID, at least not Linux
 software RAID, and really be usable.



From what I understand of software RAID in linux, it works on block
devices, not disks.  This means if some endeavoring soul was brave
enough to RAID even partitions on a device, it would work as normal.
Perhaps you mean that not all properly functioning disks can do RAID?
What sort of trouble are you running into?

I've successfully deployed both RAID1 and RAID5 on my home media
server for quite some time now.  While the initial time investment in
reading documentation was considerable, since that time I've had no
cause for trouble.  I keep smartmontools looking at the array member
disks and regularly read through monthly smart reports of my drives.

Also, if you have three disks, why not go for RAID5?  It is much
quicker and I believe you'll end up with more space.  It is a bit of a
pain to get mdadm to convert your RAID1 to a RAID5, but it is doable.

DC



Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Neil Bothwick
On Fri, 2 Apr 2010 13:04:53 +0200, meino.cra...@gmx.de wrote:

 only to be sure to have understood everything correctly:
 Suggestion is to create for example one root partition and a swap
 partion. And I will create on big rest of the disk-partition.
 The last one will be subdivided with LVM into portions as needed.

Yes.

 Since the last big partition is big due to physical reasons (not for
 logical one): What will happen, if -- for example -- one portion will
 be not unmounted cleanly and while booting/checking fails to recover?
 Are all others damaged/lost?

No, because the failure you describe is at the filesystem level. Even the
volume containing that filesystem will retain integrity, only the
filesystem itself will be corrupted. As you have left free space on the
volume group, you can just create a new volume, format it and copy over
everything you can recover from the broken filesystem before deleting it.



signature.asc
Description: PGP signature


Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread meino . cramer
Neil Bothwick n...@digimed.co.uk [10-04-02 14:08]:
 On Fri, 2 Apr 2010 13:04:53 +0200, meino.cra...@gmx.de wrote:
 
  only to be sure to have understood everything correctly:
  Suggestion is to create for example one root partition and a swap
  partion. And I will create on big rest of the disk-partition.
  The last one will be subdivided with LVM into portions as needed.
 
 Yes.
 
  Since the last big partition is big due to physical reasons (not for
  logical one): What will happen, if -- for example -- one portion will
  be not unmounted cleanly and while booting/checking fails to recover?
  Are all others damaged/lost?
 
 No, because the failure you describe is at the filesystem level. Even the
 volume containing that filesystem will retain integrity, only the
 filesystem itself will be corrupted. As you have left free space on the
 volume group, you can just create a new volume, format it and copy over
 everything you can recover from the broken filesystem before deleting it.
 

Hi Neil,

yes, sounds good, very good.
Last question: How heavy is the performance impact of such a setup ?





-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Volker Armin Hemmann
On Freitag 02 April 2010, meino.cra...@gmx.de wrote:
 Neil Bothwick n...@digimed.co.uk [10-04-02 14:08]:
  On Fri, 2 Apr 2010 13:04:53 +0200, meino.cra...@gmx.de wrote:
   only to be sure to have understood everything correctly:
   Suggestion is to create for example one root partition and a swap
   partion. And I will create on big rest of the disk-partition.
   The last one will be subdivided with LVM into portions as needed.
  
  Yes.
  
   Since the last big partition is big due to physical reasons (not for
   logical one): What will happen, if -- for example -- one portion will
   be not unmounted cleanly and while booting/checking fails to recover?
   Are all others damaged/lost?
  
  No, because the failure you describe is at the filesystem level. Even the
  volume containing that filesystem will retain integrity, only the
  filesystem itself will be corrupted. As you have left free space on the
  volume group, you can just create a new volume, format it and copy over
  everything you can recover from the broken filesystem before deleting it.
 
 Hi Neil,
 
 yes, sounds good, very good.
 Last question: How heavy is the performance impact of such a setup ?

seriously lvm sounds nice. But it isn't. It easily breaks.

You want a save setup? Go raid5 or raid6. As a bonus - you can get more space 
if you need it by just adding another disk. And you are not depending on some 
complex stuff to get it working.



Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread William Kenworthy
On Fri, 2010-04-02 at 14:45 +0200, Volker Armin Hemmann wrote:
 On Freitag 02 April 2010, meino.cra...@gmx.de wrote:
  Neil Bothwick n...@digimed.co.uk [10-04-02 14:08]:
   On Fri, 2 Apr 2010 13:04:53 +0200, meino.cra...@gmx.de wrote:
only to be sure to have understood everything correctly:
Suggestion is to create for example one root partition and a swap
partion. And I will create on big rest of the disk-partition.
The last one will be subdivided with LVM into portions as needed.
   
   Yes.
   
Since the last big partition is big due to physical reasons (not for
logical one): What will happen, if -- for example -- one portion will
be not unmounted cleanly and while booting/checking fails to recover?
Are all others damaged/lost?
   
   No, because the failure you describe is at the filesystem level. Even the
   volume containing that filesystem will retain integrity, only the
   filesystem itself will be corrupted. As you have left free space on the
   volume group, you can just create a new volume, format it and copy over
   everything you can recover from the broken filesystem before deleting it.
  
  Hi Neil,
  
  yes, sounds good, very good.
  Last question: How heavy is the performance impact of such a setup ?
 
 seriously lvm sounds nice. But it isn't. It easily breaks.
 
 You want a save setup? Go raid5 or raid6. As a bonus - you can get more space 
 if you need it by just adding another disk. And you are not depending on some 
 complex stuff to get it working.
 

My experience is lvm itself is quite robust and very low impact on
performance.  More reliable than linux software raid at least (well the
raid 0 that I was using: ) - never had a problem I could trace to lvm.

The only thing thats affected lvm for me were hardware errors (disk
died).

My experience was with raid 0, while the higher raid redundancy will
shift the reliability figures back the other way.

Its really down to space and management or losing space to redundancy.
Yes its an extra layer on top of the raw hardware (but so is raid
really) so its the flexibility thats important.

BillK







[gentoo-user] gentoo-wiki.com

2010-04-02 Thread Dan Johansson
Hallo,

Someone knows what's up with gentoo-wiki.com?
I get a Connection to 207.98.216.138 Failed and downforeveryoneorjustme.com 
reports It's not just you! http://gentoo-wiki.com  looks down from here.

Regards,
-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] gentoo-wiki.com

2010-04-02 Thread Paul Hartman
On Fri, Apr 2, 2010 at 8:24 AM, Dan Johansson dan.johans...@dmj.nu wrote:
 Hallo,

 Someone knows what's up with gentoo-wiki.com?
 I get a Connection to 207.98.216.138 Failed and downforeveryoneorjustme.com
 reports It's not just you! http://gentoo-wiki.com  looks down from here.

Looks like his other website (gentoo-portage.com) is also down. He
hasn't posted anything about it on his Twitter account.
http://twitter.com/mikevalstar



Re: [gentoo-user] gentoo-wiki.com

2010-04-02 Thread erdunand
On Fri, Apr 02, 2010 at 09:34:12AM -0500, Paul Hartman wrote:
 On Fri, Apr 2, 2010 at 8:24 AM, Dan Johansson dan.johans...@dmj.nu wrote:
  Hallo,
 
  Someone knows what's up with gentoo-wiki.com?
  I get a Connection to 207.98.216.138 Failed and 
  downforeveryoneorjustme.com
  reports It's not just you! http://gentoo-wiki.com  looks down from here.
 
 Looks like his other website (gentoo-portage.com) is also down. He
 hasn't posted anything about it on his Twitter account.
 http://twitter.com/mikevalstar
 

The machine doesn't even respond to ping…

pts/1:erdun...@alice:/home/erdunand % ping gentoo-wiki.com
[16:39]
PING gentoo-wiki.com (207.98.216.138) 56(84) bytes of data.
^C
--- gentoo-wiki.com ping statistics ---
12 packets transmitted, 0 received, 100% packet loss, time 11000ms

I didn't know about downforeveryoneorjustme.com It gives me the same
answer though. Do you know how they test if the computer is up ?
-- 
Éric Valérian DUNAND
erdunand[at]gmail[dot]com



Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Volker Armin Hemmann
On Freitag 02 April 2010, William Kenworthy wrote:

 My experience was with raid 0, while the higher raid redundancy will
 shift the reliability figures back the other way.

wrong. Raid0 is meant for 0 redudancy and reduced reliability for more 
performance.

Before you start talking about Raid and redundandy you should read about raid 
levels and what they mean first.



[gentoo-user] language

2010-04-02 Thread Roger Cahn
Hi all,

Yesterday I gave a presentation with OOo-3.2 Impress
with my laptop (xfce4, thunar).
I used a video projector Dell, which worked fine.
However, this made my language change from french
to english in many of my packages.

Right click on desktop and the showed window is in english;
the same with a click on the icons on it. (their name is also in english)

The menu bars are sometimes in french (thunar,firefox,
thunderbird, OOo, skype) sometimes not (gimp, vlc, gedit, etc.)

I don't know what happened, and in spite of serching in many
directions , I could not find a solution.
How could I resolve this problem?

Many thanks for a help
Roger





Re: [gentoo-user] Duplicate identical Hard Disk

2010-04-02 Thread Mark Knecht
On Fri, Apr 2, 2010 at 5:02 AM, Dan Cowsill danthe...@gmail.com wrote:
 On Thu, Apr 1, 2010 at 10:09 PM, Mark Knecht markkne...@gmail.com wrote:

 With only 2 disks I personally think you're on the right path. With 3
 disks I'm personally planning on RAID1 using 3 copies.
 ...
 My comment about RAID was that I am learning the hard (alas expensive)
 way that not all disks can actually do RAID, at least not Linux
 software RAID, and really be usable.



 From what I understand of software RAID in linux, it works on block
 devices, not disks.  This means if some endeavoring soul was brave
 enough to RAID even partitions on a device, it would work as normal.
 Perhaps you mean that not all properly functioning disks can do RAID?
 What sort of trouble are you running into?

 I've successfully deployed both RAID1 and RAID5 on my home media
 server for quite some time now.  While the initial time investment in
 reading documentation was considerable, since that time I've had no
 cause for trouble.  I keep smartmontools looking at the array member
 disks and regularly read through monthly smart reports of my drives.

 Also, if you have three disks, why not go for RAID5?  It is much
 quicker and I believe you'll end up with more space.  It is a bit of a
 pain to get mdadm to convert your RAID1 to a RAID5, but it is doable.

 DC

Good questions:

1) Yes, you can RAID partitions of drives. That's what I'm doing. You
can look at the Gentoo RAID/LVM Install guide to see an example of
using RAID0 and RAID1 on a single drive.

http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml

2) I'm certainly not suggesting RAID doesn't work. It's just not
working for me, either due to new motherboard hardware or due to the
drives themselves. I'm currently betting it's the drives. The
background info, without getting too deeply into it, is that if the
drive supports SMART and SMART is enabled, then when doing RAID you
need guaranteed Time Limited Error Recovery (TLER) to ensure (I think)
that SMART works doesn't get in the way of the drive responding in the
appropriate amount of time or else the drive will fall out of the RAID
array. Turns out the WD  (according to different mailing list and
forums I've been looking at) has removed TLER on almost all of their
Green drive and some/many/most of the Blue and Black series. They are
supporting this in the RE drives though of which I've obtained two.
They are smaller and more expensive, but built for RAID, so I'm going
to try them out next.

http://en.wikipedia.org/wiki/Time-Limited_Error_Recovery

3) As I understand the subject you are correct about size and speed,
but a 3-disk RAID5 array can stand 1 disk failing whereas a 3-disk
RAID1 array can stand 2 disks failing. For this app (MythTV and seldom
used backup server) I don't need speed and size isn't a huge issue so
I chose 3-disk RAID1. (Note that the HTPC case I'm using supports up
to 3 drives only.) Because multiple drives purchased at the same time
generally come from the same production lot there's an additional
danger that if one drive fails then one more (or all) could fail at
the same time so I'm protecting myself against that. Again, this is
very specific to my current needs which is really to back up another
machine which will be RAID0 as it needs more disk I/O speed to support
12 processor cores.

As always, I'm certainly interested in info and ideas on this subject,
most especially now when I'm buying and building.

Cheers,
Mark



Re: [gentoo-user] gentoo-wiki.com

2010-04-02 Thread Dan Johansson
On Friday 02 April 2010 16.50:56 erdun...@gmail.com wrote:
 On Fri, Apr 02, 2010 at 09:34:12AM -0500, Paul Hartman wrote:
  On Fri, Apr 2, 2010 at 8:24 AM, Dan Johansson dan.johans...@dmj.nu 
wrote:
   Hallo,
  
   Someone knows what's up with gentoo-wiki.com?
   I get a Connection to 207.98.216.138 Failed and
   downforeveryoneorjustme.com reports It's not just you!
   http://gentoo-wiki.com  looks down from here.
 
  Looks like his other website (gentoo-portage.com) is also down. He
  hasn't posted anything about it on his Twitter account.
  http://twitter.com/mikevalstar
 
 The machine doesn't even respond to ping…
 
 pts/1:erdun...@alice:/home/erdunand % ping gentoo-wiki.com
 [16:39]
 PING gentoo-wiki.com (207.98.216.138) 56(84) bytes of data.
 ^C
 --- gentoo-wiki.com ping statistics ---
 12 packets transmitted, 0 received, 100% packet loss, time 11000ms
 
 I didn't know about downforeveryoneorjustme.com It gives me the same
 answer though. Do you know how they test if the computer is up ?

No, I have no idea on how they do it.

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Can't get a DVD to burn.

2010-04-02 Thread Dale

Neil Bothwick wrote:

On Thu, 01 Apr 2010 16:12:30 -0500, Dale wrote:

   

Then again, when I put a CD/DVD in, it doesn't mount it
automatically anymore.  I think that is a KDE4 thing.  I may not have
turned something on.  I just haven't looked into it yet.
 

That's a settings thing, turned off by default

System Settings  Advanced  Removable Devices

   


It is mounting it now.  I can see it when I type in mount.  I figured it 
was turned off somewhere.  Now to get me a little icon on the desktop so 
I can open it.  lol


I removed KDE3 last night.  I'm sort of getting used to KDE4 now.  Just 
a few little quirks here and there.


I fell asleep last night so I will try the backup thing as soon as I can.

Dale

:-)  :-)



Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Dale

Neil Bothwick wrote:

On Thu, 1 Apr 2010 21:09:30 +0200, meino.cra...@gmx.de wrote:

   

Then: I often transer videos from my DVB-T-receiver/recorder to my
harddisk to cut out the advertising and to transcode the videos to
somethings better than ts (transport streams),
 

These tend to be bigger, often in the GB range, so I'd use a separate
filesystem for them with XFS, which handles large files better in my
experience.

   


He mentioned in one of the first few posts that he regularly has hard 
shutdowns.  I took that as pulling the plug.  The last bit of experience 
I had with XFS, it does not like that sort of thing to happen.   Each 
time I had a hard shutdown, I had to reinstall the OS.  Has XFS changed 
so that power loss is not s problem or should he not use this after all?


Would hate for the OP to use XFS if it has not improved in that area.

Dale

:-)  :-)



Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Mick
On Friday 02 April 2010 16:28:43 Dale wrote:
 Neil Bothwick wrote:
  On Thu, 1 Apr 2010 21:09:30 +0200, meino.cra...@gmx.de wrote:
  Then: I often transer videos from my DVB-T-receiver/recorder 
to my
  harddisk to cut out the advertising and to transcode the 
videos to
  somethings better than ts (transport streams),
 
  These tend to be bigger, often in the GB range, so I'd use a 
separate
  filesystem for them with XFS, which handles large files 
better in my
  experience.
 
 He mentioned in one of the first few posts that he regularly 
has hard
 shutdowns.  I took that as pulling the plug.  The last bit of 
experience
 I had with XFS, it does not like that sort of thing to happen.   
Each
 time I had a hard shutdown, I had to reinstall the OS.  Has XFS 
changed
 so that power loss is not s problem or should he not use this 
after all?
 
 Would hate for the OP to use XFS if it has not improved in that 
area.

XFS was ropey in its early days.  I had to re-install a partition 
once too (on a laptop!).  It is much more stable now (have not 
had a problem in the last 4+ years).

reiserfs is absolutely bullet proof here, with hundreds of 
crashes on a machine that had bad memory (like twice or three 
times a day I would have to pull the plug, for months on end 
until I isolated the error on a memory module).

reiser4 seems to be on a class of its own in terms of 
performance.  Perhaps not as forgiving on hard crashes as the 
reiserfs?  Not sure.  It's early days yet on this machine, but I 
have only praises for it so far.  I just hope they incorporate it 
in the kernel so that I don't have to manually patch it every 
time.

This is just my 2c's - so YMMV.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Re: Duplicate identical Hard Disk

2010-04-02 Thread Joseph

On 04/02/10 09:42, Neil Bothwick wrote:

On Thu, 01 Apr 2010 19:47:09 -0700, walt wrote:


However, if you want to leave both cables connected and change your
BIOS to boot from 'sdb', you will need to edit some of the files on
'sdb',


Check your BIOS first, some allow you to disable individual SATA ports,
so you can disconnect the drive without pulling cables.


--
Neil Bothwick


Good suggestion, but I'm not sure my motherboard BIOS supports it.
I have GA-MA790GP-DS4H motherboard, reading from the manual:

it has OnChip SATA Type (SATA2_0 ~ SATA2_3 connectors)
Mode: Native IDE
RAID
AHCI - Advanced Host Controller to enable advanced Serial ATA features such as 
Native Command Queuing and hot plug.

Is it the one AHCI? I've never used it. 
I'm more interested in configuring it as an auxiliary drive sdb to serve as a bootable backup. The box will be installed in a remote location and I'll have 
an ssh access to it.


The box is running in a medical clinic and I'm mostly concern that after the emerge if something happens, I want the user to be able to boot grub from 
second drive, and it will be sdb (hd1); but during normal operation, when running from sda I want to backup some application files to it so sdb stays 
current.


--
Joseph



Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Ciprian Dorin, Craciun
On Thu, Apr 1, 2010 at 10:09 PM,  meino.cra...@gmx.de wrote:
 [ ... snip ... ]

 So I have a lot of docs (specs of microcontrollers, howtos, programm
 and source code docs...etc) on my disk.
 This one part.


I've seen that nobody mentioned JFS yet... :)

In some benchmarks the best FS for most tasks is either XFS and
JFS, but it seems that JFS has less CPU and memory usage. So for small
and medium files I would say it's best. (I think it was on Tom's
Hardware site?)

I'll also describe my history on the issue: initially I've only
used ReiserFS until something (not the hard drive) just snapped and
I've almost lost all my data. At that moment I've migrated to Ext3.

But Ext3 has the problem of needing constant (usually once a moth)
checking (I know this is optional or tunable but it seems it is
recommended) which for large file systems takes incredibly long (60GB
HDD takes about 2 or 3 minutes... So imagine what would to to 1TB...)

So I got angry again and moved to JFS... And I'm using JFS for
about two years without major incidents... (Only once I've lost the
contents of a configuration file due to a power interruption but this
is because of the editor.)

So as a conclusion for this task I would recommend JFS (I also
have 200GB of documentation which covers about 100 thousand files I
guess.)

Also see at the end for my notes on journaled file systems.


 Then: I often transer videos from my DVB-T-receiver/recorder to my
 harddisk to cut out the advertising and to transcode the videos to
 somethings better than ts (transport streams),
 This is another part.


Although JFS could handle this, maybe a file system specially
designed for this would do best: Ext4 with it's extent feature. (But
be aware that by just using a file system is not enough... The
software also has to be specially crafted if you want high
performance. Just see the `fallocate` and `fadvise` system calls.)


 Then I plan to have two roots this time: One to experiment with and
 one good and stable-version which is used/updated/... strictly as
 recommended. Filesizes and usage do vary here...take a look at your
 own roots ;)))


:) This sounds like my setup: 160GB HDD from my laptop has the
following layout:
* GPT partition table (not MBR) -- this gives me more partitions
without needing the extended partition feature of MBR;
* 2 boot partitions of 512MB (maybe 1GB would have been better) --
one for current usage (Grub 0.97 with GPT patches) and one for
experimentation; these are Ext2 for safety and compatibility;
* 3 root partitions of 4GB (I should have made them 8GB) -- one
for the current operating system, and two for future upgrades /
experimentation; currently JFS and maybe also so in the future;
* 1 swap of 8GB (encrypted with random password with the help of dm-crypt);
* rest of the HDD as one big partition with LVM; (large extents 256MB);
* from the LVM I have partitions for personal data (/home) and
other things -- everything is JFS;


 Then I want something encrypted, either as a partition or as a files
 (carrying a encrypted fs), which I can copy to dvd and will be able
 to mount this dvd and use it without to have to copy the whole dvd
 first to harddisk before using it...
 Currently I am using encfs...(outdated?). What can I do use instead?
 This is for personal things like letters, photos, texts ... etc.
 Files vary from some kb up to about 2GByte (guessed). Most of them
 smaller than 200MByte


As someone noted maybe EncryptFS (in kernel one) would be
better... (It's an install option in Ubuntu so I would say it's mature
enough.)

But for this encrypted purpose I would use dm-crypt with
`aes-xts-essiv:sha256` encryption. (In the past I've used LoopAES but
I had some minor issues with kernel building as it's not in the
vanilla kernel...)


 Last thing: I have a lot iof copies of code from svn repositories because
 I like to have the bleeding edge of some projects (do you know the
 new Blender 2.50??? :O)


I also have a lot of repositories on JFS and everything works nice.


 This implies a lot of compile work. This will be the only case where
 files are created as often as read.


For temporary folders while compiling I would recommend to
instruct your build scripts to build inside /tmp where you have tmpfs
mounted... It's blazingly fast...


And some notes about journaled file systems: they journal
meta-data (that is file creation, deletion, rename, etc), not data
(that is the contents)... (Of course there are a few (Ext3 maybe?)
file systems that have the option to also journal data...)

What does this mean: well when you edit a file and save it and
then cut the power, the file still exists (the meta-data), but the
contents could (and usually is) wrong: either no content (like I've
encountered once with JFS), either mixed content (old and new)...

So the fineprint here is: no journaled file system is safe... They
are all safe if you 

Re: [gentoo-user] Can't get a DVD to burn.

2010-04-02 Thread Mike Edenfield
On 4/1/2010 4:38 PM, Paul Hartman wrote:
 On Thu, Apr 1, 2010 at 10:02 AM, Joerg Schilling
 joerg.schill...@fokus.fraunhofer.de wrote:
 Your media was either accepted after several tries by the drive for unknown
 reasons and is now usable in general again or you are observing a problem
 caused by hald. Note that hald does not care about the CD/DVD/BD Writing
 process and interrupts it. This is why hald may cause any strange result.
 
 Would a HAL preprobe FDI like this prevent it from interfering with burning?
 
 ?xml version=1.0 encoding=UTF-8?
 deviceinfo version=0.2
   device
 match key=storage.drive_type string=cdrom
   merge key=info.ignore type=booltrue/merge
 /match
   /device
 /deviceinfo
 

Bad enough you mentioned HAL in a conversation with Dale.  Now there's
XML involved.  This thread is officially never going to end.

--Mike



Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Mark Knecht
On Thu, Apr 1, 2010 at 10:47 AM,  meino.cra...@gmx.de wrote:

 Hi,

 I googled down some - often fairly outdated - texts about the
 best filesystem fpr a Linux box. Other texts focussed on
 uses, which do not aplly to me: Fileservers, webservers, database
 machines  etc.

 Wnat I want is a fast and stable (!) filesystem for a desktop PC
 with one 1TByte harddisk. Since using Gentoo and a lot of sources
 I do compile very often bigger things (blender-2.50 for example).
 Another thing: Due to my experimenting it is possible that I have to
 reboot hard, which means, the filesystem will be unmounted not
 cleanly (dirty do to say...;) The choosen filesystem should be
 good in recovering such thing.

 I am currently using a vanilla 2.6.32.10 kernel.

 The question, what remains is: What choose should I make?

 I thank you very much in advance for any help!
 Best regards,
 mcc


This doesn't address why you would choose one over another but it was
a recent view of Reiser4 vs a couple of others.

http://www.phoronix.com/scan.php?page=articleitem=reiser4_benchmarksnum=1

I'm way behind. I haven't even tried ext4 yet!

Good luck,
Mark



Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Dale

Mick wrote:

On Friday 02 April 2010 16:28:43 Dale wrote:
   

Neil Bothwick wrote:
 

On Thu, 1 Apr 2010 21:09:30 +0200, meino.cra...@gmx.de wrote:
   

Then: I often transer videos from my DVB-T-receiver/recorder
 

to my
   

harddisk to cut out the advertising and to transcode the
 

videos to
   

somethings better than ts (transport streams),
 

These tend to be bigger, often in the GB range, so I'd use a
   

separate
   

filesystem for them with XFS, which handles large files
   

better in my
   

experience.
   

He mentioned in one of the first few posts that he regularly
 

has hard
   

shutdowns.  I took that as pulling the plug.  The last bit of
 

experience
   

I had with XFS, it does not like that sort of thing to happen.
 

Each
   

time I had a hard shutdown, I had to reinstall the OS.  Has XFS
 

changed
   

so that power loss is not s problem or should he not use this
 

after all?
   

Would hate for the OP to use XFS if it has not improved in that
 

area.

XFS was ropey in its early days.  I had to re-install a partition
once too (on a laptop!).  It is much more stable now (have not
had a problem in the last 4+ years).

reiserfs is absolutely bullet proof here, with hundreds of
crashes on a machine that had bad memory (like twice or three
times a day I would have to pull the plug, for months on end
until I isolated the error on a memory module).

reiser4 seems to be on a class of its own in terms of
performance.  Perhaps not as forgiving on hard crashes as the
reiserfs?  Not sure.  It's early days yet on this machine, but I
have only praises for it so far.  I just hope they incorporate it
in the kernel so that I don't have to manually patch it every
time.

This is just my 2c's - so YMMV.
   


I haven't used XFS in several years.  I was hoping that it had 
improved.  I just wanted to make sure that it had improved and that it 
would be safe considering the OP has hard shutdowns.  I wouldn't want 
the OP to use it if he would lose data the first time he had a hard 
shutdown.  That would pretty much suck.


I agree on reiserfs tho.  I use it a lot here as well.  It works very 
well for me.


Dale

:-)  :-)



Re: [gentoo-user] Can't get a DVD to burn.

2010-04-02 Thread Dale

Neil Bothwick wrote:

On Thu, 01 Apr 2010 16:12:30 -0500, Dale wrote:

   

Then again, when I put a CD/DVD in, it doesn't mount it
automatically anymore.  I think that is a KDE4 thing.  I may not have
turned something on.  I just haven't looked into it yet.
 

That's a settings thing, turned off by default

System Settings  Advanced  Removable Devices


   
I spoke to soon.  It worked once tho.  I can mount it manually tho.  
Maybe I already mounted it manually and forgot?  I already had a DVD in 
there.  I'm getting to old.  lol


Am I supposed to have anything in fstab for KDE4 and the DVD?  I don't 
have currently and didn't for KDE3 either.  I read somewhere that KDE4 
did this differently tho.


Dale

:-)  :-)



Re: [gentoo-user] Duplicate identical Hard Disk

2010-04-02 Thread Joseph

On 04/02/10 07:59, Mark Knecht wrote:

Good questions:

1) Yes, you can RAID partitions of drives. That's what I'm doing. You
can look at the Gentoo RAID/LVM Install guide to see an example of
using RAID0 and RAID1 on a single drive.

http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml

2) I'm certainly not suggesting RAID doesn't work. It's just not
working for me, either due to new motherboard hardware or due to the
drives themselves. I'm currently betting it's the drives. The
background info, without getting too deeply into it, is that if the
drive supports SMART and SMART is enabled, then when doing RAID you
need guaranteed Time Limited Error Recovery (TLER) to ensure (I think)
that SMART works doesn't get in the way of the drive responding in the
appropriate amount of time or else the drive will fall out of the RAID
array. Turns out the WD  (according to different mailing list and
forums I've been looking at) has removed TLER on almost all of their
Green drive and some/many/most of the Blue and Black series. They are
supporting this in the RE drives though of which I've obtained two.
They are smaller and more expensive, but built for RAID, so I'm going
to try them out next.

http://en.wikipedia.org/wiki/Time-Limited_Error_Recovery

3) As I understand the subject you are correct about size and speed,
but a 3-disk RAID5 array can stand 1 disk failing whereas a 3-disk
RAID1 array can stand 2 disks failing. For this app (MythTV and seldom
used backup server) I don't need speed and size isn't a huge issue so
I chose 3-disk RAID1. (Note that the HTPC case I'm using supports up
to 3 drives only.) Because multiple drives purchased at the same time
generally come from the same production lot there's an additional
danger that if one drive fails then one more (or all) could fail at
the same time so I'm protecting myself against that. Again, this is
very specific to my current needs which is really to back up another
machine which will be RAID0 as it needs more disk I/O speed to support
12 processor cores.

As always, I'm certainly interested in info and ideas on this subject,
most especially now when I'm buying and building.

Cheers,
Mark


I'm not even sure if any RAID is a solution for me.
My situation is a follow, I've configured Gentoo box for a medical clinic and 
I'll administer it reportedly via ssh.
One server running Windows XP in VirtualBox and some other Linux programs. 
Server is a quad core ADM and has two identical SATA drives about 600GB
There is another smaller box (Intel ATOM CPU) running Gentoo, this box runs Asterisk and VirtualBox as well, it is a server backup. If something happens to 
mains Server, user just presses Scroll Lock twice (KVM), logs in into smaller and runs the main program from there.  So I have a backup in place.


I just want to utilize the second drive of the main server.  I'm mostly concerns about the problems with emerge, not the hard drive failure (I've plenty of 
backups).

So, I think the best option for me is to just mirror the first HD and modify it 
to use it a sdb. I'm just making steps I need to do:

1.) Boot from external CD
dd if=/dev/sda of=/dev/sdb

2.)
modify (add to) grub.conf on sda
#title boot sda current
title=1st HD sda Kernel Current
root (hd0,0)
kernel /boot/kernel-current root=/dev/sda3

#title boot sdb current
title=2nd HD sdb Kernel Current
root (hd1,0)
kernel /boot/kernel-current root=/dev/sdb3

3.) Modify fstab

Walt has mentioned to use rdev but reading man pages it is only i386, and all 
my boxes running amd64 (x86_64).

What else did I miss. 


--
Joseph



[gentoo-user] Re: Duplicate identical Hard Disk

2010-04-02 Thread walt

On 04/02/2010 07:59 AM, Mark Knecht wrote:



1) Yes, you can RAID partitions of drives. That's what I'm doing. You
can look at the Gentoo RAID/LVM Install guide to see an example of
using RAID0 and RAID1 on a single drive.

http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml


Very useful post, thanks.  I'm just nitpicking here about the use of
RAID0 on a single physical drive, which doesn't seem useful IIUC.

RAID0 alternates stripes between two physical drives so that one disk
can be reading/writing while the other disk's heads are seeking, no?

If that is the case, then single-disk RAID0 will just be thrashing the
heads back and forth between stripes on different partitions, making
more work for itself than necessary.

If I'm wrong about this, someone please correct me.




[gentoo-user] Re: Duplicate identical Hard Disk

2010-04-02 Thread walt

On 04/02/2010 08:46 AM, Joseph wrote:

On 04/02/10 09:42, Neil Bothwick wrote:

On Thu, 01 Apr 2010 19:47:09 -0700, walt wrote:


However, if you want to leave both cables connected and change your
BIOS to boot from 'sdb', you will need to edit some of the files on
'sdb',


Check your BIOS first, some allow you to disable individual SATA ports,
so you can disconnect the drive without pulling cables.


--
Neil Bothwick


Good suggestion, but I'm not sure my motherboard BIOS supports it.
I have GA-MA790GP-DS4H motherboard, reading from the manual:

it has OnChip SATA Type (SATA2_0 ~ SATA2_3 connectors)
Mode: Native IDE
RAID
AHCI - Advanced Host Controller to enable advanced Serial ATA features such as 
Native Command Queuing and hot plug.

Is it the one AHCI? I've never used it. I'm more interested in configuring it as an 
auxiliary drive sdb to serve as a bootable backup. The box will be installed 
in a remote location and I'll have an ssh access to it.

The box is running in a medical clinic and I'm mostly concern that after the emerge if something happens, I 
want the user to be able to boot grub from second drive, and it will be sdb (hd1); 
but during normal operation, when running from sda I want
to backup some application files to it so sdb stays current.


Ah, well, having only remote access rules out unplugging cables or changing
BIOS settings unless there is someone at the site who can do those things.

Seems like you would be better off to set up grub on sda so it can boot from
sda by default, but also so a remote user can just choose sdb from grub's menu.
That assumes that sda is physically intact enough to load grub from sda.  You
seem to be more worried about software screwups than hardware failure.  But
you will need to edit the handful of config files on sdb so all the right
filesystems will mount correctly.







[gentoo-user] Re: language

2010-04-02 Thread walt

On 04/02/2010 07:58 AM, Roger Cahn wrote:

Hi all,

Yesterday I gave a presentation with OOo-3.2 Impress
with my laptop (xfce4, thunar).
I used a video projector Dell, which worked fine.
However, this made my language change from french
to english in many of my packages.

Right click on desktop and the showed window is in english;
the same with a click on the icons on it. (their name is also in english)

The menu bars are sometimes in french (thunar,firefox,
thunderbird, OOo, skype) sometimes not (gimp, vlc, gedit, etc.)


Hi Roger,

Just to clarify, are you saying the language problem was caused by using
the video projector, or by running the OO file on your laptop, or ...?

Are you saying that the language problems are permanent, or just during
your presentation?






Re: [gentoo-user] Re: language

2010-04-02 Thread Roger Cahn
 Hi Roger,

Hi Walt,

Thank you for your answer.

 Just to clarify, are you saying the language problem was caused by using
 the video projector, or by running the OO file on your laptop, or ...?

By using the video projector. It was the first time I used this one.
I never had this problem with another one.

 Are you saying that the language problems are permanent, or just during
 your presentation?

They are permanent   :-(

Roger





Re: [gentoo-user] Re: Duplicate identical Hard Disk

2010-04-02 Thread Mark Knecht
On Fri, Apr 2, 2010 at 9:37 AM, walt w41...@gmail.com wrote:
 On 04/02/2010 07:59 AM, Mark Knecht wrote:


 1) Yes, you can RAID partitions of drives. That's what I'm doing. You
 can look at the Gentoo RAID/LVM Install guide to see an example of
 using RAID0 and RAID1 on a single drive.

 http://www.gentoo.org/doc/en/gentoo-x86+raid+lvm2-quickinstall.xml

 Very useful post, thanks.  I'm just nitpicking here about the use of
 RAID0 on a single physical drive, which doesn't seem useful IIUC.

 RAID0 alternates stripes between two physical drives so that one disk
 can be reading/writing while the other disk's heads are seeking, no?

 If that is the case, then single-disk RAID0 will just be thrashing the
 heads back and forth between stripes on different partitions, making
 more work for itself than necessary.

 If I'm wrong about this, someone please correct me.

No, you are correct, RAID0 on a single drive makes no sense. If I
suggested that then I apologize for the confusion. I was only saying
that you can do RAID on one partition but do non-RAID on another. For
instance, /boot is non-RAID and then other partitions are RAID. I may
be wrong but I think that's only possible with software RAID. Not sure
you could do this behind a hardware RAID controller.

sda1 = /boot - non-RAID
sda2, sdb2, sdc2 = swap, but not RAID. The kernel binds them.
sda3, sdb3, sdc3 = RAID /home

or something like that.

In case even that's not clear, I don't think mdadm supports a RAID
array of any type with all the partitions on a single drive. For
instance:

mdadm --create /dev/md1 --level=1 --raid-devices=3 /dev/sda1 /dev/sda2 /dev/sda3

doesn't make any sense to me even if it is supported.

Hope that helps clear things up. ;-)

- Mark



Re: [gentoo-user] Re: Duplicate identical Hard Disk

2010-04-02 Thread Joseph

On 04/02/10 09:47, walt wrote:

On 04/02/2010 08:46 AM, Joseph wrote:

On 04/02/10 09:42, Neil Bothwick wrote:

On Thu, 01 Apr 2010 19:47:09 -0700, walt wrote:


However, if you want to leave both cables connected and change your
BIOS to boot from 'sdb', you will need to edit some of the files on
'sdb',


Check your BIOS first, some allow you to disable individual SATA ports,
so you can disconnect the drive without pulling cables.


--
Neil Bothwick


Good suggestion, but I'm not sure my motherboard BIOS supports it.
I have GA-MA790GP-DS4H motherboard, reading from the manual:

it has OnChip SATA Type (SATA2_0 ~ SATA2_3 connectors)
Mode: Native IDE
RAID
AHCI - Advanced Host Controller to enable advanced Serial ATA features such as 
Native Command Queuing and hot plug.

Is it the one AHCI? I've never used it. I'm more interested in configuring it as an 
auxiliary drive sdb to serve as a bootable backup. The box will be installed 
in a remote location and I'll have an ssh access to it.

The box is running in a medical clinic and I'm mostly concern that after the emerge if something happens, I 
want the user to be able to boot grub from second drive, and it will be sdb (hd1); 
but during normal operation, when running from sda I want
to backup some application files to it so sdb stays current.


Ah, well, having only remote access rules out unplugging cables or changing
BIOS settings unless there is someone at the site who can do those things.

Seems like you would be better off to set up grub on sda so it can boot from
sda by default, but also so a remote user can just choose sdb from grub's menu.
That assumes that sda is physically intact enough to load grub from sda.  You
seem to be more worried about software screwups than hardware failure.  But
you will need to edit the handful of config files on sdb so all the right
filesystems will mount correctly.


As I've mentioned earlier I have enough backups on another system, so I'm not 
much worry about hardware failure.
From my years of experience with Gentoo, I'm more worry about things working 
correctly after emerge :-/
I've made list what I need to do, but I'm not sure if this is all:

1.) Boot from external CD
dd if=/dev/sda of=/dev/sdb

2.)
modify (add to) grub.conf on sda
#title boot sda current
title=1st HD sda Kernel Current
root (hd0,0)
kernel /boot/kernel-current root=/dev/sda3

#title boot sdb current
title=2nd HD sdb Kernel Current
root (hd1,0)
kernel /boot/kernel-current root=/dev/sdb3

3.) Modify fstab

You have mentioned to use rdev but reading man pages it is only i386, and all 
my boxes running amd64 (x86_64).

--
Joseph



Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Neil Bothwick
On Fri, 02 Apr 2010 10:28:43 -0500, Dale wrote:

  Then: I often transer videos from my DVB-T-receiver/recorder to my
  harddisk to cut out the advertising and to transcode the videos to
  somethings better than ts (transport streams),
 
  These tend to be bigger, often in the GB range, so I'd use a separate
  filesystem for them with XFS, which handles large files better in my

 He mentioned in one of the first few posts that he regularly has hard 
 shutdowns.  I took that as pulling the plug.  The last bit of
 experience I had with XFS, it does not like that sort of thing to
 happen.   Each time I had a hard shutdown, I had to reinstall the OS.
 Has XFS changed so that power loss is not s problem or should he not
 use this after all?

If the system crashes so hard that even Magic SysRq can't help, he should
be fixing that first, rather than trying to find a filesystem that likes
such shutdowns. Having said that XFS is much better now and I was
recommending using it for video files, which are hardly life and death.


-- 
Neil Bothwick

I am ready to meet my Maker. Whether my Maker is prepared for the great
ordeal of meeting me is another matter. - Sir Winston Churchill
(1874-1965)


signature.asc
Description: PGP signature


Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Neil Bothwick
On Fri, 2 Apr 2010 14:45:29 +0200, Volker Armin Hemmann wrote:

 seriously lvm sounds nice. But it isn't. It easily breaks.

Do you have something to back that up?

 You want a save setup? Go raid5 or raid6. As a bonus - you can get more
 space if you need it by just adding another disk. And you are not
 depending on some complex stuff to get it working.

LVM and RAID are completely different animals. No one suggested using it
for any reasons of data security, running LVM on a RAID array gives both
security and flexibility. As for being able to add space to RAID, you
can't temporarily add a new volume whenever you want, you have to go out
and buy another drive, then power down the computer to fit it, assuming
there is room in the case for an extra drive.

Remember this thread started with a question about a single large disk.


-- 
Neil Bothwick

Sacred cows make great hamburgers.


signature.asc
Description: PGP signature


Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Volker Armin Hemmann
On Freitag 02 April 2010, Neil Bothwick wrote:
 On Fri, 2 Apr 2010 14:45:29 +0200, Volker Armin Hemmann wrote:
  seriously lvm sounds nice. But it isn't. It easily breaks.
 
 Do you have something to back that up?
 
  You want a save setup? Go raid5 or raid6. As a bonus - you can get more
  space if you need it by just adding another disk. And you are not
  depending on some complex stuff to get it working.
 
 LVM and RAID are completely different animals. No one suggested using it
 for any reasons of data security, running LVM on a RAID array gives both
 security and flexibility. As for being able to add space to RAID, you
 can't temporarily add a new volume whenever you want, you have to go out
 and buy another drive, then power down the computer to fit it, assuming
 there is room in the case for an extra drive.
 

no need to power down - and you can add and remove drives. Read man mdadm.



[gentoo-user] Re: OT:Choosing a filesystem

2010-04-02 Thread Jörg Schaible
Dale wrote:

 Neil Bothwick wrote:
 On Thu, 1 Apr 2010 21:09:30 +0200, meino.cra...@gmx.de wrote:


 Then: I often transer videos from my DVB-T-receiver/recorder to my
 harddisk to cut out the advertising and to transcode the videos to
 somethings better than ts (transport streams),
  
 These tend to be bigger, often in the GB range, so I'd use a separate
 filesystem for them with XFS, which handles large files better in my
 experience.


 
 He mentioned in one of the first few posts that he regularly has hard
 shutdowns.  I took that as pulling the plug.  The last bit of experience
 I had with XFS, it does not like that sort of thing to happen.   Each
 time I had a hard shutdown, I had to reinstall the OS.  Has XFS changed
 so that power loss is not s problem or should he not use this after all?
 
 Would hate for the OP to use XFS if it has not improved in that area.

I am using XFS now for several years and I had only once an issue with it 
where I hit a known bug and I could restore the integrity with its own 
tools. And yes, I had all over the time the necessity to hard reset my box, 
because new nvidia drivers typically tend to freeze it from time to time.

- Jörg




Re: [gentoo-user] Can't get a DVD to burn.

2010-04-02 Thread stosss
On Fri, Apr 2, 2010 at 12:21 PM, Dale rdalek1...@gmail.com wrote:
 Neil Bothwick wrote:

 On Thu, 01 Apr 2010 16:12:30 -0500, Dale wrote:



 Then again, when I put a CD/DVD in, it doesn't mount it
 automatically anymore.  I think that is a KDE4 thing.  I may not have
 turned something on.  I just haven't looked into it yet.


 That's a settings thing, turned off by default

 System Settings  Advanced  Removable Devices




 I spoke to soon.  It worked once tho.  I can mount it manually tho.  Maybe I
 already mounted it manually and forgot?  I already had a DVD in there.  I'm
 getting to old.  lol

 Am I supposed to have anything in fstab for KDE4 and the DVD?  I don't have
 currently and didn't for KDE3 either.  I read somewhere that KDE4 did this
 differently tho.

 Dale

 :-)  :-)



Something like this will allow a non-admin user to mount the CD/DVD

/dev/cdrom/mnt/cdrom   auto   noauto,user0  0
 


-- 
If we can but prevent the government from wasting the labours of the
people, under the pretence of taking care of them, they must become
happy. - Thomas Jefferson



Re: [gentoo-user] Can't get a DVD to burn.

2010-04-02 Thread stosss
 Bad enough you mentioned HAL in a conversation with Dale.  Now there's
 XML involved.  This thread is officially never going to end.

This list really lightens up a day. LOL

-- 
If we can but prevent the government from wasting the labours of the
people, under the pretence of taking care of them, they must become
happy. - Thomas Jefferson



Re: [gentoo-user] Can't get a DVD to burn.

2010-04-02 Thread Neil Bothwick
On Fri, 02 Apr 2010 10:20:24 -0500, Dale wrote:

 It is mounting it now.  I can see it when I type in mount.  I figured
 it was turned off somewhere.  Now to get me a little icon on the
 desktop so I can open it.  lol

Try adding the Device Notifier plasmoid to the task bar, I ind that much
more convenient than desktop icons.


-- 
Neil Bothwick

I have seen things you lusers would not believe.
I've seen Sun monitors on fire off the side of the multimedia lab.
I've seen NTU lights glitter in the dark near the Mail Gate.
All these things will be lost in time, like the root partition last week.
Time to die.


signature.asc
Description: PGP signature


Re: [gentoo-user] Can't get a DVD to burn.

2010-04-02 Thread Neil Bothwick
On Fri, 02 Apr 2010 11:21:04 -0500, Dale wrote:

 Am I supposed to have anything in fstab for KDE4 and the DVD?  I don't 
 have currently and didn't for KDE3 either.  I read somewhere that KDE4 
 did this differently tho.

No, KDE determines the mount point from the volume name.


-- 
Neil Bothwick

CPU: (n.) acronym for Central Purging Unit. A device which discards or
distorts data sent to it, sometimes returning more data and sometimes
merely over-heating.


signature.asc
Description: PGP signature


Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Neil Bothwick
On Fri, 2 Apr 2010 20:40:54 +0200, Volker Armin Hemmann wrote:

  LVM and RAID are completely different animals. No one suggested using
  it for any reasons of data security, running LVM on a RAID array
  gives both security and flexibility. As for being able to add space
  to RAID, you can't temporarily add a new volume whenever you want,
  you have to go out and buy another drive, then power down the
  computer to fit it, assuming there is room in the case for an extra
  drive. 
 
 no need to power down - and you can add and remove drives. Read man
 mdadm.

Assuming your controller supports hotplugging, assuming you have a drive
available to plug in, assuming you are able to physically add a drive.


-- 
Neil Bothwick

Pound for pound, the amoeba is the most vicious animal on the earth.


signature.asc
Description: PGP signature


Re: [gentoo-user] language

2010-04-02 Thread Kaddeh
Have you tried setting LINGUAS=fr in your make.conf?

On Fri, Apr 2, 2010 at 2:58 PM, Roger Cahn rc...@club-internet.fr wrote:

 Hi all,

 Yesterday I gave a presentation with OOo-3.2 Impress
 with my laptop (xfce4, thunar).
 I used a video projector Dell, which worked fine.
 However, this made my language change from french
 to english in many of my packages.

 Right click on desktop and the showed window is in english;
 the same with a click on the icons on it. (their name is also in english)

 The menu bars are sometimes in french (thunar,firefox,
 thunderbird, OOo, skype) sometimes not (gimp, vlc, gedit, etc.)

 I don't know what happened, and in spite of serching in many
 directions , I could not find a solution.
 How could I resolve this problem?

 Many thanks for a help
 Roger






Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Volker Armin Hemmann
On Freitag 02 April 2010, Neil Bothwick wrote:
 On Fri, 2 Apr 2010 20:40:54 +0200, Volker Armin Hemmann wrote:
   LVM and RAID are completely different animals. No one suggested using
   it for any reasons of data security, running LVM on a RAID array
   gives both security and flexibility. As for being able to add space
   to RAID, you can't temporarily add a new volume whenever you want,
   you have to go out and buy another drive, then power down the
   computer to fit it, assuming there is room in the case for an extra
   drive.
  
  no need to power down - and you can add and remove drives. Read man
  mdadm.
 
 Assuming your controller supports hotplugging, assuming you have a drive
 available to plug in, assuming you are able to physically add a drive.

sata can hotplug. all ahci controlers can hotplug and all sata drives can 
hotplug. If you insist on technology straight from the stone ages that is your 
problem.



Re: [gentoo-user] Can't get a DVD to burn.

2010-04-02 Thread Dale

Neil Bothwick wrote:

On Fri, 02 Apr 2010 10:20:24 -0500, Dale wrote:

   

It is mounting it now.  I can see it when I type in mount.  I figured
it was turned off somewhere.  Now to get me a little icon on the
desktop so I can open it.  lol
 

Try adding the Device Notifier plasmoid to the task bar, I ind that much
more convenient than desktop icons.

   


Oh heck yea.  That is some cool stuff.  I still like a icon but this 
works good to.  I see if I can get used to this way.


Thanks Dude !!

Dale

:-D  :-D



Re: [gentoo-user] Can't get a DVD to burn.

2010-04-02 Thread Dale

Neil Bothwick wrote:

On Fri, 02 Apr 2010 11:21:04 -0500, Dale wrote:

   

Am I supposed to have anything in fstab for KDE4 and the DVD?  I don't
have currently and didn't for KDE3 either.  I read somewhere that KDE4
did this differently tho.
 

No, KDE determines the mount point from the volume name.


   


I knew that was the KDE3 way but I didn't know what all had changed in 
KDE4.  I actually like it that way because I usually name my DVDs and 
such anyway.  I can usually tell from the name what is on there.


I did have it commented out tho.  This install is so old, I used to have 
to have it for it to mount.


Dale

:-)  :-)



Re: [gentoo-user] language

2010-04-02 Thread Roger Cahn
 Have you tried setting LINGUAS=fr in your make.conf?

Yes, it is.
Thank's
Roger




Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Neil Bothwick
On Fri, 2 Apr 2010 21:50:09 +0200, Volker Armin Hemmann wrote:

  Assuming your controller supports hotplugging, assuming you have a
  drive available to plug in, assuming you are able to physically add a
  drive.  
 
 sata can hotplug. all ahci controlers can hotplug and all sata drives
 can hotplug. If you insist on technology straight from the stone ages
 that is your problem.

I'd like to see you hotplug another SATA drive into this netbook, whereas
I can add another volume in seconds.


-- 
Neil Bothwick

Dream as if you'll live forever. Live as if you'll die today.


signature.asc
Description: PGP signature


Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Paul Hartman
On Fri, Apr 2, 2010 at 2:50 PM, Volker Armin Hemmann
volkerar...@googlemail.com wrote:
 On Freitag 02 April 2010, Neil Bothwick wrote:
 On Fri, 2 Apr 2010 20:40:54 +0200, Volker Armin Hemmann wrote:
   LVM and RAID are completely different animals. No one suggested using
   it for any reasons of data security, running LVM on a RAID array
   gives both security and flexibility. As for being able to add space
   to RAID, you can't temporarily add a new volume whenever you want,
   you have to go out and buy another drive, then power down the
   computer to fit it, assuming there is room in the case for an extra
   drive.
 
  no need to power down - and you can add and remove drives. Read man
  mdadm.

 Assuming your controller supports hotplugging, assuming you have a drive
 available to plug in, assuming you are able to physically add a drive.

 sata can hotplug. all ahci controlers can hotplug and all sata drives can
 hotplug. If you insist on technology straight from the stone ages that is your
 problem.

Do you know if it's necessary to signal to the system (like /proc/scsi
something) that I'm about to unplug the drive, and in which order the
power/data need to be disconnected to prevent a problem? I'm curious
in case of future need. :)

Thanks.



Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Mark Knecht
On Fri, Apr 2, 2010 at 2:49 PM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Fri, Apr 2, 2010 at 2:50 PM, Volker Armin Hemmann
 volkerar...@googlemail.com wrote:
 On Freitag 02 April 2010, Neil Bothwick wrote:
 On Fri, 2 Apr 2010 20:40:54 +0200, Volker Armin Hemmann wrote:
   LVM and RAID are completely different animals. No one suggested using
   it for any reasons of data security, running LVM on a RAID array
   gives both security and flexibility. As for being able to add space
   to RAID, you can't temporarily add a new volume whenever you want,
   you have to go out and buy another drive, then power down the
   computer to fit it, assuming there is room in the case for an extra
   drive.
 
  no need to power down - and you can add and remove drives. Read man
  mdadm.

 Assuming your controller supports hotplugging, assuming you have a drive
 available to plug in, assuming you are able to physically add a drive.

 sata can hotplug. all ahci controlers can hotplug and all sata drives can
 hotplug. If you insist on technology straight from the stone ages that is 
 your
 problem.

 Do you know if it's necessary to signal to the system (like /proc/scsi
 something) that I'm about to unplug the drive, and in which order the
 power/data need to be disconnected to prevent a problem? I'm curious
 in case of future need. :)

 Thanks.

If it's part of a RAID the new one gets rebuilt.

If it's not part of a RAID then I think, as per Neil's example, the
computer is pretty much dead, right? However if you wanted to try it
(and I'm not brave enough so don't listen to me) then you might want
to do something like

grep -A 1 dirty /proc/vmstat

and wait until nothing is dirty.

Just an idea,
Mark



Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread stosss
On Thu, Apr 1, 2010 at 1:47 PM,  meino.cra...@gmx.de wrote:

 Hi,

 I googled down some - often fairly outdated - texts about the
 best filesystem fpr a Linux box. Other texts focussed on
 uses, which do not aplly to me: Fileservers, webservers, database
 machines  etc.

 Wnat I want is a fast and stable (!) filesystem for a desktop PC
 with one 1TByte harddisk. Since using Gentoo and a lot of sources
 I do compile very often bigger things (blender-2.50 for example).
 Another thing: Due to my experimenting it is possible that I have to
 reboot hard, which means, the filesystem will be unmounted not
 cleanly (dirty do to say...;) The choosen filesystem should be
 good in recovering such thing.

 I am currently using a vanilla 2.6.32.10 kernel.

 The question, what remains is: What choose should I make?

I have been following this thread. I decided to research to do my own
comparisons of ext3, ext4, JFS and XFS.

ext3 has 3 journaling levels:

Journal (lowest risk)
Ordered (medium risk) most Linux distributions are using this one
Writeback (highest risk)

XFS uses Ordered (medium risk)
JFS uses Writeback (highest risk)

It appears from the documentation that ext4 takes the best of ext3, XFS and JFS.

My research also showed that ext2/3 is the most widely used on Linux
and has the greatest community support coverage.

ext4 falls into the same category as XFS and JFS in this respect.

It appears that ext4, XFS or JFS or some combination of them would be
the best choice.

If you want to know where I got my information use Google like I did.

-- 
If we can but prevent the government from wasting the labours of the
people, under the pretence of taking care of them, they must become
happy. - Thomas Jefferson



Re: [gentoo-user] Can't get a DVD to burn.

2010-04-02 Thread Zeerak Mustafa Waseem
On Fri, Apr 02, 2010 at 03:27:39PM -0400, stosss wrote:
  Bad enough you mentioned HAL in a conversation with Dale.  Now there's
  XML involved.  This thread is officially never going to end.
 
 This list really lightens up a day. LOL
 
 -- 
 If we can but prevent the government from wasting the labours of the
 people, under the pretence of taking care of them, they must become
 happy. - Thomas Jefferson
 

I must admit that it really is good at providing chuckles :-)

-- 
Zeerak Waseem


pgp2ZK3s5Qqhn.pgp
Description: PGP signature


Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Paul Hartman
On Fri, Apr 2, 2010 at 4:55 PM, Mark Knecht markkne...@gmail.com wrote:
 On Fri, Apr 2, 2010 at 2:49 PM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 On Fri, Apr 2, 2010 at 2:50 PM, Volker Armin Hemmann
 volkerar...@googlemail.com wrote:
 On Freitag 02 April 2010, Neil Bothwick wrote:
 On Fri, 2 Apr 2010 20:40:54 +0200, Volker Armin Hemmann wrote:
   LVM and RAID are completely different animals. No one suggested using
   it for any reasons of data security, running LVM on a RAID array
   gives both security and flexibility. As for being able to add space
   to RAID, you can't temporarily add a new volume whenever you want,
   you have to go out and buy another drive, then power down the
   computer to fit it, assuming there is room in the case for an extra
   drive.
 
  no need to power down - and you can add and remove drives. Read man
  mdadm.

 Assuming your controller supports hotplugging, assuming you have a drive
 available to plug in, assuming you are able to physically add a drive.

 sata can hotplug. all ahci controlers can hotplug and all sata drives can
 hotplug. If you insist on technology straight from the stone ages that is 
 your
 problem.

 Do you know if it's necessary to signal to the system (like /proc/scsi
 something) that I'm about to unplug the drive, and in which order the
 power/data need to be disconnected to prevent a problem? I'm curious
 in case of future need. :)

 Thanks.

 If it's part of a RAID the new one gets rebuilt.

 If it's not part of a RAID then I think, as per Neil's example, the
 computer is pretty much dead, right? However if you wanted to try it
 (and I'm not brave enough so don't listen to me) then you might want
 to do something like

 grep -A 1 dirty /proc/vmstat

 and wait until nothing is dirty.

 Just an idea,

Well, forgetting about RAID and bad drives, I should be able to
unmount a normal, working SATA drive and unplug it safely, just like
with a USB hard drive. I just don't know if you have to signal to
SATA/AHCI that you're going to unplug (like with old hot-swappable
SCSI drives), or if you need to unplug data cable before unplugging
the power cable, for example.



Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread Mark Knecht
On Fri, Apr 2, 2010 at 3:03 PM, Paul Hartman
paul.hartman+gen...@gmail.com wrote:
 On Fri, Apr 2, 2010 at 4:55 PM, Mark Knecht markkne...@gmail.com wrote:
 On Fri, Apr 2, 2010 at 2:49 PM, Paul Hartman
 paul.hartman+gen...@gmail.com wrote:
 On Fri, Apr 2, 2010 at 2:50 PM, Volker Armin Hemmann
 volkerar...@googlemail.com wrote:
 On Freitag 02 April 2010, Neil Bothwick wrote:
 On Fri, 2 Apr 2010 20:40:54 +0200, Volker Armin Hemmann wrote:
   LVM and RAID are completely different animals. No one suggested using
   it for any reasons of data security, running LVM on a RAID array
   gives both security and flexibility. As for being able to add space
   to RAID, you can't temporarily add a new volume whenever you want,
   you have to go out and buy another drive, then power down the
   computer to fit it, assuming there is room in the case for an extra
   drive.
 
  no need to power down - and you can add and remove drives. Read man
  mdadm.

 Assuming your controller supports hotplugging, assuming you have a drive
 available to plug in, assuming you are able to physically add a drive.

 sata can hotplug. all ahci controlers can hotplug and all sata drives can
 hotplug. If you insist on technology straight from the stone ages that is 
 your
 problem.

 Do you know if it's necessary to signal to the system (like /proc/scsi
 something) that I'm about to unplug the drive, and in which order the
 power/data need to be disconnected to prevent a problem? I'm curious
 in case of future need. :)

 Thanks.

 If it's part of a RAID the new one gets rebuilt.

 If it's not part of a RAID then I think, as per Neil's example, the
 computer is pretty much dead, right? However if you wanted to try it
 (and I'm not brave enough so don't listen to me) then you might want
 to do something like

 grep -A 1 dirty /proc/vmstat

 and wait until nothing is dirty.

 Just an idea,

 Well, forgetting about RAID and bad drives, I should be able to
 unmount a normal, working SATA drive and unplug it safely, just like
 with a USB hard drive. I just don't know if you have to signal to
 SATA/AHCI that you're going to unplug (like with old hot-swappable
 SCSI drives), or if you need to unplug data cable before unplugging
 the power cable, for example.



I've never done it but according to the SATA spec yes. As with all
drive umount first. Nothing I've read says it's truly safe to do it
too many times. It's easy to damage or wear out the connectors or the
drive.

It's the #1 'end-user benefit' according to the SATA spec web pages:

http://www.serialata.org/technology/why_sata.asp

- Mark



[gentoo-user] Re: language

2010-04-02 Thread walt

On 04/02/2010 10:13 AM, Roger Cahn wrote:

Hi Roger,


Hi Walt,

Thank you for your answer.


Just to clarify, are you saying the language problem was caused by using
the video projector, or by running the OO file on your laptop, or ...?


By using the video projector. It was the first time I used this one.
I never had this problem with another one.


Are you saying that the language problems are permanent, or just during
your presentation?


They are permanent   :-(


I propose an experiment.  For example, if gedit is displaying the wrong
language, then type this at a command prompt (in xterm or gterm, etc):

$LC_ALL='fr' gedit






Re: [gentoo-user] OT:Choosing a filesystem

2010-04-02 Thread meino . cramer
stosss sto...@gmail.com [10-04-03 05:31]:
 On Thu, Apr 1, 2010 at 1:47 PM,  meino.cra...@gmx.de wrote:
 
  Hi,
 
  I googled down some - often fairly outdated - texts about the
  best filesystem fpr a Linux box. Other texts focussed on
  uses, which do not aplly to me: Fileservers, webservers, database
  machines  etc.
 
  Wnat I want is a fast and stable (!) filesystem for a desktop PC
  with one 1TByte harddisk. Since using Gentoo and a lot of sources
  I do compile very often bigger things (blender-2.50 for example).
  Another thing: Due to my experimenting it is possible that I have to
  reboot hard, which means, the filesystem will be unmounted not
  cleanly (dirty do to say...;) The choosen filesystem should be
  good in recovering such thing.
 
  I am currently using a vanilla 2.6.32.10 kernel.
 
  The question, what remains is: What choose should I make?
 
 I have been following this thread. I decided to research to do my own
 comparisons of ext3, ext4, JFS and XFS.
 
 ext3 has 3 journaling levels:
 
 Journal (lowest risk)
 Ordered (medium risk) most Linux distributions are using this one
 Writeback (highest risk)
 
 XFS uses Ordered (medium risk)
 JFS uses Writeback (highest risk)
 
 It appears from the documentation that ext4 takes the best of ext3, XFS and 
 JFS.
 
 My research also showed that ext2/3 is the most widely used on Linux
 and has the greatest community support coverage.
 
 ext4 falls into the same category as XFS and JFS in this respect.
 
 It appears that ext4, XFS or JFS or some combination of them would be
 the best choice.
 
 If you want to know where I got my information use Google like I did.
 
 -- 
 If we can but prevent the government from wasting the labours of the
 people, under the pretence of taking care of them, they must become
 happy. - Thomas Jefferson
 

Hi Stoss,

thanks for your effort ! :)

As I wrote, I did googling before starting this thread and found
mostly outdated informations or informations not applying to my
situation. Often it is best -- regardless what papers of 2008 or
before are stateing -- to ask people for their current and 
uptodate experiences. Additionally your informations are all pure
technical based...they are missing exactly what I was searching
for: Experiences of people using different setups. And as you can
see: This thread reports many of that.

Best reagrds.
mcc



-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.