Sabiendo que la partición /home tenía ciertas inconsistencias, que
había reparado a lo bruto con el comando:
xfs_repair -L /dev/sdb2
Sabía que debía desfragmentarla, consulté y había contestado Carlos al respecto.
Parte de la información, fue util, para ver el porcentage de fragmentación:
xfs_db -c frag -r /dev/sdb2
Basado en la inercia de que con otros sistemas uno debe realizar la
desfragmentación con la partición desmontada, motivo por el cual
arranque con el DVD de instalación en modo "Rescue" (rescate), y
ejecuté primero el comando citado, el cual me arrojó una fragmentación
del 47.4% (adjunto captura de pantalla).
Pero no encontré la forma de ejecutar el comando de desfragmentación xfs_fsr.
Opté por iniciar normalmente el sistema, y me acordé del comando man,
para ver como ejecutar el comando en cuestión, y allí me entero de que
el volumen o partición puede estar montado, PERO NO MUEVE LOS ARCHIVOS
ABIERTOS EN MEMORIA.
Ver: man xfs_fsr
Inicié la desfragmentación con el comando:
xfs_fsr -vdg
Despues de poco mas de una hora, vi que había terminado de
desfragmentar la unidad de 1.8 TB, que tiene alrededor de 1 TB
ocupado.
Para ver como quedó, ejecuté:
xfs_db -c frag -r /dev/sdb2
actual 309339, ideal 308055, fragmentation factor 0,42%
Ojo!
No se debería utilizar en unidades SSD.
Aqui va parte del texto del manual:
(en consola man xfs_fsr)
When invoked with no arguments xfs_fsr reorganizes all regular
files in all mounted filesystems. xfs_fsr makes many cycles over
/etc/mtab each time making a single pass over each XFS filesystem.
Each pass goes through and selects files that have the largest
number of extents. It attempts to defragment the top 10% of these
files on each pass.
It runs for up to two hours after which it records the
filesystem where it left off, so it can start there the next time.
This information is stored in the file /var/tmp/.fsrlast_xfs. If the
information found here is somehow inconsistent or out of date
it is ignored and reorganization starts at the beginning of the first
filesystem found in /etc/mtab.
xfs_fsr can be called with one or more arguments naming
filesystems (block device name), and files to reorganize. In this
mode xfs_fsr does not read or write /var/tmp/.fsrlast_xfs nor does it
run
for a fixed time interval. It makes one pass through each
specified regular file and all regular files in each specified
filesystem. A command line name referring to a symbolic link (except
to a
file system device), FIFO, or UNIX domain socket generates a
warning message, but is otherwise ignored. While traversing the
filesystem these types of files are silently skipped.
FILES
/etc/mtab contains default list of filesystems to reorganize.
/var/tmp/.fsrlast_xfs
records the state where reorganization left off.
SEE ALSO
xfs_fsr(8), mkfs.xfs(8), xfs_ncheck(8), xfs(5).
NOTES
xfs_fsr improves the layout of extents for each file by copying
the entire file to a temporary location and then interchanging the
data extents of the target and temporary files in an atomic man-
ner. This method requires that enough free disk space be
available to copy any given file and that the space be less fragmented
than the original file. It also requires the owner of the file to
have enough remaining filespace quota to do the copy on systems
running quotas. xfs_fsr generates a warning message if space is not
sufficient to improve the target file.
A temporary file used in improving a file given on the command
line is created in the same parent directory of the target file and is
prefixed by the string '.fsr'. The temporary files used in
improving an entire XFS device are stored in a directory at
the root of the target device and use the same naming scheme. The
temporary files are unlinked upon creation so data will not be read-
able by any other process.
xfs_fsr does not operate on files that are currently mapped in
memory. A 'file busy' error can be seen for these files if the
verbose flag (-v) is set.
--
USA LINUX OPENSUSE QUE ES SOFTWARE LIBRE, NO NECESITAS PIRATEAR NADA Y
NI TE VAS A PREOCUPAR MAS POR LOS VIRUS Y SPYWARES:
http://www.opensuse.org/es/
Puedes visitar mi blog en:
http://jerbes.blogspot.com.ar/
Acerca del controvertido tema de Huawei y el 5G, cuyo protocolo la
citada firma es la que estableció el protocolo, mientras los usanianos
insisten en que los chinos pueden llegar a hacer lo mismo que ellos,
PERO LA CLAVE DE TODO, PARECE ESTAR EN QUE LOS CHINOS NO LES DAN A LOS
USANIANOS LAS CLAVES DE ENCRIPTACIÓN PARA PODER PINCHAR LAS
COMUNICACIONES, COMO LO VIENEN HACIENDO CON LAS TECNOLOGIAS
ANTERIORES.
En Slashdot acaba de aparecer un link acerca del tema:
https://www.schneier.com/blog/archives/2020/01/china_isnt_the_.html
En el segundo comentario, referido al texto:
"Because the companies that make the equipment are subservient to the
Chinese government, they could be forced to include backdoors in the
hardware or software to give Beijing remote access."
(Debido a que las empresas que fabrican los equipos están subordinadas
al gobierno chino, podrían verse obligadas a incluir puertas traseras
en el hardware o software para dar acceso remoto a Beijing.)
La respuesta es:
"You could have done much better than this trope.
The USA isn't any different. There are the 5EY folks and every LEO on
the planet demanding exactly the same thing.
The US Fed is leaning on Apple over the failed Trump Immigration
Vetting preventing a pile of military grade "not wanteds" being
admitted to a US Military Training Program and Demanding Backdoors
(Again)
iirc-badly: Which is one reason China years ago stopped buying IBM
mainframes and started building their own code base and their own
hardware to go with it. There were questions about backdoors in US
HW+SW. Most of this got covered up back in the days when we thought
"we were the good guys" and wouldn't believe the US would do anything
like THAT. One photo was all it took to tell us how wrong we were.
Security of the upcoming porous system is of importance but it isn't
going to happen. All that juicy data is going to be flying across the
globe to anyone who wants it."
(Podrías haberlo hecho mucho mejor que este tropo.
Los EE.UU. no son diferentes. Hay gente de 5EY y todos los LEO del
planeta exigiendo exactamente lo mismo.
La Reserva Federal de los EE.UU. se está apoyando en Apple sobre el
fallido Trump Immigration Vetting que evita que un montón de "no
deseados" de grado militar sean admitidos en un Programa de
Entrenamiento Militar de los EE.UU. y _exige_ _puertas_ _traseras_ (de
nuevo)
iirc-mal: Esta es una de las razones por las que China hace años dejó
de comprar mainframes de IBM y empezó a construir su propio código
base y su propio hardware para acompañarlo. Había preguntas sobre
puertas traseras en HW+SW de Estados Unidos. La mayor parte de esto se
encubrió en los días en que pensábamos que "nosotros éramos los
buenos" y no creíamos que los EE.UU. hicieran algo así. Una foto fue
todo lo que se necesitó para decirnos lo equivocados que estábamos.
La seguridad del sistema poroso que se avecina es importante, pero no
va a suceder. Todos esos datos jugosos van a volar por todo el mundo a
cualquiera que los quiera.)
Links citados:
https://www.emptywheel.net/2020/01/14/is-bill-barr-picking-a-fight-with-app…https://arstechnica.com/tech-policy/2020/01/fbi-seeks-apples-help-in-unlock…https://www.theguardian.com/technology/2020/jan/14/johnson-huawei-critics-m…
Salu2
--
USA LINUX OPENSUSE QUE ES SOFTWARE LIBRE, NO NECESITAS PIRATEAR NADA Y
NI TE VAS A PREOCUPAR MAS POR LOS VIRUS Y SPYWARES:
http://www.opensuse.org/es/
Puedes visitar mi blog en:
http://jerbes.blogspot.com.ar/
--
Para dar de baja la suscripción, mande un mensaje a:
opensuse-es+unsubscribe(a)opensuse.org
Para obtener el resto de direcciones-comando, mande
un mensaje a:
opensuse-es+help(a)opensuse.org
Buenas:
Esperando estén todos bien con esto que nos cae.
Tengo un problema al hacer una copia en discos con rsync, el sistema se
reinicia aleatoriamente cuando está haciéndola.
Pero solo pasa con dos discos uno cifrado y el otro con btrfs.
Para saber si era eso o el disco lo formatee con xfs y problema
solucionado (me fastidia por los snap que son rápidos y me costó su
tiempo, eran 8TB).
Pero el disco cifrado debe seguir así.
Y sincronizar 8TB me lleva todo el día con un motón de reinicios.
Y si, pasa con otro disco en las mismas circunstancias.
Log, ni flores, empiezan a salir puntos y reinicio, otras ni eso.
Falta de memoria no porque tiene 4GB y apenas consume 500MB.
Con el btrfs me creo que pueda pasar porque no es una maravilla con
según que cosas, pero con el cifrado llevo mucho tiempo usándolo y no
había tenido problemas.
Así que se aceptan sugerencias.
Saludos
Apple anunció que su actualización de iOS 15 incluirá una puerta trasera
sin precedentes que utilizará para escanear fotos y mensajes en sus
dispositivos Apple. Esta es una desviación impactante del compromiso de
Apple con la privacidad y, a menos que detengamos esto ahora, otras
empresas de tecnología podrían hacer lo mismo.
Apple afirma que esta decisión está destinada a prevenir la propagación de
material de abuso sexual infantil (CSAM). No hay duda de que el abuso
infantil es una crisis que debe abordarse, pero la vigilancia amplia de los
dispositivos de las personas no es la solución.
Este tipo de vigilancia pone a las personas marginadas, incluidos los
niños, en un riesgo especial. Los niños LBGTQ + podrían estar expuestos y
puestos en situaciones dañinas.1 Los países autoritarios podrían exigir que
Apple comience a escanear en busca de otro contenido y apuntar a personas
marcadas por cualquier cosa, desde activismo hasta homosexualidad.2 Y el
cifrado de extremo a extremo será imposible, lo que pone las comunicaciones
de todos en riesgo.
Todavía hay tiempo para detener esto: Apple podría dar marcha atrás y
decidir no impulsar esta actualización. Ya ha habido una gran ola de
oposición por parte de grupos de derechos civiles, desarrolladores y
tecnólogos (incluso dentro de Apple) .4 Ahora es su oportunidad de dejar
clara su oposición: ¡dígale a Apple que cancele esta actualización y
mantenga nuestros teléfonos seguros!
Este es otro ejemplo de cómo Apple utiliza su poder de monopolio para
controlar los dispositivos que posee. De manera similar a cómo Apple solo
permite a los usuarios descargar aplicaciones de su App Store, la compañía
no permite que las personas eliminen estas funciones. Es por eso que
debemos evitar que Apple impulse esta actualización antes de que sea
demasiado tarde.
https://www.nospyphone.com/
Le robaron el nombre "Spyphone" a Richard Stallman, que ya lo utilizaba
hace más de 10 años!
😂😂😂😂😂😂😂😂😂
https://www.youtube.com/watch?v=zQ2Ipzfg004
--
USA LINUX OPENSUSE QUE ES SOFTWARE LIBRE, NO NECESITAS PIRATEAR NADA Y NI
TE VAS A PREOCUPAR MAS POR LOS VIRUS Y SPYWARES:
http://www.opensuse.org/es/
Puedes visitar mi blog en:
http://jerbes.blogspot.com.ar/
Saludos familia:
Deseo que estén bien de salud. Hace 15 días cayó una ligera chispa del
cielo,
que acabó con el router y el servidor proxy, el cual pude recuperar la
Mobo pero a la semana
expiró. Logré echar una PC(dinosaurio) con las siguientes caraterísticas:
RAM: 256 Mb DIMM
CPU: Pentium III, SLOT-1 a 700MHz
HDD: 40 Gb.
Problema con squid:
Versión: Squid Cache: Version 3.4.4
Aún con la configuración básica del squid cuando trato de crear la
cache, me sale este error
Comando:
# squid -zX
2021/08/19 10:07:08.473| debug.cc(425) parseOptions: command-line -X
overrides: ALL,7
2021/08/19 10:07:08.474| cache_manager.cc(102) registerProfile:
registering legacy mem
2021/08/19 10:07:08.475| cache_manager.cc(87) registerProfile:
registered profile: mem
2021/08/19 10:07:08.475| cache_manager.cc(87) registerProfile:
registered profile: diskd
2021/08/19 10:07:08.476| cache_manager.cc(102) registerProfile:
registering legacy squidaio_counts
2021/08/19 10:07:08.476| cache_manager.cc(87) registerProfile:
registered profile: squidaio_counts
2021/08/19 10:07:08.476| rock/RockStoreFileSystem.cc(44) setup: Will use
Rock FS
2021/08/19 10:07:08.476| Startup: Initializing Authentication Schemes ...
2021/08/19 10:07:08.476| Startup: Initialized Authentication Scheme 'basic'
2021/08/19 10:07:08.476| Startup: Initialized Authentication Scheme 'digest'
2021/08/19 10:07:08.476| Startup: Initialized Authentication Scheme
'negotiate'
2021/08/19 10:07:08.476| Startup: Initialized Authentication Scheme 'ntlm'
2021/08/19 10:07:08.476| Startup: Initialized Authentication.
2021/08/19 10:07:08.479| tools.cc(69) ProbeTransport: Detected IPv6
hybrid or v4-mapping stack...
2021/08/19 10:07:08.479| tools.cc(83) ProbeTransport: IPv6 transport Enabled
2021/08/19 10:07:08.479| Config.cc(39) registerTokens: register format
tokens for 'adapt'
2021/08/19 10:07:08.480| Config.cc(39) registerTokens: register format
tokens for 'icap'
2021/08/19 10:07:08.480| Config.cc(39) registerTokens: register format
tokens for 'ssl'
2021/08/19 10:07:08.480| cache_cf.cc(608) parseConfigFile:
2021/08/19 10:07:08.481| cf_parser.cci(4053) free_all:
Instrucción ilegal <-------------------------------!!!!!!!!!!!!!!!!!!!!!!
Por supuesto no tengo navegación.
Cualquier ayuda seria bienvenida.
Atte.
--
Ing. Jesús Reyes Piedra
Admin Red Neurodesarrollo,Cárdenas
La caja decía:"Requiere windows 95 o superior"...
Entonces instalé LINUX.
--
Este mensaje le ha llegado mediante el servicio de correo electronico que ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema Nacional de Salud. La persona que envia este correo asume el compromiso de usar el servicio a tales fines y cumplir con las regulaciones establecidas
Infomed: http://www.sld.cu/
Saludo muchachos,
La lista esta un poco tranquila, salvo algunas discusiones políticas, de
conspiraciones y cosas así.
Me pueden ayudar recomendando un software que sea bueno para supervisar
servidores, su estado actual, capacidades, cosas asi. He estado usando
Zabbix, pero no me convenso, en cierto momento me hizo crecer los logs, de
los clientes y me causo un desastre. La idea es poder usarlo por medio de
la WEB
Muchas gracias.
--
*Linux Shirt -- [https://dreamshopsv.com/ <https://dreamshopsv.com/>]*
Saludos,
cheperobert
Hola, he instalado leap 15.3 kernel 5.3.18-59.10-default.
Mediante al interfaz yast he unido la maquina un dominio, y comprobado
que me puedo logear en la maquina con las credenciales del dominio.
Lo que me gustaría implementar es que se importaran los grupos de
usuario del dominio a la maquina, por ejemplo que los administradores
de dominio entrasen con privilegios para poder hacer sudo. Claro en
/etc/passwd | group | Shadow no tengo ninguna referencia a estos
grupos que estan en el Domain Controller asignado.
Saludos
--
"El cielo es para los dragones
lo que el agua es para las ninfas"
Hace un rato me volvió a ocurrir después de un par de meses que me
apareciá el error de que el sistema no podía leer /home.
Tengo activado en la bios y en los servicios de sistema smart.
Este es el resultado de: smartctl -a /dev/sdb
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.13.4-1-default] (SUSE RPM)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Toshiba 3.5" DT01ACA... Desktop HDD
Device Model: TOSHIBA DT01ACA200
Serial Number: Y4F86JKAS
LU WWN Device Id: 5 000039 ffadfea81
Firmware Version: MX4OABB0
User Capacity: 2.000.398.934.016 bytes [2,00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 4
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Tue Aug 3 19:43:57 2021 -03
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
General SMART Values:
Offline data collection status: (0x80) Offline data collection activity
was never started.
Auto Offline Data Collection: Enabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: (14918) seconds.
Offline data collection
capabilities: (0x5b) SMART execute Offline immediate.
Auto Offline data collection
on/off support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 249) minutes.
SCT capabilities: (0x003d) SCT Status supported.
SCT Error Recovery Control supported.
SCT Feature Control supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE
UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000b 100 100 016 Pre-fail
Always - 0
2 Throughput_Performance 0x0005 139 139 054 Pre-fail
Offline - 71
3 Spin_Up_Time 0x0007 129 129 024 Pre-fail
Always - 295 (Average 294)
4 Start_Stop_Count 0x0012 099 099 000 Old_age
Always - 4315
5 Reallocated_Sector_Ct 0x0033 100 100 005 Pre-fail
Always - 0
7 Seek_Error_Rate 0x000b 100 100 067 Pre-fail
Always - 0
8 Seek_Time_Performance 0x0005 124 124 020 Pre-fail
Offline - 33
9 Power_On_Hours 0x0012 099 099 000 Old_age
Always - 10548
10 Spin_Retry_Count 0x0013 100 100 060 Pre-fail
Always - 0
12 Power_Cycle_Count 0x0032 099 099 000 Old_age
Always - 4129
192 Power-Off_Retract_Count 0x0032 097 097 000 Old_age
Always - 4316
193 Load_Cycle_Count 0x0012 097 097 000 Old_age
Always - 4316
194 Temperature_Celsius 0x0002 200 200 000 Old_age
Always - 30 (Min/Max 11/50)
196 Reallocated_Event_Count 0x0032 100 100 000 Old_age
Always - 0
197 Current_Pending_Sector 0x0022 100 100 000 Old_age
Always - 0
198 Offline_Uncorrectable 0x0008 100 100 000 Old_age
Offline - 0
199 UDMA_CRC_Error_Count 0x000a 200 200 000 Old_age
Always - 0
SMART Error Log Version: 1
No Errors Logged
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining
LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 10543 -
# 2 Short offline Completed without error 00% 10538 -
# 3 Short offline Completed without error 00% 10523 -
# 4 Short offline Completed without error 00% 10516 -
# 5 Short offline Completed without error 00% 10508 -
# 6 Short offline Completed without error 00% 10500 -
# 7 Short offline Completed without error 00% 10495 -
# 8 Short offline Completed without error 00% 10488 -
# 9 Short offline Completed without error 00% 10480 -
#10 Short offline Completed without error 00% 10468 -
#11 Short offline Completed without error 00% 10459 -
#12 Short offline Completed without error 00% 10454 -
#13 Short offline Completed without error 00% 10447 -
#14 Short offline Completed without error 00% 10439 -
#15 Short offline Completed without error 00% 10428 -
#16 Short offline Completed without error 00% 10422 -
#17 Short offline Completed without error 00% 10417 -
#18 Short offline Completed without error 00% 10409 -
#19 Short offline Completed without error 00% 10400 -
#20 Short offline Completed without error 00% 10393 -
#21 Short offline Completed without error 00% 10384 -
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
El citado disco duro tiene una vida media útil estimada de 300.000
horas. Recién está en las 10.548 horas.
https://www.geektopia.es/es/product/toshiba/dt01aca200/
Los únicos indicadores sospechoso son:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE
UPDATED WHEN_FAILED RAW_VALUE
3 Spin_Up_Time 0x0007 129 129 024 Pre-fail Always
- 295 (Average 294)
8 Seek_Time_Performance 0x0005 124 124 020 Pre-fail
Offline - 33
Aunque también puede tratarse de algún falso contacto, ya sea en el
cable de datos, alimentación o el chipset con los drivers del kernel.
Una vez que arrancó, funciona sin problemas.
¿Alguna sugerencia?
Salu2
--
USA LINUX OPENSUSE QUE ES SOFTWARE LIBRE, NO NECESITAS PIRATEAR NADA Y
NI TE VAS A PREOCUPAR MAS POR LOS VIRUS Y SPYWARES:
http://www.opensuse.org/es/
Puedes visitar mi blog en:
http://jerbes.blogspot.com.ar/