Re: [CentOS] Windows 10 as guest on Centos 8

2020-04-03 Thread Liam O'Toole
On Fri, 03 Apr, 2020 at 00:49:30 +0300, Georgios wrote:
> Hi there!
> Im trying to install windows 10 as a guest on Centos 8.1
> I tried with cockpit and with boxes and both times my computer freezes
> during installation.
> 
> Any ideas?
> 
> Thanks in advance!
> 

cockpit is intended as a replacement for virt-manager. When it fails, I
suggest you fall back on the tried-and-tested approach.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Upgraded to 7.10 from 6...

2020-04-03 Thread Liam O'Toole
On Thu, 02 Apr, 2020 at 18:19:53 -0400, mark wrote:

[...]

> What have I missed?

The fact that upgrades between major versions are not supported.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mounting CIFS shares on C8

2020-04-03 Thread Phelps, Matthew
On Fri, Apr 3, 2020 at 4:09 PM Patrick DERWAEL  wrote:

> Exactly the same... 
>
>
> [root@plexvm ~]# mount -t cifs //192.168.1.200/mp3 /home/plex/Musique
> --verbose -o username=plex,password=plex,domain=DERWAEL,ro,auto,vers=3.0
> mount.cifs kernel mount options:
>
> ip=192.168.1.200,unc=\\192.168.1.200\mp3,vers=3.0,user=plex,domain=DERWAEL,pass=
> mount error(2): No such file or directory
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> [root@plexvm ~]#
>

Just checking... do the target directories exist? I.e. "/home/plex/Musique"
?



> Le ven. 3 avr. 2020 à 19:15, Simon Matter via CentOS  a
> écrit :
>
> > > That was my initial setup before trying the abbreviations, but anyway:
> > >
> > > [root@plexvm ~]# nano /etc/fstab
> > > [root@plexvm ~]# cat /etc/fstab
> > >
> > > #
> > > # /etc/fstab
> > > # Created by anaconda on Fri Apr  3 14:02:23 2020
> > > #
> > > # Accessible filesystems, by reference, are maintained under
> > '/dev/disk/'.
> > > # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more
> > > info.
> > > #
> > > # After editing this file, run 'systemctl daemon-reload' to update
> > systemd
> > > # units generated from this file.
> > > #
> > > /dev/mapper/cl_plexvm-root /   xfs defaults
> > >  0 0
> > > UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot   ext4
> > >  defaults1 2
> > > /dev/mapper/cl_plexvm-swap swapswapdefaults
> > >  0 0
> > > //192.168.1.200/mp3 /home/plex/Musique  cifs
> > >  username=plex,password=plex,domain=DERWAEL,ro,auto,vers=3.0
> > > #//192.168.1.200/videos /home/plex/Vidéos   cifs
> > >  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > > #//192.168.1.200/series /home/plex/Séries   cifs
> > >  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > > [root@plexvm ~]# systemctl daemon-reload
> > > [root@plexvm ~]# mount -a
> > > mount error(2): No such file or directory
> > > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> > > [root@plexvm ~]#
> > >
> >
> > What happens when you run
> >
> > mount -t cifs //192.168.1.200/mp3 /home/plex/Musique --verbose \
> >   -o username=plex,password=plex,domain=DERWAEL,ro,auto,vers=3.0
> >
> > Regards,
> > Simon
> >
> > ___
> > CentOS mailing list
> > CentOS@centos.org
> > https://lists.centos.org/mailman/listinfo/centos
> >
>
>
> --
>
> Patrick Derwael
> Rue de la fontaine, 3
> 4210 Burdinne
> Tél:+32.(0)479.80.50.79
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 

*Matt Phelps*

*Information Technology Specialist, Systems Administrator*

(Computation Facility, Smithsonian Astrophysical Observatory)

Center for Astrophysics | Harvard & Smithsonian


60 Garden Street | MS 39 | Cambridge, MA 02138
email: mphe...@cfa.harvard.edu


cfa.harvard.edu | Facebook  | Twitter
 | YouTube 
| Newsletter 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS-es] Open vpn

2020-04-03 Thread Benjamin Sanchez
https://www.itsfullofstars.de/2018/09/openvpn-assign-static-ip-to-client/

https://forums.openvpn.net/viewtopic.php?t=13125

El vie., 3 de abr. de 2020 a la(s) 16:42, Hector Martínez Romo (
pela...@gmail.com) escribió:

> Estimados
>
> Una consulta adicional , tengo dos opciones para dar IP , a traves de dhcp
> y ip statica, en esta ultima no se como setear los dns por lo tanto los
> usuarios quedan usando la IP del isp y no los dns internos de mi red.
>
> alguna sugerencia?
>
> El lun., 23 mar. 2020 a las 11:37, Cesar Martinez M. (<
> cmarti...@servicomecuador.com>) escribió:
>
> > Hola, cuando realizas la configuración generas los certificados para
> > cada cliente, cuando los instalas en los equipos no necesitas reiniciar
> > el servidor para que puedan conectarse a la vpn, solo copias el
> > cliente.ovpn el ca cliente.key y cliente.crt al equipo en la ruta de la
> > instalación de openvpn en los clientes windows
> >
> > --
> > |Saludos Cordiales
> > |César Martínez M. | Ingeniero de Sistemas
> > |Consultor & Proyectos Software Libre| SERVICOM
> > |Teléfono: (593-2)554-271 2221-386 | Ext 4501
> > |Celular:593 999374317 |Skype servicomecuador
> > |Web www.servicomecuador.com Síguenos en:
> > |Twitter: @servicomecuador |Facebook: servicomec
> > |Zona Clientes: www.servicomecuador.com/billing
> > |Blog: http://servicomecuador.com/blog
> > |Como Llegar: https://goo.gl/maps/GVx7FWtjakyvVHZF8
> > |Dir. Av. 10 de Agosto N29-140 Entre
> > |Acuña y  Cuero y Caicedo
> > |Quito - Ecuador - Sudamérica
> >
> > El 23/03/20 a las 9:21, Hector Martínez Romo escribió:
> > > Hola Lista
> > >
> > > Consulta , hay alguna forma de agregar usuarios e IP sin necesidad de
> > > reinciar el servicio
> > > Atte.
> > > ___
> > > CentOS-es mailing list
> > > CentOS-es@centos.org
> > > https://lists.centos.org/mailman/listinfo/centos-es
> > ___
> > CentOS-es mailing list
> > CentOS-es@centos.org
> > https://lists.centos.org/mailman/listinfo/centos-es
> >
> ___
> CentOS-es mailing list
> CentOS-es@centos.org
> https://lists.centos.org/mailman/listinfo/centos-es
>
___
CentOS-es mailing list
CentOS-es@centos.org
https://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS] Mostly better: new C7

2020-04-03 Thread mark

On 2020-04-03 16:02, Frank Cox wrote:

On Fri, 3 Apr 2020 15:47:13 -0400
mark wrote:


Now what am I missing?

I don't think there are any.

I have Gnome Chess (and gnuchess), rogue, e-uae, stella and vice installed on 
my computer but I compiled the rpms myself.

More googling, and I finally found kpat, at least. Now my c-7 is almost 
complete, once I find hpijs for my cute (but old) HP laserjet 1018, and 
working on that.



    mark

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


Re: [CentOS] Mostly better: new C7

2020-04-03 Thread Stephen John Smoogen
On Fri, 3 Apr 2020 at 15:47, mark  wrote:

> Well, I gave up, and reinstalled C7. This time, I realized I needed to
> make a software choice before the install, and did so.
>
> My install, yesterday, was a minimal. Silly me, yesterday, after that, I
> did a groupinstall of KDE Plasma Workspaces... and it did *NOT* include
> all the dependencies to run KDE.
>
> Having installed a KDE desktop, much is better... with one exception: I
> can't seem to find any games. I tried yum groupinstall "Games and
> Entertainment", which showed when I did group list... and was told it
> was empty.
>
> Now what am I missing? I do have epel and rpmfusion, both free and
> non-free.
>
>
KDE in EL7 is a bare minimum. I was replacing it with:
https://copr-be.cloud.fedoraproject.org/results/rdieter/kde4/epel-7-x86_64/ but
it hasn't had any updates since 2018 I think.



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


-- 
Stephen J Smoogen.
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mounting CIFS shares on C8

2020-04-03 Thread Patrick DERWAEL
Exactly the same... 


[root@plexvm ~]# mount -t cifs //192.168.1.200/mp3 /home/plex/Musique
--verbose -o username=plex,password=plex,domain=DERWAEL,ro,auto,vers=3.0
mount.cifs kernel mount options:
ip=192.168.1.200,unc=\\192.168.1.200\mp3,vers=3.0,user=plex,domain=DERWAEL,pass=
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[root@plexvm ~]#

Le ven. 3 avr. 2020 à 19:15, Simon Matter via CentOS  a
écrit :

> > That was my initial setup before trying the abbreviations, but anyway:
> >
> > [root@plexvm ~]# nano /etc/fstab
> > [root@plexvm ~]# cat /etc/fstab
> >
> > #
> > # /etc/fstab
> > # Created by anaconda on Fri Apr  3 14:02:23 2020
> > #
> > # Accessible filesystems, by reference, are maintained under
> '/dev/disk/'.
> > # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more
> > info.
> > #
> > # After editing this file, run 'systemctl daemon-reload' to update
> systemd
> > # units generated from this file.
> > #
> > /dev/mapper/cl_plexvm-root /   xfs defaults
> >  0 0
> > UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot   ext4
> >  defaults1 2
> > /dev/mapper/cl_plexvm-swap swapswapdefaults
> >  0 0
> > //192.168.1.200/mp3 /home/plex/Musique  cifs
> >  username=plex,password=plex,domain=DERWAEL,ro,auto,vers=3.0
> > #//192.168.1.200/videos /home/plex/Vidéos   cifs
> >  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > #//192.168.1.200/series /home/plex/Séries   cifs
> >  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > [root@plexvm ~]# systemctl daemon-reload
> > [root@plexvm ~]# mount -a
> > mount error(2): No such file or directory
> > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> > [root@plexvm ~]#
> >
>
> What happens when you run
>
> mount -t cifs //192.168.1.200/mp3 /home/plex/Musique --verbose \
>   -o username=plex,password=plex,domain=DERWAEL,ro,auto,vers=3.0
>
> Regards,
> Simon
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 

Patrick Derwael
Rue de la fontaine, 3
4210 Burdinne
Tél:+32.(0)479.80.50.79
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mostly better: new C7

2020-04-03 Thread Frank Cox
On Fri, 3 Apr 2020 15:47:13 -0400
mark wrote:

> Now what am I missing?

I don't think there are any.

I have Gnome Chess (and gnuchess), rogue, e-uae, stella and vice installed on 
my computer but I compiled the rpms myself.

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


[CentOS] Mostly better: new C7

2020-04-03 Thread mark
Well, I gave up, and reinstalled C7. This time, I realized I needed to 
make a software choice before the install, and did so.


My install, yesterday, was a minimal. Silly me, yesterday, after that, I 
did a groupinstall of KDE Plasma Workspaces... and it did *NOT* include 
all the dependencies to run KDE.


Having installed a KDE desktop, much is better... with one exception: I 
can't seem to find any games. I tried yum groupinstall "Games and 
Entertainment", which showed when I did group list... and was told it 
was empty.


Now what am I missing? I do have epel and rpmfusion, both free and non-free.

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


Re: [CentOS-es] Open vpn

2020-04-03 Thread Hector Martínez Romo
Estimados

Una consulta adicional , tengo dos opciones para dar IP , a traves de dhcp
y ip statica, en esta ultima no se como setear los dns por lo tanto los
usuarios quedan usando la IP del isp y no los dns internos de mi red.

alguna sugerencia?

El lun., 23 mar. 2020 a las 11:37, Cesar Martinez M. (<
cmarti...@servicomecuador.com>) escribió:

> Hola, cuando realizas la configuración generas los certificados para
> cada cliente, cuando los instalas en los equipos no necesitas reiniciar
> el servidor para que puedan conectarse a la vpn, solo copias el
> cliente.ovpn el ca cliente.key y cliente.crt al equipo en la ruta de la
> instalación de openvpn en los clientes windows
>
> --
> |Saludos Cordiales
> |César Martínez M. | Ingeniero de Sistemas
> |Consultor & Proyectos Software Libre| SERVICOM
> |Teléfono: (593-2)554-271 2221-386 | Ext 4501
> |Celular:593 999374317 |Skype servicomecuador
> |Web www.servicomecuador.com Síguenos en:
> |Twitter: @servicomecuador |Facebook: servicomec
> |Zona Clientes: www.servicomecuador.com/billing
> |Blog: http://servicomecuador.com/blog
> |Como Llegar: https://goo.gl/maps/GVx7FWtjakyvVHZF8
> |Dir. Av. 10 de Agosto N29-140 Entre
> |Acuña y  Cuero y Caicedo
> |Quito - Ecuador - Sudamérica
>
> El 23/03/20 a las 9:21, Hector Martínez Romo escribió:
> > Hola Lista
> >
> > Consulta , hay alguna forma de agregar usuarios e IP sin necesidad de
> > reinciar el servicio
> > Atte.
> > ___
> > CentOS-es mailing list
> > CentOS-es@centos.org
> > https://lists.centos.org/mailman/listinfo/centos-es
> ___
> CentOS-es mailing list
> CentOS-es@centos.org
> https://lists.centos.org/mailman/listinfo/centos-es
>
___
CentOS-es mailing list
CentOS-es@centos.org
https://lists.centos.org/mailman/listinfo/centos-es


Re: [CentOS] IOMMU and kernel

2020-04-03 Thread Georgios
yes it exist.
 
thanks

On Fri, 2020-04-03 at 15:00 -0400, Jonathan Billings wrote:
> On Fri, Apr 03, 2020 at 09:40:09PM +0300, Georgios wrote:
> > Yes 
> > 
> > dmesg | grep "EFI v"
> > [0.00] efi: EFI v2.70 by American Megatrends
> 
> That's not always the best test, you should look for the existence of
> /sys/firmware/efi to determine if you're using an EFI system.
> 
> 'grubby' knows to update the configuration file for Legacy vs. UEFI. 
> 

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


Re: [CentOS] IOMMU and kernel (solved?)

2020-04-03 Thread Georgios
No Centos 8.

Funny thing... i didnt find alot of info online about that problem. 

I was guessing other people could run to the same problem with me.

Anyway. I dont know what happened either :-s

Thanks


On Fri, 2020-04-03 at 20:55 +0200, Simon Matter via CentOS wrote:
> Hi,
> 
> > I think i might have solve it.
> > 
> > For some reason grub2-mkconfig doesnt work.  (Have no idea why)
> 
> Is this on CentOS 7?
> 
> Well, yes, I remember that it didn't work for me when I installed new
> servers one or two years ago, that was with CentOS 7 and they were my
> first EFI installs.
> 
> > I manage to solve it with grubby.
> > 
> > sudo grubby --args="intel_iommu=on" --update-kernel=ALL
> > 
> > For some reason it works. I dont know if it works if my kernel gets
> > upgraded.
> 
> I have restored the original configs after messing with grub2-
> mkconfig and
> only used kernel installs to further modify grub config. That way it
> has
> always worked for me. And I was a bis scared by the whole EFI, grub2
> and
> everything around it because I felt I don't really understand how it
> all
> interacts in detail.
> 
> Regards,
> Simon
> 
> ___
> 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] IOMMU and kernel

2020-04-03 Thread Jonathan Billings
On Fri, Apr 03, 2020 at 09:40:09PM +0300, Georgios wrote:
>
> Yes 
> 
> dmesg | grep "EFI v"
> [0.00] efi: EFI v2.70 by American Megatrends

That's not always the best test, you should look for the existence of
/sys/firmware/efi to determine if you're using an EFI system.

'grubby' knows to update the configuration file for Legacy vs. UEFI. 

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


Re: [CentOS] IOMMU and kernel (solved?)

2020-04-03 Thread Simon Matter via CentOS
Hi,

> I think i might have solve it.
>
> For some reason grub2-mkconfig doesnt work.  (Have no idea why)

Is this on CentOS 7?

Well, yes, I remember that it didn't work for me when I installed new
servers one or two years ago, that was with CentOS 7 and they were my
first EFI installs.

>
> I manage to solve it with grubby.
>
> sudo grubby --args="intel_iommu=on" --update-kernel=ALL
>
> For some reason it works. I dont know if it works if my kernel gets
> upgraded.

I have restored the original configs after messing with grub2-mkconfig and
only used kernel installs to further modify grub config. That way it has
always worked for me. And I was a bis scared by the whole EFI, grub2 and
everything around it because I felt I don't really understand how it all
interacts in detail.

Regards,
Simon

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


Re: [CentOS] IOMMU and kernel (solved?)

2020-04-03 Thread Georgios
I think i might have solve it.

For some reason grub2-mkconfig doesnt work.  (Have no idea why)

I manage to solve it with grubby.

sudo grubby --args="intel_iommu=on" --update-kernel=ALL

For some reason it works. I dont know if it works if my kernel gets
upgraded.



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


Re: [CentOS] IOMMU and kernel

2020-04-03 Thread Georgios
Yes 

dmesg | grep "EFI v"
[0.00] efi: EFI v2.70 by American Megatrends


On Fri, 2020-04-03 at 14:29 -0400, Jonathan Billings wrote:
> On Fri, Apr 03, 2020 at 07:37:10PM +0300, Georgios wrote:
> > Hi.
> > Im trying to set intel_iommu=on on kernel parameters at grub but
> > for
> > some reason it doesnt work.
> > 
> > I edit /etc/default/grub file and i add the parameter.
> > 
> > then i run grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg and then
> > i
> > reboot.
> > 
> > when i run virt-host-validate i get 
> > 
> > QEMU: Checking if IOMMU is enabled by kernel: WARN (IOMMU appears
> > to be
> > disabled in kernel. Add intel_iommu=on to kernel cmdline arguments)
> > 
> > when i edit the grub menu durring boot and i put intel_iommu=on and
> > the
> > i run again virt-host-validate i get
> > 
> > QEMU: Checking if IOMMU is enabled by kernel: PASS
> > 
> > 
> > any ideas?
> 
> This is a libvirtd KVM machine?  Are you sure you're using UEFI?
> 

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


Re: [CentOS] IOMMU and kernel

2020-04-03 Thread Jonathan Billings
On Fri, Apr 03, 2020 at 07:37:10PM +0300, Georgios wrote:
>
> Hi.
> Im trying to set intel_iommu=on on kernel parameters at grub but for
> some reason it doesnt work.
> 
> I edit /etc/default/grub file and i add the parameter.
> 
> then i run grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg and then i
> reboot.
> 
> when i run virt-host-validate i get 
> 
> QEMU: Checking if IOMMU is enabled by kernel: WARN (IOMMU appears to be
> disabled in kernel. Add intel_iommu=on to kernel cmdline arguments)
> 
> when i edit the grub menu durring boot and i put intel_iommu=on and the
> i run again virt-host-validate i get
> 
> QEMU: Checking if IOMMU is enabled by kernel: PASS
> 
> 
> any ideas?

This is a libvirtd KVM machine?  Are you sure you're using UEFI?

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


Re: [CentOS] C8 and backup solution

2020-04-03 Thread John Pierce
On Fri, Apr 3, 2020 at 6:58 AM Chris Adams  wrote:

> It isn't just databases - there are other things that backing up
> individual files one at a time is not so good.  The best way to handle
> that is to freeze/snapshot the whole filesystem, and then back up the
> snapshot.  This can be scripted pretty easily if the filesystem is on
> LVM.
>

I tried this with a fairly busy and rather large database server (ok, it
was a database server running a simulation of a production workload) and
LVM (with either ext4 or xfs)  and found LVM snapshots to be completely
unworkable under busy 8K block random write workloads

now, ZFS does snapshots very nicely



-- 
-john r pierce
  recycling used bits in santa cruz
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mounting CIFS shares on C8

2020-04-03 Thread Simon Matter via CentOS
> That was my initial setup before trying the abbreviations, but anyway:
>
> [root@plexvm ~]# nano /etc/fstab
> [root@plexvm ~]# cat /etc/fstab
>
> #
> # /etc/fstab
> # Created by anaconda on Fri Apr  3 14:02:23 2020
> #
> # Accessible filesystems, by reference, are maintained under '/dev/disk/'.
> # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more
> info.
> #
> # After editing this file, run 'systemctl daemon-reload' to update systemd
> # units generated from this file.
> #
> /dev/mapper/cl_plexvm-root /   xfs defaults
>  0 0
> UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot   ext4
>  defaults1 2
> /dev/mapper/cl_plexvm-swap swapswapdefaults
>  0 0
> //192.168.1.200/mp3 /home/plex/Musique  cifs
>  username=plex,password=plex,domain=DERWAEL,ro,auto,vers=3.0
> #//192.168.1.200/videos /home/plex/Vidéos   cifs
>  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> #//192.168.1.200/series /home/plex/Séries   cifs
>  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> [root@plexvm ~]# systemctl daemon-reload
> [root@plexvm ~]# mount -a
> mount error(2): No such file or directory
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> [root@plexvm ~]#
>

What happens when you run

mount -t cifs //192.168.1.200/mp3 /home/plex/Musique --verbose \
  -o username=plex,password=plex,domain=DERWAEL,ro,auto,vers=3.0

Regards,
Simon

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


Re: [CentOS] Mounting CIFS shares on C8

2020-04-03 Thread Patrick DERWAEL
That was my initial setup before trying the abbreviations, but anyway:

[root@plexvm ~]# nano /etc/fstab
[root@plexvm ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Fri Apr  3 14:02:23 2020
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
/dev/mapper/cl_plexvm-root /   xfs defaults
 0 0
UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot   ext4
 defaults1 2
/dev/mapper/cl_plexvm-swap swapswapdefaults
 0 0
//192.168.1.200/mp3 /home/plex/Musique  cifs
 username=plex,password=plex,domain=DERWAEL,ro,auto,vers=3.0
#//192.168.1.200/videos /home/plex/Vidéos   cifs
 user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
#//192.168.1.200/series /home/plex/Séries   cifs
 user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
[root@plexvm ~]# systemctl daemon-reload
[root@plexvm ~]# mount -a
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[root@plexvm ~]#

Le ven. 3 avr. 2020 à 18:55, Chris Schanzle  a
écrit :

> On 4/3/20 12:48 PM, Patrick DERWAEL wrote:
> > User & pass are present
> > According to the man pages, workgroup is supported
> > I have changed it to domain, but that didn't change a thing
> >
> > [root@plexvm ~]# cat /etc/fstab
> >
> > #
> > # /etc/fstab
> > # Created by anaconda on Fri Apr  3 14:02:23 2020
> > #
> > # Accessible filesystems, by reference, are maintained under
> '/dev/disk/'.
> > # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more
> info.
> > #
> > # After editing this file, run 'systemctl daemon-reload' to update
> systemd
> > # units generated from this file.
> > #
> > /dev/mapper/cl_plexvm-root /   xfs defaults
> >   0 0
> > UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot   ext4
> >   defaults1 2
> > /dev/mapper/cl_plexvm-swap swapswapdefaults
> >   0 0
> > //192.168.1.200/mp3 /home/plex/Musique  cifs
> >   user=plex,pass=plex,domain=DERWAEL,ro,auto,vers=3.0
> > #//192.168.1.200/videos /home/plex/Vidéos   cifs
> >   user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > #//192.168.1.200/series /home/plex/Séries   cifs
> >   user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > [root@plexvm ~]# systemctl daemon-reload
> > [root@plexvm ~]# mount -a
> > mount error(2): No such file or directory
> > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> > [root@plexvm ~]#
> >
> > Le ven. 3 avr. 2020 à 18:23, Leon Fauster via CentOS 
> a
> > écrit :
> >
> >> Am 03.04.20 um 18:01 schrieb Patrick DERWAEL:
> >>> Le ven. 3 avr. 2020 à 17:54, Jonathan Billings  a
> >>> écrit :
> >>>
>  On Fri, Apr 03, 2020 at 04:00:42PM +0200, Patrick DERWAEL wrote:
> > //192.168.1.200/mp3 /home/plex/Musique  cifs
> >user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > //192.168.1.200/videos  /home/plex/Vidéos   cifs
> >user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > //192.168.1.200/series  /home/plex/Séries   cifs
> >user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
>  Try removing non-ascii characters from your mountpoints and try again.
> 
>  --
>  Jonathan Billings 
>  ___
>  CentOS mailing list
>  CentOS@centos.org
> 
> https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.centos.org%2Fmailman%2Flistinfo%2Fcentosdata=02%7C01%7Cchristopher.schanzle%40nist.gov%7C50e5520598c94cdebfc708d7d7eefb64%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C637215293735011190sdata=jVoqTxBRGNNfP7%2BWZCRP%2Fbb5vQ9RdErHznttq5wkWH8%3Dreserved=0
> 
> >>> I have commented out the 2 mounts with non-ascii... that didn't help...
> >>>
> >>>
> >>> [root@plexvm ~]# cat /etc/fstab
> >>>
> >>> #
> >>> # /etc/fstab
> >>> # Created by anaconda on Fri Apr  3 14:02:23 2020
> >>> #
> >>> # Accessible filesystems, by reference, are maintained under
> >> '/dev/disk/'.
> >>> # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more
> >> info.
> >>> #
> >>> # After editing this file, run 'systemctl daemon-reload' to update
> >> systemd
> >>> # units generated from this file.
> >>> #
> >>> /dev/mapper/cl_plexvm-root /   xfs defaults
> >>>0 0
> >>> UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot   ext4
> >>>defaults1 2
> >>> /dev/mapper/cl_plexvm-swap swapswapdefaults
> >>>0 0
> >>> //192.168.1.200/mp3 /home/plex/Musique  cifs
> >>>user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> >>> #//192.168.1.200/videos /home/plex/Vidéos   cifs
> >>>

Re: [CentOS] Mounting CIFS shares on C8

2020-04-03 Thread Chris Schanzle via CentOS

On 4/3/20 12:48 PM, Patrick DERWAEL wrote:

User & pass are present
According to the man pages, workgroup is supported
I have changed it to domain, but that didn't change a thing

[root@plexvm ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Fri Apr  3 14:02:23 2020
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
/dev/mapper/cl_plexvm-root /   xfs defaults
  0 0
UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot   ext4
  defaults1 2
/dev/mapper/cl_plexvm-swap swapswapdefaults
  0 0
//192.168.1.200/mp3 /home/plex/Musique  cifs
  user=plex,pass=plex,domain=DERWAEL,ro,auto,vers=3.0
#//192.168.1.200/videos /home/plex/Vidéos   cifs
  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
#//192.168.1.200/series /home/plex/Séries   cifs
  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
[root@plexvm ~]# systemctl daemon-reload
[root@plexvm ~]# mount -a
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[root@plexvm ~]#

Le ven. 3 avr. 2020 à 18:23, Leon Fauster via CentOS  a
écrit :


Am 03.04.20 um 18:01 schrieb Patrick DERWAEL:

Le ven. 3 avr. 2020 à 17:54, Jonathan Billings  a
écrit :


On Fri, Apr 03, 2020 at 04:00:42PM +0200, Patrick DERWAEL wrote:

//192.168.1.200/mp3 /home/plex/Musique  cifs
   user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
//192.168.1.200/videos  /home/plex/Vidéos   cifs
   user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
//192.168.1.200/series  /home/plex/Séries   cifs
   user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0

Try removing non-ascii characters from your mountpoints and try again.

--
Jonathan Billings 
___
CentOS mailing list
CentOS@centos.org
https://gcc02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.centos.org%2Fmailman%2Flistinfo%2Fcentosdata=02%7C01%7Cchristopher.schanzle%40nist.gov%7C50e5520598c94cdebfc708d7d7eefb64%7C2ab5d82fd8fa4797a93e054655c61dec%7C1%7C0%7C637215293735011190sdata=jVoqTxBRGNNfP7%2BWZCRP%2Fbb5vQ9RdErHznttq5wkWH8%3Dreserved=0


I have commented out the 2 mounts with non-ascii... that didn't help...


[root@plexvm ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Fri Apr  3 14:02:23 2020
#
# Accessible filesystems, by reference, are maintained under

'/dev/disk/'.

# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more

info.

#
# After editing this file, run 'systemctl daemon-reload' to update

systemd

# units generated from this file.
#
/dev/mapper/cl_plexvm-root /   xfs defaults
   0 0
UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot   ext4
   defaults1 2
/dev/mapper/cl_plexvm-swap swapswapdefaults
   0 0
//192.168.1.200/mp3 /home/plex/Musique  cifs
   user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
#//192.168.1.200/videos /home/plex/Vidéos   cifs
   user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
#//192.168.1.200/series /home/plex/Séries   cifs
   user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
[root@plexvm ~]# mount -a
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[root@plexvm ~]#



   username=value
   password=value
   domain=value

?

--



Instead of user=, try username=.  mount.cifs(8) states:

   While some versions of the cifs kernel module accept user= as an 
abbreviation for this option, its use can confuse the standard mount program 
into thinking that this is a non-superuser mount. It is therefore recommended 
to use the full username= option name.


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


Re: [CentOS] Mounting CIFS shares on C8

2020-04-03 Thread Patrick DERWAEL
User & pass are present
According to the man pages, workgroup is supported
I have changed it to domain, but that didn't change a thing

[root@plexvm ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Fri Apr  3 14:02:23 2020
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
/dev/mapper/cl_plexvm-root /   xfs defaults
 0 0
UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot   ext4
 defaults1 2
/dev/mapper/cl_plexvm-swap swapswapdefaults
 0 0
//192.168.1.200/mp3 /home/plex/Musique  cifs
 user=plex,pass=plex,domain=DERWAEL,ro,auto,vers=3.0
#//192.168.1.200/videos /home/plex/Vidéos   cifs
 user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
#//192.168.1.200/series /home/plex/Séries   cifs
 user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
[root@plexvm ~]# systemctl daemon-reload
[root@plexvm ~]# mount -a
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[root@plexvm ~]#

Le ven. 3 avr. 2020 à 18:23, Leon Fauster via CentOS  a
écrit :

> Am 03.04.20 um 18:01 schrieb Patrick DERWAEL:
> > Le ven. 3 avr. 2020 à 17:54, Jonathan Billings  a
> > écrit :
> >
> >> On Fri, Apr 03, 2020 at 04:00:42PM +0200, Patrick DERWAEL wrote:
> >>> //192.168.1.200/mp3 /home/plex/Musique  cifs
> >>>   user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> >>> //192.168.1.200/videos  /home/plex/Vidéos   cifs
> >>>   user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> >>> //192.168.1.200/series  /home/plex/Séries   cifs
> >>>   user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> >>
> >> Try removing non-ascii characters from your mountpoints and try again.
> >>
> >> --
> >> Jonathan Billings 
> >> ___
> >> CentOS mailing list
> >> CentOS@centos.org
> >> https://lists.centos.org/mailman/listinfo/centos
> >>
> >
> > I have commented out the 2 mounts with non-ascii... that didn't help...
> >
> >
> > [root@plexvm ~]# cat /etc/fstab
> >
> > #
> > # /etc/fstab
> > # Created by anaconda on Fri Apr  3 14:02:23 2020
> > #
> > # Accessible filesystems, by reference, are maintained under
> '/dev/disk/'.
> > # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more
> info.
> > #
> > # After editing this file, run 'systemctl daemon-reload' to update
> systemd
> > # units generated from this file.
> > #
> > /dev/mapper/cl_plexvm-root /   xfs defaults
> >   0 0
> > UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot   ext4
> >   defaults1 2
> > /dev/mapper/cl_plexvm-swap swapswapdefaults
> >   0 0
> > //192.168.1.200/mp3 /home/plex/Musique  cifs
> >   user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > #//192.168.1.200/videos /home/plex/Vidéos   cifs
> >   user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > #//192.168.1.200/series /home/plex/Séries   cifs
> >   user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > [root@plexvm ~]# mount -a
> > mount error(2): No such file or directory
> > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> > [root@plexvm ~]#
> >
> >
>
>   username=value
>   password=value
>   domain=value
>
> ?
>
> --
> Leon
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>


-- 

Patrick Derwael
Rue de la fontaine, 3
4210 Burdinne
Tél:+32.(0)479.80.50.79
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] IOMMU and kernel

2020-04-03 Thread Georgios
Yes i can find intel_iommu=on. For some reason it doesnt take it when i
reboot.

On Fri, 2020-04-03 at 18:44 +0200, Simon Matter via CentOS wrote:
> > Hi.
> > Im trying to set intel_iommu=on on kernel parameters at grub but
> > for
> > some reason it doesnt work.
> > 
> > I edit /etc/default/grub file and i add the parameter.
> > 
> > then i run grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg and then
> > i
> > reboot.
> 
> When you look at /boot/efi/EFI/centos/grub.cfg, do you see that the
> parameter has been added?
> 
> Regards,
> Simon
> 
> ___
> 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] IOMMU and kernel

2020-04-03 Thread Simon Matter via CentOS
> Hi.
> Im trying to set intel_iommu=on on kernel parameters at grub but for
> some reason it doesnt work.
>
> I edit /etc/default/grub file and i add the parameter.
>
> then i run grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg and then i
> reboot.

When you look at /boot/efi/EFI/centos/grub.cfg, do you see that the
parameter has been added?

Regards,
Simon

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


[CentOS] IOMMU and kernel

2020-04-03 Thread Georgios
Hi.
Im trying to set intel_iommu=on on kernel parameters at grub but for
some reason it doesnt work.

I edit /etc/default/grub file and i add the parameter.

then i run grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg and then i
reboot.

when i run virt-host-validate i get 

QEMU: Checking if IOMMU is enabled by kernel: WARN (IOMMU appears to be
disabled in kernel. Add intel_iommu=on to kernel cmdline arguments)

when i edit the grub menu durring boot and i put intel_iommu=on and the
i run again virt-host-validate i get

QEMU: Checking if IOMMU is enabled by kernel: PASS


any ideas?

I tried editing other variables like GRUB_TIMEOUT and it seems to me
that changes are applied.

Thanks in advance

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


Re: [CentOS] Mounting CIFS shares on C8

2020-04-03 Thread Leon Fauster via CentOS

Am 03.04.20 um 18:01 schrieb Patrick DERWAEL:

Le ven. 3 avr. 2020 à 17:54, Jonathan Billings  a
écrit :


On Fri, Apr 03, 2020 at 04:00:42PM +0200, Patrick DERWAEL wrote:

//192.168.1.200/mp3 /home/plex/Musique  cifs
  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
//192.168.1.200/videos  /home/plex/Vidéos   cifs
  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
//192.168.1.200/series  /home/plex/Séries   cifs
  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0


Try removing non-ascii characters from your mountpoints and try again.

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



I have commented out the 2 mounts with non-ascii... that didn't help...


[root@plexvm ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Fri Apr  3 14:02:23 2020
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
/dev/mapper/cl_plexvm-root /   xfs defaults
  0 0
UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot   ext4
  defaults1 2
/dev/mapper/cl_plexvm-swap swapswapdefaults
  0 0
//192.168.1.200/mp3 /home/plex/Musique  cifs
  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
#//192.168.1.200/videos /home/plex/Vidéos   cifs
  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
#//192.168.1.200/series /home/plex/Séries   cifs
  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
[root@plexvm ~]# mount -a
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[root@plexvm ~]#




 username=value
 password=value
 domain=value

?

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


Re: [CentOS] Mounting CIFS shares on C8

2020-04-03 Thread Patrick DERWAEL
Done that and rebooted as well


Patrick Derwael
Rue de la Fontaine 3
4210 Burdinne
+32.(0)479.80.50.79

Le ven. 3 avr. 2020 à 18:11, Frank Cox  a écrit :

> On Fri, 3 Apr 2020 18:01:27 +0200
> Patrick DERWAEL wrote:
>
> > #
> > # After editing this file, run 'systemctl daemon-reload' to update
> systemd
> > # units generated from this file.
>
> I assume that you have done this part too?
>
> --
> MELVILLE THEATRE ~ Real D 3D Digital Cinema ~ www.melvilletheatre.com
> ___
> 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] Mounting CIFS shares on C8

2020-04-03 Thread Frank Cox
On Fri, 3 Apr 2020 18:01:27 +0200
Patrick DERWAEL wrote:

> #
> # After editing this file, run 'systemctl daemon-reload' to update systemd
> # units generated from this file.

I assume that you have done this part too?

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


Re: [CentOS] Mounting CIFS shares on C8

2020-04-03 Thread Patrick DERWAEL
Le ven. 3 avr. 2020 à 17:54, Jonathan Billings  a
écrit :

> On Fri, Apr 03, 2020 at 04:00:42PM +0200, Patrick DERWAEL wrote:
> > //192.168.1.200/mp3 /home/plex/Musique  cifs
> >  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > //192.168.1.200/videos  /home/plex/Vidéos   cifs
> >  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > //192.168.1.200/series  /home/plex/Séries   cifs
> >  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
>
> Try removing non-ascii characters from your mountpoints and try again.
>
> --
> Jonathan Billings 
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>

I have commented out the 2 mounts with non-ascii... that didn't help...


[root@plexvm ~]# cat /etc/fstab

#
# /etc/fstab
# Created by anaconda on Fri Apr  3 14:02:23 2020
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
/dev/mapper/cl_plexvm-root /   xfs defaults
 0 0
UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot   ext4
 defaults1 2
/dev/mapper/cl_plexvm-swap swapswapdefaults
 0 0
//192.168.1.200/mp3 /home/plex/Musique  cifs
 user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
#//192.168.1.200/videos /home/plex/Vidéos   cifs
 user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
#//192.168.1.200/series /home/plex/Séries   cifs
 user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
[root@plexvm ~]# mount -a
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[root@plexvm ~]#


-- 

Patrick Derwael
Rue de la fontaine, 3
4210 Burdinne
Tél:+32.(0)479.80.50.79
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Trying again: KDE fails with a gray screen after login, can't reinstall

2020-04-03 Thread mark

On 2020-04-03 11:46, Simon Matter via CentOS wrote:

I set for graphical mode, I get the login screen, I change to KDE, and
the screen goes black, then after minutes, gray with a cursor, and
that's it - I left it overnight, no change.

Brand new install (as of yesterday). Missed any "agree to license", and
missed choosing software. Manually groupinstalled
Installed Environment Groups:
 KDE Plasma Workspaces
 Development and Creative Workstation

Tried to reinstall:
No group named KDE Plasma Workspaces exists

I'm assuming I need to install something else, but does anyone have a
clue? I really do NOT want gnome.

I don't know how the situation is with C8 but I always liked XFCE to get
work done. It has less dependencies and is therefore a bit easier to
install.


Doesn't address my problem.


 mark

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


Re: [CentOS] Mounting CIFS shares on C8

2020-04-03 Thread Jonathan Billings
On Fri, Apr 03, 2020 at 04:00:42PM +0200, Patrick DERWAEL wrote:
> //192.168.1.200/mp3 /home/plex/Musique  cifs
>  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> //192.168.1.200/videos  /home/plex/Vidéos   cifs
>  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> //192.168.1.200/series  /home/plex/Séries   cifs
>  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0

Try removing non-ascii characters from your mountpoints and try again.

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


Re: [CentOS] Trying again: KDE fails with a gray screen after login, can't reinstall

2020-04-03 Thread Simon Matter via CentOS
> I set for graphical mode, I get the login screen, I change to KDE, and
> the screen goes black, then after minutes, gray with a cursor, and
> that's it - I left it overnight, no change.
>
> Brand new install (as of yesterday). Missed any "agree to license", and
> missed choosing software. Manually groupinstalled
> Installed Environment Groups:
> KDE Plasma Workspaces
> Development and Creative Workstation
>
> Tried to reinstall:
> No group named KDE Plasma Workspaces exists
>
> I'm assuming I need to install something else, but does anyone have a
> clue? I really do NOT want gnome.

I don't know how the situation is with C8 but I always liked XFCE to get
work done. It has less dependencies and is therefore a bit easier to
install.

Regards,
Simon

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


[CentOS] Trying again: KDE fails with a gray screen after login, can't reinstall

2020-04-03 Thread mark
I set for graphical mode, I get the login screen, I change to KDE, and 
the screen goes black, then after minutes, gray with a cursor, and 
that's it - I left it overnight, no change.


Brand new install (as of yesterday). Missed any "agree to license", and 
missed choosing software. Manually groupinstalled

Installed Environment Groups:
   KDE Plasma Workspaces
   Development and Creative Workstation

Tried to reinstall:
No group named KDE Plasma Workspaces exists

I'm assuming I need to install something else, but does anyone have a 
clue? I really do NOT want gnome.


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


Re: [CentOS] Mounting CIFS shares on C8

2020-04-03 Thread Patrick DERWAEL
Le ven. 3 avr. 2020 à 17:02, Simon Matter via CentOS  a
écrit :

> > Hi all,
> >
> > I'm tearing my hair off trying to understand the difference between C7 &
> > C8
> > for mounting a cifs FS with fstab
> >
> > I'm building a Plex media server on C8 and duplicated the fstab entries
> > over from my current C7 installation
> > My data (music & movies) are on CIFS shares on a Synology NAS.
> > The packages cifs-utils samba-client samba-common are installed, up to
> > date
> > etc...
> >
> > These are my current fstab entries on the C7 box
> >
> > //192.168.1.200/mp3 /home/plex/Musique cifs
> > user=plex,pass=plex,ro,auto,vers=3.0
> > //192.168.1.200/videos /home/plex/Vidéos cifs
> > user=plex,pass=plex,ro,auto,vers=3.0
> >
> >
> > On my C8:
> >
> > [root@plexvm etc]# cat fstab
> >
> > #
> > # /etc/fstab
> > # Created by anaconda on Fri Apr  3 14:02:23 2020
> > #
> > # Accessible filesystems, by reference, are maintained under
> '/dev/disk/'.
> > # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more
> > info.
> > #
> > # After editing this file, run 'systemctl daemon-reload' to update
> systemd
> > # units generated from this file.
> > #
> > /dev/mapper/cl_plexvm-root /   xfs defaults
> >  0 0
> > UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot   ext4
> >  defaults1 2
> > /dev/mapper/cl_plexvm-swap swapswapdefaults
> >  0 0
> > //192.168.1.200/mp3 /home/plex/Musique  cifs
> >  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > //192.168.1.200/videos  /home/plex/Vidéos   cifs
> >  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > //192.168.1.200/series  /home/plex/Séries   cifs
> >  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > [root@plexvm etc]# mount -a
> > mount error(2): No such file or directory
> > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> > mount error(2): No such file or directory
> > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> > mount error(2): No such file or directory
> > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> > [root@plexvm etc]#
> >
> >
> >
> > Any pointer would be MUCH appreciated!
>
> Do the directories /home/plex/Musique, /home/plex/Vidéos and
> /home/plex/Séries really exist on the C8 host?
>
> Regards,
> Simon
>
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>

Yes, they do exist and the directories are empty

[root@plexvm ~]# l /home/plex
total 0
drwxrwx--- 2 plex plex 6 Apr  3 15:41 Music
drwxrwx--- 2 plex plex 6 Apr  3 15:41 Musique
drwxrwx--- 2 plex plex 6 Apr  3 15:41 Séries
drwxrwx--- 2 plex plex 6 Apr  3 15:41 Vidéos
[root@plexvm ~]# find /home/plex -ls
 68073798  0 drwxrwx---   6  plex plex   64 Apr  3 15:41
/home/plex
 33674251  0 drwxrwx---   2  plex plex6 Apr  3 15:41
/home/plex/Musique
 68166320  0 drwxrwx---   2  plex plex6 Apr  3 15:41
/home/plex/Vid\303\251os
101999836  0 drwxrwx---   2  plex plex6 Apr  3 15:41
/home/plex/S\303\251ries
   992376  0 drwxrwx---   2  plex plex6 Apr  3 15:41
/home/plex/Music
[root@plexvm ~]#
-- 

Patrick Derwael
Rue de la fontaine, 3
4210 Burdinne
Tél:+32.(0)479.80.50.79
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Mounting CIFS shares on C8

2020-04-03 Thread Simon Matter via CentOS
> Hi all,
>
> I'm tearing my hair off trying to understand the difference between C7 &
> C8
> for mounting a cifs FS with fstab
>
> I'm building a Plex media server on C8 and duplicated the fstab entries
> over from my current C7 installation
> My data (music & movies) are on CIFS shares on a Synology NAS.
> The packages cifs-utils samba-client samba-common are installed, up to
> date
> etc...
>
> These are my current fstab entries on the C7 box
>
> //192.168.1.200/mp3 /home/plex/Musique cifs
> user=plex,pass=plex,ro,auto,vers=3.0
> //192.168.1.200/videos /home/plex/Vidéos cifs
> user=plex,pass=plex,ro,auto,vers=3.0
>
>
> On my C8:
>
> [root@plexvm etc]# cat fstab
>
> #
> # /etc/fstab
> # Created by anaconda on Fri Apr  3 14:02:23 2020
> #
> # Accessible filesystems, by reference, are maintained under '/dev/disk/'.
> # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more
> info.
> #
> # After editing this file, run 'systemctl daemon-reload' to update systemd
> # units generated from this file.
> #
> /dev/mapper/cl_plexvm-root /   xfs defaults
>  0 0
> UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot   ext4
>  defaults1 2
> /dev/mapper/cl_plexvm-swap swapswapdefaults
>  0 0
> //192.168.1.200/mp3 /home/plex/Musique  cifs
>  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> //192.168.1.200/videos  /home/plex/Vidéos   cifs
>  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> //192.168.1.200/series  /home/plex/Séries   cifs
>  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> [root@plexvm etc]# mount -a
> mount error(2): No such file or directory
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> mount error(2): No such file or directory
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> mount error(2): No such file or directory
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> [root@plexvm etc]#
>
>
>
> Any pointer would be MUCH appreciated!

Do the directories /home/plex/Musique, /home/plex/Vidéos and
/home/plex/Séries really exist on the C8 host?

Regards,
Simon

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


Re: [CentOS] C8 and backup solution

2020-04-03 Thread David G. Miller

On 4/3/20 6:13 AM, miguel medalha wrote:

I have been using rsnapshot for years, with great success.

https://rsnapshot.org/


___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos
Since no one else has mentioned it as a solution, I've been using amanda 
for years.  About the only change has been replacing my physical tape 
drive with mhVTL (Anybody need some unused DSS-3 tapes? Free to good home.).


Cheers,
Dave

--
"They that can give up essential liberty to obtain a little temporary safety deserve 
neither safety nor liberty."

-- Benjamin Franklin

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


Re: [CentOS] Mounting CIFS shares on C8

2020-04-03 Thread Patrick DERWAEL
Le ven. 3 avr. 2020 à 16:13, Fred Smith  a
écrit :

> On Fri, Apr 03, 2020 at 04:00:42PM +0200, Patrick DERWAEL wrote:
> > Hi all,
> >
> 
> >
> > These are my current fstab entries on the C7 box
> >
> > //192.168.1.200/mp3 /home/plex/Musique cifs
> > user=plex,pass=plex,ro,auto,vers=3.0
> > //192.168.1.200/videos /home/plex/Vidéos cifs
> > user=plex,pass=plex,ro,auto,vers=3.0
> >
> >
> > On my C8:
> >
> > [root@plexvm etc]# cat fstab
> >
> 
> > /dev/mapper/cl_plexvm-root /   xfs defaults
> >  0 0
> > UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot   ext4
> >  defaults1 2
> > /dev/mapper/cl_plexvm-swap swapswapdefaults
> >  0 0
> > //192.168.1.200/mp3 /home/plex/Musique  cifs
> >  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > //192.168.1.200/videos  /home/plex/Vidéos   cifs
> >  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > //192.168.1.200/series  /home/plex/Séries   cifs
> >  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> > [root@plexvm etc]# mount -a
> > mount error(2): No such file or directory
> > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> > mount error(2): No such file or directory
> > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> > mount error(2): No such file or directory
> > Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> > [root@plexvm etc]#
> >
> >
> >
> > Any pointer would be MUCH appreciated!
> >
> > Thanks
>
> I don't know the answer, but a thought or three:
>
> 1. the entries for the cifs mounts don't have the last two fields
> specified. I dunno if they're absolutely required, so it may not mean
> anything.
> 2. you might want to experiment with the smbclient tool to see if you can
> learn anything from its responses when trying to access the remote.
> 3. also verify that seliinux is not blocking the access.. I've had at
> least one case in which I spent hours banging my head, only to discover
> it was selinux and not anything in Samba.
>
> Good luck!
>
> Fred
>
> --
>
> ---
>  .Fred Smith   /
> ( /__  ,__.   __   __ /  __   : /
>  //  /   /__) /  /  /__) .+'   Home:
> fre...@fcshome.stoneham.ma.us
> //  (__ (___ (__(_ (___ / :__
>  781-438-5471
>  Jude 1:24,25
> -
> ___
> CentOS mailing list
> CentOS@centos.org
> https://lists.centos.org/mailman/listinfo/centos
>

Hi,

starting with the easy bit: (3) selinux is disabled, and F/W is (for the
time being) stopped as well

(2) smbclient can access my cifs shares... no sweat...
[root@plexvm ~]# smbclient //192.168.0.200/mp3/
Enter SAMBA\root's password:
Try "help" to get a list of possible commands.
smb: \> ls
  .  DA0  Sun Mar 29 15:21:54 2020
  .. DA0  Thu Mar 26 11:28:36 2020
  T  DA0  Thu Jun 20 09:53:40 2019
  W  DA0  Thu Dec 19 11:28:50 2019

  F  DA0  Mon Mar  9 14:08:49 2020
  N  DA0  Thu Mar 12 09:54:55 2020

11523186296 blocks of size 1024. 3135971700 blocks available
smb: \>

as for (1), if I understand well, the 5th field is optional and it is used
to determine if the fs needs to be dumped
The 6th field is also optional and controls the fsck. As the fs is remote,
I don't want my C8 box to fsck it
That should be ok then...
-- 

Patrick Derwael
Rue de la fontaine, 3
4210 Burdinne
Tél:+32.(0)479.80.50.79
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C8 and backup solution

2020-04-03 Thread Simon Matter via CentOS
> Once upon a time, Valeri Galtsev  said:
>> On 4/3/20 8:34 AM, John Pierce wrote:
>> >Do note, backup systems that use rsync or similar file by file copies
>> of a
>> >running system do not make coherent atomic snapshots, so things like
>> >relational databases should be excluded from those, and backed by
>> database
>> >tools
>>
>> Long ago I learned to back up databases by dumping them (with a flag
>> "lock" or similar to make sure no changed are made during dump), and
>> backing up dump file.
>
> It isn't just databases - there are other things that backing up
> individual files one at a time is not so good.  The best way to handle
> that is to freeze/snapshot the whole filesystem, and then back up the
> snapshot.  This can be scripted pretty easily if the filesystem is on
> LVM.
>
> Even better is to freeze _all_ filesystems simultaneously - this is
> usually easiest if the system is a virtual machine and/or the storage is
> on a SAN with snapshot capabilities.

Then again, to get a _really_ consistent backup, you can only terminate
all applications who read/write files, or instruct the applications to go
into a state which allows consistent file backups. Of course after the
backup you have to instruct the applications to go on with the work. You
can not achieve this consistency even with freezing _all_ filesystems
simultaneously. That's why usually RDBMS's and other more complex
applications provide their own backup mechanism embedded into the
application.

That's why rsnapshot backups are not so much worse than filesystem snapshots.

Regards,
Simon

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


Re: [CentOS] Mounting CIFS shares on C8

2020-04-03 Thread Fred Smith
On Fri, Apr 03, 2020 at 04:00:42PM +0200, Patrick DERWAEL wrote:
> Hi all,
> 

> 
> These are my current fstab entries on the C7 box
> 
> //192.168.1.200/mp3 /home/plex/Musique cifs
> user=plex,pass=plex,ro,auto,vers=3.0
> //192.168.1.200/videos /home/plex/Vidéos cifs
> user=plex,pass=plex,ro,auto,vers=3.0
> 
> 
> On my C8:
> 
> [root@plexvm etc]# cat fstab
> 

> /dev/mapper/cl_plexvm-root /   xfs defaults
>  0 0
> UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot   ext4
>  defaults1 2
> /dev/mapper/cl_plexvm-swap swapswapdefaults
>  0 0
> //192.168.1.200/mp3 /home/plex/Musique  cifs
>  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> //192.168.1.200/videos  /home/plex/Vidéos   cifs
>  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> //192.168.1.200/series  /home/plex/Séries   cifs
>  user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
> [root@plexvm etc]# mount -a
> mount error(2): No such file or directory
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> mount error(2): No such file or directory
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> mount error(2): No such file or directory
> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
> [root@plexvm etc]#
> 
> 
> 
> Any pointer would be MUCH appreciated!
> 
> Thanks

I don't know the answer, but a thought or three:

1. the entries for the cifs mounts don't have the last two fields specified. I 
dunno if they're absolutely required, so it may not mean anything.
2. you might want to experiment with the smbclient tool to see if you can
learn anything from its responses when trying to access the remote.
3. also verify that seliinux is not blocking the access.. I've had at
least one case in which I spent hours banging my head, only to discover
it was selinux and not anything in Samba.

Good luck!

Fred

-- 
---
 .Fred Smith   /  
( /__  ,__.   __   __ /  __   : / 
 //  /   /__) /  /  /__) .+'   Home: fre...@fcshome.stoneham.ma.us 
//  (__ (___ (__(_ (___ / :__ 781-438-5471 
 Jude 1:24,25 -
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


[CentOS] Mounting CIFS shares on C8

2020-04-03 Thread Patrick DERWAEL
Hi all,

I'm tearing my hair off trying to understand the difference between C7 & C8
for mounting a cifs FS with fstab

I'm building a Plex media server on C8 and duplicated the fstab entries
over from my current C7 installation
My data (music & movies) are on CIFS shares on a Synology NAS.
The packages cifs-utils samba-client samba-common are installed, up to date
etc...

These are my current fstab entries on the C7 box

//192.168.1.200/mp3 /home/plex/Musique cifs
user=plex,pass=plex,ro,auto,vers=3.0
//192.168.1.200/videos /home/plex/Vidéos cifs
user=plex,pass=plex,ro,auto,vers=3.0


On my C8:

[root@plexvm etc]# cat fstab

#
# /etc/fstab
# Created by anaconda on Fri Apr  3 14:02:23 2020
#
# Accessible filesystems, by reference, are maintained under '/dev/disk/'.
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info.
#
# After editing this file, run 'systemctl daemon-reload' to update systemd
# units generated from this file.
#
/dev/mapper/cl_plexvm-root /   xfs defaults
 0 0
UUID=f7c4e0e2-703e-4e61-8d7a-0aa34f836b02 /boot   ext4
 defaults1 2
/dev/mapper/cl_plexvm-swap swapswapdefaults
 0 0
//192.168.1.200/mp3 /home/plex/Musique  cifs
 user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
//192.168.1.200/videos  /home/plex/Vidéos   cifs
 user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
//192.168.1.200/series  /home/plex/Séries   cifs
 user=plex,pass=plex,workgroup=DERWAEL,ro,auto,vers=3.0
[root@plexvm etc]# mount -a
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[root@plexvm etc]#



Any pointer would be MUCH appreciated!

Thanks



-- 

Patrick Derwael
Rue de la fontaine, 3
4210 Burdinne
Tél:+32.(0)479.80.50.79
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C8 and backup solution

2020-04-03 Thread Chris Adams
Once upon a time, Valeri Galtsev  said:
> On 4/3/20 8:34 AM, John Pierce wrote:
> >Do note, backup systems that use rsync or similar file by file copies of a
> >running system do not make coherent atomic snapshots, so things like
> >relational databases should be excluded from those, and backed by database
> >tools
> 
> Long ago I learned to back up databases by dumping them (with a flag
> "lock" or similar to make sure no changed are made during dump), and
> backing up dump file.

It isn't just databases - there are other things that backing up
individual files one at a time is not so good.  The best way to handle
that is to freeze/snapshot the whole filesystem, and then back up the
snapshot.  This can be scripted pretty easily if the filesystem is on
LVM.

Even better is to freeze _all_ filesystems simultaneously - this is
usually easiest if the system is a virtual machine and/or the storage is
on a SAN with snapshot capabilities.
-- 
Chris Adams 
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C8 and backup solution

2020-04-03 Thread Valeri Galtsev




On 4/3/20 8:34 AM, John Pierce wrote:

Do note, backup systems that use rsync or similar file by file copies of a
running system do not make coherent atomic snapshots, so things like
relational databases should be excluded from those, and backed by database
tools


Long ago I learned to back up databases by dumping them (with a flag 
"lock" or similar to make sure no changed are made during dump), and 
backing up dump file.


Just my 2 cents.

Valeri


___
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] C8 and backup solution

2020-04-03 Thread John Pierce
Do note, backup systems that use rsync or similar file by file copies of a
running system do not make coherent atomic snapshots, so things like
relational databases should be excluded from those, and backed by database
tools
___
CentOS mailing list
CentOS@centos.org
https://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] C8 and backup solution

2020-04-03 Thread miguel medalha
I have been using rsnapshot for years, with great success.

https://rsnapshot.org/


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


Re: [CentOS] C8 and backup solution

2020-04-03 Thread Alessandro Baggi

Il 02/04/20 21:14, Karl Vogel ha scritto:

[Replying privately because my messages aren't making it to the list]


In a previous message, Alessandro Baggi said:

A> Bacula works without any problem, well tested, solid but complex to
A> configure. Tested on a single server (with volumes on disk) and a
A> full backup of 810gb (~15 files) took 6,30 hours (too much).

For a full backup, I'd use something like "scp -rp". Anything else
has overhead you don't need for the first copy.

Also, pick a good cipher (-c) for the ssh/scp commands -- it can improve
your speed by an order of magnitude. Here's an example where I copy
my current directory to /tmp/bkup on my backup server:

Running on: Linux x86_64
Thu Apr 2 14:48:45 2020

me% scp -rp -c aes128-...@openssh.com -i $HOME/.ssh/bkuphost_ecdsa \
. bkuphost:/tmp/bkup

Authenticated to remote-host ([remote-ip]:22).
ansible-intro 100% 16KB 11.3MB/s 00:00 ETA
nextgov.xml 100% 27KB 21.9MB/s 00:00 ETA
building-VM-images 100% 1087 1.6MB/s 00:00 ETA
sort-array-of-hashes 100% 1660 2.5MB/s 00:00 ETA
...
ex1 100% 910 1.9MB/s 00:00 ETA
sitemap.m4 100% 1241 2.3MB/s 00:00 ETA
contents 100% 3585 5.5MB/s 00:00 ETA
ini2site 100% 489 926.1KB/s 00:00 ETA
mkcontents 100% 1485 2.2MB/s 00:00 ETA

Transferred: sent 6465548, received 11724 bytes, in 0.4 seconds
Bytes per second: sent 18002613.2, received 32644.2

Thu Apr 02 14:48:54 2020

A> scripted rsync. Simple, through ssh protocol and private key. No agent
A> required on target. I use file level deduplication using hardlinks.

I avoid block-level deduplication as a general rule -- ZFS memory
use goes through the roof if you turn that on.

rsync can do the hardlinks, but for me it's been much faster to create
a list of SHA1 hashes and use a perl script to link the duplicates.
I can send you the script if you're interested.

This way, you're not relying on the network for anything other than the
copies; everything else takes place on the local or backup system.

A> Using a scripted rsync is the simpler way but there is something that
A> could be leaved out by me (or undiscovered error). Simple to restore.

I've never had a problem with rsync, and I've used it to back up Linux
workstations with ~600Gb or so. One caveat -- if you give it a really
big directory tree, it can get lost in the weeds. You might want to do
something like this:

1. Make your original backup using scp.

2. Get a complete list of file hashes on your production systems
using SHA1 or whatever you like.

3. Whenever you do a backup, get a (smaller) list of modified files
using something like "find ./something -newer /some/timestamp/file"
or just making a new list of file hashes and comparing that to the
original list.

4. Pass the list of modified files to rsync using the "--files-from"
option so it doesn't have to walk the entire tree again.

Good luck!

--
Karl Vogel / voge...@pobox.com / I don't speak for the USAF or my company

The best setup is having a wife and a mistress. Each of them will assume
you're with the other, leaving you free to get some work done.
--programmer with serious work-life balance issues


Hi Karl,

thank you for your answer. I'm trying ssh scripted rsync using a faster 
cypher like you suggested and seems that transfer on 10GB is better of 
default selected cypher (129 sec vs 116 using aes128-gcm, I tested this 
multiple times). Now I will try to check on the entire dataset and see 
how much benefit I gain.


Waiting that, what do you think about bacula as backup solution?

Thank you in advance.


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