Re: [CentOS] Manually mounting partitions in "linux rescue" mode

2010-08-02 Thread Mark Pryor


--- On Mon, 8/2/10, Edward Diener  wrote:

> From: Edward Diener 
> Subject: [CentOS] Manually mounting partitions in "linux rescue" mode
> To: centos@centos.org
> Date: Monday, August 2, 2010, 9:07 PM
> I boot from the installation DVD,
> with an already existing CentOS 5.5 
> system on my hard disks. I have separate boot, root, and
> home 
> partitions. I have moved the boot partition and now I need
> to 
> re-initialize grub from rescue mode.
> 
> Attempting to use 'rescue mode" to automatically mount my
> system under 
> /mnt/sysimage eventally fails with an error message, which
> essentially 
> says 'mount error' and nothing else. I am then put at a
> command prompt 
> as root.
> 
> So now I decide to manually mount my partitions at
> /mnt/sysimage and 
> then do a chroot to /mnt/sysimage. This succeeds and when I
> look at my 
> files they are there.
> 
> I now try 'grub' and the 'grub' shell comes up. I now
> attempt the 'grub' 
> command:
> 
> root (hd0,9)

try /dev/sdb8 -> (hd1,7)

-- 
Mark


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Manually mounting partitions in "linux rescue" mode

2010-08-02 Thread Scott Robbins
On Tue, Aug 03, 2010 at 12:07:58AM -0400, Edward Diener wrote:

> Attempting to use 'rescue mode" to automatically mount my system under 
> /mnt/sysimage eventally fails with an error message, which essentially 
> says 'mount error' and nothing else. I am then put at a command prompt 
> as root.

I'm guessing (I'm not all that familiar with the sysimage thing--I
usually just mount things on /mnt) that you probably need to do

mount -o bind /dev /mnt/sysimage/dev
mount -o bind /proc /mnt/sysimage/proc

However, as I said, I'm not familiar with the sysimage thing, I've
always just skipped that when using rescue and gone to a shell prompt. 

So, take that as a major disclaimer.

-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Willow: Oz is a werewolf.
Buffy: It's a long story.
Oz: I got bit.
Buffy: Apparently not that long.
Faith: Hey, as long as you don't go scratchin' at me or humpin' my
leg, we're
five-by-five, ya' know?
Oz: Fair enough.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Manually mounting partitions in "linux rescue" mode

2010-08-02 Thread Edward Diener
I boot from the installation DVD, with an already existing CentOS 5.5 
system on my hard disks. I have separate boot, root, and home 
partitions. I have moved the boot partition and now I need to 
re-initialize grub from rescue mode.

Attempting to use 'rescue mode" to automatically mount my system under 
/mnt/sysimage eventally fails with an error message, which essentially 
says 'mount error' and nothing else. I am then put at a command prompt 
as root.

So now I decide to manually mount my partitions at /mnt/sysimage and 
then do a chroot to /mnt/sysimage. This succeeds and when I look at my 
files they are there.

I now try 'grub' and the 'grub' shell comes up. I now attempt the 'grub' 
command:

root (hd0,9)

only to be met with:

Error 21: Selected disk does not exist.

I do not know what this means and how I can correct it. Does anybody 
know what is going on ?

One thing I am concerned about is that when I booted from the DVD and 
was eventually put at the command prompt, I saw there were devices in 
the /dev subdirectory but after I did the chroot, there were no devices 
in the new root's /dev subdirectory although when I had previosuly 
booted into CentOS 5.5 on my hard disk off course they were there.

The other thing I noticed is that after the 'chroot' the 'mount' command 
showed only my root partition mounted on /dev/sdb8 where it actually 
exists ( along with sysfs and proc which I mounted from the old root ). 
But despite this there are no subdirectories under the new root's /dev.

I am just trying to re-initialize 'grub' so I can boot my CentOS 5.5 
system again. There must be a way to successfully do this from the 
installation DVD. If somebody can give me the steps to manually mount my 
partitions and succeed it would be very much appreciated.

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] When should LVM be used?

2010-08-02 Thread Drew
On Sun, Aug 1, 2010 at 6:35 AM, JohnS  wrote:
>
> On Sat, 2010-07-31 at 05:32 -0700, Drew wrote:
>>
>> I'd still want a separate partition for /var for the SAN
>> configuration. I've seen more then one machine brought to it's knees
>> by overflowing log entries.
> ---
> I can't really argue that point there.  I've seen iptables do the same
> as also auditd.  Carefulness in log watching is the key.  You check your
> logs?
>
> John

I do. Daily emails with copies of all logs and a summary disk usage
statement of all partitions.

I learned my lesson about log files a while back. ;-)


-- 
Drew

"Nothing in life is to be feared. It is only to be understood."
--Marie Curie
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT -- apcupsd messages

2010-08-02 Thread Robert


On 08/02/2010 09:26 AM, m.r...@5-cent.us informed us:
> Robert wrote:
>
>> Does anyone here have any "feel" for the "Battery disconnected" and
>> "Battery reattached" log entries?
>> The rebooting came as a result of me turning off modems, router,
>> external drives, monitor, cordless phone and finally, the computer,
>> trying to locate a quiet but annoying "chirp".  The "chirps" stopped
>> when I tilted the UPS to look at the front panel. As you can see, log
>> entries stopped at as suddenly as they started.
>>  
> 
> Ah, yes, *that* chirp. Try doing a self-test on the battery. Oh, and I
> don't suppose the replace battery light's on? Check the manual - there's
> some trick to pushing in one of the buttons to tell it to shut up.
>
>mark
>
Thanks to each of you who replied.

Mark, I did perform a manual self-test -- after downloading a UG for the 
UPS.
Looks like it went to hell in the proverbial handbasket in 22 days. I'm 
not surprised,
just di$$appointed.
/var/log/messages.3:Jul 11 17:19:15 madeleine apcupsd[3297]: UPS Self 
Test switch to battery.
/var/log/messages.3:Jul 11 17:19:24 madeleine apcupsd[3297]: UPS Self 
Test completed: Battery OK
/var/log/messages:Aug  2 19:14:24 madeleine apcupsd[3344]: UPS Self Test 
switch to battery.
/var/log/messages:Aug  2 19:14:24 madeleine apcupsd[3344]: UPS Self Test 
completed: Warning
/var/log/messages:Aug  2 19:14:24 madeleine apcupsd[3344]: UPS Self Test 
switch to battery.
/var/log/messages:Aug  2 19:14:24 madeleine apcupsd[3344]: UPS Self Test 
completed: Warning

Benjamin, the coincidence 'tween tilting the UPS and the chirps stopping 
got my attention
last night. I have not yet crawled under the desk to check the 
connections but that's next.

Dave, you very likely pointed out my final course of action.  3 years is 
a pretty good life
for a battery (my lawn mower should do so well!) and I'm thinking that 
with a little shopping,
I can buy a new UPS for not too much more than a battery pack.

BTW, for anyone else who has misplaced the UG, try
http://www.apc-forums.com/servlet/JiveServlet/download/21-4883-21507-1294/BX1500LCD.pdf
Instructions for muting that insidious little *CHIRP* are on the 4th 
panel of page 2. Thanks again, Mark.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to install Atheros AR5008 on CentOS 5.5 in console-only mode?

2010-08-02 Thread Tom H
On Mon, Aug 2, 2010 at 4:51 PM, Rudi Ahlers  wrote:
>
> I hope someone can help me.  I'm trying to setup a D-Link DWA-547 on
> CentOS 5.5 x64 in console only mode, i.e. there's no X installed. The
> Wiki article suggests using NetWork Manager, but since there's no X
> installed on this server, it's not possible.
>
> How do I go about installing this card?
>
> Here's the output of lspci -v:
>
> 01:00.0 Network controller: Atheros Communications Inc. AR5008
> Wireless Network Adapter (rev 01)
> Subsystem: D-Link System Inc Unknown device 3a6b

I can only point you in the right direction (sorry!). This is from
memory and from a setup that I've used on Fedora in the past so CentOS
_should_ be similar...

You have to install wpa_supplicant and the relevant configuration files are:
/etc/wpa_supplicant/wap_supplicant.conf
/etc/sysconfig/wpa_supplicant
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/keys-eth0
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] CentOS 5.5 latest revisions seem really slow

2010-08-02 Thread Mark
On Sun, Aug 1, 2010 at 11:46 PM, JohnS  wrote:
>
> Latest version for CentOS 5.5 is
> openoffice.org-writer-3.1.1-19.5.el5_5.1
> Where did you obtain 3.2 from?  That may be your slowness as on my 64
> bit workstation I see none at all.  Loads in about 3 secs.
>
I have been using releases direct from OOo, but on the off chance that
this was the problem, and since 3.1.1 isn't that far behind 3.2, I
"updated" to the CentOS release.  There's still a problem, though - it
doesn't happen all the time, but every so often, apparently at random,
some mouse click command will just stop for 10-30 seconds before it
does anything.  The first one I hit was doing a File->Open Recent -
while I was running the mouse down the list, it stopped on the one
above the file I wanted for about 12 seconds before it loaded the
file.

> evolution-2.12.3-19.el5:
> Now Evolution on my 32 bit workstation I have 1555 emails in it and it
> is not slow, 8 different email accounts also, especially even though it
> is GUI based instead of console.  About every 2000 mails I back it up
> and start over again from 0.
>
Same version here.  This only seems to happen once in a blue moon -
probably not the same issue.  I eventually gave up, killed the
Evolution processes (because it wouldn't exit normally or allow me a
force-quit) and restarted.  No problems after that, except a delayed
startup and the usual duplicate messages from those I had moved before
it died.

> Converting a *.doc file to *.pdf only takes about 3 secs.  What type of
> Graphics card you have?  Yea I know weird question but can cause your
> problem also.
>
I was just editing a *.odt file - no conversions, and the problem
doesn't seem to be related to the operation invoked, just getting the
invocation to take place.

nVidia GeForce 7200S, but I'm not seeing this anywhere else, just OO.

> Looked at your memory usage? Is it swapping by chance? #free.  Have you
> looked at top while using those apps?  What about spamd in Evolution?
> Disable all non needed services.
>
Did most of that (except spamd in Evo) and nothing showed up in top -
the big CPU hog was SeaMonkey at 23% of one core, the others were all
idle or lower use.  Almost no swapping:

$ free
  total  usedfree shared
 buffers cached
Mem:   4050968402218428784  0 1524042700584
-/+ buffers/cache:   11691962881772
Swap:  8008392   3488008044

Don't see a problem here

Thanks.

Mark
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] who uses Lustre in production with virtual machines?

2010-08-02 Thread Rudi Ahlers
I'm considering setting up a Lustre cluster system for our XEN virtual
machines as shared storage, mainly for high availability on our XEN
VPS servers.

Does anyone use Lustre in a production environment?
What is your opinions / experiences with it?

One of the main reasons I'm looking at using Lustre is that we have a
few older machines, of different specs that I want to use for storage
purposes. i.e. I don't want to use proprietary, or matching hardware
if I don't want to. Many of these machines are still in good standing
and of good spec (3.2Ghz PIV + HT & 4GB RAM, Core2Duo + 4GB RAM,
single XEON + 4GB RAM, dual core Atoms, etc) Will this work?


-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] how to install Atheros AR5008 on CentOS 5.5 in console-only mode?

2010-08-02 Thread Rudi Ahlers
Hi all,

I hope someone can help me.  I'm trying to setup a D-Link DWA-547 on
CentOS 5.5 x64 in console only mode, i.e. there's no X installed. The
Wiki article suggests using NetWork Manager, but since there's no X
installed on this server, it's not possible.

How do I go about installing this card?

Here's the output of lspci -v:

01:00.0 Network controller: Atheros Communications Inc. AR5008
Wireless Network Adapter (rev 01)
Subsystem: D-Link System Inc Unknown device 3a6b
Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 5
Memory at e100 (32-bit, non-prefetchable) [size=64K]
Capabilities: [40] #80 []
Capabilities: [80] #00 []




-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] kernel panic not syncing fatal exception due to reiserfs -- rebooted properly on ext3

2010-08-02 Thread Akemi Yagi
On Mon, Aug 2, 2010 at 9:13 AM, Agnello George  wrote:
> Hi
> we had one of our mail servers , going on kernel panic mode  ( not syncing
> fatal exception) ... cause /var/queue/postfix was on reiserfs part .. it has
> not been giving us any isssue quite some time , but yesterday and today it
> went on Kernel panic mode , when we hashed out the reiserfs part it booted
> properly .. we formated the part^ on ext3 later and things working fine now
> . Could any one have a idea why this could have happened . The server hung
> at 19:52:56 hours
> Here is the logs
> --
> ug 2 19:50:01 mmail2 snmpd[4460]: Connection from UDP: []:53980
> Aug 2 19:50:55 mmail kernel: ReiserFS: sda6: warning: vs-13060:
> reiserfs_update_sd: stat data of object [2 203562 0x0 SD] (nlink == 2) not
> found (pos 1)
(snip)
> Aug 2 20:13:27 mmail syslogd 1.4.1: restart.
> Aug 2 20:13:27 mmail kernel: klogd 1.4.1, log source = /proc/kmsg started.
> Aug 2 20:13:27 mmail kernel: Linux version 2.6.18-128.el5
(snip)
> --
> Regards
> Agnello D'souza

This is a known problem and there is a patch for that:

http://bugs.centos.org/view.php?id=3156

Your kernel is so old (meaning many security holes). Please update the
system and while doing so, grab the centosplus kernel which has the
fix for this issue.

Akemi
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Announce list digest ??

2010-08-02 Thread Ralph Angenendt
Am 30.07.10 16:03, schrieb Ron Loftin:
> 
> It seems that the past month or so the CentOS Announce list digest has
> no longer been sent out to the general CentOS list ( this list )
> although the CentOS Web site still says that this list is subscribed to
> the Announce list in digest form.

That should still be the case. We have a size limit on this list though,
and as all the updates we had lately were in reality several updates per
day, it could be that the announce digest ran into that limit.

I should have gotten a bounce though, cannot remember those.

Let's watch this space when the next updates come through.

Ralph
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT -- apcupsd messages

2010-08-02 Thread Dave Miller
Robert  writes:

> 
> Does anyone here have any "feel" for the "Battery disconnected" and 
> "Battery reattached" log entries?
> The rebooting came as a result of me turning off modems, router, 
> external drives, monitor, cordless phone and finally, the computer, 
> trying to locate a quiet but annoying "chirp".  The "chirps" stopped 
> when I tilted the UPS to look at the front panel. As you can see, log 
> entries stopped at as suddenly as they started.

> Aug  1 23:22:06 madeleine apcupsd[3344]: Battery disconnected.
> Aug  1 23:22:07 madeleine apcupsd[3344]: NIS server startup succeeded
> Aug  2 00:18:40 madeleine apcupsd[3344]: Battery reattached.
> Aug  2 00:19:27 madeleine apcupsd[3344]: Battery disconnected.
> Aug  2 00:19:37 madeleine apcupsd[3344]: Battery reattached.
> Aug  2 00:22:13 madeleine apcupsd[3344]: Battery disconnected.
> 


Had this happen with my APC UPS late January this year.  After contacting APC
support and working through their troubleshooting procedures, I ended up with a
new UPS since mine was still under warranty.

Cheers,
Dave


___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NAT via /etc/sysconfig/iptables

2010-08-02 Thread Eduardo Grosclaude
On Mon, Aug 2, 2010 at 1:45 PM, Boris Epstein  wrote:
> Hello listmates,
>
> It's been a few years since I've set up a router... and for some
> reason I seem to be getting hung up on this one.
>
> Does anybody have a sample iptables config file that would incorporate
> NAT and forwarding for a simple router?

I found project quicktables very helpful
(http://freshmeat.net/projects/quicktables).

-- 
Eduardo Grosclaude
Universidad Nacional del Comahue
Neuquen, Argentina
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] NAT via /etc/sysconfig/iptables

2010-08-02 Thread Joseph L. Casale
>Does anybody have a sample iptables config file that would incorporate
>NAT and forwarding for a simple router?

Turn on ip frwding in sysctl.conf:
net.ipv4.ip_forward = 1

Then rules something like this (Tune for your needs):
# Accept packets belonging to established and related connections
/sbin/iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
# Setup masquerading on WAN interface & forward specified requests
/sbin/iptables -A POSTROUTING -t nat -o $WAN -j MASQUERADE
/sbin/iptables -A FORWARD -i $LAN -o $WAN -m state --state 
NEW,ESTABLISHED,RELATED -p tcp -m multiport --dports 80,443 -j ACCEPT
/sbin/iptables -A FORWARD -i $WAN -o $LAN -m state --state RELATED,ESTABLISHED 
-j ACCEPT


Have a quick read on:
http://www.linuxhomenetworking.com/wiki/index.php/Quick_HOWTO_:_Ch14_:_Linux_Firewalls_Using_iptables

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] NAT via /etc/sysconfig/iptables

2010-08-02 Thread Boris Epstein
Hello listmates,

It's been a few years since I've set up a router... and for some
reason I seem to be getting hung up on this one.

Does anybody have a sample iptables config file that would incorporate
NAT and forwarding for a simple router?

Thanks.

Boris.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT -- apcupsd messages

2010-08-02 Thread Benjamin Franz
On 08/02/2010 07:07 AM, Robert wrote:
> Does anyone here have any "feel" for the "Battery disconnected" and
> "Battery reattached" log entries?
> The rebooting came as a result of me turning off modems, router,
> external drives, monitor, cordless phone and finally, the computer,
> trying to locate a quiet but annoying "chirp".  The "chirps" stopped
> when I tilted the UPS to look at the front panel.
>
[...]

Given the complaint was that the battery was disconnected and that it 
stopped when you moved the UPS, I would check the wires connections to 
the battery. Pop open the battery compartment and make sure the 
connectors are tight.

;)

-- 
Benjamin Franz

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] kernel panic not syncing fatal exception due to reiserfs -- rebooted properly on ext3

2010-08-02 Thread Agnello George
Hi
we had one of our mail servers , going on kernel panic mode  ( not syncing
fatal exception) ... cause /var/queue/postfix was on reiserfs part .. it has
not been giving us any isssue quite some time , but yesterday and today it
went on Kernel panic mode , when we hashed out the reiserfs part it booted
properly .. we formated the part^ on ext3 later and things working fine now
. Could any one have a idea why this could have happened . The server hung
at 19:52:56 hours
Here is the logs
--
ug 2 19:50:01 mmail2 snmpd[4460]: Connection from UDP: []:53980
Aug 2 19:50:55 mmail kernel: ReiserFS: sda6: warning: vs-13060:
reiserfs_update_sd: stat data of object [2 203562 0x0 SD] (nlink == 2) not
found (pos 1)
Aug 2 19:51:33 mmail last message repeated 2 times
Aug 2 19:52:34 mmail last message repeated 12 times
Aug 2 19:52:52 mmail kernel: ReiserFS: sda6: warning: vs-13060:
reiserfs_update_sd: stat data of object [2 203562 0x0 SD] (nlink == 2) not
found (pos 1)
Aug 2 19:52:56 mmail kernel: ReiserFS: warning: is_leaf: free space seems
wrong: level=1, nr_items=2, free_space=65512 rdkey
Aug 2 19:52:56 mmail kernel: ReiserFS: sda6: warning: vs-5150:
search_by_key: invalid format found in block 37030. Fsck?
Aug 2 19:52:56 mmail kernel: ReiserFS: sda6: warning: vs-13050:
reiserfs_update_sd: i/o failure occurred trying to update [2 203562 0x0 SD]
stat data
Aug 2 20:13:27 mmail syslogd 1.4.1: restart.
Aug 2 20:13:27 mmail kernel: klogd 1.4.1, log source = /proc/kmsg started.
Aug 2 20:13:27 mmail kernel: Linux version 2.6.18-128.el5 (
mockbu...@builder10.centos.org) (gcc version 4.1.2 20080704 (Red Hat
4.1.2-44)) #1 SMP Wed Jan 21 10:41:14 EST 2009
Aug 2 20:13:27 mmail kernel: Command line: ro root=LABEL=/1 rhgb quiet
Aug 2 20:13:27 mmail kernel: BIOS-provided physical RAM map:
Aug 2 20:13:27 mmail kernel: BIOS-e820:  - 000a
(usable)
Aug 2 20:13:27 mmail kernel: BIOS-e820: 0010 - cfb5
(usable)
Aug 2 20:13:27 mmail kernel: BIOS-e820: cfb5 - cfb66000
(reserved)


-- 
Regards
Agnello D'souza
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to dual boot Linux (CentOS 5.3) and Windows 7

2010-08-02 Thread John Doe
From: sync 
>I already have my hard drive partitioned into  3  partitions (60G and 150GB 
>and  
>150GB) and I already have Windows 7 Ultimate 32-bit (RC) installed on my  
>computer. 
>My question is, how can I install CentOS 5.4 64-bit (or any  other version of 
>linux) on the third  partition? Is this even possible?

Try to google "windows.7 linux dual boot"...
You will get many howtos.

JD


  
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to reformat a partition to ntfs?

2010-08-02 Thread Keith Roberts

On Mon, 2 Aug 2010, Scott Robbins wrote:


To: CentOS mailing list 
From: Scott Robbins 
Subject: Re: [CentOS] how to reformat a partition to ntfs?

On Mon, Aug 02, 2010 at 12:56:14PM +0100, Benjamin Donnachie wrote:

On 2 August 2010 11:14, Scott Robbins  wrote:
> I believe that's incorrect.  One often first needs to boot into Linux
> and use fdisk to remove or reformat (in fat32 or ntfs, if possible).

Have you actually installed Windows?  The installer will happily
delete any partition, even if it does not recognise it, and recreate
it as NTFS/FAT.


Yuppers, and run into that problem.  IIRC, it usually happens with some
older OEM disks.  Or, it might be pre SP2, or perhaps pre SP3.

I see that MS does give instructions for using Linux fdisk--whether it's
still an existing issue or not, I don't know. 


http://support.microsoft.com/kb/314458/EN-US


I set my partitions up using the Gparted live CD.

http://gparted.sourceforge.net/

HTH

Keith Roberts___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] When should LVM be used?

2010-08-02 Thread Todd Denniston
Ron Blizzard wrote, On 07/30/2010 05:16 PM:
> On Fri, Jul 30, 2010 at 8:33 AM, Todd Denniston
>  wrote:
> 
>> Best use for LVM I have seen...
>> Reducing the number of times you need to enter the LUKS pass phrase to once 
>> per boot, i.e., one LUKS
>> containing an LVM of / and Swap so that the system can boot with one entry 
>> of the pass phrase and if
>> you then have other partitions, such as an independent /home, /etc/crypttab 
>> can be used (with
>> appropriately constructed and protected cryptpassphrase files).
> 
> At this point I don't even know what a LUKS pass phrase is -- is this
> something I'm liable to run into on a home desktop computer?
> 

Depends on how much you value not letting other folks at your data, with out 
your permission after
you have properly powered down the machine. :)

LUKS is used with encrypted partitions/filesystems.  I have only used it at the 
partition level.
It is most easily setup at install time, because anaconda gets the incantations 
correct for you.

Suggested further reading:
http://wiki.centos.org/HowTos/EncryptedFilesystem
http://wiki.centos.org/TipsAndTricks/EncryptedFilesystem/Scripts
http://en.wikipedia.org/wiki/Linux_Unified_Key_Setup

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT -- apcupsd messages

2010-08-02 Thread m . roth
Robert wrote:
> Does anyone here have any "feel" for the "Battery disconnected" and
> "Battery reattached" log entries?
> The rebooting came as a result of me turning off modems, router,
> external drives, monitor, cordless phone and finally, the computer,
> trying to locate a quiet but annoying "chirp".  The "chirps" stopped
> when I tilted the UPS to look at the front panel. As you can see, log
> entries stopped at as suddenly as they started.

Ah, yes, *that* chirp. Try doing a self-test on the battery. Oh, and I
don't suppose the replace battery light's on? Check the manual - there's
some trick to pushing in one of the buttons to tell it to shut up.

  mark

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] OT -- apcupsd messages

2010-08-02 Thread Robert
Does anyone here have any "feel" for the "Battery disconnected" and 
"Battery reattached" log entries?
The rebooting came as a result of me turning off modems, router, 
external drives, monitor, cordless phone and finally, the computer, 
trying to locate a quiet but annoying "chirp".  The "chirps" stopped 
when I tilted the UPS to look at the front panel. As you can see, log 
entries stopped at as suddenly as they started.


[r...@madeleine ~]# grep apcupsd /var/log/messages | grep Aug
Aug  1 22:56:20 madeleine apcupsd[3342]: Battery disconnected.
Aug  1 23:11:36 madeleine apcupsd[3343]: apcupsd 3.14.3 (20 January
2008) redhat startup succeeded
Aug  1 23:11:36 madeleine apcupsd[3343]: Battery disconnected.
Aug  1 23:11:37 madeleine apcupsd[3343]: NIS server startup succeeded
Aug  1 23:22:06 madeleine apcupsd[3344]: apcupsd 3.14.3 (20 January
2008) redhat startup succeeded
Aug  1 23:22:06 madeleine apcupsd[3344]: Battery disconnected.
Aug  1 23:22:07 madeleine apcupsd[3344]: NIS server startup succeeded
Aug  2 00:18:40 madeleine apcupsd[3344]: Battery reattached.
Aug  2 00:19:27 madeleine apcupsd[3344]: Battery disconnected.
Aug  2 00:19:37 madeleine apcupsd[3344]: Battery reattached.
Aug  2 00:22:13 madeleine apcupsd[3344]: Battery disconnected.



Aug  2 04:36:31 madeleine apcupsd[3344]: Battery disconnected.
Aug  2 04:36:40 madeleine apcupsd[3344]: Battery reattached.
Aug  2 04:36:48 madeleine apcupsd[3344]: Battery disconnected.
Aug  2 04:36:57 madeleine apcupsd[3344]: Battery reattached.
[r...@madeleine ~]# date
Mon Aug  2 08:45:41 CDT 2010
[r...@madeleine ~]#

Current UPS status is:

APC  : 001,038,0962
DATE : Mon Aug 02 08:56:47 CDT 2010
HOSTNAME : madeleine.localdomain
RELEASE  : 3.14.3
VERSION  : 3.14.3 (20 January 2008) redhat
UPSNAME  : Clyde
CABLE: USB Cable
MODEL: Back-UPS XS 1300 LCD
UPSMODE  : Stand Alone
STARTTIME: Sun Aug 01 23:22:04 CDT 2010
STATUS   : ONLINE
LINEV: 121.0 Volts
LOADPCT  :  17.0 Percent Load Capacity
BCHARGE  : 100.0 Percent
TIMELEFT :  36.1 Minutes
MBATTCHG : 25 Percent
MINTIMEL : 10 Minutes
MAXTIME  : 500 Seconds
SENSE: Medium
LOTRANS  : 088.0 Volts
HITRANS  : 136.0 Volts
ALARMDEL : Always
BATTV: 26.2 Volts
LASTXFER : No transfers since turnon
NUMXFERS : 0
TONBATT  : 0 seconds
CUMONBATT: 0 seconds
XOFFBATT : N/A
SELFTEST : NO
STATFLAG : 0x0708 Status Flag
MANDATE  : 2007-07-06
SERIALNO : 8B0727R20810
BATTDATE : 2072-00-37
NOMINV   : 120 Volts
NOMBATTV :  24.0 Volts
NOMPOWER : 780 Watts
FIRMWARE : 836.H5 .D USB FW:H5
APCMODEL : Back-UPS XS 1300 LC
END APC  : Mon Aug 02 08:57:32 CDT 2010

H... Noticing above that the third anniversary of this UPS' birth 
(7/6/2007)
approacheth, I wonder if this might be APC's way of trying to scare me 
into recycling...



___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to reformat a partition to ntfs?

2010-08-02 Thread Scott Robbins
On Mon, Aug 02, 2010 at 12:56:14PM +0100, Benjamin Donnachie wrote:
> On 2 August 2010 11:14, Scott Robbins  wrote:
> > I believe that's incorrect.  One often first needs to boot into Linux
> > and use fdisk to remove or reformat (in fat32 or ntfs, if possible).
> 
> Have you actually installed Windows?  The installer will happily
> delete any partition, even if it does not recognise it, and recreate
> it as NTFS/FAT.

Yuppers, and run into that problem.  IIRC, it usually happens with some
older OEM disks.  Or, it might be pre SP2, or perhaps pre SP3.

I see that MS does give instructions for using Linux fdisk--whether it's
still an existing issue or not, I don't know.  

http://support.microsoft.com/kb/314458/EN-US

-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Jenny: You're here again? You kids really dig the library don't 
you? 
Buffy: We're literary. 
Xander: To read makes our speaking English good. 

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Blowfish issues with somewhat big files

2010-08-02 Thread Sergio Belkin
2010/7/29 R P Herrold :
> On largish files, on a CentOS 5, 64 bit arch, openssl seems to
> work fine here
>
> [herr...@centos-5 SRPMS]$ time openssl bf -in \
>        freeswitch-0.0.20100729.git-1.src.rpm -out \
>        freeswitch-0.0.20100729.git-1.src.rpm.bf
> enter bf-cbc encryption password:
> Verifying - enter bf-cbc encryption password:
>
> real    0m38.587s
> user    0m3.700s
> sys     0m0.568s
> [herr...@centos-5 SRPMS]$ time openssl bf -d -in \
>        freeswitch-0.0.20100729.git-1.src.rpm.bf -out \
>        new_freeswitch-0.0.20100729.git-1.src.rpm
> enter bf-cbc decryption password:
>
> real    0m39.543s
> user    0m3.652s
> sys     0m0.792s
> [herr...@centos-5 SRPMS]$ md5sum freeswitch-0.0.20100729.git-1.src.rpm \
>        new_freeswitch-0.0.20100729.git-1.src.rpm
> b33eed78ec8fbccb7ef632c0c4bfe8ac  freeswitch-0.0.20100729.git-1.src.rpm
> b33eed78ec8fbccb7ef632c0c4bfe8ac  new_freeswitch-0.0.20100729.git-1.src.rpm
> [herr...@centos-5 SRPMS]$ ls -alh freeswitch-0.0.20100729.git-1.src.rpm \
>        new_freeswitch-0.0.20100729.git-1.src.rpm
> -rw-r--r-- 1 herrold herrold 320M Jul 29 11:00 
> freeswitch-0.0.20100729.git-1.src.rpm
> -rw-rw-r-- 1 herrold herrold 320M Jul 29 12:33 
> new_freeswitch-0.0.20100729.git-1.src.rpm
> [herr...@centos-5 SRPMS]$
>
> As such perhaps you are overrunning a pipe, or have a problem
> elsewhere in the process
>
> -- Russ herrold
> ___

Thanks Russ,

Sadly I've tried the same process by hand on both ways and on
different physical servers running Centos:

openssl bf  -d -in $1 -out $ARCH -k $KEY

and

cat $1 | openssl  bf -debug -d -out $ARCH -k $KEY > $1.unc


and either failed :(

I am taken aback...
-- 
--
Sergio Belkin http://www.sergiobelkin.com
Watch More TV http://sebelk.blogspot.com
Sergio Belkin -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] JBD: failed to read block at offset

2010-08-02 Thread cliff here
Im getting errors like JBD: failed to read block at offset 4360 on a raid 5
parition , have run several fcsk on it are these Journal errors
recoverable? I've done a physical scan of the hard disks with HP insight
manager as well

-- 
-
NOTICE: This message, including all attachments, is intended for the use of
the individual or entity to which it is addressed and may contain
information that is privileged, confidential and exempt from disclosure
under applicable law. If the reader of this message is not the intended
recipient, or the employee or agent responsible for delivering this message
to its intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If you
have received this communication in error, please notify the sender
immediately by replying "Received in error" and immediately delete this
message and all its attachments.
-
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to reformat a partition to ntfs?

2010-08-02 Thread Benjamin Donnachie
On 2 August 2010 11:14, Scott Robbins  wrote:
> I believe that's incorrect.  One often first needs to boot into Linux
> and use fdisk to remove or reformat (in fat32 or ntfs, if possible).

Have you actually installed Windows?  The installer will happily
delete any partition, even if it does not recognise it, and recreate
it as NTFS/FAT.

Ben
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to reformat a partition to ntfs?

2010-08-02 Thread Ralph Angenendt
On Mon, Aug 2, 2010 at 11:11 AM, hadi motamedi  wrote:
> Dear All
> I want to install win xp on my centos machine .

Do you have any OS X questions, too? Or general questions about
Ubuntu? Or Life, the world and everything?

Could you please start asking questions that show that you have done
at least a *little* bit of preliminary research? Or do your asking
somewhere else? Just to let you know: I am thinking about removing
your access to this list, as people have started to complain about
you. See this as some sort of last warning.

Regards,

Ralph
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to reformat a partition to ntfs?

2010-08-02 Thread John R. Dennison
On Mon, Aug 02, 2010 at 05:23:38AM -0400, Bobby wrote:
> On Monday, August 02, 2010 05:11:25 am hadi motamedi wrote:
> > Dear All
> > I want to install win xp on my centos machine . Can you please let me know
> > how can I reformat a partition to ntfs?
> > Thank you
> 
> Look at 
> man mkfs.ntfs
> 
> That will get you closer.

Please stop spoonfeeding this leech.

Hadi has never, as in not one single time, done a bit of
research before he's posted here expecting us to do his job
or classwork or whatever for him.

Rudi had the right of it; make him do something *on his own*.





John

-- 
The things that will destroy America are prosperity-at-any-price,
peace-at-any-price, safety-first instead of duty-first, the love of soft
living, and the get-rich-quick theory of life.

-- Teddy Roosevelt


pgpzQWtLeHpgi.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to reformat a partition to ntfs?

2010-08-02 Thread Scott Robbins

> On Mon, Aug 2, 2010 at 11:11 AM, hadi motamedi  wrote:
> > Dear All
> > I want to install win xp on my centos machine . Can you please let me know
> > how can I reformat a partition to ntfs?
> > Thank you


On Mon, Aug 02, 2010 at 11:14:32AM +0200, Rudi Ahlers wrote:
> With the Windows XP CD. Do a google search on how to install Windows,
> or contact Microsoft if you don't know.

I believe that's incorrect.  One often first needs to boot into Linux
and use fdisk to remove or reformat (in fat32 or ntfs, if possible). 

At least some Windows CDs simply won't see a Linux partition and will
say there is no available disk.

However, unlike Linux, MS tends to document things very well, at least
from the sysadmin's viewpoint.  (Programmers tell me the opposite is the
case in programming documentation).   Searching the MS knowledge base
using terms like reformat Linux partition should give you a result where
they walk you through it.

-- 
Scott Robbins
PGP keyID EB3467D6
( 1B48 077D 66F6 9DB0 FDC2 A409 FA54 EB34 67D6 )
gpg --keyserver pgp.mit.edu --recv-keys EB3467D6

Cordelia: Oxford. Whoopee. Four years in teabag central.
Sounds thrilling. And M.I.T. is a clearasil ad with housing, and Yale
is a dumping ground for those who didn't get into Harvard.
Willow: I got into Harvard.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to reformat a partition to ntfs?

2010-08-02 Thread hadi motamedi
On Mon, Aug 2, 2010 at 1:53 PM, Bobby  wrote:

> On Monday, August 02, 2010 05:11:25 am hadi motamedi wrote:
> > Dear All
> > I want to install win xp on my centos machine . Can you please let me
> know
> > how can I reformat a partition to ntfs?
> > Thank you
>
> Look at
> man mkfs.ntfs
>
> That will get you closer.
>
> --
>
> Bobby
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
Thank you very much for your reply. I did it through win server edition.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to reformat a partition to ntfs?

2010-08-02 Thread Bobby
On Monday, August 02, 2010 05:11:25 am hadi motamedi wrote:
> Dear All
> I want to install win xp on my centos machine . Can you please let me know
> how can I reformat a partition to ntfs?
> Thank you

Look at 
man mkfs.ntfs

That will get you closer.

-- 

Bobby
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to reformat a partition to ntfs?

2010-08-02 Thread Vnpenguin
On Mon, Aug 2, 2010 at 11:14, Rudi Ahlers  wrote:
> With the Windows XP CD. Do a google search on how to install Windows,
> or contact Microsoft if you don't know.

Excellent respond! Love it :)


> On Mon, Aug 2, 2010 at 11:11 AM, hadi motamedi  wrote:
>> Dear All
>> I want to install win xp on my centos machine . Can you please let me know
>> how can I reformat a partition to ntfs?
>> Thank you
>>
>>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] how to reformat a partition to ntfs?

2010-08-02 Thread Rudi Ahlers
With the Windows XP CD. Do a google search on how to install Windows,
or contact Microsoft if you don't know.

On Mon, Aug 2, 2010 at 11:11 AM, hadi motamedi  wrote:
> Dear All
> I want to install win xp on my centos machine . Can you please let me know
> how can I reformat a partition to ntfs?
> Thank you
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>



-- 
Kind Regards
Rudi Ahlers
SoftDux

Website: http://www.SoftDux.com
Technical Blog: http://Blog.SoftDux.com
Office: 087 805 9573
Cell: 082 554 7532
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] how to reformat a partition to ntfs?

2010-08-02 Thread hadi motamedi
Dear All
I want to install win xp on my centos machine . Can you please let me know
how can I reformat a partition to ntfs?
Thank you
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos