Re: [CentOS] /etc/gai.conf fails to prefer IPv4 over IPv6 for NFS

2018-06-08 Thread Gordon Messmer
On 06/08/2018 03:23 PM, Steve Rikli wrote: This seems the most likely explanation, I'd just like to know for certain before I give up on gai.conf and restort to disabling IPv6 or other workarounds (e.g. /etc/nfsmount.conf). Have you tried specifying "proto=tcp" as a mount option?  That

Re: [CentOS] /etc/gai.conf fails to prefer IPv4 over IPv6 for NFS

2018-06-08 Thread Steve Rikli
In article <669037eb-029c-eb3b-0c60-6a5121142...@gmail.com>, Gordon Messmer wrote: >On 06/08/2018 10:42 AM, Steve Rikli wrote: > >> I found posts from others in a similar situation, and proposed solutions >> included modifying /etc/gai.conf to use: >> >> precedence :::0:0/96 100 > >

Re: [CentOS] Convert from LVM

2018-06-08 Thread Nataraj
On 06/08/2018 02:36 PM, Nataraj wrote: > On 06/08/2018 12:34 PM, Ulf Volmer wrote: >> On 08.06.2018 19:11, Matt wrote: >>> I have a Centos 7 install using EXT4 on LVM. Its running as a VM >>> inside KVM. Issue I have run into is that fstrim does not work due to >>> the LVM. Without fstrim

Re: [CentOS] rpmbuild --define | some rpm sorcerer around?

2018-06-08 Thread lejeczek
On 08/06/18 19:38, Phil Perry wrote: On 08/06/18 15:54, lejeczek wrote: hi how do you pass vars to rpmbuild for definition? eg rpmbuild --define \'"${_definition2}"\' I've been fiddling with ways to escape, but none is fricking working.. I mean, rpmbuild rushes to work(no errors nor

Re: [CentOS] Convert from LVM

2018-06-08 Thread Ulf Volmer
On 08.06.2018 23:36, Nataraj wrote: > On 06/08/2018 12:34 PM, Ulf Volmer wrote: >> issue_discards = 1 >> >> in /etc/lvm/lvm.conf. > I  believe that it is possible to use trim on an LVM, but I don't think > that is what that option is.  In my /etc/lvm/lvm.conf file, it describes > that option as

Re: [CentOS] Convert from LVM

2018-06-08 Thread Nataraj
On 06/08/2018 12:34 PM, Ulf Volmer wrote: > On 08.06.2018 19:11, Matt wrote: >> I have a Centos 7 install using EXT4 on LVM. Its running as a VM >> inside KVM. Issue I have run into is that fstrim does not work due to >> the LVM. Without fstrim snapshots have gotten huge. Is there a way >>

Re: [CentOS] C7, encryption, and clevis

2018-06-08 Thread m . roth
Valeri Galtsev wrote: > > > On 06/08/18 15:45, m.r...@5-cent.us wrote: >> Valeri Galtsev wrote: >>> On 06/08/18 15:26, m.r...@5-cent.us wrote: >> > On a similar note: one of the companies whose software scientists > here > were using a lot (IDL is a product) changed hand several

Re: [CentOS] C7, encryption, and clevis

2018-06-08 Thread Valeri Galtsev
On 06/08/18 15:45, m.r...@5-cent.us wrote: Valeri Galtsev wrote: On 06/08/18 15:26, m.r...@5-cent.us wrote: On a similar note: one of the companies whose software scientists here were using a lot (IDL is a product) changed hand several times, and last owner changed licensing terms and

Re: [CentOS] C7, encryption, and clevis

2018-06-08 Thread m . roth
Valeri Galtsev wrote: > On 06/08/18 15:26, m.r...@5-cent.us wrote: >>> On a similar note: one of the companies whose software scientists here >>> were using a lot (IDL is a product) changed hand several times, and >>> last owner changed licensing terms and stopped signing perpetual licenses. >>>

Re: [CentOS] C7, encryption, and clevis

2018-06-08 Thread Valeri Galtsev
On 06/08/18 15:26, m.r...@5-cent.us wrote: Valeri Galtsev wrote: On 06/08/18 13:48, m.r...@5-cent.us wrote: Frank Cox wrote: so if it would work, replace shortname with short and short1? With all of this hokey-pokey surrounding licensing and mac addresses, I wonder if this outfit is

Re: [CentOS] C7, encryption, and clevis

2018-06-08 Thread m . roth
Valeri Galtsev wrote: > On 06/08/18 13:48, m.r...@5-cent.us wrote: >> Frank Cox wrote: > so if it would work, replace shortname with short and short1? >>> >>> With all of this hokey-pokey surrounding licensing and mac addresses, I >>> wonder if this outfit is actually still in compliance with

Re: [CentOS] Convert from LVM

2018-06-08 Thread Ulf Volmer
On 08.06.2018 22:15, Matt wrote: >> issue_discards = 1 >> >> in /etc/lvm/lvm.conf. > > Does that still work if it is not a THIN LVM? Yes. best regards Ulf ___ CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos

Re: [CentOS] Convert from LVM

2018-06-08 Thread Matt
> On 08.06.2018 19:11, Matt wrote: >> I have a Centos 7 install using EXT4 on LVM. Its running as a VM >> inside KVM. Issue I have run into is that fstrim does not work due to >> the LVM. Without fstrim snapshots have gotten huge. Is there a way >> convert it from LVM to non-LVM without a

Re: [CentOS] C7, encryption, and clevis

2018-06-08 Thread Valeri Galtsev
On 06/08/18 13:48, m.r...@5-cent.us wrote: Frank Cox wrote: so if it would work, replace shortname with short and short1? With all of this hokey-pokey surrounding licensing and mac addresses, I wonder if this outfit is actually still in compliance with the terms of their license for this

Re: [CentOS] Convert from LVM

2018-06-08 Thread Ulf Volmer
On 08.06.2018 19:11, Matt wrote: > I have a Centos 7 install using EXT4 on LVM. Its running as a VM > inside KVM. Issue I have run into is that fstrim does not work due to > the LVM. Without fstrim snapshots have gotten huge. Is there a way > convert it from LVM to non-LVM without a complete

Re: [CentOS] /etc/gai.conf fails to prefer IPv4 over IPv6 for NFS

2018-06-08 Thread Gordon Messmer
On 06/08/2018 10:42 AM, Steve Rikli wrote: I found posts from others in a similar situation, and proposed solutions included modifying /etc/gai.conf to use: precedence :::0:0/96 100 From my reading of that file, you'd need to uncomment all of the default precedence lines, and

Re: [CentOS] C7, encryption, and clevis

2018-06-08 Thread m . roth
Frank Cox wrote: >> > so if it would work, replace shortname with short and short1? > > With all of this hokey-pokey surrounding licensing and mac addresses, I > wonder if this outfit is actually still in compliance with the terms of > their license for this software, whatever it may be? > > If

Re: [CentOS] rpmbuild --define | some rpm sorcerer around?

2018-06-08 Thread Phil Perry
On 08/06/18 15:54, lejeczek wrote: hi how do you pass vars to rpmbuild for definition? eg rpmbuild --define \'"${_definition2}"\' I've been fiddling with ways to escape, but none is fricking working.. I mean, rpmbuild rushes to work(no errors nor failure) so if you try just the command line

Re: [CentOS] Convert from LVM

2018-06-08 Thread Jon Pruente
On Fri, Jun 8, 2018 at 1:00 PM, Robert Heller wrote: > > Unlike MS-Windows, Linux is (generally) perfectly happy to disk > "transplants", > so long as you are careful about re-installing grub and making sure the > grub > config has the right "magic". Also update /etc/fstab and anything else

Re: [CentOS] C7, encryption, and clevis

2018-06-08 Thread Frank Cox
> > so if it would work, replace shortname with short and short1? With all of this hokey-pokey surrounding licensing and mac addresses, I wonder if this outfit is actually still in compliance with the terms of their license for this software, whatever it may be? If the software licensed to run

Re: [CentOS] Convert from LVM

2018-06-08 Thread Robert Heller
Do you mean you have a CentOS 7 VM which has partitioned is virtual disk (eg /dev/vda) to have a LVM partition, which in turn has a logical volume for root? It should be possible create a fresh virtual disk, add it to the VM as /dev/vdb (say), and then inside the CentOS 7 VM, partition the new

[CentOS] /etc/gai.conf fails to prefer IPv4 over IPv6 for NFS

2018-06-08 Thread Steve Rikli
Using CentOS 6.9 with IPv4 configured, and _not_ disabling IPv6 yet, we want this NFS client system to prefer the IPv4 address of a dual-stack remote NFS server, which has both A and records in DNS. Otherwise we get a minutes long pause while automounter tries to mount the IPv6 address -- I

Re: [CentOS] C7, encryption, and clevis

2018-06-08 Thread Valeri Galtsev
On 06/08/18 12:01, m.r...@5-cent.us wrote: Valeri Galtsev wrote: On 06/08/18 10:27, m.r...@5-cent.us wrote: John Hodrien wrote: On Fri, 8 Jun 2018, m.r...@5-cent.us wrote: We've been required to encrypt h/ds, and so have been rolling that out over the last year or so. Thing is, you

Re: [CentOS] C7, encryption, and clevis

2018-06-08 Thread m . roth
Valeri Galtsev wrote: > > > On 06/08/18 10:27, m.r...@5-cent.us wrote: >> John Hodrien wrote: >>> On Fri, 8 Jun 2018, m.r...@5-cent.us wrote: >>> We've been required to encrypt h/ds, and so have been rolling that out over the last year or so. Thing is, you need to put in a password, of

[CentOS] Convert from LVM

2018-06-08 Thread Matt
I have a Centos 7 install using EXT4 on LVM. Its running as a VM inside KVM. Issue I have run into is that fstrim does not work due to the LVM. Without fstrim snapshots have gotten huge. Is there a way convert it from LVM to non-LVM without a complete reinstall?

Re: [CentOS] C7, encryption, and clevis

2018-06-08 Thread Valeri Galtsev
On 06/08/18 10:27, m.r...@5-cent.us wrote: John Hodrien wrote: On Fri, 8 Jun 2018, m.r...@5-cent.us wrote: We've been required to encrypt h/ds, and so have been rolling that out over the last year or so. Thing is, you need to put in a password, of course, to boot the system. My manager

Re: [CentOS] C7, encryption, and clevis

2018-06-08 Thread Noam Bernstein
> On Jun 8, 2018, at 11:27 AM, m.r...@5-cent.us wrote: > > John Hodrien wrote: >> On Fri, 8 Jun 2018, m.r...@5-cent.us wrote: >> >>> We've been required to encrypt h/ds, and so have been rolling that out >>> over the last year or so. Thing is, you need to put in a password, of >>> course, to

Re: [CentOS] C7, encryption, and clevis

2018-06-08 Thread m . roth
John Hodrien wrote: > On Fri, 8 Jun 2018, m.r...@5-cent.us wrote: > >> We've been required to encrypt h/ds, and so have been rolling that out >> over the last year or so. Thing is, you need to put in a password, of >> course, to boot the system. My manager found a way to allow us to reboot >>

Re: [CentOS] C7, encryption, and clevis

2018-06-08 Thread John Hodrien
On Fri, 8 Jun 2018, m.r...@5-cent.us wrote: We've been required to encrypt h/ds, and so have been rolling that out over the last year or so. Thing is, you need to put in a password, of course, to boot the system. My manager found a way to allow us to reboot without being at the system's

[CentOS] C7, encryption, and clevis

2018-06-08 Thread m . roth
We've been required to encrypt h/ds, and so have been rolling that out over the last year or so. Thing is, you need to put in a password, of course, to boot the system. My manager found a way to allow us to reboot without being at the system's keyboard, a package called clevis. Works fine...

[CentOS] rpmbuild --define | some rpm sorcerer around?

2018-06-08 Thread lejeczek
hi how do you pass vars to rpmbuild for definition? eg rpmbuild --define \'"${_definition2}"\' I've been fiddling with ways to escape, but none is fricking working.. I mean, rpmbuild rushes to work(no errors nor failure) so if you try just the command line do not believe it, because later as