Re: [CentOS] Troubles expanding file system. - Solved

2021-09-09 Thread Jeff Boyce
tem is now 183500446 
blocks long.


6.  Remount the filesystem and check the filesystem size.

sequoia# mount /dev/vde1 /ecosystem
sequoia# service smb start
sequoia# df -h
   filesystem=/dev/vde1
   size=689G
   used=459G
   available=196G
   used%=71%
   mount=/ecosystem

7.  So in conclusion I needed to do the following steps to resize and 
expand my disk without a reboot.  There may still be other ways that 
this can be accomplished, but this worked for my CentOS 6 system (both 
host and guest).


  a.  On the host system, lvextend to expand the logical volume used by 
the guest as it's disk.
  b.  On the host system, virsh blockresize to get the guest system to 
recognize the expanded disk space.
  c.  On the guest system, growpart to grow the partition to the 
expanded space.
  d.  On the guest system, unmount the filesystem (stop services as 
required).
  e.  On the guest system, partprobe to get the kernel to recognize the 
expanded partition.
  f.  On the guest system, resize2fs (run filesystem check if required) 
to expand the filesystem.


Thanks to all that provided suggestions and insight, it was very helpful 
in my research and methodical stepping through this process.


Jeff

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


Re: [CentOS] Troubles expanding file system.

2021-09-02 Thread Jeff Boyce

I realized I was still on receiving the daily digest format last night, so I 
have probably screwed up the threading on this now.  If you cc me directly 
maybe I can maintain the future threading.

Ok, looking at Parted it looks like the resize (or resizepart) command will be 
what I will need.  But that doesn't appear to help recognize the expanded disk, so 
I think I need something before that.  That is what I thought the echo 1 > 
rescan would do for me.

I will look more into fdisk to understand the capabilities there.  I am going 
to take advantage of the holiday weekend in a few days to take care of this so 
I am trying to understand all of the options available to me before diving into 
the task.

In response to Gordon also, I did rescan the drive as suggested and got the 
same results; no such file or directory.  So then I did a search for the rescan 
file to see where it was present.  Found it in a few locations, but this one 
looks to be the one that I would want to try.

/sys/devices/pci:00/:00:01.1/host1/target1:0:0/1:0:0:0/

The rescan file was also located in just:  /sys/bus/pci  but don't know if that 
would do the job for the specific device.

Thanks for everyone's input.  Very helpful.  More suggestions are welcome while 
I am still reading up on options.

Jeff



Date: Wed, 1 Sep 2021 13:15:37 -0400
From: Stephen John Smoogen
To: CentOS mailing list
Subject: Re: [CentOS] Troubles expanding file system.
Message-ID:

Content-Type: text/plain; charset="UTF-8"

On Wed, 1 Sept 2021 at 12:42, Jeff Boyce  wrote:


Greetings -

  I have tried posting this four times now, from two different email
addresses (on the 25th, 27th, 30th, and 31st) and it never appeared.  I
don't see it in the archives, so it appears to be getting dropped in
transition for some reason.  I am not getting messages from the email
system saying it is undeliverable, or is bounced; I am sending as plain
text, not HTML, I stripped off my signature.  If this makes it through,
someone please give me a clue why the others might not have.  But that
is not as important as the real issue that I am trying to get addressed
below.  Thanks for any assistance.

  I have a Dell PowerEdge server with a CentOS KVM host (Earth) with
one CentOS guest (Sequoia) that I am trying to expand the partition and
filesystem on.  I have LVM logical volumes on the host system (Earth),
which are used as devices/partitions on the guest system (Sequoia).  In
this particular situation I have successfully extended the logical
volume (lv_SeqEco) on Earth from 500GB to 700GB.

1.  Checking the disk information (lsblk) on Earth shows that the
logical volume (lv_SeqEco) is now listed as 700GB.

2.  Checking disk information (lsblk) on Sequoia shows that the disk
/dev/vde is still listed as 500GB, and partition /dev/vde1 where the
mount point /ecosystem is located is also listed as 500GB.

3.  I had tried using the resize2fs command to expand the filesystem on
/dev/vde1, but it returned with the result that there was nothing to
do.  Which makes sense now after I checked the disk information, since
/dev/vde on Sequoia has not increased from 500GB to 700GB.


Thanks for the long list of items of what you have done. In Fedora
Infrastructure, we used this method to resize images in the past
https://pagure.io/infra-docs/blob/main/f/docs/sysadmin-guide/sops/guestdisk.rst

The guest system usually needs to have the `fdisk` , `gdisk` or
`parted` commands rerun to resize the disk to its new size.



4.  On previous occasions when I have done this task, I would just start
GParted on Sequoia and use the GUI to expand the partition and
filesystem.  A real quick and simple solution.

5.  The problem I have now is that the VGA adapter on my server has died
and I have no graphical output to the attached monitor, nor to the iDrac
console display.  So I am stuck doing this entirely by the command line
while logged into the system remotely.

6.  I suspect that I need to rescan the devices on Sequoia so that it
recognizes the increased space that has been allocated from the extended
the logical volume.  But when I did that (command below) it came back
with a no such file or directory.

echo 1 > /sys/class/block/vde1/device/rescan


Not sure that would do anything.



7.  This server is being retired in the next few months, but I need this
additional space prior to migrating to the new system. Can someone give
me some guidance on what I am missing in this sequence?

Let me know if I haven't been clear enough in the explanation of my
systems and objective.  Thanks.

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


[CentOS] Troubles expanding file system.

2021-09-01 Thread Jeff Boyce

Greetings -

    I have tried posting this four times now, from two different email 
addresses (on the 25th, 27th, 30th, and 31st) and it never appeared.  I 
don't see it in the archives, so it appears to be getting dropped in 
transition for some reason.  I am not getting messages from the email 
system saying it is undeliverable, or is bounced; I am sending as plain 
text, not HTML, I stripped off my signature.  If this makes it through, 
someone please give me a clue why the others might not have.  But that 
is not as important as the real issue that I am trying to get addressed 
below.  Thanks for any assistance.


    I have a Dell PowerEdge server with a CentOS KVM host (Earth) with 
one CentOS guest (Sequoia) that I am trying to expand the partition and 
filesystem on.  I have LVM logical volumes on the host system (Earth), 
which are used as devices/partitions on the guest system (Sequoia).  In 
this particular situation I have successfully extended the logical 
volume (lv_SeqEco) on Earth from 500GB to 700GB.


1.  Checking the disk information (lsblk) on Earth shows that the 
logical volume (lv_SeqEco) is now listed as 700GB.


2.  Checking disk information (lsblk) on Sequoia shows that the disk 
/dev/vde is still listed as 500GB, and partition /dev/vde1 where the 
mount point /ecosystem is located is also listed as 500GB.


3.  I had tried using the resize2fs command to expand the filesystem on 
/dev/vde1, but it returned with the result that there was nothing to 
do.  Which makes sense now after I checked the disk information, since 
/dev/vde on Sequoia has not increased from 500GB to 700GB.


4.  On previous occasions when I have done this task, I would just start 
GParted on Sequoia and use the GUI to expand the partition and 
filesystem.  A real quick and simple solution.


5.  The problem I have now is that the VGA adapter on my server has died 
and I have no graphical output to the attached monitor, nor to the iDrac 
console display.  So I am stuck doing this entirely by the command line 
while logged into the system remotely.


6.  I suspect that I need to rescan the devices on Sequoia so that it 
recognizes the increased space that has been allocated from the extended 
the logical volume.  But when I did that (command below) it came back 
with a no such file or directory.


echo 1 > /sys/class/block/vde1/device/rescan

7.  This server is being retired in the next few months, but I need this 
additional space prior to migrating to the new system. Can someone give 
me some guidance on what I am missing in this sequence?


Let me know if I haven't been clear enough in the explanation of my 
systems and objective.  Thanks.


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


[CentOS] Best laptop with NVIDIA graphics

2017-11-09 Thread Jeff Layton

Good afternoon,

I've been using CentOS for many, many years. I'm looking for a good 
laptop with 4 cores that has an NVIDIA GPU with dedicated memory. I'd 
prefer a GTX 10** series but the older 9** series is fine.


Any recommendations?

Thanks!

Jeff

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


[CentOS] Ordering rich rules with firewalld

2016-08-26 Thread Jeff White
Is there any way to order rich rules in firewalld?  If I remove all 
rules and add them back in firewalld seems to put them in whatever order 
it feels like.


Alternatively, how can I change the default policy of a firewalld zone?  
At the moment I don't see any way to have a zone accept traffic by 
default other than adding a rich rule allowing 0.0.0.0/0.


--
Jeff White
HPC Systems Engineer
Information Technology Services - WSU

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


[CentOS] CentOS 7.2 and KDE

2016-07-18 Thread Jeff Layton
Good afternoon,
I apologize if this is off-topic. I just installed CentOS 7 on my laptop and I 
used KDE. I can't seem to get the "hibernate" option. I've tried editing the 
options under "Power" but it hasn't appeared. Any thoughts?
Thanks!
Jeff

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


[CentOS] How to block routing/forwarding with firewalld

2016-07-12 Thread Jeff White
On CentOS 7 with firewalld I have a box with numerous interfaces acting 
as a NAT gateway.  This works but I noticed that it routes/forwards 
traffic not just from my internal zone to external zone but also between 
interfaces within the internal zone.  How can I prevent that traffic?


I've tried adding direct and rich rules to deny the traffic but it 
doesn't work.  Direct:


firewall-cmd --direct --add-rule ipv4 filter INPUT 0 -s 10.110.4.0/22 -d 
10.110.0.0/22 -j REJECT


That command works, and I see it in `iptables -L` but traffic is still 
allowed.  Rich:


# firewall-cmd --zone=trusted --add-rich-rule='rule family=ipv4 source 
address=10.110.4.0/22 destination address=10.110.0.0/22 reject'

Error: INVALID_RULE: destination action

I can't find any explanation of what that error means.  So, how do you 
tell firewalld to stop forwarding traffic between interfaces?




# firewall-cmd --get-active-zones
public
  interfaces: ens161 ens193
trusted
  interfaces: ens192 ens224 ens256 lo

# firewall-cmd --list-all
public (default, active)
  interfaces: ens161 ens193
  sources:
  services: dhcpv6-client ssh
  ports:
  masquerade: yes
  forward-ports:
  icmp-blocks:
  rich rules:

--
Jeff White
HPC Systems Engineer
Information Technology Services - WSU

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


[CentOS] Kernel version in CentOS 7 pxeboot images

2016-05-09 Thread Jeff White
I have a number of machines which PXE boot using the images provided by 
CentOS here:


http://mirror.centos.org/centos/7/os/x86_64/images/pxeboot/

That gives the machines kernel 3.10.0-327.el7.x86_64.  I would like to 
move to a newer kernel as I'm seeing a serious I/O problem which I 
suspect is a kernel bug.  I thought that would be as easy as grabbing 
the files from here:


http://mirror.centos.org/centos/7.2.1511/os/x86_64/images/pxeboot/

... but that's not the case, those are the same exact files as the 
earlier ones.  These machines always PXE boot, they have no OS installed 
to their local disk.  Instead their root filesystem is on an NFS 
server.  So this is not PXE+kickstart or other provisioning system, just 
PXE then mount an NFS export for its root filesystem.


So, how would one go about creating a new vmlinuz and initrd.img the 
same way that the ones shown above were built, except with a newer 
kernel?  Also, what is upgrade.img?


--
Jeff White
HPC Systems Engineer
Information Technology Services - WSU

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


Re: [CentOS] Firefox 45.1.0 stability

2016-05-06 Thread Jeff Layton

Oops - I should have mentioned that I'm running C6
(I do need to upgrade at some point).

Jeff


On Fri, May 06, 2016 at 02:54:06PM -0400, Jeff Layton wrote:

Good afternoon,

Apologies if this topic has come up before but I've found
that the Firefox 45.1.0 stability to be somewhat lacking.

For example, I can't use it for Twitter because it crashes.
It also crashes when I log into gmail. This happens every
time I try these URL's.

Any suggestions on improving the stability?

It's been running well for me on C7. All the posts I've seen about
crashing refer to  C6.



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


[CentOS] Firefox 45.1.0 stability

2016-05-06 Thread Jeff Layton

Good afternoon,

Apologies if this topic has come up before but I've found
that the Firefox 45.1.0 stability to be somewhat lacking.

For example, I can't use it for Twitter because it crashes.
It also crashes when I log into gmail. This happens every
time I try these URL's.

Any suggestions on improving the stability?

Thanks!

Jeff

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


[CentOS] Incoming rsync connection attempts

2015-10-14 Thread Jeff Boyce

Greetings -

In my logwatch report this morning I noticed reference to an attempt to 
connect to rsync from an external IP address.  It doesn't appear that 
the connection was successful based on correlating information between 
/var/log/secure and /var/log/messages.  But I am looking for some 
suggestions for implementing more preventative measures, if necessary.  
The log information from the last few attempts are shown below.


/var/log/secure
Oct 13 00:14:08 Bison xinetd[2232]: START: rsync pid=15306 
from=180.97.106.36

Oct 13 01:55:51 Bison xinetd[2232]: START: rsync pid=15343 from=85.25.43.94
Oct 13 23:25:35 Bison xinetd[2232]: START: rsync pid=16548 
from=114.119.37.86


/var/log/messages
Oct 13 00:14:08 Bison rsyncd[15306]: rsync: unable to open configuration 
file "/etc/rsyncd.conf": No such file or directory (2)
Oct 13 00:14:08 Bison rsyncd[15306]: rsync error: syntax or usage error 
(code 1) at clientserver.c(923) [receiver=3.0.5]
Oct 13 01:55:51 Bison rsyncd[15343]: rsync: unable to open configuration 
file "/etc/rsyncd.conf": No such file or directory (2)
Oct 13 01:55:51 Bison rsyncd[15343]: rsync error: syntax or usage error 
(code 1) at clientserver.c(923) [receiver=3.0.5]
Oct 13 23:25:35 Bison rsyncd[16548]: rsync: unable to open configuration 
file "/etc/rsyncd.conf": No such file or directory (2)
Oct 13 23:25:35 Bison rsyncd[16548]: rsync error: syntax or usage error 
(code 1) at clientserver.c(923) [receiver=3.0.5]


There is no /etc/rsyncd.conf file present on the system, so I can see 
why the connection wasn't successful.  Our backups get pushed to this 
one from other servers using rsync.


This is on a RHEL 3.9 box (Dell PE2600, year 2004) that is primarily 
used as backup storage within our LAN.  I will retire it when it dies, 
until then it runs fairly maintenance free.  I do have a public IP 
address assigned to the WAN because we have a vsftp server running on it 
for transferring files back and forth to a few clients, and I 
occasionally access the server remotely.  I am wondering if there is 
anything relatively simple that I can do to address these attempted 
connections, until I have time to move our vsftp server from it and 
remove the public IP address from the WAN? Thanks.


Jeff

--

Jeff Boyce
Meridian Environmental


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


Re: [CentOS] rsyslog for chrooted sftp users has stopped working -- Centos 6.6

2015-09-14 Thread Jeff Cours
And no sooner do I send the email than I spot the problem. Oops! Sorry
about that.

The sshd_config needed to contain a different internal-sftp line:

Match User test-sftp-only
  ChrootDirectory /home/sftp/mcsosftp
  ForceCommand internal-sftp -f AUTHPRIV -l INFO
  PasswordAuthentication no
  AuthorizedKeysCommand /usr/local/bin/get_sftp_key

That's gotten the test server working.

Unfortunately, the production server already has that setting, so it's back
to eliminating differences.

Jeff


On Mon, Sep 14, 2015 at 6:32 PM, Jeff Cours  wrote:

> Hello everyone,
>
> We have some chrooted sftp-only users on a CentOS release 6.6 server. The
> server had been logging their actions, but after recent updates the logs
> have stopped.
>
> The server correctly logs non-chrooted users:
>
> Sep 14 17:47:24 vsecure4 sshd[1981]: Accepted publickey for jcours
> from 192.168.10.166 port 42545 ssh2
> Sep 14 17:47:24 vsecure4 sshd[1981]: pam_unix(sshd:session): session
> opened for user jcours by (uid=0)
> Sep 14 17:47:24 vsecure4 sshd[1983]: subsystem request for sftp
> Sep 14 17:47:24 vsecure4 internal-sftp[1984]: session opened for local
> user jcours from [192.168.10.166]
> Sep 14 17:47:24 vsecure4 internal-sftp[1984]: opendir "/home/jcours"
> Sep 14 17:47:24 vsecure4 internal-sftp[1984]: closedir "/home/jcours"
> Sep 14 17:47:49 vsecure4 internal-sftp[1984]: session closed for local
> user jcours from [192.168.10.166]
> Sep 14 17:47:19 vsecure4 sshd[1977]: pam_unix(sshd:session): session
> closed for user jcours
>
> but log messages for chrooted users do not appear:
>
> Sep 14 17:08:11 vsecure4 sshd[1730]: Accepted publickey for
> test-sftp-only from 192.168.10.166 port 41723 ssh2
> Sep 14 17:08:11 vsecure4 sshd[1730]: pam_unix(sshd:session): session
> opened for user test-sftp-only by (uid=0)
> Sep 14 17:08:11 vsecure4 sshd[1734]: subsystem request for sftp
> Sep 14 17:08:22 vsecure4 sshd[1730]: pam_unix(sshd:session): session
> closed for user test-sftp-only
>
> Notice that there are no "opendir" or "closedir" messages for the chrooted
> user, or anything else from the internal-sftp system, for that matter.
>
> /etc/sshd_config contains these settings:
>
> Subsystem sftp internal-sftp -f AUTHPRIV -l INFO
>
> Match User test-sftp-only
>   ChrootDirectory /home/sftp/mcsosftp
>   ForceCommand internal-sftp
>   PasswordAuthentication no
>   AuthorizedKeysCommand /usr/local/bin/get_sftp_key
>
> We've been setting up chrooted logging using this sequence:
>
> sudo mkdir /home/sftp/mcsosftp/dev
> sudo touch /home/sftp/mcsosftp/dev/log
> sudo chattr +i /home/sftp/mcsosftp/dev
> sudo mount --bind /dev/log /home/sftp/mcsosftp/dev/log
>
> /etc/rsyslog.conf includes the standard stuff for authpriv:
>
> # The authpriv file has restricted access.
> authpriv.*  /var/log/secure
>
> I've tried forcing rsyslog.conf to listen to /dev/log:
>
> # We should be listening here.
> $SystemLogSocketName /dev/log
>
> I've also tried removing the hard-mounted /home/sftp/mcsosftp/dev/log and
> instead using this in /etc/rsyslog.conf:
>
> # For chrooted users, generally sftp-only users.
> $AddUnixListenSocket /home/sftp/mcsosftp/dev/log
>
> Neither approach seemed to help the problem, though rsyslogd does appear
> to be listening to the sockets:
>
> $ sudo lsof -c rsyslogd | grep dev/log
> lsof: WARNING: can't stat() devtmpfs file system /home/sftp/dev/log
> (deleted)
>   Output information may be incomplete.
> rsyslogd 1963 root0u  unix 0xdc100040  0t0  15419 /dev/log
> rsyslogd 1963 root3u  unix 0xdbd27dc0  0t0  15421
> /home/sftp/mcsosftp/dev/log
>
> and file identifies both as sockets:
>
> $ file /dev/log
> /dev/log: socket
>
> $ sudo file /home/sftp/mcsosftp/dev/log
> /home/sftp/mcsosftp/dev/log: socket
>
> Here's additional system info for the development server I'm using to
> debug the problem:
>
> $ ls -l /dev/log
> srw-rw-rw- 1 root root 0 Sep 14 17:43 /dev/log
>
> $ sudo ls -l /home/sftp/mcsosftp/dev/log
> srw-rw-rw- 1 root root 0 Sep 14 17:43 /home/sftp/mcsosftp/dev/log
>
> $ ls -l /dev | grep log
> srw-rw-rw- 1 root root   0 Sep 14 17:43 log
> crw-rw 1 root root 10, 227 Sep 14 15:23 mcelog
>
> $ sudo ls -l /home/sftp/mcsosftp/dev | grep log
> srw-rw-rw- 1 root root 0 Sep 14 17:43 log
>
> $ cat /etc/redhat-release
>

[CentOS] rsyslog for chrooted sftp users has stopped working -- Centos 6.6

2015-09-14 Thread Jeff Cours
5.8.10-10.el6_6
@system-updates
rsyslog-gnutls.x86_64  5.8.10-10.el6_6
@system-updates


Does anyone have any ideas what the problem could be or how to diagnose it?

Thanks very much in advance,
Jeff
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Software Collections

2015-08-25 Thread Jeff Spahr
What's CentOS's policy on keeping up with RHEL software collections
releases?  It looks like just the 1.0 release is available on CentOS.  1.1,
1.2, and 2.0 have been released on the RHEL side.

Is there anything I can do to help with this effort?

https://access.redhat.com/documentation/en-US/Red_Hat_Software_Collections/
https://wiki.centos.org/AdditionalResources/Repositories/SCL

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


[CentOS] Issue getting Gnome display manager on Centos 6 to Xming on Win7

2015-05-05 Thread Jeff Boyce

Greetings -

My objective is to get a full Gnome GUI console display to show in an Xming 
window on my Win7 box.  I do a similar thing with my Raspberry Pi so that it 
operates headless with just the power and network cord attached.  My CentOS 
6 box and the Win7 box are on the same network within my office LAN behind a 
good firewall.  For various reasons that I won't go into I am unable to 
combine them into a single box using KVM, so I would at least like to be 
able to display my CentOS Gnome GUI within an Xming window on my Win7 box. 
And I like the way that Xming works, so I would rather not switch to 
something like X2Go as I wasn't too keen on it when I last tried it.


I have done plenty of research on the web that describes how to do this, but 
I must be missing something.  I have the following things configured on the 
CentOS 6 box.


/etc/gdm/custom.conf file
[security]
 DisallowTCP=false
 AllowRemoteRoot=true
[xdmcp]
 Enable=true

/etc/ssh/sshd_config
 X11Forwarding yes
 X11DisplayOffset 10
 X11UseLocalHost yes

I start Xming on the Win7 box with the basic parameters.  Xming.exe 
:0 -resize -clipboard (one window is default)


Putty has X11 Forwarding enabled.

After logging into the CentOS box via Putty I can invoke a single program, 
such as Gedit and it will display on the Xming window, but I can not seem to 
get the entire Gnome GUI display manager.  On my Raspberry Pi, once logged 
in through Putty I just type "startlxde" at the command prompt to get the 
entire display.  But the Pi is a Debian based system running a different 
display manager, so I don't know what would be comparable for CentOS 6, and 
whether additional configuration is needed.


I have tried all the basic troubleshooting actions.  I have disabled the 
firewalls on both the CentOS 6 and Win7 boxes, and I have changed SELinux to 
permissive mode.  None of these changes made any difference, I could still 
display Gedit but not the entire Gnome GUI display manager.  So I figure 
there must be something else I need to do that I am not finding in all my 
Google searches.  Can someone clue me in please.  Thanks.


Jeff Boyce
Meridian Environmental

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


[CentOS] General question about understanding PCI passthrough

2015-01-23 Thread Jeff Boyce

Greetings -

I saw Andrew Holway's post yesterday referencing using PCI passthrough as a 
solution to someone else's issue.  Not being familiar with it, the post made 
me look into it more to see if it is something to use for my setup.  From my 
research on the web, I have two questions to make sure I understand how PCI 
passthrough works.


1.  If you use PCI passthrough on a graphics card to allow a virtual guest 
direct access to the graphics card for it use, does the host still have use 
of the graphics card also?


2.  Or, once you pass it to the guest, the host can then no longer use it 
and has to rely on base level motherboard graphics?  It looks from my 
reading that using PCI passthrough you can make the graphics card available 
to multiple guest simultaneously, but it seemed to imply that the host could 
no longer use it.


With the box that I am configuring, I was planning on installing Linux Mint 
(Cinnamon Desktop) as my kvm host, then installing Win7 as a virtual guest. 
Since I use some mapping software in Win7 it would be nice to be able to use 
the graphics card via PCI passthrough, but not at the expense of loosing it 
from the Mint Cinnamon Desktop.  However if multiple kvm guests can use the 
graphics card simultaneously (but the host can not), the maybe I should use 
CentOS as a very basic host and then make both Mint and Win7 guests.


Jeff Boyce
Meridian Environmental


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


Re: [CentOS] Request for bind large systems build

2015-01-21 Thread Jeff Graham
RE: building self from SRPM from Frank cox.

Yes I agree, it's not horrible to do, but it's a manual step on every patch 
into the repos, I'm hoping more for maintenance reasons.  For that matter I can 
compile from isc.org's source tarball :)
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Request for bind large systems build

2015-01-21 Thread Jeff Graham
It would be nice (if not already available) to get a bind build with 
-with-tuning=large in the configure, this sets bind/named to run 'better' on 
large memory (read production) systems.

If someone could point me at an official one, or consider this as a request for 
a bind.large.systems.x86_64 package to be in the main repos that would be great.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Bittorrent clients

2014-12-28 Thread Jeff Allison
My versions quite old but you can change the sort order to all of
those things, the trackers etc are visible in the inspector.

There's no columns, but it's not that kind of GUI.

On 29 December 2014 at 00:47, Sorin Srbu  wrote:
> Oh, well, there's no coulmns I can find to show various speed, trackers used, 
> remaining time, ot able to sort on name, speed etc.
> Basically it's the gui I don't like. It's fine otherwise and does its job 
> excellent.
>
> --
> /Sorin
>
> 
> From: centos-boun...@centos.org [centos-boun...@centos.org] on behalf of Jeff 
> Allison [jeff.alli...@allygray.2y.net]
> Sent: Sunday, December 28, 2014 14:11
> To: CentOS mailing list
> Subject: Re: [CentOS] OT: Bittorrent clients
>
> No I meant Transmission.
>
> On 28 December 2014 at 22:15, Sorin Srbu  wrote:
>> With ktorrent? No idea. Didn't even think of checking that one out.
>> //Sorin
>>
>> Sent from my tablet, please excuse the brevity.
>>
>> Jeff Allison  wrote:
>>
>>
>> What's missing?
>> On 28/12/2014 8:30 pm, "Alexandru Chiscan"  wrote:
>>
>>> ktorrent
>>>
>>> Lec
>>>
>>> ___
>>> CentOS mailing list
>>> CentOS@centos.org
>>> http://lists.centos.org/mailman/listinfo/centos
>>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Bittorrent clients

2014-12-28 Thread Jeff Allison
No I meant Transmission.

On 28 December 2014 at 22:15, Sorin Srbu  wrote:
> With ktorrent? No idea. Didn't even think of checking that one out.
> //Sorin
>
> Sent from my tablet, please excuse the brevity.
>
> Jeff Allison  wrote:
>
>
> What's missing?
> On 28/12/2014 8:30 pm, "Alexandru Chiscan"  wrote:
>
>> ktorrent
>>
>> Lec
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Bittorrent clients

2014-12-28 Thread Jeff Allison
What's missing?
On 28/12/2014 8:30 pm, "Alexandru Chiscan"  wrote:

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


[CentOS] Centos 7 how to make second disk of RAID1 bootable

2014-12-12 Thread Jeff Boyce

Greetings -

Ok, I have my CentOS 7 KVM host system installed and I want to be able to 
boot the system from either installed drive if one of them fails.  My 
objective is to have the following layout for the two 3 TB disks.


sda1  /boot/efi
sda2  /boot
sda3  RAID1 with sdb3

sdb1  /boot/efi
sdb2  /boot
sdb3  RAID1 with sda3

The system is installed and boots from sda[1,2] and md127 (sda3 and sdb3). 
sdb[1,2] were untouched during the installation, and had been partitioned as 
FAT32 prior to the installation exactly the same as sda[1,2] using GParted. 
A GPT partition table was added to both disks before partitioning.  The 
current partition information for my two drives is:


Disk /dev/sda: 5860533168 sectors, 2.7 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): 0C26A36C-3857-4E97-85CC-2D4E57F4015A
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860533134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2925 sectors (1.4 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 1026047 500.0 MiB EF00 EFI System Partition
2 1026048 2050047 500.0 MiB 0700
3 2050048 5860532223 2.7 TiB FD00

Disk /dev/sdb: 5860533168 sectors, 2.7 TiB
Logical sector size: 512 bytes
Disk identifier (GUID): A3F0F6C1-A395-4A24-8940-BDE803E5D073
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 5860533134
Partitions will be aligned on 2048-sector boundaries
Total free space is 2925 sectors (1.4 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 1026047 500.0 MiB 0700
2 1026048 2050047 500.0 MiB 0700
3 2050048 5860532223 2.7 TiB FD00

sda1 and sda2 were reformatted during installation; with sda1 showing in 
GParted now as FAT16 and a boot flag, and sda2 showing as XFS without a boot 
flag.  sdb[1,2] still show as FAT32 and have no files on them.


What is the simplest and least error-prone way to make my second drive (sdb) 
bootable if the first drive (sda) were to fail?  I have done a lot of 
Googling over the last few days to try and understand what needs to be done, 
and almost everything I find is outdated in that it does not reference using 
grub2, and does not reference UEFI booting.  I am open to reading more 
how-to's if someone knows of a good one that I may have missed in the 50 
plus guides I have looked at.  I suspect that this is really not that 
difficult, but the detail that I need seems to be missing in what I have 
read.


Any responses may cc me directly as I only get the daily digest.  Thanks.

Jeff Boyce
Meridian Environmental

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


Re: [CentOS] CentOS 7 grub.cfg missing on new install

2014-12-11 Thread Jeff Boyce


- Original Message - 
From: "Gordon Messmer" 

To: "CentOS mailing list" 
Cc: "Jeff Boyce" 
Sent: Thursday, December 11, 2014 9:45 AM
Subject: Re: [CentOS] CentOS 7 grub.cfg missing on new install



On 12/10/2014 10:13 AM, Jeff Boyce wrote:
The short story is that got my new install completed with the 
partitioning I wanted and using software raid, but after a reboot I ended 
up with a grub prompt, and do not appear to have a grub.cfg file.

...
I initially created the sda[1,2] and sdb[1,2] partitions via GParted 
leaving the remaining space unpartitioned.


I'm pretty sure that's not necessary.  I've been able to simply change the 
device type to RAID in the installer and get mirrored partitions.  If you 
do your setup entirely in Anaconda, your partitions should all end up 
fine.


It may not be absolutely necessary, but it appears to me to be the only way 
to get to my objective.  The  /boot/efi  has to be on a separate partition, 
and it can not be on a RAID device.  The  /boot  can be on LVM according to 
the documentation I have seen, but Anaconda will give you an error and not 
proceed if it is.   Someone pointed this out to me a few days ago, that this 
is by design in RH and CentOS.  And within the installer I could not find a 
way to put  /boot  on a non-LVM RAID1 while the rest of my drive is setup 
with LVM RAID1.  So that is when I went to GParted to manually setup the 
/boot/efi  and  /boot  partitions before running the installer.


At this point I needed to copy my /boot/efi and /boot partitions from 
sda[1,2] to sdb[1,2] so that the system would boot from either drive, so 
I issued the following sgdisk commands:


root#  sgdisk -R /dev/sdb1 /dev/sda1
root#  sgdisk -R /dev/sdb2 /dev/sda2
root#  sgdisk -G /dev/sdb1
root#  sgdisk -G /dev/sdb2


sgdisk manipulates GPT, so you run it on the disk, not on individual 
partitions.  What you've done simply scrambled information in sdb1 and 
sdb2.


The correct way to run it would be
# sgdisk -R /dev/sdb /dev/sda
# sgdisk -G /dev/sdb


Point taken, I am going back to read the sgdisk documentation again.  I had 
assumed that this would be a more technically accurate way to copy sda[1,2] 
to sdb[1,2] rather than using dd as a lot of how-to's suggest.


However, you would only do that if sdb were completly unpartitioned.  As 
you had already made at least one partition on sdb a member of a RAID1 
set, you should not do either of those things.


The entire premise of what you're attempting is flawed.  Making a 
partition into a RAID member is destructive.  mdadm writes its metadata 
inside of the member partition.  The only safe way to convert a filesystem 
is to back up its contents, create the RAID set, format the RAID volume, 
and restore the backup.  Especially with UEFI, there are a variety of ways 
that can fail.  Just set up the RAID sets in the installer.


I need some additional explanation of what you are trying to say here, as I 
don't understand it.  My objective is to have the following layout for my 
two 3TB disks.


sda1/boot/efi
sda2/boot
sda3RAID1 with sdb3

sdb1/boot/efi
sdb2/boot
sdb3RAID1 with sda3

I just finished re-installing using my GParted prepartitioned layout and I 
have a bootable system with sda1 and sda2 mounted, and md127 created from 
sda3 and sdb3.  My array is actively resyncing, and I have successfully 
rebooted a couple of times without a problem.  My goal now it to make sdb 
bootable for the case when/if sda fails.  This is the process that I now 
believe I failed on previously, and it likely has to do with issueing the 
sgdisk command to a partition rather than a device.  But even so, I don't 
understand why it would have messed with my first device that had been 
bootable.



I then installed GRUB2 on /dev/sdb1 using the following command:
root#  grub2-install /dev/sdb1
   Results:  Installing for x86_64-efi platform.  Installation finished. 
No error reported.


Again, you can do that, but it's not what you wanted to do.  GRUB2 is 
normally installed on the drive itself, unless there's a chain loader that 
will load it from the partition where you've installed it.  You wanted to:

# grub2-install /dev/sdb


Yes, I am beginning to think this is correct, and as mentioned above am 
going back to re-read the sgdisk documentation.



I rebooted the system now, only to be confronted with a GRUB prompt.


I'm guessing that you also constructed RAID1 volumes before rebooting, 
since you probably wouldn't install GRUB2 until you did so, and doing so 
would explain why GRUB can't find its configuration file (the filesystem 
has been damaged), and why GRUB shows "no known filesystem detected" on 
the first partition of hd1.


If so, that's expected.  You can't convert a partition in-place.


Looking through the directories, I see that there is no grub.cfg file.


It woul

Re: [CentOS] CentOS 7 grub.cfg missing on new install

2014-12-11 Thread Jeff Boyce


- Original Message - 
From: "Ned Slider" 

To: 
Cc: 
Sent: Wednesday, December 10, 2014 8:53 PM
Subject: Re: [CentOS] CentOS 7 grub.cfg missing on new install




On 10/12/14 18:13, Jeff Boyce wrote:

Greetings -

The short story is that got my new install completed with the
partitioning I wanted and using software raid, but after a reboot I
ended up with a grub prompt, and do not appear to have a grub.cfg file.
So here is a little history of how I got here, because I know in order
for anyone to help me they would subsequently ask for this information.
So this post is a little long, but consider it complete.



. . . trim . . .


I then installed GRUB2 on /dev/sdb1 using the following command:
root#  grub2-install /dev/sdb1
   Results:  Installing for x86_64-efi platform.  Installation finished.
No error reported.



The upstream docs (see below) seem to suggest 'grub2-install /dev/sdb'
rather than /dev/sdb1 (i.e, installing to the device rather than a
partition on the device). I don't know if this is the cause of your issue.


I rebooted the system now, only to be confronted with a GRUB prompt.
Thinking that this is a good opportunity to for me to learn to rescue a
system since I am going to need to understand how to recover from a disk
or raid failure, I started researching and reading.  It takes a little
bit of work to understand what information is valuable when a lot of it
refers to GRUB (not GRUB2) and doesn't make reference to UEFI booting
and partitions. I found this Ubuntu wiki as a pretty good source
https://help.ubuntu.com/community/Grub2/Troubleshooting#Search_.26_Set



I found the upstream documentation for grub2 to be useful:

https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/ch-Working_with_the_GRUB_2_Boot_Loader.html

Included is a procedure for completely reinstalling grub2 which might
help you recover.


. . . trim . . .

Ned, thanks for your insight.  I feel like I have been sleeping with that 
RH7 document the last day or so trying to understand what I messed up and 
how to recover, I just didn't reference it in my post.  Your conclusion 
about grub2-install being directed to the partition rather than the device 
may be correct, and is about the only little detail that I see that may have 
been wrong.  The weird thing is that the installation should have put 
everything in the proper place on the primary drive, and my grub2-install 
command is being directed at putting it on the secondary drive.  That is 
what is confusing me as the proper grub files should have been on the 
primary drive, allowing me to boot from there.  It would have been nice if I 
had happened to check for the grub files before the failed reboot, or 
immediately after the installation.  I think at this point I am going to not 
try and recover, but just re-install from scratch.  I have gained enough 
knowledge in the past few days learning about grub that at least I know the 
general process and how to get started, but at this point I want to make 
sure I have a good clean system on the initial install.  Thanks to others 
who at least took the time to read my long post.


Jeff

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


[CentOS] CentOS 7 grub.cfg missing on new install

2014-12-10 Thread Jeff Boyce
ch-root.service.
Starting Emergency Shell. . .
Failed to issue method call: Invalid argument

Now I am not sure that I want to get misdirected to what the problem is with 
this boot, if I can boot from a CD in linux rescue mode and do the grub 
install, then be back to a booting system.  So lets ignore the boot error if 
we can.  So I boot from a CD in rescue mode, and it is only able to 
automatically mount sd3 under /mnt/sysimage (the LVM RAID1 containing mounts 
for / and /var).  I am able to manually mount sda1 and sda2, but am not sure 
at what level in the filesystem to mount them (i.e., at /mnt/sda1 or at 
mnt/sysimage/sda1) in order to properly run grub2-install.


So that is where I am at now.  I would like to know how to repair the 
system, rather than starting over on a new install.  Can someone enlighten 
me on what I need to do from here.  Also if someone can speculate on why my 
grub.cfg is missing in the first place I would be interested.


Also, please cc me directly on any responses, as I am only subscribed to the 
daily digest.  Thanks.


Jeff Boyce
Meridian Environmental
www.meridianenv.com 


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


Re: [CentOS] CentOS 7 install software Raid on large drives error

2014-12-08 Thread Jeff Boyce

A few comments in-line and at the bottom.


Date: Sat, 06 Dec 2014 11:32:24 -0500
From: Ted Miller 
To: centos@centos.org
Subject: Re: [CentOS] CentOS 7 install software Raid on large drives
error

On 12/05/2014 01:50 PM, Jeff Boyce wrote:


- Original Message - From: "Mark Milhollan" 
To: "Jeff Boyce" 
Sent: Thursday, December 04, 2014 7:18 AM
Subject: Re: [CentOS] CentOS 7 install software Raid on large drives 
error




On Wed, 3 Dec 2014, Jeff Boyce wrote:


I am trying to install CentOS 7 into a new Dell Precision 3610. I have
two 3
TB drives that I want to setup in software RAID1. I followed the guide
here
for my install as it looked fairly detailed and complete
(http://www.ictdude.com/howto/install-centos-7-software-raid-lvm/).


I suggest using the install guide rather than random crud. The storage
admin guide is fine to read too, but go back to the install guide when
installing.


/mark



Well I thought I had found a decent guide that wasn't random crud, but I
can see now that it was incomplete. I have read the RHEL installation
guide (several times now) and I am still not quite sure that it has all 
the

knowledge I am looking for.

I have played around with the automated and the manual disk partitioning
system in the installation GUI numerous times now trying to understand 
what

it is doing, or more accurately, how it responds to what I am doing. I
have made a couple of observations.

1. The installer requires that I have separate partitions for both /boot
and /boot/efi. And it appears that I have to have both of these, not just
one of them.

2. The /boot partition can not reside on LVM.

3. The options within the installer then appear to allow me to create my
LVM with Raid1, but the /boot and /boot/efi are then outside the Raid.

4. It looks like I can set the /boot partition to be Raid1, but then it 
is

a separate Raid1 from the LVM Raid1 on the rest of the disk. Resulting in
two separate Raid1s; a small Raid1 for /boot and a much larger Raid1 for
the LVM volume group.

I finally manually setup a base partition structure using GParted that
allowed the install to complete using the format below.

sda (3TB)
sda1 /boot fat32 500MB
sda2 /boot/efi fat32 500MB
sdb (3TB)
sdb1 /boot fat32 500MB
sdb2 /boot/efi fat32 500MB

The remaining space was left unpartitioned in GParted, which was then
prepared as LVM Raid1 in the CentOS installer. The installer also put the
/boot and /boot/efi files on sda1 and sda2. Then I would have to manually
copy them over to sdb1 and sdb2 if I wanted to be able to boot from drive
sdb if drive sda failed.

I am not sure that this result is what I really want, as it doesn't Raid 
my

entire drives. The structure below is what I believe I want to have.

sda & sdb RAID1 to produce md1
md1 partitioned
md1a /boot non-LVM
md1b /boot/efi non-LVM
md1c-f LVM containing /, /var, /home, and /swap

Well the abbreviations may not be the proper syntax, but you probably get
the idea of where I am going. If this is correct, then it looks like I
need to create the RAID from the command line of a rescue disk and set 
the

/boot and /boot/efi partitions first before beginning the installer. But
then again I could be totally off the mark here so I am looking for 
someone

to set me straight. Thanks.

Jeff


The last time I actually needed to do this was probably Centos 5, so 
someone will correct me if I have not kept up with all the changes.


1. Even though GRUB2 is capable of booting off of an LVM drive, that 
capability is disabled in RHEL & Centos. Apparently RH doesn't feel it is 
mature yet. Therefore, you need the separate boot partition. (I have a 
computer running a non-RH grub2 installation, and it boots off of LVM OK, 
but apparently it falls into the "works for me" category).


Now that you say that I do recall seeing someone mention that before on this 
list, but had not run across it recently in all my Goggle searching.


2. I cannot comment from experience about the separate drive for /boot/efi, 
but needing a separate partition surprises me. I have not read about others 
needing that. I would think that having an accessible /boot partition would 
suffice.


I tried a lot of different combinations with the installer and 
pre-partitioning the drives, but I don't recall if I tried putting the /boot 
and /boot/efi on the same partition outside of the RAID.  That may work, but 
I am not going back to try that combination now.


3. When grub (legacy or grub2) boots off of a RAID1 drive, it doesn't 
"really" boot off of the RAID. I just finds one of the pair, and boots off 
of that "half" of the RAID. It doesn't understand that this is a RAID 
drive, but the disk structure for RAID1 is such that it just looks like a 
regular drive to GRUB. Basically, it always boots off of sda1. If sda 
fails, you have to physically (or in BIOS) swap sda and sdb in order for 
grub to find the RAID 

Re: [CentOS] CentOS 7 install software Raid on large drives error

2014-12-05 Thread Jeff Boyce


- Original Message - 
From: "Mark Milhollan" 

To: "Jeff Boyce" 
Sent: Thursday, December 04, 2014 7:18 AM
Subject: Re: [CentOS] CentOS 7 install software Raid on large drives error



On Wed, 3 Dec 2014, Jeff Boyce wrote:

I am trying to install CentOS 7 into a new Dell Precision 3610.  I have 
two 3
TB drives that I want to setup in software RAID1.  I followed the guide 
here

for my install as it looked fairly detailed and complete
(http://www.ictdude.com/howto/install-centos-7-software-raid-lvm/).


I suggest using the install guide rather than random crud.  The storage
admin guide is fine to read too, but go back to the install guide when
installing.


/mark



Well I thought I had found a decent guide that wasn't random crud, but I can 
see now that it was incomplete.  I have read the RHEL installation guide 
(several times now) and I am still not quite sure that it has all the 
knowledge I am looking for.


I have played around with the automated and the manual disk partitioning 
system in the installation GUI numerous times now trying to understand what 
it is doing, or more accurately, how it responds to what I am doing.  I have 
made a couple of observations.


1.  The installer requires that I have separate partitions for both /boot 
and /boot/efi.  And it appears that I have to have both of these, not just 
one of them.


2.  The /boot partition can not reside on LVM.

3.  The options within the installer then appear to allow me to create my 
LVM with Raid1, but the /boot and /boot/efi are then outside the Raid.


4.  It looks like I can set the /boot partition to be Raid1, but then it is 
a separate Raid1 from the LVM Raid1 on the rest of the disk.  Resulting in 
two separate Raid1s; a small Raid1 for /boot and a much larger Raid1 for the 
LVM volume group.


I finally manually setup a base partition structure using GParted that 
allowed the install to complete using the format below.


sda  (3TB)
  sda1  /boot   fat32   500MB
  sda2  /boot/efi   fat32   500MB
sdb  (3TB)
  sdb1  /boot   fat32   500MB
  sdb2  /boot/efi   fat32   500MB

The remaining space was left unpartitioned in GParted, which was then 
prepared as LVM Raid1 in the CentOS installer.  The installer also put the 
/boot and /boot/efi files on sda1 and sda2.  Then I would have to manually 
copy them over to sdb1 and sdb2 if I wanted to be able to boot from drive 
sdb if drive sda failed.


I am not sure that this result is what I really want, as it doesn't Raid my 
entire drives.  The structure below is what I believe I want to have.


sda & sdb  RAID1 to produce md1
md1 partitioned
  md1a/boot non-LVM
  md1b   /boot/efi non-LVM
  md1c-f   LVM  containing  /, /var, /home, and /swap

Well the abbreviations may not be the proper syntax, but you probably get 
the idea of where I am going.  If this is correct, then it looks like I need 
to create the RAID from the command line of a rescue disk and set the /boot 
and /boot/efi partitions first before beginning the installer.  But then 
again I could be totally off the mark here so I am looking for someone to 
set me straight.  Thanks.


Jeff



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


[CentOS] CentOS 7 install software Raid on large drives error

2014-12-03 Thread Jeff Boyce

Greetings -

I am trying to install CentOS 7 into a new Dell Precision 3610.  I have two 
3 TB drives that I want to setup in software RAID1.  I followed the guide 
here for my install as it looked fairly detailed and complete 
(http://www.ictdude.com/howto/install-centos-7-software-raid-lvm/).  I only 
changed the size of the partitions from what is described, but ended up with 
the disk configuration error that won't allow the installation to complete. 
The error is:


You have not created a bootloader stage 1 target device.
You have not created a bootable partition.

So I am clearly missing a step in setting up the drives; likely before 
running the installer.  My disks are blank raw disks right now with nothing 
on them.  Reading the RHEL Storage Admin Guide (Sec. 18.6, Raid Support in 
the Installer) this should be supported, but I am assuming I may need to do 
something different because the drives are greater than 2 TB.  I have a 
SystemRescueCD that I can use GParted to do some setup in advance of the 
installer, but am not sure of what exactly I need to do.


My objective is to RAID1 the two drives, use LVM on top of the RAID, install 
CentOS7 as a KVM host system, with two KVM guests (Linux Mint and Windows 
7).  Can anyone tell me the steps I am missing, or point me to a better 
tutorial than what I have found in my extensive Google searches.  Thanks.


Please cc me directly on replies as I am only subscribed to the daily 
digest.  Thanks.


Jeff Boyce
www.meridianenv.com

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


[CentOS] Fix for RHEL BZ#771868 in CentOS?

2014-12-01 Thread Jeff Hammerbacher
Hey,

We are blocked on a bug fixed by RHEL in
https://rhn.redhat.com/errata/RHBA-2012-0362.html. Specifically, the splice
code in sendfile() incorrectly updating the offset position on the write
side, Red Hat BZ#771868.

I have not been able to figure out if this bugfix is included in any CentOS
releases. If you are better at reading release notes than me, could you
please help me out and let me know if there's a CentOS release that
includes this bugfix?

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


Re: [CentOS] Apache server-status file not found

2014-11-04 Thread Jeff Palmer
Without additional information,  my immediate guess would be a virtualhost
conflict.



On Tue, Nov 4, 2014 at 11:06 AM, Tim Dunphy  wrote:

> Hi All,
>
>  I tried enabling server-status on this one server. I used the same
> server-status definition that we normally do around here. It usually works.
> But this time it isn't.
>
> What happens is that when I do a GET on server-status and the IP, it
> results in a file not found error.
>
>
> [root@224432-27 apache2]# GET http://$(hostname -i)/server-status
> 
> 
> 404 Not Found
> 
> Not Found
> The requested URL /server-status was not found on this server.
> 
>
> Yet in the main apache httpd.conf file I have the following:
>
> ExtendedStatus On
>
> #Mod_status config
> 
> SetHandler server-status
> Order allow,deny
> Allow from all
> 
>
>
> I'm planning on tightening this up with allowing only from certain IPs once
> I get this working.
>
> But does anyone have any idea why this could be failing?
>
> Thanks
> Tim
>
> --
> GPG me!!
>
> gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Advice on CentOS 7, software raid 1, lvm, 3 TB

2014-09-17 Thread Jeff Boyce
Sorry for breaking the threading, as I only get the daily digest.  My 
comments (interspersed) begin with the **.



Message: 41
Date: Tue, 16 Sep 2014 18:38:02 -0400
From: SilverTip257 
To: CentOS mailing list 
Subject: Re: [CentOS] Advice on CentOS 7, software raid 1, lvm, 3 TB
disks
Message-ID:

Content-Type: text/plain; charset=UTF-8

On Tue, Sep 16, 2014 at 6:07 PM, Jeff Boyce  wrote:


Greetings -

I am preparing to order a new desktop system for work. In general the new
system will be a Dell Precision T3610 with two 3 TB drives. I plan on
installing CentOS 7 as a KVM host, with virtual machines for Win 7 Pro and
Linux Mint. I am looking for some advice or a good how-to on configuring
software raid on the two drives, then using LVM for the host and virtual
machines. I have configured our company server (Dell T610) with hardware
raid and LVM for a CentOS 6 KVM host and several virtual machines so I am
not a complete novice, but have never setup a Linux software raid system,
and have not played with a CentOS 7 install yet. I have been searching the
web and forums for information and am not finding much for good guidance.
Lots of gotcha's are popping up identifying issues related to CentOS 7,
software raid 1, grub install, > 2 TB disks (or any combination of these
factors). The CentOS Wiki has a good description of installing



I'm not sure which wiki article you might have read. That URL might be
worthwhile to share.

** The CentOS Wiki article I was referring to was the same one you provided 
in the first link of the group of references posted at the bottom of your 
note.  I was a little put off by the article having fairly significant 
warnings in the first two paragraphs of the article, so I only skimmed 
through it.




CentOS 5 with raid 1, but there is a big warning about being an
unsupported (risky) approach. Can anyone point me to a good how-to, or
provide some general guidance. Thanks.



Hopefully what I have typed up below helps you.
I don't know about soft-raid1 being an unsupported/risky approach ... that
said I'd pick hardware raid over software raid (considering I had spare
hardware) so I don't have to fuss with raid at the OS level. I have worked
on a mix of software-raid and hardware-raid systems (and still do) ... each
has its own pros/cons. I've had success re-adding a new drive in degraded
soft-raid1 arrays in a production environment ... so I say go for it.

[ ]
Somebody else asked about C7 and soft-raid in the past week or week and a
half.
You can find that thread here:
http://lists.centos.org/pipermail/centos/2014-September/145656.html
Though I don't think much was accomplished in that thread.
[/]

** Yea, I saw that thread recently also, and was hoping for some good 
information from it, but the original post wasn't specific enough to 
generate specific guidance.  That is why I thought to try a post that was 
more specific to my objective.



My suggestion to you (as well as that last person) is to spin up a VM (or
spare bare-metal hardware) and use mdadm commands to assemble, stop,
hot-fail, hot-remove, and rebuild (add a new disk to replace a "failed
one") your soft-raid array.

** I am planning on having some time set aside to play/experiment with the 
new box while setting it up.  So I am fortunate to not be in a situation 
where I have to get it into production now before figuring it all out.



As is the case with many things Linux, the manpage is your friend.
Sometimes sysadmins and hobbyists decide to publish what they've done
(good or bad) which can be found with the search engine of your choice.

** I am a book worm so I don't mind reading man pages.  But as an ecologist, 
it is often good to understand the big picture before diving into the 
details.  That way I understand which detail I need to look at, and what 
order all the details go together in.  It looks like the ArchLinux links you 
gave me below will give me an understanding of that as I read them in 
detail.



In this case, even generic (non-RH or non-CentOS specific) command
documentation is likely what you want. More than likely you'll get the
results you want by booting to a rescue CD (or switching to a shell on your
install CD), setting up your soft-raid, then booting to your install CD,
which will probe for your disk/soft-raid/lvm layout.

steps for graphical approach (C5, so dated) -
http://wiki.centos.org/HowTos/SoftwareRAIDonCentOS5
partitionable soft-raid -
http://wiki.centos.org/HowTos/Install_On_Partitionable_RAID1
TLDP create soft-raid - http://www.tldp.org/HOWTO/Software-RAID-HOWTO.html

** I've seen these first three, and will go back and look at the first one 
in more detail now as mentioned above.



Arch Linux create soft-raid -
https://wiki.archlinux.org/index.php/Software_RAID_and_LVM

** I had not found this one.  My first impression scanning through it is 
that it looks to have a lot of the other sub

[CentOS] Advice on CentOS 7, software raid 1, lvm, 3 TB disks

2014-09-16 Thread Jeff Boyce

Greetings -

I am preparing to order a new desktop system for work.  In general the new 
system will be a Dell Precision T3610 with two 3 TB drives.  I plan on 
installing CentOS 7 as a KVM host, with virtual machines for Win 7 Pro and 
Linux Mint.  I am looking for some advice or a good how-to on configuring 
software raid on the two drives, then using LVM for the host and virtual 
machines.  I have configured our company server (Dell T610) with hardware 
raid and LVM for a CentOS 6 KVM host and several virtual machines so I am 
not a complete novice, but have never setup a Linux software raid system, 
and have not played with a CentOS 7 install yet.  I have been searching the 
web and forums for information and am not finding much for good guidance. 
Lots of gotcha's are popping up identifying issues related to CentOS 7, 
software raid 1, grub install, > 2 TB disks (or any combination of these 
factors).  The CentOS Wiki has a good description of installing CentOS 5 
with raid 1, but there is a big warning about being an unsupported (risky) 
approach.  Can anyone point me to a good how-to, or provide some general 
guidance.  Thanks.


Jeff Boyce
www.meridianenv.com

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


Re: [CentOS] Enlightenment and CentOS 6.5

2014-05-28 Thread Jeff Layton
On 05/27/2014 04:51 PM, Jitse Klomp wrote:
> Jeff,
>
> haven't tried it myself, but there is an E17 repo available here:
> http://download.opensuse.org/repositories/X11:/Enlightenment:/E17:/Factory/CentOS_CentOS-6/X11:Enlightenment:E17:Factory.repo
>
> Installing Enlightenment should be trivial after adding the repository
> to your system.
>
>

Jitse,

That worked perfectly. I had to "yum install e17" to get it installed. 
Then I added "enlightentment_start" to my .xinitrc and it came up. Not 
too bad (a little dark for my taste).

Thanks!

Jeff

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


[CentOS] Enlightenment and CentOS 6.5

2014-05-27 Thread Jeff Layton
Good morning,

I've been looking around for binaries for Enlightenment (>= 0.17) for 
CentOS 6.5. I've found something called "elementary" from OpenSUSE but 
I'm not sure what Elementary really is :)   Any suggestions?

Thanks!

Jeff

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


Re: [CentOS] Slow RAID resync

2014-03-17 Thread Jeff Allison
Updating my own post iostat shows /dev/sdb is at 100% transferring at 4MB/S

So what limits a disk to 4MB/S???

On 18 March 2014 08:43, Jeff Allison  wrote:
> OK todays problem.
>
> I have a HP N54L Microserver running centos 6.5.
>
> In this box I have a 3x2TB disk raid 5 array, which I am in the
> process of extending to a 4x2TB raid 5 array.
>
> I've added the new disk --> mdadm --add /dev/md0 /dev/sdb
>
> And grown the array --> mdadm --grow /dev/md0 --raid-devices=4
>
> Now the problem the resync speed is v slow, it refuses to rise above
> 5MB, in general it sits at 4M.
>
> from looking at glances it would appear that writing to the new disk
> is the bottle neck, /dev/sdb is the new disk.
>
> Disk I/O   In/s   Out/s
> md0   0   0
> sda1  0   0
> sda2  0  1K
> sdb1  3.92M   0
> sdc1  24.2M   54.7M
> sdd1  11.2M   54.7M
> sde1  16.3M   54.7M
>
> I partitiioned the disk with --> parted -a optimal /dev/sdb
>
> [root@nas ~]# parted -a optimal /dev/sdb
> GNU Parted 2.1
> Using /dev/sdb
> Welcome to GNU Parted! Type 'help' to view a list of commands.
> (parted) p
> Model: ATA ST2000DM001-1E61 (scsi)
> Disk /dev/sdb: 2000GB
> Sector size (logical/physical): 512B/4096B
> Partition Table: msdos
>
> Number  Start   End SizeType File system  Flags
>  1  1049kB  2000GB  2000GB  primary  ntfs raid
>
>  There is no ntfs filesystem on the disk, I've still not worked out
> how to remove that flag.
>
>  I've followed the article here -->
> http://www.cyberciti.biz/tips/linux-raid-increase-resync-rebuild-speed.html
>  to attempt to speed it up but no joy.
>
> Any Ideas what I've done wrong?
>
>  parted output
>
> [root@nas ~]# parted -l
> Model: ATA ST31000528AS (scsi)
> Disk /dev/sda: 1000GB
> Sector size (logical/physical): 512B/512B
> Partition Table: msdos
>
> Number  Start   End SizeType File system  Flags
>  1  1049kB  525MB   524MB   primary  ext4 boot
>  2  525MB   1000GB  1000GB  primary   lvm
>
>
> Model: ATA ST2000DM001-1E61 (scsi)
> Disk /dev/sdb: 2000GB
> Sector size (logical/physical): 512B/4096B
> Partition Table: msdos
>
> Number  Start   End SizeType File system  Flags
>  1  1049kB  2000GB  2000GB  primary  ntfs raid
>
>
> Model: ATA ST2000DM001-9YN1 (scsi)
> Disk /dev/sdc: 2000GB
> Sector size (logical/physical): 512B/4096B
> Partition Table: msdos
>
> Number  Start   End SizeType File system  Flags
>  1  1049kB  2000GB  2000GB  primary   raid
>
>
> Model: ATA WDC WD25EZRS-00J (scsi)
> Disk /dev/sdd: 2500GB
> Sector size (logical/physical): 512B/4096B
> Partition Table: msdos
>
> Number  Start   End SizeType File system  Flags
>  1  1049kB  2000GB  2000GB  primary  ntfs raid
>
>
> Model: ATA ST2000DL001-9VT1 (scsi)
> Disk /dev/sde: 2000GB
> Sector size (logical/physical): 512B/4096B
> Partition Table: msdos
>
> Number  Start   End SizeType File system  Flags
>  1  1049kB  2000GB  2000GB  primary   raid
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Slow RAID resync

2014-03-17 Thread Jeff Allison
OK todays problem.

I have a HP N54L Microserver running centos 6.5.

In this box I have a 3x2TB disk raid 5 array, which I am in the
process of extending to a 4x2TB raid 5 array.

I've added the new disk --> mdadm --add /dev/md0 /dev/sdb

And grown the array --> mdadm --grow /dev/md0 --raid-devices=4

Now the problem the resync speed is v slow, it refuses to rise above
5MB, in general it sits at 4M.

from looking at glances it would appear that writing to the new disk
is the bottle neck, /dev/sdb is the new disk.

Disk I/O   In/s   Out/s
md0   0   0
sda1  0   0
sda2  0  1K
sdb1  3.92M   0
sdc1  24.2M   54.7M
sdd1  11.2M   54.7M
sde1  16.3M   54.7M

I partitiioned the disk with --> parted -a optimal /dev/sdb

[root@nas ~]# parted -a optimal /dev/sdb
GNU Parted 2.1
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p
Model: ATA ST2000DM001-1E61 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start   End SizeType File system  Flags
 1  1049kB  2000GB  2000GB  primary  ntfs raid

 There is no ntfs filesystem on the disk, I've still not worked out
how to remove that flag.

 I've followed the article here -->
http://www.cyberciti.biz/tips/linux-raid-increase-resync-rebuild-speed.html
 to attempt to speed it up but no joy.

Any Ideas what I've done wrong?

 parted output

[root@nas ~]# parted -l
Model: ATA ST31000528AS (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start   End SizeType File system  Flags
 1  1049kB  525MB   524MB   primary  ext4 boot
 2  525MB   1000GB  1000GB  primary   lvm


Model: ATA ST2000DM001-1E61 (scsi)
Disk /dev/sdb: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start   End SizeType File system  Flags
 1  1049kB  2000GB  2000GB  primary  ntfs raid


Model: ATA ST2000DM001-9YN1 (scsi)
Disk /dev/sdc: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start   End SizeType File system  Flags
 1  1049kB  2000GB  2000GB  primary   raid


Model: ATA WDC WD25EZRS-00J (scsi)
Disk /dev/sdd: 2500GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start   End SizeType File system  Flags
 1  1049kB  2000GB  2000GB  primary  ntfs raid


Model: ATA ST2000DL001-9VT1 (scsi)
Disk /dev/sde: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: msdos

Number  Start   End SizeType File system  Flags
 1  1049kB  2000GB  2000GB  primary   raid
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Mirroring Disk (Apologies for the new thread I deleted the original)

2014-02-16 Thread Jeff Allison
Answers to questions...

It really depends on your use case.

I'm looking to be able to pull out old dead drive, and replace it with
new (almost up to date) drive and reboot.

The USB disk is a 1TB disk in a case.

> Been considering dump and restoring to the usb disk periodically? or
> maybe something using LVM or maybe creating and breaking a RAID 1
> array?

Constantly making and breaking a RAID1 with a USB drive is probably not
helpful.  It's just more wear and tear on the OS drive, because it has
to be constantly read in order to mirror the target drive, and your USB
drive is probably not what you want to boot off of if your system drive
fails.  You'd be much better off with a permanent RAID1, but if you
can't do that then at least make a RAID1 to a USB enclosure which
contains the same size and interface drive as your current system disk.
This way if it fails you can swap in the backup drive and not have to
boot from a USB drive.

Yeah I thought that would be the case, as I said above I'd like to be
able to boot from the USB enclosure but the plan is to replace the
failed internal with the disk from the USB enclosure.

Would LVM be any help or is it just a complication? I defiantly
leaning to the nightly dump/restore into a similarly formatted disk.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Mirroring disk.

2014-02-13 Thread Jeff Allison
OK all my HP Microserver is purring away nicely now, as usual I
looking for the rainy day.

Although my data is on a RAID 5 array my OS is on a single disk.

Any suggestions as to the best way to have a copy of my OS on an
attached USB Drive?

Been considering dump and restoring to the usb disk periodically? or
maybe something using LVM or maybe creating and breaking a RAID 1
array?

Just not sure of the best plan at the mo.

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


Re: [CentOS] Strange Samba Issue

2014-02-10 Thread Jeff Allison
Dunno I'll need to check. I doubt it though.

nfs seems pretty good on the mac and xbmc jobbie.

The other media player is android so there's probably no nfs client
for that an dthe wife and kids are on windows so a dlna server we'll
have to find.

On 11 February 2014 02:33, John Doe  wrote:
> From: Jeff Allison 
>
>> Now when I browse these folders on the console I can see the files. when I
>> sftp on the command line from another box I can see these files.
>> But when I browse via samba or using a gui sftp client quite a lot of these
>> files are missing...
>
> Filenames encoding maybe...?
>
> JD
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Strange Samba Issue

2014-02-09 Thread Jeff Allison
Seems to work fine in nfs, a bit slower though.


On 10 February 2014 15:19, Always Learning  wrote:

>
> On Mon, 2014-02-10 at 15:12 +1100, Jeff Allison wrote:
>
> > Perhaps it's time to generate nfs shares and see how that goes.
>
> I'd be interested in your progress implementing NFS (version 4?) and how
> it compares to Samba.
>
>
> --
> Paul.
> England,
> EU.
>
>Our systems are exclusively Linux. No Micro$oft Windoze here.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Strange Samba Issue

2014-02-09 Thread Jeff Allison
Perhaps it's time to generate nfs shares and see how that goes.


On 10 February 2014 15:08, Always Learning  wrote:

>
> On Mon, 2014-02-10 at 14:56 +1100, Jeff Allison wrote:
>
> > samba / gui sftp client.
> >
> > Commanline sftp gives the right response.
>
> Perhaps a bug or a configuration limitation.
>
> I use filezilla with SFTP. Never had a problem.
>
> When I left Windoze 4 or 5 years ago, I took essential data to Centos
> and then never needed to access any Micro$oft machine. Just the thought
> of M$ and its many problems makes me cringe with distaste.
>
> Wishing you good luck and hoping the others can propose a solution.
>
> --
> Paul.
> England,
> EU.
>
>Our systems are exclusively Linux. No Micro$oft Windoze here.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Strange Samba Issue

2014-02-09 Thread Jeff Allison
samba / gui sftp client.

Commanline sftp gives the right response.


On 10 February 2014 14:52, Always Learning  wrote:

>
> On Mon, 2014-02-10 at 14:37 +1100, Jeff Allison wrote:
>
> > Seems to be still alphabetical
>
> Regret I don't know. Hopefully the others may have a solution.
>
> What software gives the truncated results ?
>
> --
> Paul.
> England,
> EU.
>
>Our systems are exclusively Linux. No Micro$oft Windoze here.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Strange Samba Issue

2014-02-09 Thread Jeff Allison
Seems to be still alphabetical



On 10 February 2014 14:29, Always Learning  wrote:

>
> On Mon, 2014-02-10 at 14:17 +1100, Jeff Allison wrote:
>
> > The strangest is that it's not all the files I can see files in some
> > folders but to others. If I sort alphabetically I get to about b.
>
> On a filter on last date used/accessed ?
>
>
> --
> Paul.
> England,
> EU.
>
>Our systems are exclusively Linux. No Micro$oft Windoze here.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Strange Samba Issue

2014-02-09 Thread Jeff Allison
Possibly, but I've moved a file from inside a folder to the top level and
it still doesn't show.

It's a 700G folder though.


On 10 February 2014 14:25, Always Learning  wrote:

>
> On Mon, 2014-02-10 at 14:17 +1100, Jeff Allison wrote:
>
> > The strangest is that it's not all the files I can see files in some
> > folders but to others. If I sort alphabetically I get to about b.
>
> Could there be a predetermined limit on the quantity of displayed
> entries or a buffer-full problem ?
>
>
> --
> Paul.
> England,
> EU.
>
>Our systems are exclusively Linux. No Micro$oft Windoze here.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Strange Samba Issue

2014-02-09 Thread Jeff Allison
The strangest is that it's not all the files I can see files in some
folders but to others. If I sort alphabetically I get to about b.


On 10 February 2014 14:11, Jeff Allison wrote:

> I've set myself as the owner and the permissions to 777
>
>
> On 10 February 2014 14:08, Always Learning  wrote:
>
>>
>> On Mon, 2014-02-10 at 13:46 +1100, Jeff Allison wrote:
>> > Ok so I built the microserver as a centos box and now I have a strange
>> one
>> >
>> > I built a Centos 6.5 box with a 3.6 raid ext4 data drive on it, shared
>> >  with samba.
>> >
>> > Now when I browse these folders on the console I can see the files.
>> when I
>> > sftp on the command line from another box I can see these files.
>> >
>> > But when I browse via samba or using a gui sftp client quite a lot of
>> these
>> > files are missing...
>> >
>> > Any ideas?
>>
>> Permissions ?
>>
>>
>> --
>> Paul.
>> England,
>> EU.
>>
>>Our systems are exclusively Linux. No Micro$oft Windoze here.
>>
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
>
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Strange Samba Issue

2014-02-09 Thread Jeff Allison
I've set myself as the owner and the permissions to 777


On 10 February 2014 14:08, Always Learning  wrote:

>
> On Mon, 2014-02-10 at 13:46 +1100, Jeff Allison wrote:
> > Ok so I built the microserver as a centos box and now I have a strange
> one
> >
> > I built a Centos 6.5 box with a 3.6 raid ext4 data drive on it, shared
> >  with samba.
> >
> > Now when I browse these folders on the console I can see the files. when
> I
> > sftp on the command line from another box I can see these files.
> >
> > But when I browse via samba or using a gui sftp client quite a lot of
> these
> > files are missing...
> >
> > Any ideas?
>
> Permissions ?
>
>
> --
> Paul.
> England,
> EU.
>
>Our systems are exclusively Linux. No Micro$oft Windoze here.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Strange Samba Issue

2014-02-09 Thread Jeff Allison
Ok so I built the microserver as a centos box and now I have a strange one

I built a Centos 6.5 box with a 3.6 raid ext4 data drive on it, shared
 with samba.

Now when I browse these folders on the console I can see the files. when I
sftp on the command line from another box I can see these files.

But when I browse via samba or using a gui sftp client quite a lot of these
files are missing...

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


[CentOS] Raid on centos

2014-02-06 Thread Jeff Allison
Ok I've a HP mircoserver that I'm building up.

It's got 4 bays for be used for data that I'm considering setup up woth
softwere raid (mdadm)

I've 2 x 2TB 2 x 2.5 TB and 2 x 1TB, I'm leaning towards usig the 4 2.x TB
is a raid 5 array to get 6TB.

Now the data is on the 2.5TB disks currently.

So the plan so far.

Building the array as a degraded raid 5 with the 2 x 2TB disks that are
emply.
Copy the data from one of the 2.5TB disks on to array.
Add now empty 2.5TB disk to the Array and wait for it to rebuild.
Copy contents of remaining 2.5TB disk 2 array.
Add now empty 2.5TB disk to the Array and wait for it to rebuild.

So questions...

Is the above a stupid idea?
Do I need to get involved in gptids? on disks this size?
What format should I create the file system as?
Should I get lvm involved somewhere?

Any pointers would be kindly appreciated.

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


Re: [CentOS] CentOS 6.4: sound not working

2013-10-13 Thread Jeff Layton
On 10/13/2013 11:47 AM, Darr247 wrote:
> On 2013-10-13 @14:22 zulu, Jeff Layton scribed:
>> Any suggestions?
>>
>>
> Check that the speakers work when plugged into another computer.
>
> On my computer speakers, there's a wired pendant with
> volume/balance/fader knobs, and one of them functions as a mute button
> when pushed.
>
> The proper jack for speaker plug is typically colored pale/pastel green.
>

Yep - good suggestion. I had already checked that the speakers
work and that the the audio jack is plugged into the correct
port (pastel green). When I pull the jack out of the port you can
hear the static through the speakers which makes me think it's
a driver problem (but I'm probably wrong).

Thanks!

Jeff

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


[CentOS] CentOS 6.4: sound not working

2013-10-13 Thread Jeff Layton
Good morning,

I've got a new system with a fresh 6.4 installation. I didn't check
if the sound worked at first but I know it doesn't now. :)

The system board is an ASRock Extreme6. The Specs say it has
a Realtek ALC1150 audio chipset and 7.1 channels.

I'm running KDE and an Nvidia X driver (I need the video
performance of this driver - sorry about that). The System
Tools for Audio Output list 4 devices:

HDA Intel (HDA Generic)
Default
PulseAudio
HDA NVidia (HDMI 0)

The speakers are connected via the typical audio jack and when
I test "HDA Intel (HDA General)" it says that the default device
did not work and it is using the PulseAudio device. I tested all 4
devices and nothing ever played. I've also made sure I have
the audio jack plugged into the right port on the board :)

I Googled a bit and one site suggested reinstalling the alsa kernel
module, which I did. No change - still no sound.

Any suggestions?

Thanks!

Jeff

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


[CentOS] Upgrading 5.5 to 5.8 with yum?

2012-10-13 Thread Jeff Layton
  Good afternoon,

I've been running a CentOS 5.5 system for a while using some
Nvidia drivers for an older Nvidia card (GeForce 6200 card).
I'd like to upgrade to 5.8 using yum but I was curious if anyone
has done this using yum? Any gotchas? (I can handle the
Nvidia upgrade part once the system is upgraded).

Thanks!

Jeff


BTW - I'm using driver 256.35 and looking at Nvidia's site
it looks like 304.51 is the latest (I'm running 32-bit believe it
or not).

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


Re: [CentOS] Resizing est4 filesystem while mounted

2012-06-19 Thread Jeff Boyce
Replying to the daily digest, with my response at the bottom.


> Message: 18
> Date: Mon, 18 Jun 2012 22:28:31 +0200
> From: Dennis Jacobfeuerborn 
> Subject: Re: [CentOS] Resizing est4 filesystem while mounted
> To: centos@centos.org
> Message-ID: <4fdf8f6f.8030...@conversis.de>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On 06/18/2012 10:09 PM, Jeff Boyce wrote:
>> Replying to the daily digest, with my response at the bottom.
>>
>>
>>
>>> Message: 13
>>> Date: Fri, 15 Jun 2012 12:22:08 -0700
>>> From: Ray Van Dolson 
>>> Subject: Re: [CentOS] Resizing est4 filesystem while mounted
>>> To: centos@centos.org
>>> Message-ID: <20120615192207.ga23...@bludgeon.org>
>>> Content-Type: text/plain; charset=us-ascii
>>>
>>> On Fri, Jun 15, 2012 at 12:10:09PM -0700, Jeff Boyce wrote:
>>>> Greetings -
>>>>
>>>> I had a logical volume that was running out of space on a virtual
>>>> machine.
>>>> I successfully expanded the LV using lvextend, and lvdisplay shows that
>>>> it
>>>> has been expanded. Then I went to expand the filesystem to fill the new
>>>> space (# resize2fs -p /dev/vde1) and I get the results that the
>>>> filesystem
>>>> is already xx blocks long, nothing to do. If I do a # df -h, I can see
>>>> that
>>>> the filesystem has not been extended. I could kick the users off the 
>>>> VM,
>>>> reboot the VM using a GParted live CD and extend the filesystem that 
>>>> way,
>>>> but I thought that it was possible to do this live and mounted? The RH
>>>> docs
>>>> say this is possible; the man page for resize2fs also says it is 
>>>> possible
>>>> with ext4. What am I missing here? This is a Centos 6.2 VM with an ext4
>>>> filesystem. The logical volumes are setup on the host system which is
>>>> also
>>>> a Centos 6.2 system.
>>>
>>> Try resize4fs (assuming your FS is ext4).
>>>
>>> Ray
>>
>> Well, I have never seen a reference to resize4fs before (and yes my FS is
>> ext4).  It is not on my Centos 6.2 system, and doing a little searching
>> through repositories for that specifically, or e4fsprogs, and I can't 
>> find
>> it anywhere to even try it.  Any google reference seems to point back to
>> resize2fs.  I ended up booting a live SystemRescueCD and using GParted 
>> via
>> the GUI.  My notes indicate that is what I had done previously also.  I 
>> am
>> still stumped, everything that I have read indicates that resize2fs can 
>> do a
>> live resizing on ext4 file systems.  Can anybody confirm or deny this? 
>> Is
>> the reason I can't do this because it is on an LVM logical volume? 
>> Thanks.
>
> Please post some details about your storage topology. Without this
> information its not really possible to be sure what is going on.
> resizefs cannot work as long as the underlying layers don't see any change
> in size and you didn't seem to look for that.
>
> Regards,
>   Dennis


I provided some of that information in my original post, but if you can help 
explain why I couldn't seem to resize the file system while mounted here is 
more information.

Host system is Centos 6.2 on a Dell PE T610 with hardware raid on a PERC 
H700.  Raid 5 is setup across three disks with a fourth hot spare.  I have 
created a volume group within the raid 5 encompassing most of my drive 
space.  Within the VG I have created numerous logical volumes that are 
assigned to specific systems.

Volume Group:  vg_mei
Logical Volumes:
   lv_earthroot
   lv_earthswap
   lv_earthvar
   lv_sequoiaroot
   lv_sequoiaswap
   lv_sequoiavar
   lv_sequoiahome
   lv_sequoiaecosystem

Earth is my host system and Sequoia is one of the guest systems. 
lv_sequoiaecosystem is the space dedicated to our Samba server and is the LV 
that I was expanding to make more space available to the rest of the staff. 
I had successfully extended lv_sequoiaecosystem using the following command 
from root on earth (lvextend -L+50G /dev/vg_mei/lv_sequoiaecosystem). 
Issuing the command  (lvdisplay /dev/vg_mei/lv_sequoiaecosystem) following 
this showed that the LV was successfully extended from 100 to 150 GB.

I then logged onto sequoia as root and issued a df -h to determine which 
device needed the file system to be resized (/dev/vde1).  The output below 
is current, after I resized the filesystem using GParted.

[root@sequoia ~]# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/vda2 4.5G  2.5G  1.8G  59% /
tmpfs1004

Re: [CentOS] Resizing est4 filesystem while mounted

2012-06-18 Thread Jeff Boyce
Replying to the daily digest, with my response at the bottom.



>Message: 13
>Date: Fri, 15 Jun 2012 12:22:08 -0700
>From: Ray Van Dolson 
>Subject: Re: [CentOS] Resizing est4 filesystem while mounted
>To: centos@centos.org
>Message-ID: <20120615192207.ga23...@bludgeon.org>
>Content-Type: text/plain; charset=us-ascii
>
>On Fri, Jun 15, 2012 at 12:10:09PM -0700, Jeff Boyce wrote:
>> Greetings -
>>
>> I had a logical volume that was running out of space on a virtual 
>> machine.
>> I successfully expanded the LV using lvextend, and lvdisplay shows that 
>> it
>> has been expanded. Then I went to expand the filesystem to fill the new
>> space (# resize2fs -p /dev/vde1) and I get the results that the 
>> filesystem
>> is already xx blocks long, nothing to do. If I do a # df -h, I can see 
>> that
>> the filesystem has not been extended. I could kick the users off the VM,
>> reboot the VM using a GParted live CD and extend the filesystem that way,
>> but I thought that it was possible to do this live and mounted? The RH 
>> docs
>> say this is possible; the man page for resize2fs also says it is possible
>> with ext4. What am I missing here? This is a Centos 6.2 VM with an ext4
>> filesystem. The logical volumes are setup on the host system which is 
>> also
>> a Centos 6.2 system.
>
>Try resize4fs (assuming your FS is ext4).
>
>Ray

Well, I have never seen a reference to resize4fs before (and yes my FS is 
ext4).  It is not on my Centos 6.2 system, and doing a little searching 
through repositories for that specifically, or e4fsprogs, and I can't find 
it anywhere to even try it.  Any google reference seems to point back to 
resize2fs.  I ended up booting a live SystemRescueCD and using GParted via 
the GUI.  My notes indicate that is what I had done previously also.  I am 
still stumped, everything that I have read indicates that resize2fs can do a 
live resizing on ext4 file systems.  Can anybody confirm or deny this?  Is 
the reason I can't do this because it is on an LVM logical volume?  Thanks.

Jeff Boyce
Meridian Environmental

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


[CentOS] Resizing est4 filesystem while mounted

2012-06-15 Thread Jeff Boyce
Greetings -

I had a logical volume that was running out of space on a virtual machine. 
I successfully expanded the LV using lvextend, and lvdisplay shows that it 
has been expanded.  Then I went to expand the filesystem to fill the new 
space (# resize2fs -p /dev/vde1) and I get the results that the filesystem 
is already xx blocks long, nothing to do.  If I do a # df -h, I can see that 
the filesystem has not been extended.  I could kick the users off the VM, 
reboot the VM using a GParted live CD and extend the filesystem that way, 
but I thought that it was possible to do this live and mounted?  The RH docs 
say this is possible; the man page for resize2fs also says it is possible 
with ext4.  What am I missing here?  This is a Centos 6.2 VM with an ext4 
filesystem.  The logical volumes are setup on the host system which is also 
a Centos 6.2 system.

Jeff Boyce
Meridian Environmental

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


[CentOS] Installing CIFS on CentOS4

2012-05-24 Thread Jeff Sadino
Hello,

I have a CentOS4 install and I am trying to mount a Windows Server 2008
folder.  When I use this command:
mount -t cifs //10.1.1.17/Org/MR\ Ops/ test, it only mounts the Org folder.
 When I try the same thing on a newer computer (Fedora 15), it mounts all
the way to MR Ops.  So I am pretty sure that my cifs file needs to be
updated, but I am having a really hard time doing this.  I updated to the
newest cif available for CentOS 4.9, but that still is not new enough.  Can
anyone tell me how to install the newer cifs on my CentOS 4?

Thank you,
Jeff Sadino
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] screen brightness changes depending on which application is run

2012-04-09 Thread Jeff Cen
Hi Nate,

Thank you for the reply.  My machine is a box sitting away from me and doesn't 
have a ambient light sensor.  


Can the problem be gnome or the LCD monitor related? 



Jeff




 From: Nate Duehr 
To: CentOS mailing list  
Sent: Monday, April 9, 2012 3:07 PM
Subject: Re: [CentOS] screen brightness changes depending on which application 
is run
 
On Apr 8, 2012, at 12:18 PM, Jeff Cen wrote:

> Hi,
> 
> I found my LCD screen brightness increase when I use firefox and other white 
> background editors and screen brightness decrease when I use dark background 
> applications, such as terminals with black background .  The change in screen 
> brightness depending on the applications has been annoying. 
> 
> 
> My centos version is ver 5.7 64 bit.  Has anyone seen a similar problem or 
> have a solution for that?  Thanks in advance.
> 
> Jeff

Jeff, 

Does your machine have an ambient light sensor?  

Light from the monitor, reflecting off of you, will often trigger changes in 
the amount of light the ambient light sensor is seeing.

Happens most with large changes like switching from a bright white (browser) 
background to a dark one, just as you describe in your symptoms.

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


[CentOS] screen brightness changes depending on which application is run

2012-04-08 Thread Jeff Cen
Hi,

I found my LCD screen brightness increase when I use firefox and other white 
background editors and screen brightness decrease when I use dark background 
applications, such as terminals with black background .  The change in screen 
brightness depending on the applications has been annoying. 


My centos version is ver 5.7 64 bit.  Has anyone seen a similar problem or have 
a solution for that?  Thanks in advance.

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


[CentOS] ABRT interpretation / guidance needed

2012-03-19 Thread Jeff Boyce
/usr/sbin:/bin:/usr/bin
LOCALE=
SERVER_REALROOT=/usr/libexec/webmin
PWD=/usr/libexec/webmin/webmincron
WEBMIN_CRON=1
SERVER_ADMIN=
LANG=
SERVER_ROOT=/usr/libexec/webmin
WEBMIN_CONFIG=/etc/webmin
PERLLIB=/usr/libexec/webmin
SHLVL=1
HOME=/root
LANGUAGE=
MINISERV_PID=1657
SERVER_SOFTWARE=MiniServ/1.580
WEBMIN_VAR=/var/webmin
_=/bin/rpm

os_release
-
CentOS release 6.2 (Final)



Jeff Boyce
Meridian Environmental
www.meridianenv.com 

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


Re: [CentOS] No eth0 on centos 6.2

2012-01-05 Thread Jeff
Thanks for the help and info!

-JT



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


Re: [CentOS] No eth0 on centos 6.2

2012-01-04 Thread Jeff
I simply decided to set onboot to yes, bootproto to static, and 
assign an address.  

Thank you!  


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


[CentOS] No eth0 on centos 6.2

2012-01-04 Thread Jeff
Just installed centos 6.2.  I run and ifconfig -a I see and em1 
em2 and lo interface.  If I go to /etc/sysconfig/network-scripts, 
I don't see an ifcfg-eth0.  If I run ifup eth0 it comes back 
with "Device eth0 does not seem to be present, delaying 
initialization".  Anybody have a clue?  Thanks in advance.

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


Re: [CentOS] Netinstall wants to use wlan0

2011-12-09 Thread Jeff Gordon
On Fri, Dec 09, 2011 at 02:14:33AM -0600, Frank Cox wrote:
> On Fri, 9 Dec 2011 03:05:47 -0500
> Jeff Gordon wrote:
> 
> > Thanks. :-)  Didn't work, though -- those key combinations got me to console
> > screens but not with an actionable prompt.  I tried typing commands into 
> > them
> > anyway, but CentOS netinstall continued to try to talk to wlan0.
> 
> By way of doing an end-run around the problem, have you considered installing
> from the Live CD instead?
> 
> -- 
> MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
> www.creekfm.com - FIFTY THOUSAND WATTS of POW WOW POWER!

Hi, Frank --

I'd be game, but looks like netinstall is taking exception to the ethernet card,
any reason to expect the Live CD would be more tolerant/forgiving?

-- 

 -- Jeff --   <http://www.wellnow.com>

 "There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve."
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Netinstall wants to use wlan0

2011-12-09 Thread Jeff Gordon
On Thu, Dec 08, 2011 at 09:05:23AM -0500, m.r...@5-cent.us wrote:
> Coming into this late
> Scott Robbins wrote:
> > On Thu, Dec 08, 2011 at 01:38:04PM +, Karanbir Singh wrote:
> >> On 12/08/2011 08:11 AM, Jeff Gordon wrote:
> >> > Hi, Folks --
> >> >
> >> > I'm setting up an Acer Aspire 5250 as a Christmas gift, CentOS 6
> >> > netinstall insists on trying to configure wlan0 but I'm using a
> >> > wired DSL connection, consequently netinstall fails and only offers
> >> > the option to Retry.
> 
> >> the installer will give you a choice as to what network interface you
> >> want to use, if you are not seeing that its possible the installer does
> >> not see the second interface at all.
> >
> > I am trying to remember how this went on my Acer. Firstly, the hardware
> > switch for the wireless is probably on the front.  It doesn't give any
> > sign that it's on or off, you move it to one side, then release and try
> > this a few times.
> 
> This is my first thought, also. I've not dealt with an Acer - my laptops
> from work for years have been Dells, and they have a tiny switch that
> turns wireless on and off, and I *have* to turn it off to get it to use
> the cable.
> 
>   mark
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

Thanks, Mark. If there's a switch on this one they've hidden or disguised
it really, really well. :-)  I think it was designed with Windows 7 users
in mind.

-- 

 -- Jeff --   <http://www.wellnow.com>

 "There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve."
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Netinstall wants to use wlan0

2011-12-09 Thread Jeff Gordon
On Thu, Dec 08, 2011 at 01:38:04PM +, Karanbir Singh wrote:
> On 12/08/2011 08:11 AM, Jeff Gordon wrote:
> > Hi, Folks --
> > 
> > I'm setting up an Acer Aspire 5250 as a Christmas gift, CentOS 6 netinstall
> > insists on trying to configure wlan0 but I'm using a wired DSL connection,
> > consequently netinstall fails and only offers the option to Retry.
> 
> how do you know that ? ( not being pedantic, just want to confirm what
> sign / status you see that confirms its using the wlan0 ?  )
> 
> > How can I get it to bypass the wlan0 idea and go straight to eth0...?
> 
> the installer will give you a choice as to what network interface you
> want to use, if you are not seeing that its possible the installer does
> not see the second interface at all. If you are certain that the
> interface is indeed up and running, you can specify the ksdevice=
> on the boot line, and force it to use a specific eth interface.
> 
> - KB
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

Hi, KB --

As I've just sent to the list in reply to someone else, at the console I'm
seeing, "iBFT doesn't couldn't provide valid NIC MAC address", so CentOS
is trying to configure wlan0 because it believes that's all it's got, even
though Debian installed fine via eth0. (?)


-- 

 -- Jeff --   <http://www.wellnow.com>

 "There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve."
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Netinstall wants to use wlan0

2011-12-09 Thread Jeff Gordon
On Thu, Dec 08, 2011 at 11:14:08AM +0100, Ljubomir Ljubojevic wrote:
> Vreme: 12/08/2011 10:38 AM, Jeff Gordon piše:
> > Hi, John --
> >
> > Thanks. :-)  Looks like it'd be Fn + F3 on this one, but I suspect they set
> > it up to work that way with Windows.  There's no light to be seen anywhere,
> > and pressing it made no difference to CentoOS netinstall.
> >
> 
> Netinstall will not be able to see the change while loaded. You should 
> try changing on/off once, and the boot netinstall again.
> 
> -- 
> 
> Ljubomir Ljubojevic
> (Love is in the Air)
> PL Computers
> Serbia, Europe
> 
> Google is the Mother, Google is the Father, and traceroute is your
> trusty Spiderman...
> StarOS, Mikrotik and CentOS/RHEL/Linux consultant
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

Thanks. :-) As indicated in previous reply, it does appear NetworkManager
receives the signal.  HOWEVER, thanks to Tom I'm looking at progress messages
at both available consoles, and here's what's being said:

INFO   : going to pick interface
ERROR  : iBFT deosn't couldn't provide valid NIC MAC address
INFO   : only have one network device: wlan0

...which, while kind of an obscure message, at least tells me why I've never
yet seen the DSL connection light come on with CentOS netinstall.  I've done
_two_ netinstalls of Debian on this machine, using eth0, but CentOS seems
dissatisfied with it for some reason and won't use it.

That seems to mean I'll have to go back to Debian. (?)

-- 

 -- Jeff --   <http://www.wellnow.com>

 "There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve."
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Netinstall wants to use wlan0

2011-12-09 Thread Jeff Gordon
On Thu, Dec 08, 2011 at 11:06:18AM +0100, Ljubomir Ljubojevic wrote:
> Vreme: 12/08/2011 10:13 AM, Jeff Gordon piše:
> > Hi, Bert --
> >
> > Thanks. :-)  Doesn't seem to be an opportunity or way to open a console
> > before this problem comes up, with netinstall.  I just scanned to see if
> > there might be a kernel parameter for it; doesn't seem to be.
> >
> >   -- Jeff --
> >
> 
> Jeff, can you please write bellow our responses? So we can follow your 
> thread from up to down not jump up and down. thanks.
> 
> 
> Do you have User Guide Manual for your Notebook? Here it is:
> 
> http://global-download.acer.com/GDFiles/Document/QuickStartGuide/QuickStartGuide_Acer_1.0_A_A.zip?acerid=634408513967391857&Step1=NOTEBOOK&Step2=ASPIRE&Step3=ASPIRE%205250&OS=ALL&LC=en&BC=ACER&SC=PA_7
> 
> On page 7 it says:
> 
>  +  Communication Enables/disables the computer’s
> communication devices.
> 
>  key is blue and on lower left side of the keyboard.
> 
> There should be 3-4-presses cycle. It will turn on and off both WiFi and 
> Bluethooth (if installed) devices and, individually and both at the same 
> time.
> 
> 
> -- 
> 
> Ljubomir Ljubojevic
> (Love is in the Air)
> PL Computers
> Serbia, Europe
> 
> Google is the Mother, Google is the Father, and traceroute is your
> trusty Spiderman...
> StarOS, Mikrotik and CentOS/RHEL/Linux consultant
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

Thanks. :-)  Sorry about the order of responses, there are parts of cyberspace
where "top-quoting" is a major faux pas.

There are no indicator lights on the machine, so it's pretty much 
trial-and-error
on those keypresses.  Thanks to Tom, though, I've been able to see a message
at one of the consoles that at first says "unrecognized keypress" but soon
thereafter says something like "wlan switched off" (per NetworkManager).

No joy yet, though -- problem seems to be something else; see next reply
for more details on that.

-- 

 -- Jeff --   <http://www.wellnow.com>

 "There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve."
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Netinstall wants to use wlan0

2011-12-09 Thread Jeff Gordon
Hi, Tom --

Thanks. :-)  Didn't work, though -- those key combinations got me to console
screens but not with an actionable prompt.  I tried typing commands into them
anyway, but CentOS netinstall continued to try to talk to wlan0.

 -- Jeff --

On Thu, Dec 08, 2011 at 10:30:58AM +0100, Tom De Vylder wrote:
> Hi Jeff,
> 
> You can use Alt + F3 or Alt  + F4 once you're inside the installer to open a 
> console.
> If you disable the wlan0 interface before the network part of the installer 
> you should be ok.
> 
> Regards,
> Tom
> 
> On 08 Dec 2011, at 10:13, Jeff Gordon wrote:
> 
> > Hi, Bert --
> > 
> > Thanks. :-)  Doesn't seem to be an opportunity or way to open a console
> > before this problem comes up, with netinstall.  I just scanned to see if
> > there might be a kernel parameter for it; doesn't seem to be.
> > 
> > -- Jeff --
> > 
> > On Thu, Dec 08, 2011 at 09:53:42AM +0100, Bert Koerperich wrote:
> >> On 12/08/2011 09:34 AM, Fabien Archambault wrote:
> >>> On 12/08/2011 09:11 AM, Jeff Gordon wrote:
> >>>> Hi, Folks --
> >>>> 
> >>>> I'm setting up an Acer Aspire 5250 as a Christmas gift, CentOS 6 
> >>>> netinstall
> >>>> insists on trying to configure wlan0 but I'm using a wired DSL 
> >>>> connection,
> >>>> consequently netinstall fails and only offers the option to Retry.
> >>>> 
> >>>> How can I get it to bypass the wlan0 idea and go straight to eth0...?
> >>>> 
> >>>> Thanks,
> >>>> 
> >>> Hi,
> >>> 
> >>> I believe there is an hardware switch available to shutdown the wirless
> >>> on this laptop. If you disable it then no wlan0 can be used.
> >>> 
> >>> Fabien
> >>> ___
> >>> CentOS mailing list
> >>> CentOS@centos.org
> >>> http://lists.centos.org/mailman/listinfo/centos
> >> Hi Jeff,
> >> or try to open a console and disable the WLAN interface (ifconfig wlan0 
> >> down), and set the default route to the ETH interface (route add default 
> >> eth0).
> >> Cheers, Bert.
> >> ___
> >> CentOS mailing list
> >> CentOS@centos.org
> >> http://lists.centos.org/mailman/listinfo/centos
> > 
> > -- 
> > 
> > -- Jeff --   <http://www.wellnow.com>
> > 
> > "There's nothing left in the world to prove.  All that's worth doing
> >  is to love one another, using whatever means are available to serve."
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 

 -- Jeff --   <http://www.wellnow.com>

 "There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve."
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Netinstall wants to use wlan0

2011-12-08 Thread Jeff Gordon
Hi, John --

Thanks. :-)  Looks like it'd be Fn + F3 on this one, but I suspect they set
it up to work that way with Windows.  There's no light to be seen anywhere,
and pressing it made no difference to CentoOS netinstall.

 -- Jeff --

On Thu, Dec 08, 2011 at 12:58:08AM -0800, John R Pierce wrote:
> On 12/08/11 12:52 AM, Jeff Gordon wrote:
> > Thanks. :-)  I removed two screws that seemed to be holding a cover in place
> > over the HD-and-memory compartment, but the cover remained pretty tightly in
> > place anyway.  Dunno what I'm missing -- but if there's a switch in this 
> > laptop
> > I'd figure it must be in there. (?)  Now what...
> 
> no, those wireless enabled/disabled switches are either external, or 
> more frequently, a special keyboard hotkey combination, like Fn + F2 on 
> my dells.
> 
> 
> 
> -- 
> john r pierceN 37, W 122
> santa cruz ca mid-left coast
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 

 -- Jeff --   <http://www.wellnow.com>

 "There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve."
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Netinstall wants to use wlan0

2011-12-08 Thread Jeff Gordon
Hi, Bert --

Thanks. :-)  Doesn't seem to be an opportunity or way to open a console
before this problem comes up, with netinstall.  I just scanned to see if
there might be a kernel parameter for it; doesn't seem to be.

 -- Jeff --

On Thu, Dec 08, 2011 at 09:53:42AM +0100, Bert Koerperich wrote:
> On 12/08/2011 09:34 AM, Fabien Archambault wrote:
> > On 12/08/2011 09:11 AM, Jeff Gordon wrote:
> >> Hi, Folks --
> >>
> >> I'm setting up an Acer Aspire 5250 as a Christmas gift, CentOS 6 netinstall
> >> insists on trying to configure wlan0 but I'm using a wired DSL connection,
> >> consequently netinstall fails and only offers the option to Retry.
> >>
> >> How can I get it to bypass the wlan0 idea and go straight to eth0...?
> >>
> >> Thanks,
> >>
> > Hi,
> >
> > I believe there is an hardware switch available to shutdown the wirless
> > on this laptop. If you disable it then no wlan0 can be used.
> >
> > Fabien
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > http://lists.centos.org/mailman/listinfo/centos
> Hi Jeff,
> or try to open a console and disable the WLAN interface (ifconfig wlan0 
> down), and set the default route to the ETH interface (route add default 
> eth0).
> Cheers, Bert.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 

 -- Jeff --   <http://www.wellnow.com>

 "There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve."
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Netinstall wants to use wlan0

2011-12-08 Thread Jeff Gordon
Hi, Fabien --

Thanks. :-)  I removed two screws that seemed to be holding a cover in place
over the HD-and-memory compartment, but the cover remained pretty tightly in
place anyway.  Dunno what I'm missing -- but if there's a switch in this laptop
I'd figure it must be in there. (?)  Now what...

 -- Jeff --

On Thu, Dec 08, 2011 at 09:34:10AM +0100, Fabien Archambault wrote:
> On 12/08/2011 09:11 AM, Jeff Gordon wrote:
> > Hi, Folks --
> >
> > I'm setting up an Acer Aspire 5250 as a Christmas gift, CentOS 6 netinstall
> > insists on trying to configure wlan0 but I'm using a wired DSL connection,
> > consequently netinstall fails and only offers the option to Retry.
> >
> > How can I get it to bypass the wlan0 idea and go straight to eth0...?
> >
> > Thanks,
> >
> Hi,
> 
> I believe there is an hardware switch available to shutdown the wirless 
> on this laptop. If you disable it then no wlan0 can be used.
> 
> Fabien
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

-- 

 -- Jeff --   <http://www.wellnow.com>

 "There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve."
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Netinstall wants to use wlan0

2011-12-08 Thread Jeff Gordon
Hi, Folks --

I'm setting up an Acer Aspire 5250 as a Christmas gift, CentOS 6 netinstall
insists on trying to configure wlan0 but I'm using a wired DSL connection,
consequently netinstall fails and only offers the option to Retry.

How can I get it to bypass the wlan0 idea and go straight to eth0...?

Thanks,

-- 

 -- Jeff --   <http://www.wellnow.com>

 "There's nothing left in the world to prove.  All that's worth doing
  is to love one another, using whatever means are available to serve."
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Two ftp clients? Why?

2011-08-02 Thread Jeff Allison

On 03/08/2011, at 7:32 AM, James B. Byrne wrote:

> Mike A. Harris mharris at mharris.ca
> Tue Aug 2 16:45:56 EDT 2011
> 
>> What I'm left wondering is:
>> 
>> 1) Why you are relying on PATH expansion for this from something as
>> critical as a cron job.  It is good sysadmin practice to specify
>> explicit paths for situations like this rather than to worry about
>> whether or not there is a good or valid reason for there being 2
>> ftp clients installed on the system.
> 
> Point taken and that is e=indeed what i subsequently did.  However,
> in my defence I explicitly set the PATH variable in the crontab
> entry prior to invoking the calling script that uses ftp.  It never
> crossed my mind that I should have first done a 'which ftp' to
> discover which one was being used in my login shell because it never
> crossed my mind that there would be two different ftp clients on my
> systems to begin with.
> 
> And frankly, I do not think that anyone would a priori conceive of
> there being two separate telnet clients, two different sftp clients,
> or two of anything else of a similar nature as being a reasonable
> possibility.
> 

Ignoring why you would or wouldn't use ftp. i believe your question was 
answered a while ago...

gollum.deepsoft.com% rpm -qf /usr/kerberos/bin/ftp /usr/bin/ftp
krb5-workstation-1.6.1-55.el5_6.2
ftp-0.17-35.el5

If the kerberos workstation package is installed you get the kerberos ftp 
client.

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


Re: [CentOS] nouveau driver one centos 6

2011-07-21 Thread Jeff Allison
You need to exclude it in grub otherwise the graphical boot loads it.
On Jul 21, 2011 10:08 PM, "Jerry Geis"  wrote:
>
> I "wish" to not load the or even install the nouveau driver by default.
> I want to use the NVIDIA binary driver.
>
> I have tried a number of things:
>
> 1) in my kickstart package section add the line:
> -xorg-x11-drv-nouveau
>
> This did not work - it was still installed.
>
> 2) use the nvidia installer and it asks to create a modprobe.conf file
> to blacklist
> the driver. I said yes thats what I want. I verified the file being
> present and rebooted.
> The driver is still loaded "lsmod | grep nou" still showed it present.
>
> 3) I tried "rpm -e xorg-x11-drv-nouveau --nodeps". This seeming worked
> however
> the files for nouveau were still present. find / | grep nouveau showed
> driver files and more
>
> So - anyone know how to get this off of my machine???
> I thought the "-" in the kickstart package section would work, but no.
>
> Thanks so much for any thoughts.
>
> jerry
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Slightly OT: First Time KVM and LVM on Centos

2011-06-13 Thread Jeff Boyce
Greetings -

I am a novice system administrator and will soon be purchasing a new server 
to replacing an aging file server for my company.  I am considering setting 
up the new server as a KVM host with two guests; one guest as the Samba file 
server and a second guest as a testing area.  My old server was set up about 
7 years ago and has a 5 disk raid 5 configuration without LVM.  I understand 
the benefits of using LVM and KVM in the right circumstances, but have never 
used either of them.  I have spent a couple of days over the last week 
trying to understand how to setup a KVM host with guests, but there is an 
area that I still don't understand; that is the relationship between the 
underlying raid partitions, LVM, and allocating space to a host and guests. 
Many of the standard search term combinations in Google don't seem to be 
getting me anywhere.  From what I have read so far I think that I want to 
have my file server guest using a raw partition rather than an image file, 
but I haven't found anything with examples or best-practices guidance for 
partitioning or volume management with hosts and guest VMs.  So I am hoping 
that someone here can give me some pointers, or point me to some clear 
how-to's somewhere.  Any help is appreciated.  Thanks.

Jeff Boyce
Meridian Environmental
www.meridianenv.com

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


Re: [CentOS] calendar

2011-05-26 Thread Jeff
On Thu, May 26, 2011 at 3:21 PM,   wrote:
> Jeff wrote:
>> On Thu, May 26, 2011 at 2:30 PM,   wrote:
>>> Eero Volotinen wrote:
>>>> 2011/5/26  :
>>>>> Folks,
>>>>>
>>>>>   My manager's asked me about something that can run on our CentOS
>>>>> boxes
>>>>> that can connect to an (bleah!) Exchange server's calendar. It doesn't
>>>>> look like Lightening can, and from some googling, it appears that
>>>>> Evolution claims to, but It's got to be able to set dates, etc.
>>>>>
>>>>>   Can Evolution? Any other suggestions?
>>>>
>>>> thunderbird +
>>>> http://gitorious.org/lightning-exchange-provider/pages/Home
>>>
>>> That looks really good... except I can't get lightening. Either I'm too
>>> stupid to use the Mozilla t-bird website, or they've got it completely
>>> fucked up: there's nohwere to d/l. It has the balloon with the word
>>> "featured" instead of a download button, and following links is
>>> completely
>>> circular, from the Mozilla site, to the lightnening site, back to the
>>> Mozilla site.
>>>
>>> Any clues as to how to get the damn thing?
>>>
>> Well, I don't run it on CentOS, but on Windows Thunderbird 3.1.10  go
>> to Help -> What's New and on the tab that opens is an "Install Now"
>> button for Lightning.
>
> I've been having a bad day, so excuse me... but a) this is a CentOS list,
> b) I've said that we're trying to get something seamles FROM LINUX, so
> what the hell does "on Windows" have to do with the price of tomatoes?
>
>        mark

Well don't blame me if T-Bird is vastly different across platforms.
I'm just saying where to find it in Thunderbird. If those Mozilla
folks are doing their job right, then I would hope you would see the
same thing on CentOS. YMMV. Sorry for trying to be helpful. However I
can't find any reference to what T-Bird version you are using, so if
you are on v2 then all bets are off.

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


Re: [CentOS] calendar

2011-05-26 Thread Jeff
On Thu, May 26, 2011 at 2:30 PM,   wrote:
> Eero Volotinen wrote:
>> 2011/5/26  :
>>> Folks,
>>>
>>>   My manager's asked me about something that can run on our CentOS boxes
>>> that can connect to an (bleah!) Exchange server's calendar. It doesn't
>>> look like Lightening can, and from some googling, it appears that
>>> Evolution claims to, but It's got to be able to set dates, etc.
>>>
>>>   Can Evolution? Any other suggestions?
>>
>> thunderbird + http://gitorious.org/lightning-exchange-provider/pages/Home
>
> That looks really good... except I can't get lightening. Either I'm too
> stupid to use the Mozilla t-bird website, or they've got it completely
> fucked up: there's nohwere to d/l. It has the balloon with the word
> "featured" instead of a download button, and following links is completely
> circular, from the Mozilla site, to the lightnening site, back to the
> Mozilla site.
>
> Any clues as to how to get the damn thing?
>

Well, I don't run it on CentOS, but on Windows Thunderbird 3.1.10  go
to Help -> What's New and on the tab that opens is an "Install Now"
button for Lightning.

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


Re: [CentOS] User accounts management for small office

2011-04-27 Thread Jeff Boyce
- Original Message - 
From: "Jeff Boyce" 
To: 
Sent: Thursday, April 21, 2011 11:39 AM
Subject: User accounts management for small office


> Greetings -
>
> This may be a little off-topic here so if someone wants to point me to a 
> more appropriate mailing list I would appreciate it.
>
> I administer the network for my small company and am preparing to install 
> a new server in the next month or so.  It will be running CentOS 6 and 
> function primarily as a Samba file server to 10 Windows workstations (XP, 
> Vista, 7).  It will also host our OpenVPN server and possibly our FTP 
> server; however I am hoping to move our FTP server to a gateway box when 
> the new server is installed.
>
> The issue that I would like to be able to resolve when the new server is 
> installed, is that currently if a user wants to change the password on 
> their Windows workstation, I have to manually update that new password on 
> the Linux user account, and also manually change the Samba user account. 
> Manually updating the password in three different locations is a minor 
> headache that I would like to correct.  I have been researching and 
> reading lots of information about account management to try and understand 
> what is available, and what would be the best fit for my network size. 
> Much of what I have read is related to larger networks or larger user 
> bases, which seem to have a lot of extraneous stuff that would be 
> unnecessary in my small user environment.  I looked into OpenLDAP, and 
> have recently been reading about Samba/Winbind.  But after encountering 
> the following statement in the Samba documentation, I am still lost about 
> what I could, or should, be using.
> "A standalone Samba server is an implementation that is not a member of a 
> Windows NT4 domain, a Windows 200X Active Directory domain, or a Samba 
> domain.  By definition, this means that users and groups will be created 
> and controlled locally, and the identity of a network user must match a 
> local UNIX/Linux user login. The IDMAP facility is therefore of little to 
> no interest, winbind will not be necessary, and the IDMAP facility will 
> not be relevant or of interest."
>
> My only goal is to be able to allow my users to change their Windows 
> password at their workstation and have it perpetuate through the system so 
> that it also changes their Linux User and Samba User account passwords.  I 
> don't expect to ever have more than a dozen users, so I want something 
> that fits our size network and is simple to administer.  I am not looking 
> for a how-to to set something up, but some opinions about what I should 
> consider using, and why it would be a good fit to achieve my goal.  I can 
> do the additional research to understand configuration once I know what I 
> should be researching.  Thanks.  Please cc me directly, as I only get the 
> list in daily digest mode.
>
> Jeff Boyce
> Meridian Environmental
>
>
>
Thanks to everyone that replied, you have helped me understand what 
direction I should be going (or staying away from).  Here are the highlights 
and my comments to some of the suggestions that were provided, since I can't 
respond to every thread from the digest.  The opinions both for and against 
OpenLDAP have made me take a little closer look at it, but my conclusion is 
that it is more cumbersome than what I really want to handle right now for 
the size of the network.  I have looked closer at Samba/Wins/Winbind, etc. 
and it looks like the main source of my current problem is that my Samba 
network is setup now as a Workgroup and not as a Domain.  I didn't 
understand that difference when I ran across the quote I included above.  It 
looks like if I change to a Domain and configure it properly with 
Wins/Winbind that I should be able to have the single point password 
changing option occur from the Windows desktop.  I am now re-reading 
sections of my copy of the Definitive Guide to Samba 3 which should help me 
(although it was published before Vista and 7, which all my workstations are 
now).

Also thanks to some for the suggestions of using ClearOS or Webmin.  I do 
have Webmin installed and use it for some of my administrative functions. 
So if I do try playing around with OpenLDAP I will certainly see if it will 
reduce my learning curve on getting it setup properly.  With the new gateway 
box that I mentioned above, I have been planning on installing ClearOS on 
it, so I will take a look at how it might be used to learn about using LDAP. 
Although I was thinking to have this box function more strictly as a gateway 
than providing services to the internal lan.

Jeff

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


[CentOS] User accounts management for small office

2011-04-21 Thread Jeff Boyce
Greetings -

This may be a little off-topic here so if someone wants to point me to a 
more appropriate mailing list I would appreciate it.

I administer the network for my small company and am preparing to install a 
new server in the next month or so.  It will be running CentOS 6 and 
function primarily as a Samba file server to 10 Windows workstations (XP, 
Vista, 7).  It will also host our OpenVPN server and possibly our FTP 
server; however I am hoping to move our FTP server to a gateway box when the 
new server is installed.

The issue that I would like to be able to resolve when the new server is 
installed, is that currently if a user wants to change the password on their 
Windows workstation, I have to manually update that new password on the 
Linux user account, and also manually change the Samba user account. 
Manually updating the password in three different locations is a minor 
headache that I would like to correct.  I have been researching and reading 
lots of information about account management to try and understand what is 
available, and what would be the best fit for my network size.  Much of what 
I have read is related to larger networks or larger user bases, which seem 
to have a lot of extraneous stuff that would be unnecessary in my small user 
environment.  I looked into OpenLDAP, and have recently been reading about 
Samba/Winbind.  But after encountering the following statement in the Samba 
documentation, I am still lost about what I could, or should, be using.
"A standalone Samba server is an implementation that is not a member of a 
Windows NT4 domain, a Windows 200X Active Directory domain, or a Samba 
domain.  By definition, this means that users and groups will be created and 
controlled locally, and the identity of a network user must match a local 
UNIX/Linux user login. The IDMAP facility is therefore of little to no 
interest, winbind will not be necessary, and the IDMAP facility will not be 
relevant or of interest."

My only goal is to be able to allow my users to change their Windows 
password at their workstation and have it perpetuate through the system so 
that it also changes their Linux User and Samba User account passwords.  I 
don't expect to ever have more than a dozen users, so I want something that 
fits our size network and is simple to administer.  I am not looking for a 
how-to to set something up, but some opinions about what I should consider 
using, and why it would be a good fit to achieve my goal.  I can do the 
additional research to understand configuration once I know what I should be 
researching.  Thanks.  Please cc me directly, as I only get the list in 
daily digest mode.

Jeff Boyce

Meridian Environmental



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


Re: [CentOS] cross-platform email client

2011-04-15 Thread Jeff
On Fri, Apr 15, 2011 at 2:07 PM, Florin Andrei  wrote:
> I'm a Thunderbird user almost since day one, but now I'm looking for
> something else. For whatever reason, it doesn't work well for me - every
> once in a while it becomes non-responsive (UI completely frozen for
> several seconds, CPU usage goes to 100%) and I just can't afford to
> waste time waiting for the email software to start working again.
>
> My main desktop platform is Linux, but I need a client that works the
> same and looks the same on Windows too. Email server is IMAP with a
> pretty hefty account: over a hundred folders, hundreds of thousands of
> messages total (server-side filtering with Sieve). Typically it's a
> remote session, over VPN. So the client better work well, and be
> glitch-free.
>
> The issues with Thunderbird might be related to the size of my IMAP
> account, plus the VPN latency - but frankly, I don't care, the client
> needs to hide all that stuff from me, do the updates or whatever in the
> background, instead of blocking the UI until it's done. Ironically, it
> blocked when I was done with this paragraph and I hit Enter. Sticking it
> to the man one last time, I guess.
>
> Any suggestions? Thanks.

By default Thunderbird creates a local cache for IMAP accounts -- for
large accounts, this can be problematic. Have you tried disabling the
local synchronization?

Account Settings -> Synch & Storage -> Uncheck "Keep messages for this
account on this computer"

Or at least that's where it is in Windows T-Bird.

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


Re: [CentOS] 32-bit compat-gcc on 64-bit CentOS?

2011-03-29 Thread Jeff
On Tue, Mar 29, 2011 at 5:35 PM, Alan M. Evans  wrote:
> Ugh.
>
> One of our internal servers crashed so bad I just went out and bought a
> new machine to replace it.
>
> The old server was Pentium-4 based and running CentOS-5. When I
> installed CentOS on the new machine, I used the 64-bit version, partly
> because that habit is almost automatic nowadays, and partly because the
> new machine has 6GB of RAM, so 32-bit seemed not very appropriate.
>
> Anyway, I've managed to configure every one of the old server's many
> functions to match on the new server but one: I need the 32-bit version
> of compat-gcc-34. (Or at least I need to be able to compile 32-bit
> binaries with the already available version.) I can't seem to do this;
> am I just missing something?
>
> In retrospect, installing the 64-bit OS may have been foolish. But it's
> too late now. I've spent several days installing/loading/configuring
> this system to the point it's at now. It would be a pity to have to
> start over completely just to enable this one (very critical) function.
>
> -Alan

You do not provide a lot of detail on what the actual problem is, but
have  you tried the -m32 flag with gcc. that will tell it to create
32-bit code. You will also need to pass that option to the linker and
be sure any dependent libraries have the 32 bit versions installed.

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


Re: [CentOS] Authentication Problems

2011-02-16 Thread Jeff
On Wed, Feb 16, 2011 at 6:28 AM, James Bensley  wrote:
> Hi List,
>
> We have a CentOS VPS running a web site in a DC far away. The chap that
> dev's this site told me he couldn't SFTP in yesterday, his password was
> being rejected (I went to his desk to confirm and saw it was telling him the
> password was incorrect but neither him nor me had changed it and we are the
> only two with access to this VPS). So I logged in as root and reset his
> password, be he still couldn't log in (same problem, claiming the password
> was wrong).
>
> [root@server ~]# passwd webdevuser
> Changing password for user webdevuser.
> New UNIX password:
> Retype new UNIX password:
> passwd: all authentication tokens updates successfully.
>
> I tried to SSH in as the web dev user and it wouldn't let me in. Returning
> back to my root console window;
>
> [root@server ~]# su - webdevuser
> [webdevuser@server ~]# passwd
> Changing password for user webdevuser.
> Changing password for webdevuser.
> (current) UNIX password:
> passwd: Authentication token manipulation error
>
> Firstly; I am stracthing my head as to why his password was no longer
> working in the first place?
>
> Secondly; Why I can't reset it?
>
> Googling around many people suggest there is a discrepancy between the
> /etc/passwd and /etc/shadow files and by deleting /etc/shadow and using
> pwconv to recreate shadow and the same for /etc/groups, deleting gshadow
> recreating it with grpconv will solve the problem but I still can't login as
> the web dev user.
>
> Any ideas anyone?

What does /etc/nsswitch.conf look like? Anything other than "files"
for passwd, shadow and group? If that's OK, I would start comparing
files in /etc/pam.d to a known-good system.

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


Re: [CentOS] how do export a block device via eSATA?

2011-02-14 Thread Jeff Hefner
I've started building a JBOD out of a Supermicro case for expanding
the available storage on my home network. So I have a few comments
about what I learned so far about using Supermicro as JBODs.

Supermicro has several multi bay chassis as part of their current
product line but I'm looking to do this on a budget so I took the ebay
route. I found some reasonably priced 12 bay cases use "Supermicro 12
bay" as your search criteria. I found a good deal that cost a tad over
two hundred bucks. I was a bit drawn to the Supermicro chassis since
they make a power card that allows the front power button to control
the power supply without a motherboard. It is designed with the
intention of using the cases as JBODs.

CSE-PTJBOD-CB1

The backplane port(s) can be mapped to the outside with something like this:

http://www.pc-pitstop.com/sas_cables_adapters/

Since my case doesn't have an expander backplane and is instead
comprised of 12 individual SATA ports In my case I'll end up with
three ports exposed since each connector supports 4 drives. If you
have an expander backplane it could be as simple as a single cable.

>From there you'll connect the external SAS ports to a SATA/SAS
adapter. It is possible to get SATA/SAS cards that already have
externally available SFF-8088 ports or if they are all internal you
can expose them externally by using the same SFF-8088 PCI brackets on
the server side.

I intend on hooking this JBOD up to a couple of computers which is why
I am not just putting a motherboard and running it as a full on
server.

On a side not since this is for home usage a few things I plan on
doing to make it better suited is replacing the hotswap 800 watt power
supply with something high efficiency and at least half the watts and
use quieter fans possibly putting them on some kind of speed control



jeff


On Mon, Feb 14, 2011 at 8:05 AM, Les Mikesell  wrote:
> On 2/14/11 7:57 AM, Ross Walker wrote:
>>
>>> I just had this idea of exploring eSATA since most machines already
>>> have an eSATA port. So if I don't get this working, it's not a big
>>> deal. But, I think it could be a cheap alternative to SAS / FC
>>> interconnect.
>>
>> Then take the supermicro chassis without motherboard, get an eSATA to SATA 
>> connector, connect it to a port multiplier and then to the 16 drives and see 
>> if that works.
>
> Are the Centos drivers for SATA port multiplexers solid these days?  Are there
> any differences?
>
> --
>   Les Mikesell
>    lesmikes...@gmail.com
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Converting to maildir

2011-01-04 Thread Jeff
On Mon, Jan 3, 2011 at 7:17 PM, Jason Pyeron  wrote:
> Looking for a guide on converting to Maildir.
>
> Here are our relevant specs.
>
> sendmail-8.12.11-4.RHEL3.6 (we may not be able to upgrade this due to too many
> modifications)
> imap-2002d-14
> procmail-3.22-10.el3.centos.0
>
> To a maildir setup...
>
> 
> I was in a panic today at work because the backup server is filling up too
> quickly, backing up peoples email. Further it is not backing up often enough. 
> I
> just lost all of today's email. I hate mbox and imap and outlook...
> 
>
> All the maildir stuff I can find is postfix oriented. From what I can read in
> procmail man pages, it supports maildir and sendmail uses procmail as the LDA,
> hence sendmail "supports" it.
>
> -Jason

Regardless of the maildir vs mbox argument, I would be seriously
examining why you have painted yourself into a corner with your
customized sendmail. Eventually, you will have to move on. What are
the motivations for the customizations? Do newer or alternate MTAs
have added features that can replace those customizations? Postfix can
be highly customized through configuration and is not that difficult
to learn.

As a migration path, I would separate the MTA (sendmail) and the imap
server. Go with cyrus or dovecot on a new machine (virtual?) and use
imapsync to move messages to the new box during a maintenance window.
As stated in other responses, cyrus has it's own mail storage format
with individual files for each message and dovecot supports several
formats including maildir. It should not be difficult to have your
existing sendmail deliver messages to the new imap store either
directly or with a very simple postfix MTA on the imap box. Once mail
storage is fixed, you can start working on de-customizing your MTA.

And with regard to backup space, it might be time to suck it up and
tell your users that you need to implement mail quotas. How much are
you backing up from "Sent" and "Trash" because nobody maintains their
mail folders? A quota can be a great tool for teaching basic mail
folder housekeeping.

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


Re: [CentOS] yum update troubles

2011-01-03 Thread Jeff
On Mon, Jan 3, 2011 at 2:39 PM, Matt  wrote:
> Running yum update on CentOS 4.8 32 bit I keep getting this:
>
> --> Running transaction check
> --> Processing Dependency: perl(Compress::Raw::Zlib) = 2.024 for
> package: perl-IO-Compress
> --> Finished Dependency Resolution
> Error: Missing Dependency: perl(Compress::Raw::Zlib) = 2.024 is needed
> by package perl-IO-Compress
>
> I try to uninstall perl-IO-Compress but something like 91 packages
> depend on it.  Any ideas?

Do you have 3rd party repositories enabled? Did you enable them with
care and use yum-plugin-priorities or yum-plugin-protectbase?

You may have to untangle installed packages from mixed repositories
before you can go any further.

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


Re: [CentOS] Dual or quad fast ethernet NICs (that work with CentOS)

2011-01-01 Thread Jeff Hefner
I know I didn't have the luxury of 2GB of ram at the time and would
have been on a 32-bit only CPU. Possibly my scant hardware might have
saved me a headache. Or maybe my memory is just getting worse as time
wears on. :) I also recall playing with it on OpenBSD and FreeBSD as
well.

jeff

On Sat, Jan 1, 2011 at 4:27 AM, Louis Lagendijk
 wrote:
> On Fri, 2010-12-31 at 16:32 -0600, Jeff Hefner wrote:
>> I can vouch for the Sun Quad Fast Ethernet (PCI) cards. Quite a while
>> back a few co-workers and I had split a small lot of them from eBay
>> the broke down to roughly 8 or 9 bucks with shipping. Everyone had
>> good luck with whatever they ended up being used for (mostly
>> firewalls).
>>
>> jeff
>>
> Hm, I used one in the past, but had problems with Centos 5 C86_64:
> https://bugzilla.kernel.org/show_bug.cgi?id=10790 which is still not
> solved I believe (but see the BZ for a possible patch).
> I don't use it anymore as I need less ethernot ports as I now have a
> VLAN capable swith
>
> Louis
>
>> On Fri, Dec 31, 2010 at 4:00 PM, Lamar Owen  wrote:
>> > On Tuesday, December 28, 2010 07:13:22 am robert mena wrote:
>> >> I am looking for dual or quad fast ethernet NICs that work with CentOS.
>> >>  There is no need for high performance so regular fast/pci is ok.
>> >
>> > I have in a firewall box here a quad fastethernet board; lspci shows:
>> > 01:09.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
>> > 02:04.0 Ethernet controller: Digital Equipment Corporation DECchip 
>> > 21142/43 (rev 41)
>> > 02:05.0 Ethernet controller: Digital Equipment Corporation DECchip 
>> > 21142/43 (rev 41)
>> > 02:06.0 Ethernet controller: Digital Equipment Corporation DECchip 
>> > 21142/43 (rev 41)
>> > 02:07.0 Ethernet controller: Digital Equipment Corporation DECchip 
>> > 21142/43 (rev 41)
>> >
>> > This uses the 'tulip' driver, very common, and good performance.
>> >
>> > I have another one, but this one uses the 21140 instead of the 21142.  
>> > Still the tulip driver. Part number on it is 'COM-0040-50' or 
>> > 123400-21-998, googling gives me that it's a Sun partit's 32-bit PCI.
>> >
>> > The older Sun Quad Fast Ethernet (PCI) should also work fine; uses sunhme 
>> > driver, IIRC, which is in the vanilla C5 kernel (I just checked the latest 
>> > updated kernel; should be in all of them).  The ones I found on eBay 
>> > (starting at the high price of $9.99 free shipping) are 64-bit, but should 
>> > work fine in a 32-bit slot, just slower.
>> >
>> > Also, I have in hand a couple of dual-port boards made by Intel; Pro/100+ 
>> > Dual, part 711269-004; has two 82558B controllers and an Intel-sourced 
>> > 21152 bridge (32-bit PCI).  I have one of these in a CentOS 3 box, and it 
>> > works fine.
>> > ___
>> > CentOS mailing list
>> > CentOS@centos.org
>> > http://lists.centos.org/mailman/listinfo/centos
>> >
>> ___
>> CentOS mailing list
>> CentOS@centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Dual or quad fast ethernet NICs (that work with CentOS)

2010-12-31 Thread Jeff Hefner
I can vouch for the Sun Quad Fast Ethernet (PCI) cards. Quite a while
back a few co-workers and I had split a small lot of them from eBay
the broke down to roughly 8 or 9 bucks with shipping. Everyone had
good luck with whatever they ended up being used for (mostly
firewalls).

jeff

On Fri, Dec 31, 2010 at 4:00 PM, Lamar Owen  wrote:
> On Tuesday, December 28, 2010 07:13:22 am robert mena wrote:
>> I am looking for dual or quad fast ethernet NICs that work with CentOS.
>>  There is no need for high performance so regular fast/pci is ok.
>
> I have in a firewall box here a quad fastethernet board; lspci shows:
> 01:09.0 PCI bridge: Digital Equipment Corporation DECchip 21152 (rev 03)
> 02:04.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 
> (rev 41)
> 02:05.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 
> (rev 41)
> 02:06.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 
> (rev 41)
> 02:07.0 Ethernet controller: Digital Equipment Corporation DECchip 21142/43 
> (rev 41)
>
> This uses the 'tulip' driver, very common, and good performance.
>
> I have another one, but this one uses the 21140 instead of the 21142.  Still 
> the tulip driver. Part number on it is 'COM-0040-50' or 123400-21-998, 
> googling gives me that it's a Sun partit's 32-bit PCI.
>
> The older Sun Quad Fast Ethernet (PCI) should also work fine; uses sunhme 
> driver, IIRC, which is in the vanilla C5 kernel (I just checked the latest 
> updated kernel; should be in all of them).  The ones I found on eBay 
> (starting at the high price of $9.99 free shipping) are 64-bit, but should 
> work fine in a 32-bit slot, just slower.
>
> Also, I have in hand a couple of dual-port boards made by Intel; Pro/100+ 
> Dual, part 711269-004; has two 82558B controllers and an Intel-sourced 21152 
> bridge (32-bit PCI).  I have one of these in a CentOS 3 box, and it works 
> fine.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] I/O size distribution?

2010-12-21 Thread Jeff Layton
  On 12/21/2010 05:01 PM, Antonello Piemonte wrote:
> Hello
>
> I have read that under Solaris one can use DTrace to get I/O request
> size distribution on a global scale (also on a per process/pid basis).
> See for example
>
> http://prefetch.net/articles/observeiodtk.html
>
> Can anyone recommend an alternative to get similar information under
> CentOS? I looked into dtrace for linux but it seems still work in
> progress, even putting aside CDDL issues ...
>

If you want to look at the specific run of an application and
not the system as a whole or on a continual basis, then you
can use strace.

However, this can produce a great deal of data. So I wrote a
simple tool to scan through the strace output file and produce
some statistics. You can download it at:

http://clusterbuffer.wetpaint.com/page/Strace+Analyzer

The version that is on the website is currently a bit dated with
a few bugs in it. I should be posting the latest version in the
next couple of weeks.

Thanks!

Jeff

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


Re: [CentOS] SELinux - way of the future or good idea but !!!

2010-11-29 Thread Jeff Allison
On 30 November 2010 09:03, Christopher Chan
 wrote:
> On Monday, November 29, 2010 11:58 PM, aurfal...@gmail.com wrote:
>
 You end up with a zillion groups - which is
 pointless and unmaintainable.  Thank goodness for ACL support and
 setfacl/getfacl.
>>>
>>> So what do you do when you have user-specific ACLs splattered randomly
>>> through the filesystem and the members of the cooperating groups
>>> change?
>>
>> Perhaps consult with Winblows AD admins as I'm sure they deal with
>> this all the time.
>>
>> MS$ ACLs have been around for a very long time.
>>
>
> Heh. So we have been reduced to asking Windows admins how to implement
> best current practice.

I wouldn't...

In my experience what you have in most AD environments is a mess...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] best way to start and shutdown programs in CentOS?

2010-11-24 Thread Jeff
On Sun, Nov 21, 2010 at 6:19 PM, Kill Script  wrote:
> I have a Java program that I want to start up with every boot, but I'm
> unsure how to do it.
> There are two bootup scripts that start manually (script1.sh and
> script2.sh), and when the server gets shutdown, we have another script that
> we run (shutdownscript.sh) so that the DB does not get corrupted.

Have you looked at Java Service Wrapper:

http://wrapper.tanukisoftware.com/doc/english/introduction.html

Ultimately, you will be creating an init.d script as discussed in this
thread, but this provides some java-specific features.

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


Re: [CentOS] MacBook Pro and CentOS-5

2010-11-15 Thread Jeff Chambers
This is off list topic, but I have seen weirdness in airport cards on macs 
especially when connecting to Apple's Airport. A cheap fix is to buy a 2nd 
wireless access point and make sure to use that in bridged mode so it is not 
acting as a router and wire that to your airport base station.

I like said before trying using an external hard drive to install CentOS onto 
and try your wireless card and other hardware drivers. This is a free solution 
except for the cost of the hard drive.

-Jeff


On Nov 15, 2010, at 9:29 AM, James B. Byrne wrote:

> 
> On Mon, November 15, 2010 11:44, Les Mikesell wrote:
> 
>> 
>> Can't help directly with the hardware questions, but (a) if you are
>> still within your Applecare coverage, take the thing in and get
>> anything that doesn't work fixed before touching the OS, and (b)
>> you might try Virtualbox with Centos as a guest (or VMware if you
>> don't mind paying for it).  I've generally found the vendor-
>> supplied native video, sleep, and wireless tools work best on
>> laptops and virtual machines work well enough for the client-type
>> things I do under Centos.
> 
> Well, I have done the Apple support thing and Apple's official
> position is that I have an interference problem.  The fact that I
> have six other laptops plus two X-Boxes, all with wireless
> connections, in the same household and none of which exhibit the
> problems that I have with the Macbook, is quite beside the point
> insofar as the Apple Genii are concerned.
> 
> This to me is utter BS, since I can see in the log files that that
> the wireless driver is arbitrarily disconnecting the link due to
> "lack of activity" and then choking when trying to reconnect.  There
> are a host of other odd little symptoms that also lead me to believe
> that it is the Apple drivers that are at the root of the problem. 
> For one thing, a frequent occurrence is that I get a 'browser is
> offline' (in both Safari and Firefox) when opening a new tab, but
> the existing tabs in the same browser instance can visit new pages
> on existing connections!!?? How that works is beyond me but it
> happens, often.
> 
> And it is the wireless NIC that I most need fixed.  Right now I have
> to shut down the Airport and restart it to clear the problems.  In
> itself this is no big deal, but I am just so tried of having to do
> this with such an expensive piece of kit.
> 
> If CentOS does not support the wireless in the Macbook then I am
> stuck with the sucker until I get up enough gumption to buy a
> Toshiba. Which is what I should have done when I allowed myself to
> be talked into the HP to begin with.
> 
> -- 
> ***  E-Mail is NOT a SECURE channel  ***
> James B. Byrnemailto:byrn...@harte-lyne.ca
> Harte & Lyne Limited  http://www.harte-lyne.ca
> 9 Brockley Drive  vox: +1 905 561 1241
> Hamilton, Ontario fax: +1 905 561 0757
> Canada  L8E 3C3
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

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


Re: [CentOS] MacBook Pro and CentOS-5

2010-11-15 Thread Jeff Chambers
Being a mac system admin and support specialist and CentOS guy. I can say you 
can always try using an external hard drive to boot the Mac off of and install 
CentOS on that drive to play around and test out all the drivers for video 
card, wireless, etc...

I don't boot into CentOS but have it running in Parallels and it runs great.

I also do recommend to get your Mac repaired too, just be sure to clone your 
hard drive off to an external drive before sending it into the shop. Apple is 
known to completely erase hard drives with no warning.


-Jeff

On Nov 15, 2010, at 8:44 AM, Les Mikesell wrote:

> On 11/15/2010 10:18 AM, James B. Byrne wrote:
>> After a long, and quite disheartening, series of hardware problems
>> with my HP laptop I decided to try out a Mac (late 2009 Intel based
>> 19.5 inch). In the months since January past I have discovered this
>> to be no significant improvement and I have grown tired of the
>> persistent wireless connectivity problems and am totally put off by
>> the upgrade to OSX-10.6.4 which killed HD graphics using Open-Gl.
>> Since July, trying to use HD on my Mac now blackens half the screen
>> and then locks the system.
>> 
>> I am contemplating wiping the system and installing CentOS-5.5
>> instead.  Before my frustration leads me to run straight on into a
>> wall, what can I expect to NOT work on the Macbook if I do this?  I
>> do need wireless, albeit I really cannot say that I have it now.  I
>> also dearly would like to get back HD graphics as well.
> 
> Can't help directly with the hardware questions, but (a) if you are 
> still within your Applecare coverage, take the thing in and get anything 
> that doesn't work fixed before touching the OS, and (b) you might try 
> Virtualbox with Centos as a guest (or VMware if you don't mind paying 
> for it).  I've generally found the vendor-supplied native video, sleep, 
> and wireless tools work best on laptops and virtual machines work well 
> enough for the client-type things I do under Centos.
> 
> -- 
>   Les Mikesell
> lesmikes...@gmail.com
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

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


Re: [CentOS] should vsftpd be disabled in favour of sftp for security reasons?

2010-09-18 Thread Jeff Allison

On 19/09/2010, at 4:48 AM, Emmett Culley wrote:

> On 09/17/2010 02:51 AM, Robert P. J. Day wrote:
>>
>>(another in an ongoing list of things i just want to clarify  
>> for the
>> sake of future courses taught on centos.)
>>
>>from this RHEL doc page:
>>
>> http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/ 
>> Deployment_Guide/s1-openssh-server-config.html
>>
>> the reader is advised to, for the sake of security, remove/disable
>> vsftpd, ostensibly in favour of sftp/sftp-server.  really?
>>
>>i can obviously see disallowing stuff like telnet and rsh and
>> rlogin, that's a no-brainer.  but advising against vsftpd for the  
>> sake
>> of security?  i'm not sure i see the logic in that.  thoughts?
>>
>> rday
>>
> We use vsftpd as an FTPS only server in CHROOT mode.  The only  
> reason we don't user sftp instead is because it cannot (easily?)  
> CHROOT users.
>
> Emmett

Possibly because FTP sends clear text passwords...
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Configuring atrpms repo?

2010-07-09 Thread Jeff Layton
  On 07/09/2010 02:23 PM, Athmane Madjoudj wrote:
> On 07/09/2010 07:17 PM, Jeff Layton wrote:
>> Afternoon,
>>
>> Sorry for being dense but I can seem to configure the repo for atrpms
>> correctly. I've tried a few things and none of them seem to work so
>> rather than embarrass myself in regard to yum repo configuration, can
>> someone post the repo configuration?
> As root:
>
> # cd /etc/yum.repos.d/
>
> create a file "atrpm.repo" with you favorite editor and put the following:
>
> [atrpms]
> name=CentOS $releasever - $basearch - ATrpms
> baseurl=http://dl.atrpms.net/el$releasever-$basearch/atrpms/stable
> gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
> gpgcheck=1
>
>
> For more info: http://atrpms.net/install.html
>
> I'm not using ATRpm so i can test it :(.
>

Thanks! That worked (had a typo somewhere - I just used
your entry).

Jeff


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


Re: [CentOS] Configuring atrpms repo?

2010-07-09 Thread Jeff Layton
  On 07/09/2010 02:17 PM, Jeff Layton wrote:
>Afternoon,
>
> Sorry for being dense but I can seem to configure the repo for atrpms
>
Oops - that should be "can't" instead of can :)

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


[CentOS] Configuring atrpms repo?

2010-07-09 Thread Jeff Layton
  Afternoon,

Sorry for being dense but I can seem to configure the repo for atrpms 
correctly. I've tried a few things and none of them seem to work so 
rather than embarrass myself in regard to yum repo configuration, can 
someone post the repo configuration?

TIA!

Jeff

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


Re: [CentOS] Kickstart from tagged VLAN?

2010-07-08 Thread Jeff Hefner
I've still been keeping this one simmering back burner and trying to
figure the workflow for getting a system up and running with minimal
user interaction. I do realize the PXE agents don't have any concept
of tagged vlans. The thought was more along the lines of having the
ability to specify a tagged VLAN id at the boot prompt when running an
install from the console using a CD or USB drive. (ie passing
arguments to the boot loader "linux
ks=http://localwebserver/ks/server.ks ip=10.10.10.10
netmask=255.255.255.0 gateway=10.10.10.1 dns=10.10.10.53)
My previously supplied link had a link to this article about Anaconda
being enhanced to support VLANs:

http://rhn.redhat.com/errata/RHBA-2009-0164.html

I've been experimenting with Spacewalk/Cobbler so this kind of extends
beyond just a  basic CentOS install but whether Cobbler is part of the
equation or not, the crux of the question is to verify if Anaconda has
direct support for VLANs. I've been out of the office since I
originally posted the question so I haven't had a chance to setup some
systems to verify it for myself yet. I was hoping this was something
someone else had previous setup something like this and could verify
whether it would work. I plan on taking some time to try this out
later today.

This is how I envision the workflow:

a switch interface has three VLANs setup

untagged 99 (Spacewalk/Cobbler/PXE/dhcp enabled subnet)
tagged 100 (main server subnet)
tagged 101 (backup network subnet)

Once the machine boots up it will get an dhcp provided IP from VLAN99.
Cobbler has added an PXE entry for that machine to tell it what
kickstart file to grab which it downloads via HTTP. Once that has been
downloaded and processed the kickstart file will have the two tagged
interfaces (ie eth0.100 and eth0.101) specified and from this point
forward it continues the rest of the install process through VLAN100
interface, eth0.100. After it finishes up it, the system reboots and
then no longer needs or uses the untagged VLAN.

One of the issues I'm trying to work around is I'm in an environment
when I don't have end to end control over everything. In order to get
an interface changed I have to rely on a different team to make the
change so if I need an interface reconfigured from untagged to tagged
or from VLAN abc to VLAN xyz, I have to wait on someone to do it for
me. So the logic is to have everything in place that I need from start
to finish. When it's all over then the temporary untagged interface
can be removed from the switch interface without disrupting the
configured and deployed system. Hope that all makes sense.

jeff
On Wed, Jul 7, 2010 at 5:11 PM, Blake Hudson  wrote:
>  Original Message  
> Subject: Re: [CentOS] Kickstart from tagged VLAN?
> From: Les Mikesell 
> To: CentOS mailing list 
> Date: Friday, July 02, 2010 7:33:45 AM
>> Finnur Örn Guðmundsson wrote:
>>
>>> On Cisco switches it would be called "native vlan" if i remember correctly:
>>>
>>> One way of doing it (if using Cisco :):
>>>
>>> interface GigabitEthernet0/1
>>>   description nodeX
>>>   switchport trunk native vlan 100
>>>   switchport trunk allowed vlan 100,101
>>>   switchport mode trunk
>>>   spanning-tree portfast trunk
>>>   spanning-tree bpdufilter enable
>>> end
>>>
>>>
>> Doing it that way would force you to change all of your switches and hosts 
>> that
>> know about vlan 100 at once.  You might also add native (untagged) vlan 1 to 
>> the
>> existing tagged vlans - then you can set up a pxe-booting network on vlan 1 
>> and
>> once things are installed you can add the tagged vlan interfaces and 
>> optionally
>> remove the IP address from the untagged (base eth device) interface.
>>
> No, these are per port settings and do not require coordinated changes
> to any other switches, switch ports, or hosts. With the proposed config,
> untagged data between the host and switch would be processed as VLAN 100
> - unbeknownst to the host. The host would have the base eth device setup
> without VLANs - this is VLAN 100. Any additional VLANs are setup as
> normal eth.vlanXX devices. As was said, this is just one way of doing
> things.
>
> Personally, I might propose that PXE setup be performed on a dedicated
> VLAN, once the server is setup it would then utilize a different set of
> VLANs for communication.
>
> --Blake
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Kickstart from tagged VLAN?

2010-07-01 Thread Jeff Hefner
I've searched around but haven't found a definitive answer yet, is it possible 
to kickstart from a tagged VLAN? I found this bugzilla:

https://bugzilla.redhat.com/show_bug.cgi?id=431915

But I can't find out how far the vlan support goes. I haven't found anything 
about it in any kickstart docs.

I have two tagged vlans:

Vlan 100 - server subnet
Vlan 101 - backup subnet 

>From start to finish anaconda needs to pick up a dynamic address from vlan 
>100. After that the kickstart file specifies the static adress from vlan100 
>and it's address from the backup subnet. Anyone know if this is currently 
>possible? If so any nod in the right direction would be appreciated

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


Re: [CentOS] Grub Error 22; no Windows

2010-05-20 Thread Jeff Sadino
nvm, I figured it out after my whole day :)
The BIOS was automatically updated and moved the OS drive down from the 1st
boot drive to the last boot drive.  sheesh, so simple!
Thanks anyways!

On Thu, May 20, 2010 at 2:15 PM, Jeff Sadino wrote:

> Hello,
>
> I have a GridEngine setup with 5 subnodes and two RAIDS attached.  I backed
> up the OS drive - 120GB - to an external hard drive - 500GB - using
> ddrescue.  The OS drive is partitioned as:
> sda1 has the OS and is about 7 GB
> sda2 has /var and is about 4 GB
> sda3 has swap and is about 1 GB
>
> After backing up, there were 4KB of errors, but all at the end of the disk
> around 118GB.  This used to be a partition back in the day, but I deleted it
> accidentally.  I want to back up to this new larger disk b/c the original
> 120GB disk is discontinued.  I boot from a live cd - SystemRescue CD - and
> run e2fsck -c -c -C 0 y on sda1 and sda2 on the backup drive, and it seems
> to finish fine.  Then I replaced the OS drive with the backup drive, and it
> goes to boot, then Grub Loading Stage 1.5; Error 22.
>
> Here's the important stuff from fstab:
> # This file is edited by fstab-sync - see 'man fstab-sync' for details
> LABEL=/1/   ext3defaults1 1
> none/dev/ptsdevpts  gid=5,mode=620  0 0
> none/dev/shmtmpfs   defaults0 0
> /dev/md0/export ext3defaults0 0
>
> none/proc   procdefaults0 0
> none/syssysfs   defaults0 0
> LABEL=/var  /varext3defaults1 2
> LABEL=SWAP-sda3 swapswapdefaults0 0
> /dev/sdb1swapswapdefaults0 0
> # The ram-backed filesystem for ganglia RRD graph databases.
> tmpfs /var/lib/ganglia/rrds tmpfs
> size=252709000,gid=nobody,uid=nobody,defaults 1 0
> /dev/hda/media/cdromauto
> pamconsole,exec,noauto,managed 0 0
>
> I boot up from the live cd, and then tell it to search for bootloaders on
> the drives, and it finds one, and it goes through, and then throws errors
> b/c it is mounting the OS /sda1 drive and then trying to run fsck on it.  I
> tried setting the error-check values to 0 for /1 and /var, but it is still
> trying to error check it.
>
> My blkid says that sda1, sda2, and sda3 all have different UUIDs.  sdc1,
> sdd1, and md0 all have the same UUID.  md0 is a RAID1 comprised of sdc1 and
> sdd1.  sdc and sdd are identical drives.
>
> This used to happen, and I would just restart a couple of times, and it
> would sneak on past the error eventually, but to no avail this time.  Does
> anyone have any ideas?  Thank you so much!
>
> And thank you to the dozen people who offered advice on the best backup
> option.  After reading all of the replies and the links, I think I will prob
> go with the rsync-backup suggestion.
>
> Mahalo,
> Jeff
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Grub Error 22; no Windows

2010-05-20 Thread Jeff Sadino
Hello,

I have a GridEngine setup with 5 subnodes and two RAIDS attached.  I backed
up the OS drive - 120GB - to an external hard drive - 500GB - using
ddrescue.  The OS drive is partitioned as:
sda1 has the OS and is about 7 GB
sda2 has /var and is about 4 GB
sda3 has swap and is about 1 GB

After backing up, there were 4KB of errors, but all at the end of the disk
around 118GB.  This used to be a partition back in the day, but I deleted it
accidentally.  I want to back up to this new larger disk b/c the original
120GB disk is discontinued.  I boot from a live cd - SystemRescue CD - and
run e2fsck -c -c -C 0 y on sda1 and sda2 on the backup drive, and it seems
to finish fine.  Then I replaced the OS drive with the backup drive, and it
goes to boot, then Grub Loading Stage 1.5; Error 22.

Here's the important stuff from fstab:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/1/   ext3defaults1 1
none/dev/ptsdevpts  gid=5,mode=620  0 0
none/dev/shmtmpfs   defaults0 0
/dev/md0/export ext3defaults0 0

none/proc   procdefaults0 0
none/syssysfs   defaults0 0
LABEL=/var  /varext3defaults1 2
LABEL=SWAP-sda3 swapswapdefaults0 0
/dev/sdb1swapswapdefaults0 0
# The ram-backed filesystem for ganglia RRD graph databases.
tmpfs /var/lib/ganglia/rrds tmpfs
size=252709000,gid=nobody,uid=nobody,defaults 1 0
/dev/hda/media/cdromauto
pamconsole,exec,noauto,managed 0 0

I boot up from the live cd, and then tell it to search for bootloaders on
the drives, and it finds one, and it goes through, and then throws errors
b/c it is mounting the OS /sda1 drive and then trying to run fsck on it.  I
tried setting the error-check values to 0 for /1 and /var, but it is still
trying to error check it.

My blkid says that sda1, sda2, and sda3 all have different UUIDs.  sdc1,
sdd1, and md0 all have the same UUID.  md0 is a RAID1 comprised of sdc1 and
sdd1.  sdc and sdd are identical drives.

This used to happen, and I would just restart a couple of times, and it
would sneak on past the error eventually, but to no avail this time.  Does
anyone have any ideas?  Thank you so much!

And thank you to the dozen people who offered advice on the best backup
option.  After reading all of the replies and the links, I think I will prob
go with the rsync-backup suggestion.

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


Re: [CentOS] mapping drives

2010-04-27 Thread Jeff Sadino
Thank you Agile, that seemed to work well and will do for my purposes.  Out
of curiosity, any idea why I could map it from my fedora 8 box, but not from
the CentOS 4 box?
Thank you again.  The CentOS community is the best ;)

Jeff

On Tue, Apr 27, 2010 at 2:25 PM, Agile Aspect wrote:

> On Tue, Apr 27, 2010 at 4:14 PM, Jeff Sadino
> > However, I can do this:
> > smbclient //10.1.1.17/Users -U jsadino
> > Password:
> > Domain=[MRILAB1] OS=[Windows Server (R) 2008 Standard 6002 Service Pack
> 2]
> > Server=[Windows Server (R) 2008 Standard 6.0]
> > smb: \> exit
> >
> > But if I try the same thing into /users/Jeff, I can't:
> > smbclient //10.1.1.17/Users/Jeff -U jsadino
> > Password:
> > Domain=[MRILAB1] OS=[Windows Server (R) 2008 Standard 6002 Service Pack
> 2]
> > Server=[Windows Server (R) 2008 Standard 6.0]
> > tree connect failed: NT_STATUS_BAD_NETWORK_NAME
> > [r...@cluster mnt]#
> >
> > And I couldn't put those into an fstab file anyways.
> >
> > Eero:
> > mount -t cifs -o username=cluster,password=mrilab,uid=fs431,gid=fs
> > //10.1.1.17/USERS/Jeff  /mnt/Jeff
> > but it still only mounts the Users directory.
> >
>
> Try sharing your Jeff directory on the Windows server (without messing
> with the USERS sharing.)
>
> Then see if you can mount
>
>//10.1.1.17/Jeff  /mnt/Jeff
>
> or test it with
>
>   smbclient //10.1.1.17/Jeff -U jsadino
>
>
> --
>  Enjoy global warming while it lasts.
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


  1   2   3   >