Re: [CentOS] OT: bareos, Windoze, beating head on wall

2015-11-24 Thread Valeri Galtsev

On Tue, November 24, 2015 2:24 pm, m.r...@5-cent.us wrote:
> Valeri Galtsev wrote:
>>
>> On Tue, November 24, 2015 12:38 pm, m.r...@5-cent.us wrote:
> 
>>> I'm trying to do a restore, from my CentOS 6 box, to a WinDoze box. The
>>> restore command is *not* user-friendly if you just want to restore a
>>> few
>>> files. And it gets weird First, I have to mark my path first - I
>>> don't just see it with ls. Then, when I do an ls, in
>>> c:/Users/>> *MATLAB
>>> *My Music
>>> *My Pictures
>>> *My Videos
>>> *Visual Studio 2005/
>>> *Visual Studio 2008/
>>> *desktop.ini
>>>
>>> *None* of which are there. All that's there are teo files, testfile.bak
>>> and testfile.txt. MATLAB is in some other user's directory
> 
>>
>> My case may be irrelevant as what I have is: server: FreeBSD 9.3, bacula
>> 5, still here is what I have on the server side for Windows 7 client:
>>
>> bconsole
>> restore
>> 5
>> [here I chose the client]
>> ...
>>
>> You are now entering file selection mode where you add (mark) and
>> remove (unmark) files to be restored. No files are initially added,
>> unless
>> you used the "all" keyword on the command line.
>> Enter "done" to leave this mode.
>>
>> cwd is: /
>>
>> cd C:/Users/[username]/Documents
>
> I cannot do that until I either mark or (thanks for telling me about
> "add") that path. dir or ls shows zip until I do.
>>
>> dir
> 
> And it's still the same - it does not show the two textfiles in the
> directory, it only shows directories that are *not* there. It's as though
> the index is screwed.

Potential differences:

bareos instead of bacula

my version is 5 (bacula 7 is current; I'm not certain if it has usable Win
client though - didn't check lately).

If I were to speculate I would say that what you see may come from "too
much work" done on client side, like packing whole directories ("folders"
as I should have used MS windows language), and sending the whole thing to
backup server, but I most likely will be wrong about that as: the stuff
that walks you trough directory tree comes from database, which is filled
I bet by director (receiving infor. from fd), no matter that files are
being sent by fd to sd. Anyway, I would try to remove compression wherever
it is configured and see if that makes any difference.

But you probably need bareos _expert_, not just bacula _user_ to find the
solution.

Incidentally, what happens if you request to restore all ("add all" will
be the only command you need, then say "done").

Good luck!

Valeri


Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247

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


Re: [CentOS] OT: bareos, Windoze, beating head on wall

2015-11-24 Thread Valeri Galtsev

On Tue, November 24, 2015 12:38 pm, m.r...@5-cent.us wrote:
> Again, I'm posting here because when I tried their mailing list, I didn't
> get much response.
>
> I'm trying to do a restore, from my CentOS 6 box, to a WinDoze box. The
> restore command is *not* user-friendly if you just want to restore a few
> files. And it gets weird First, I have to mark my path first - I don't
> just see it with ls. Then, when I do an ls, in
> c:/Users/ *MATLAB
> *My Music
> *My Pictures
> *My Videos
> *Visual Studio 2005/
> *Visual Studio 2008/
> *desktop.ini
>
> *None* of which are there. All that's there are teo files, testfile.bak
> and testfile.txt. MATLAB is in some other user's directory
>
> Here's the fileset spec from bareos-dir.conf
> FileSet {
>   Name = "citdcbhebronset"
>   Include {
> Options {
>   Signature = MD5 # calculate md5 checksum per file
>   Ignore Case = yes
> }
> File = "c:/Users"
>   }
> }
>
> Anyone have any clue as to what I'm doing wrong? Googling - a lot of it -
> gives me 90% the bareos docs, and very little else.
>
>   mark

My case may be irrelevant as what I have is: server: FreeBSD 9.3, bacula
5, still here is what I have on the server side for Windows 7 client:

bconsole

restore

5

[here I chose the client]
...

You are now entering file selection mode where you add (mark) and
remove (unmark) files to be restored. No files are initially added, unless
you used the "all" keyword on the command line.
Enter "done" to leave this mode.

cwd is: /

cd C:/Users/[username]/Documents

dir

...
C:/Users/[username]/Documents/Visual Studio 2005/
...

dir "Visual Studio 2005"
drwxrwxrwx   1 root wheel  0  2015-06-03 11:55:12 
C:/Users/[username]/Documents/Visual Studio 2005/

[looks like it doesn't like to show the content, but if I enter there,
I'll see stuff there, so now I just will add it to restore]

add "Visual Studio 2005"
4 files marked.

done

...

7 files selected to be restored.

...

So, in my case the files are there. What happens it you use "add" command
to add directory containing the fires you need to restore?

Thanks.
Valeri


Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247

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


Re: [CentOS] Google Ads in rsyslog documentation files

2015-11-24 Thread m . roth
Peter Eckel wrote:
> Hi Mark,
>
> I'm not sure whether upstream is the right place to address this, but I'll
> try. I just downloaded all versions of the rsyslog sources from
> rsyslog.com, and found 'googlesyndication' links in the following
> versions:

> Which means it's gone in 8.x.x and in 7.x.x starting from 7.5.6. 4.x.x,
> 5.x.x and 6.x.x haven't been cleaned ever.
>
> CASE 01544649 opened upstream.
>

Thanks, Pete. I was just discussing it with my manager

  mark

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


Re: [CentOS] Google Ads in rsyslog documentation files

2015-11-24 Thread Peter Eckel
Hi Mark, 

I'm not sure whether upstream is the right place to address this, but I'll try. 
I just downloaded all versions of the rsyslog sources from rsyslog.com, and 
found 'googlesyndication' links in the following versions: 

rsyslog-4.8.0
rsyslog-5.10.0
rsyslog-5.10.1
rsyslog-5.8.13
rsyslog-6.6.0
rsyslog-7.3.0
rsyslog-7.3.1
rsyslog-7.3.2
rsyslog-7.3.3
rsyslog-7.3.4
rsyslog-7.3.5
rsyslog-7.3.6
rsyslog-7.3.7
rsyslog-7.3.8
rsyslog-7.3.9
rsyslog-7.3.10
rsyslog-7.3.11
rsyslog-7.3.12
rsyslog-7.4.0
rsyslog-7.4.1
rsyslog-7.4.2
rsyslog-7.4.3
rsyslog-7.4.4
rsyslog-7.4.5
rsyslog-7.4.6
rsyslog-7.4.7
rsyslog-7.4.8
rsyslog-7.4.9
rsyslog-7.4.10
rsyslog-7.5.0
rsyslog-7.5.1
rsyslog-7.5.2
rsyslog-7.5.3
rsyslog-7.5.4
rsyslog-7.5.5
rsyslog-7.5.6

Which means it's gone in 8.x.x and in 7.x.x starting from 7.5.6. 4.x.x, 5.x.x 
and 6.x.x haven't been cleaned ever.

CASE 01544649 opened upstream.

Cheers, 

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


Re: [CentOS] OT: bareos, Windoze, beating head on wall

2015-11-24 Thread m . roth
Valeri Galtsev wrote:
>
> On Tue, November 24, 2015 12:38 pm, m.r...@5-cent.us wrote:

>> I'm trying to do a restore, from my CentOS 6 box, to a WinDoze box. The
>> restore command is *not* user-friendly if you just want to restore a few
>> files. And it gets weird First, I have to mark my path first - I
>> don't just see it with ls. Then, when I do an ls, in
>> c:/Users/> *MATLAB
>> *My Music
>> *My Pictures
>> *My Videos
>> *Visual Studio 2005/
>> *Visual Studio 2008/
>> *desktop.ini
>>
>> *None* of which are there. All that's there are teo files, testfile.bak
>> and testfile.txt. MATLAB is in some other user's directory

>
> My case may be irrelevant as what I have is: server: FreeBSD 9.3, bacula
> 5, still here is what I have on the server side for Windows 7 client:
>
> bconsole
> restore
> 5
> [here I chose the client]
> ...
>
> You are now entering file selection mode where you add (mark) and
> remove (unmark) files to be restored. No files are initially added, unless
> you used the "all" keyword on the command line.
> Enter "done" to leave this mode.
>
> cwd is: /
>
> cd C:/Users/[username]/Documents

I cannot do that until I either mark or (thanks for telling me about
"add") that path. dir or ls shows zip until I do.
>
> dir

And it's still the same - it does not show the two textfiles in the
directory, it only shows directories that are *not* there. It's as though
the index is screwed.

   mark

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


Re: [CentOS] C7: How to configure raid at install time

2015-11-24 Thread Fred Smith
On Wed, Nov 18, 2015 at 09:49:43PM -0700, Devin Reade wrote:
> --On Wednesday, November 18, 2015 11:07:12 PM -0500 Fred Smith
>  wrote:
> 
> >But it isn't at all obvious how one would do a new RAID1 setup in
> >Anaconda
> 
> Don't feel bad.  The abortion that is the RHEL/CentOS 7 graphical
> install interface is far too dumbed-down to be easily usable by anyone
> that understands what is going on under the covers.  Oh, the irony.
> 
> >Can anyone provide (or give pointers to) a good recipe for doing this?
> 
> A quick google brought up the following link that (looking just at the
> disk portion) appears to be mostly correct, and should give you the
> magic incantation:
> 
> 
> 
I've been building C7 VMs with RAID-1 in Virtualbox these last couple
of days, to pin down exactly how to do it. based on the link above,
but I'm making "real" partitions instead of LVM.

The current iteration seems to be running fine, but I had an odd problem
when configuring the partitions: for two 10 gig virtual drives, it wouldn't
let me use the last gig of space. or maybe it has some other issue on the
max partition size,... it seemed to max out at around 9900 MB. This for
sure won't do when I build it on real hardware, so I'm wondering if
anyone else here has a clue what's going on??

thanks in advance!

-- 
 Fred Smith -- fre...@fcshome.stoneham.ma.us -
  "For him who is able to keep you from falling and to present you before his 
 glorious presence without fault and with great joy--to the only God our Savior
 be glory, majesty, power and authority, through Jesus Christ our Lord, before
 all ages, now and forevermore! Amen."
- Jude 1:24,25 (niv) -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Glibc vulnerbality CVE-2015-1781

2015-11-24 Thread Venkateswara Rao Dokku
Hi,

We are using CentOS 5.5 as a base OS for one of our products.The version of
Glibc we are using was glibc-2.5-123.el5_11.1.

We wanted to see whether this glibc is vulerable to CVE-2015-1781. I have
gone through re-documentation & came across the following link
https://access.redhat.com/security/cve/cve-2015-1781

In the link it is mentioned that, the CVE will not be fixed in Red-Hat 5
version. What does that mean? I mean, whether the RedHat 5 is vulnerable &
fix is not available or RedHat 5 is not vulnerable, hence the fix is not
given?

Thanks for the info.

-- 
Thanks & Regards,
Venkat
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Glibc vulnerbality CVE-2015-1781

2015-11-24 Thread Frank Cox
On Wed, 25 Nov 2015 09:51:58 +0530
Venkateswara Rao Dokku wrote:

> In the link it is mentioned that, the CVE will not be fixed in Red-Hat 5
> version. What does that mean? I mean, whether the RedHat 5 is vulnerable &
> fix is not available or RedHat 5 is not vulnerable, hence the fix is not
> given?

Read what it says a little higher on that webpage, under the Statement heading:

Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and 
maintenance life cycle. This has been rated as having Moderate security impact 
and is not currently planned to be addressed in future updates. For additional 
information, refer to the Red Hat Enterprise Linux Life Cycle: 
https://access.redhat.com/support/policy/updates/errata/.

-- 
MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] IP table Restore

2015-11-24 Thread Siva Prasad Nath
Hi,
If possible advice me for below error.

[root@ns1 sysconfig]# iptables-restore < /etc/sysconfig/iptables
iptables-restore: line 2 failed

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


Re: [CentOS] C7: How to configure raid at install time

2015-11-24 Thread Gordon Messmer

On 11/24/2015 07:35 PM, Fred Smith wrote:

it seemed to max out at around 9900 MB. This for
sure won't do when I build it on real hardware, so I'm wondering if
anyone else here has a clue what's going on??


IIRC, Anaconda can't create "raid1" LVM volumes.  That is, you can't 
create LVs that are mirrored across multiple PVs.  You can create md 
RAID1 volumes and make a PV of the resulting RAID volume, though.


So I think what you're probably doing is creating 100MB /boot partition, 
and then two md RAID component partitions of 9900MB.

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


Re: [CentOS] IP table Restore

2015-11-24 Thread David Nelson
It would seem there's some kind of invalid configuration on line 2 of 
/etc/sysconfig/iptables

You'd have to post at least the first few lines of said file to learn more 
about what's actually causing it. 

> On Nov 24, 2015, at 22:18, Siva Prasad Nath  
> wrote:
> 
> Hi,
> If possible advice me for below error.
> 
> [root@ns1 sysconfig]# iptables-restore < /etc/sysconfig/iptables
> iptables-restore: line 2 failed
> 
> Thanks in advance.
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] IP table Restore

2015-11-24 Thread John R Pierce

On 11/24/2015 10:18 PM, Siva Prasad Nath wrote:

If possible advice me for below error.

[root@ns1 sysconfig]# iptables-restore < /etc/sysconfig/iptables
iptables-restore: line 2 failed

Thanks in advance.


If I recall correctly, you are using CentOS 7?   With 7, you really 
should be using firewalld rather than manually writing iptables rules. 
see the firewall section of the RHEL 7 networking manual I previously 
linked, twice.


otherwise, which part of that error is unclear?   check line 2 of 
/etc/sysconfig/iptables, it has a syntax error.   there may be more 
information in the system logs, see chapter 20, 'logging' 
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/System_Administrators_Guide/ch-Viewing_and_Managing_Log_Files.html



--
john r pierce, recycling bits in santa cruz

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


Re: [CentOS] Google Ads in rsyslog documentation files

2015-11-24 Thread Valeri Galtsev

On Tue, November 24, 2015 10:41 am, m.r...@5-cent.us wrote:
> Peter Eckel wrote:
>> Hi all,
>>
>> I know this comes from upstream (and most likely from the rsyslog
> project itself), but what's your opinion about Google Ads in system
> documentation files?
>>
>>> [peckel@mucnvjmppmtr01 ~]$ cat /etc/redhat-release
>>> Red Hat Enterprise Linux Server release 6.7 (Santiago)
>>> [peckel@mucnvjmppmtr01 ~]$ grep google /usr/share/doc/rsyslog-5.8.10/*
> /usr/share/doc/rsyslog-5.8.10/rsyslog_secure_tls.html:google_ad_client
> = "pub-3204610807458280";
>>> /usr/share/doc/rsyslog-5.8.10/rsyslog_secure_tls.html:google_ad_slot =
> "5958614527";
>>> /usr/share/doc/rsyslog-5.8.10/rsyslog_secure_tls.html:google_ad_width =
> 125;
> 
>> I find it rather disconcerting if there are commercial ads embedded in
> help texts I find on my open source servers.
>
> "Disconcerting" isn't the word I would use. Completely unacceptable is
> what I'd say. I think it's time to put in a bug report to upstream I
> need to check with my manager.

"obnoxious" would be the word I would use. I checked on one of my CentOS 6
boxes, and it is there. I never had high opinion about google itself, but
today RedHat fell in my eyes one notch down as well.

Valeri

>
> I do note this is not the case in rsyslog on CentOS 7.
>
> mark
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



Valeri Galtsev
Sr System Administrator
Department of Astronomy and Astrophysics
Kavli Institute for Cosmological Physics
University of Chicago
Phone: 773-702-4247

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


Re: [CentOS] Google Ads in rsyslog documentation files

2015-11-24 Thread m . roth
Peter Eckel wrote:
> Hi all,
>
> I know this comes from upstream (and most likely from the rsyslog
project itself), but what's your opinion about Google Ads in system
documentation files?
>
>> [peckel@mucnvjmppmtr01 ~]$ cat /etc/redhat-release
>> Red Hat Enterprise Linux Server release 6.7 (Santiago)
>> [peckel@mucnvjmppmtr01 ~]$ grep google /usr/share/doc/rsyslog-5.8.10/*
/usr/share/doc/rsyslog-5.8.10/rsyslog_secure_tls.html:google_ad_client
= "pub-3204610807458280";
>> /usr/share/doc/rsyslog-5.8.10/rsyslog_secure_tls.html:google_ad_slot =
"5958614527";
>> /usr/share/doc/rsyslog-5.8.10/rsyslog_secure_tls.html:google_ad_width =
125;

> I find it rather disconcerting if there are commercial ads embedded in
help texts I find on my open source servers.

"Disconcerting" isn't the word I would use. Completely unacceptable is
what I'd say. I think it's time to put in a bug report to upstream I
need to check with my manager.

I do note this is not the case in rsyslog on CentOS 7.

mark

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


Re: [CentOS] How & where to add

2015-11-24 Thread Paul Heinlein

On Tue, 24 Nov 2015, Siva Prasad Nath wrote:


auto eth0
iface eth0 inet static
address 192.168.50.2
netmask 255.255.255.0


That's a configuration for a Linux system running Debian or Ubuntu 
Linux. CentOS (the topic of this mailing list) and other distributions 
in the Red Hat family use a completely different syntax for network 
configuration.


If you're completely new to Linux, I'd suggest you find a local Linux 
user group and get some hands-on help.


--
Paul Heinlein
heinl...@madboa.com
45°38' N, 122°6' W___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] OT: bareos, Windoze, beating head on wall

2015-11-24 Thread m . roth
Again, I'm posting here because when I tried their mailing list, I didn't
get much response.

I'm trying to do a restore, from my CentOS 6 box, to a WinDoze box. The
restore command is *not* user-friendly if you just want to restore a few
files. And it gets weird First, I have to mark my path first - I don't
just see it with ls. Then, when I do an ls, in
c:/Users/https://lists.centos.org/mailman/listinfo/centos


[CentOS] How & where to add

2015-11-24 Thread Siva Prasad Nath
auto eth0
iface eth0 inet static
address 192.168.50.2
netmask 255.255.255.0



-- 

Shiva Prasad Nath
92981134
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How & where to add

2015-11-24 Thread John R Pierce

On 11/24/2015 12:33 AM, Siva Prasad Nath wrote:

auto eth0
iface eth0 inet static
address 192.168.50.2
netmask 255.255.255.0


read this book,
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/

if you can't figure it out, hire a systems adminsitrator, or take a 
class in it.  you're asking way too many elementary questions without 
any evidence you're trying to figure this out.






--
john r pierce, recycling bits in santa cruz

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


Re: [CentOS] OT: Replacing Venerable NAS

2015-11-24 Thread Ramaseshan S
Not sure if this will help, but our company is building out an open source
NAS. We are still not completely done, but we are nearly done. If you would
like to experiment , do let us know.

Here is the docs link :
https://fractalram.gitbooks.io/integralstor-unicell-v1-0-user-manual/content/

We should have the iso built out in another week.

If this interests, and would love to experiment, do reply back as a PM, and
I would direct you to the relative sources.


On Fri, Nov 20, 2015 at 12:03 AM, Lamar Owen  wrote:

> On 11/18/2015 04:42 PM, John R Pierce wrote:
>
>> the /really/ hard one when rolling your own highly redundant systems with
>> high data integrity needed for things like transactional database servers,
>> is implementing redundant storage controllers with shared writeback
>> cache...   you pretty much have to get into EMC class hardware for this
>> level of reliability with data integrity and performance.   and thats
>> /really/ expensive stuff.
>>
> Yes it is, because it really is that hard to do shared writeback cache.
> EMC, Nimble, NetApp, and the like cost what they do because of those HA
> features.  EMC storage processors have specialized shared backplanes and
> replicated write caches just in case an SP goes down while the data to be
> written is in cache and has yet to be committed (so that the trespassing SP
> can write the correct data to disk).  They also have dedicated battery
> backup units and the whole concept of the 'vault' drives to specifically
> save the write cache in a powerfail emergency.
>
> But I would love to see something in the free software space that did that
> kind of thing, with appropriate hardware.
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>



-- 
Cheers
--
S.Ramaseshan
Engineer
fractalio.com
+919916394958
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Unit network.service has failed

2015-11-24 Thread Siva Prasad Nath
Sorry for disturbing all of you again and again.
Network service cannot be started. All the commands are not working.

How to start network service?net-tool already exists.


-- 

Shiva Prasad Nath
92981134
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Unit network.service has failed

2015-11-24 Thread Earl A Ramirez
On 24 November 2015 at 05:31, Siva Prasad Nath 
wrote:

> Sorry for disturbing all of you again and again.
> Network service cannot be started. All the commands are not working.
>
> How to start network service?net-tool already exists.
>
>
> --
>
> Shiva Prasad Nath
> 92981134
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>

Did you even attempt to do a little research on your own? Where is the
output of the commands that you have tried. What version of CentOS are you
running?

-- 
Kind Regards
Earl Ramirez
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Unit network.service has failed

2015-11-24 Thread Eero Volotinen
systemctl restart name-of-service.service
24.11.2015 12.32 ip. "Siva Prasad Nath" 
kirjoitti:

> Sorry for disturbing all of you again and again.
> Network service cannot be started. All the commands are not working.
>
> How to start network service?net-tool already exists.
>
>
> --
>
> Shiva Prasad Nath
> 92981134
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] OT: Replacing Venerable NAS

2015-11-24 Thread Eero Volotinen
Are you familiar with GlusterFs / Ceph ?

Eero
19.11.2015 8.34 ip. "Lamar Owen"  kirjoitti:

> On 11/18/2015 04:42 PM, John R Pierce wrote:
>
>> the /really/ hard one when rolling your own highly redundant systems with
>> high data integrity needed for things like transactional database servers,
>> is implementing redundant storage controllers with shared writeback
>> cache...   you pretty much have to get into EMC class hardware for this
>> level of reliability with data integrity and performance.   and thats
>> /really/ expensive stuff.
>>
> Yes it is, because it really is that hard to do shared writeback cache.
> EMC, Nimble, NetApp, and the like cost what they do because of those HA
> features.  EMC storage processors have specialized shared backplanes and
> replicated write caches just in case an SP goes down while the data to be
> written is in cache and has yet to be committed (so that the trespassing SP
> can write the correct data to disk).  They also have dedicated battery
> backup units and the whole concept of the 'vault' drives to specifically
> save the write cache in a powerfail emergency.
>
> But I would love to see something in the free software space that did that
> kind of thing, with appropriate hardware.
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] LVM - how to change lv from linear to stripped? Is it possible?

2015-11-24 Thread Rafał Radecki
Hi All.

Currently I am trying to change a logical volume from linear to stripped
because I would like to have a better write throughput. I would like to
perform this change "live" without stopping access to this lv.

I have found two interesting examples:
http://community.hpe.com/t5/System-Administration/Need-to-move-the-data-from-Linear-LV-to-stripped-LV-on-RHEL-5-7/td-p/6134323
http://www.depesz.com/2015/10/08/converting-logical-volume-so-that-its-striped/
Both say basically to:
- change the lv to a mirrored one by adding a stripped copy (~second device
in RAID1)
- change it back to a non-mirrored one by removing the primary linear lv
(~first, source device in RAID1)

My os is:
$ cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
$ uname -r
3.10.0-229.14.1.el7.x86_64
$ rpm -qa | grep -i lvm
lvm2-libs-2.02.115-3.el7_1.1.x86_64
lvm2-2.02.115-3.el7_1.1.x86_64

And the solution proposed in above examples does not work on it.
After (lv xxx is only on /dev/sdb4 before):
# lvconvert --mirrors 1 --stripes 4  /dev/cinder-volumes/xxx /dev/sda4
/dev/sdc4 /dev/sdd4 /dev/sdf4
I am getting in "lvdisplay -m":

--- Logical volume ---
  LV Path/dev/cinder-volumes/xxx
  LV Namexxx
  VG Namecinder-volumes
  LV UUIDAKjKAo-66cv-Ygc2-4Ykq-sSJQ-RJOY-mfjoMD
  LV Write Accessread/write
  LV Creation host, time test.local, 2015-10-28 17:45:28 +0100
  LV Status  available
  # open 1
  LV Size64.01 GiB
  Current LE 16386
  Mirrored volumes   2
  Segments   1
  Allocation inherit
  Read ahead sectors auto
  - currently set to 8192
  Block device   253:22

  --- Segments ---
  Logical extents 0 to 16385:
Typeraid1
Monitoring  monitored
Raid Data LV 0
  Logical volumexxx_rimage_0
  Logical extents   0 to 16385
Raid Data LV 1
  Logical volumexxx_rimage_1
  Logical extents   0 to 16385
Raid Metadata LV 0  xxx_rmeta_0
Raid Metadata LV 1  xxx_rmeta_1

And in "pvdisplay -m":

  --- Physical volume ---
  PV Name   /dev/sda4
  VG Name   cinder-volumes
  PV Size   2.73 TiB / not usable 4.00 MiB
  Allocatable   yes
  PE Size   4.00 MiB
  Total PE  715255
  Free PE   287476
  Allocated PE  427779
  PV UUID   IrkkwI-AqpP-bTll-vlPq-NDSe-rDUg-ecAnkp
...
  Physical extent 427776 to 427776:
Logical volume  /dev/cinder-volumes/xxx_rmeta_1
Logical extents 0 to 0
  Physical extent 42 to 444162:
Logical volume  /dev/cinder-volumes/xxx_rimage_1
Logical extents 0 to 16385

  --- Physical volume ---
  PV Name   /dev/sdb4
  VG Name   cinder-volumes
  PV Size   2.73 TiB / not usable 4.00 MiB
  Allocatable   yes
  PE Size   4.00 MiB
  Total PE  715255
  Free PE   698868
  Allocated PE  16387
  PV UUID   hx0a1v-M68S-aPBL-1x9r-8EiD-3cu3-GQPLRo

  --- Physical Segments ---
  Physical extent 0 to 0:
Logical volume  /dev/cinder-volumes/xxx_rmeta_0
Logical extents 0 to 0
  Physical extent 1 to 16386:
Logical volume  /dev/cinder-volumes/xxx_rimage_0
Logical extents 0 to 16385
  Physical extent 16387 to 715254:
FREE

So the migration to a RAID1 logical volume is successful but the stripping
(above "lvconvert --mirrors 1 --stripes 4  /dev/cinder-volumes/xxx
/dev/sda4 /dev/sdc4 /dev/sdd4 /dev/sdf4") is not taken into consideration
because only /dev/sda4 and /dev/sdb4 are used for xxx logical volume
afterwards.

Also when I run:

# lvconvert -m 0 /dev/cinder-volumes/xxx /dev/sdb4

afterwards I get xxx logical volume only on /dev/sda4 and it is linear (not
stripped).

Can someone help me with this? ;)

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


[CentOS] Google Ads in rsyslog documentation files

2015-11-24 Thread Peter Eckel
Hi all, 

I know this comes from upstream (and most likely from the rsyslog project 
itself), but what's your opinion about Google Ads in system documentation 
files? 

> [peckel@mucnvjmppmtr01 ~]$ cat /etc/redhat-release 
> Red Hat Enterprise Linux Server release 6.7 (Santiago)
> [peckel@mucnvjmppmtr01 ~]$ grep google /usr/share/doc/rsyslog-5.8.10/*
> /usr/share/doc/rsyslog-5.8.10/rsyslog_secure_tls.html:google_ad_client = 
> "pub-3204610807458280";
> /usr/share/doc/rsyslog-5.8.10/rsyslog_secure_tls.html:google_ad_slot = 
> "5958614527";
> /usr/share/doc/rsyslog-5.8.10/rsyslog_secure_tls.html:google_ad_width = 125;
> /usr/share/doc/rsyslog-5.8.10/rsyslog_secure_tls.html:google_ad_height = 125;
> /usr/share/doc/rsyslog-5.8.10/rsyslog_secure_tls.html:src="http://pagead2.googlesyndication.com/pagead/show_ads.js;>
> /usr/share/doc/rsyslog-5.8.10/tls_cert_ca.html:google_ad_client = 
> "pub-3204610807458280";
> /usr/share/doc/rsyslog-5.8.10/tls_cert_ca.html:google_ad_slot = "5958614527";
> /usr/share/doc/rsyslog-5.8.10/tls_cert_ca.html:google_ad_width = 125;
> /usr/share/doc/rsyslog-5.8.10/tls_cert_ca.html:google_ad_height = 125;
> /usr/share/doc/rsyslog-5.8.10/tls_cert_ca.html:src="http://pagead2.googlesyndication.com/pagead/show_ads.js;>
> /usr/share/doc/rsyslog-5.8.10/tls_cert_client.html:google_ad_client = 
> "pub-3204610807458280";
> /usr/share/doc/rsyslog-5.8.10/tls_cert_client.html:google_ad_slot = 
> "5958614527";
> /usr/share/doc/rsyslog-5.8.10/tls_cert_client.html:google_ad_width = 125;
> /usr/share/doc/rsyslog-5.8.10/tls_cert_client.html:google_ad_height = 125;
> /usr/share/doc/rsyslog-5.8.10/tls_cert_client.html:src="http://pagead2.googlesyndication.com/pagead/show_ads.js;>
> /usr/share/doc/rsyslog-5.8.10/tls_cert_errmsgs.html:google_ad_client = 
> "pub-3204610807458280";
> /usr/share/doc/rsyslog-5.8.10/tls_cert_errmsgs.html:google_ad_slot = 
> "5958614527";
> /usr/share/doc/rsyslog-5.8.10/tls_cert_errmsgs.html:google_ad_width = 125;
> /usr/share/doc/rsyslog-5.8.10/tls_cert_errmsgs.html:google_ad_height = 125;
> /usr/share/doc/rsyslog-5.8.10/tls_cert_errmsgs.html:src="http://pagead2.googlesyndication.com/pagead/show_ads.js;>
> /usr/share/doc/rsyslog-5.8.10/tls_cert_machine.html:google_ad_client = 
> "pub-3204610807458280";
> /usr/share/doc/rsyslog-5.8.10/tls_cert_machine.html:google_ad_slot = 
> "5958614527";
> /usr/share/doc/rsyslog-5.8.10/tls_cert_machine.html:google_ad_width = 125;
> /usr/share/doc/rsyslog-5.8.10/tls_cert_machine.html:google_ad_height = 125;
> /usr/share/doc/rsyslog-5.8.10/tls_cert_machine.html:src="http://pagead2.googlesyndication.com/pagead/show_ads.js;>
> /usr/share/doc/rsyslog-5.8.10/tls_cert_scenario.html:google_ad_client = 
> "pub-3204610807458280";
> /usr/share/doc/rsyslog-5.8.10/tls_cert_scenario.html:google_ad_slot = 
> "5958614527";
> /usr/share/doc/rsyslog-5.8.10/tls_cert_scenario.html:google_ad_width = 125;
> /usr/share/doc/rsyslog-5.8.10/tls_cert_scenario.html:google_ad_height = 125;
> /usr/share/doc/rsyslog-5.8.10/tls_cert_scenario.html:src="http://pagead2.googlesyndication.com/pagead/show_ads.js;>
> /usr/share/doc/rsyslog-5.8.10/tls_cert_server.html:google_ad_client = 
> "pub-3204610807458280";
> /usr/share/doc/rsyslog-5.8.10/tls_cert_server.html:google_ad_slot = 
> "5958614527";
> /usr/share/doc/rsyslog-5.8.10/tls_cert_server.html:google_ad_width = 125;
> /usr/share/doc/rsyslog-5.8.10/tls_cert_server.html:google_ad_height = 125;
> /usr/share/doc/rsyslog-5.8.10/tls_cert_server.html:src="http://pagead2.googlesyndication.com/pagead/show_ads.js;>
> /usr/share/doc/rsyslog-5.8.10/tls_cert_summary.html:google_ad_client = 
> "pub-3204610807458280";
> /usr/share/doc/rsyslog-5.8.10/tls_cert_summary.html:google_ad_slot = 
> "5958614527";
> /usr/share/doc/rsyslog-5.8.10/tls_cert_summary.html:google_ad_width = 125;
> /usr/share/doc/rsyslog-5.8.10/tls_cert_summary.html:google_ad_height = 125;
> /usr/share/doc/rsyslog-5.8.10/tls_cert_summary.html:src="http://pagead2.googlesyndication.com/pagead/show_ads.js;>
> /usr/share/doc/rsyslog-5.8.10/tls_cert_udp_relay.html:google_ad_client = 
> "pub-3204610807458280";
> /usr/share/doc/rsyslog-5.8.10/tls_cert_udp_relay.html:google_ad_slot = 
> "5958614527";
> /usr/share/doc/rsyslog-5.8.10/tls_cert_udp_relay.html:google_ad_width = 125;
> /usr/share/doc/rsyslog-5.8.10/tls_cert_udp_relay.html:google_ad_height = 125;
> /usr/share/doc/rsyslog-5.8.10/tls_cert_udp_relay.html:src="http://pagead2.googlesyndication.com/pagead/show_ads.js;>

I find it rather disconcerting if there are commercial ads embedded in help 
texts I find on my open source servers. 

Best regards, 

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


[CentOS] Unit networkmanager.service not loaded

2015-11-24 Thread Siva Prasad Nath
systemctl stop networkmanager returns Unit networkmanager.service not loaded
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Unit networkmanager.service not loaded

2015-11-24 Thread Richard



> Date: Tuesday, November 24, 2015 22:48:30 +0800
> From: Siva Prasad Nath 
> To: CentOS mailing list ,
centos-de...@centos.org
> Subject: [CentOS] Unit networkmanager.service not loaded
>
> systemctl stop networkmanager returns Unit networkmanager.service
> not loaded 


Hint -- try the:

  systemctl list-units | grep ...

concept that you used previously and see what output you get.
[sub-hint -- the *nix world is case sensitive.]

This is a user (understanding) issue -- why are you including the
"-devel" list? Don't.


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


Re: [CentOS] Unit networkmanager.service not loaded

2015-11-24 Thread Siva Prasad Nath
I can see below in development server
network.service
 loaded active exitedLSB: Bring up/down networking
NetworkManager.service
  loaded active running   Network Manager

But not able to see in production.


Shiva Prasad Nath
92981134

On Tue, Nov 24, 2015 at 11:01 PM, Richard <
lists-cen...@listmail.innovate.net> wrote:

>
>
>
> > Date: Tuesday, November 24, 2015 22:48:30 +0800
> > From: Siva Prasad Nath 
> > To: CentOS mailing list ,
> centos-de...@centos.org
> > Subject: [CentOS] Unit networkmanager.service not loaded
> >
> > systemctl stop networkmanager returns Unit networkmanager.service
> > not loaded
>
>
> Hint -- try the:
>
>   systemctl list-units | grep ...
>
> concept that you used previously and see what output you get.
> [sub-hint -- the *nix world is case sensitive.]
>
> This is a user (understanding) issue -- why are you including the
> "-devel" list? Don't.
>
>
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Unit network.service has failed

2015-11-24 Thread Siva Prasad Nath
I am using CENTOS 7.
systemctl list-units | grep "network" not showing network.service file.
How to get back the file?


Shiva Prasad Nath
92981134

On Tue, Nov 24, 2015 at 6:44 PM, Earl A Ramirez 
wrote:

> On 24 November 2015 at 05:31, Siva Prasad Nath <
> shivaprasadnat...@gmail.com>
> wrote:
>
> > Sorry for disturbing all of you again and again.
> > Network service cannot be started. All the commands are not working.
> >
> > How to start network service?net-tool already exists.
> >
> >
> > --
> >
> > Shiva Prasad Nath
> > 92981134
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> >
>
> Did you even attempt to do a little research on your own? Where is the
> output of the commands that you have tried. What version of CentOS are you
> running?
>
> --
> Kind Regards
> Earl Ramirez
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Kickstarting CentOS 7 VM on CentOS 6 not possible?

2015-11-24 Thread Jos Vos
On Mon, Nov 23, 2015 at 10:40:54PM +0100, Fabian Arrotin wrote:

> I can say that it works for sure, so can you share your virt-install
> command / kickstart / extra-args ?

It seems that after updating the host to 6.7 some things have changed
that I didn't test.  Now the install continues, but just after switching
to graphical mode, it eats CPU time and doesn't proceed.  It once
reacted to CTRL-ALT keys (via the VNC menu) and I saw something like
"EQ overflow", but the next time it doesnt.

Anyway, I'll do some more testing, also with text mode, as I'm not
having a clear overview myself anymore on what's happening ;-).

> I'm injecting the kickstart directly into the initrd.img
> (transparently through --initrd-inject= )

Me too.

-- 
--Jos Vos 
--X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--Amsterdam, The Netherlands| Fax: +31 20 6948204
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Unit network.service has failed

2015-11-24 Thread Leon Fauster
Am 24.11.2015 um 12:13 schrieb John R Pierce :
> On 11/24/2015 3:08 AM, Siva Prasad Nath wrote:
>> I am using CENTOS 7.
>> systemctl list-units | grep "network" not showing network.service file.
>> How to get back the file?
> 
> please read this, 
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/
> 
> centos 7 is a rebuild of RHEL 7.



in your own interest please also read this  

http://www.catb.org/~esr/faqs/smart-questions.html

--
LF


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


Re: [CentOS] Unit network.service has failed

2015-11-24 Thread John R Pierce

On 11/24/2015 3:08 AM, Siva Prasad Nath wrote:

I am using CENTOS 7.
systemctl list-units | grep "network" not showing network.service file.
How to get back the file?


please read this, 
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/


centos 7 is a rebuild of RHEL 7.


--
john r pierce, recycling bits in santa cruz

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


Re: [CentOS] How & where to add

2015-11-24 Thread mark

On 11/24/15 03:40, John R Pierce wrote:

On 11/24/2015 12:33 AM, Siva Prasad Nath wrote:

auto eth0
iface eth0 inet static
address 192.168.50.2
netmask 255.255.255.0


read this book,
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Networking_Guide/

if you can't figure it out, hire a systems adminsitrator, or take a class in
it.  you're asking way too many elementary questions without any evidence
you're trying to figure this out.


Seconded. We are NOT HERE TO DO YOUR JOB FOR YOU. We are NOT PAID SUPPORT. I'm 
sure someone here will be glad to do your job... for, say, $100 USD/hour (to 
be an independent consultant).


mark

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


Re: [CentOS] Unit networkmanager.service not loaded

2015-11-24 Thread Richard
> 
>> On Tue, Nov 24, 2015 at 11:01 PM, Richard wrote: 
 
> Date: Tuesday, November 24, 2015 22:48:30 +0800
> From: Siva Prasad Nath 
> To: CentOS mailing list ,
centos-de...@centos.org
> Subject: [CentOS] Unit networkmanager.service not loaded
> 
> systemctl stop networkmanager returns Unit
> networkmanager.service not loaded
>

>> 
>> Hint -- try the:
>> 
>>   systemctl list-units | grep ...
>> 
>> concept that you used previously and see what output you get.
>> [sub-hint -- the *nix world is case sensitive.]
>> 
>> This is a user (understanding) issue -- why are you including the
>> "-devel" list? Don't.
>> 
>> 

>>> Date: Tuesday, November 24, 2015 23:19:53 +0800
>>> From: Siva Prasad Nath 
>>>
>>> I can see below in development server
>>> network.service
>>>   loaded active exitedLSB: Bring up/down
>>> networking NetworkManager.service
>>>   loaded active running   Network Manager
>>> 
>>> But not able to see in production.
>>> 
>>> 
>>> Shiva Prasad Nath

Well then, you need to figure out what you did differently in
setting up these two environments. This is something specific to
your process and procedures (or hardware/environment). There's not
much that we can help you with as you haven't provided any details.

Please do not top post on this list.


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


[CentOS] LVM - stripped logical volumes by default?

2015-11-24 Thread Rafał Radecki
Hi All.

I am currently using OpenStack Juno on CentOS 7. The problem is that by
default OpenStack's Cinder service creates logical volumes of "linear"
type. I would like to have them stripped over all physical disks to get
better write performance.

Is there a way to tell LVM to create by default stripped volumes instead of
linear ones?

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