Jump to content
XPEnology Community

[HELP] DSM 6.2 habilitar Raid SHR


EDGARDS

Recommended Posts

Hola, 

 

Creo que a partir de la 6.2-23739, la edición de ese archivo hace que se cuelgue el DSM. Al menos yo he probado con añadir más discos de los referenciados y me pasa exactamente igual.

Estuve leyendo y al parecer ese es el último update que admite ciertas configuraciones "personalizadas".

 

Link to comment
Share on other sites

Hola Bluesnow, Gracias por contestar.

 

Veo que ya no soy yo solo, muchos pensaran que SHR, no es bueno usarlo.

Emulando un DS3615 DSM  5.2 

Pero en mi caso tener SHR con 6x500Gb + 2x1Tb + 2x2Tb = Me hacia tener 7Tb + 2Tb de Backup (no meto mas de 500Gb por que no caben, pueden seguir en el cajon por si cascan)

 

Me estoy planteando volver al 5.2

Link to comment
Share on other sites

Solucionado..

 

Hay que editar el archivo synoinfo.conf en dos Ubicaciones (NO editéis 1 y lo copiéis en el otro que NO son iguales)

etc\synoinfo.conf

etc.defaults\synoinfo.conf

 

Quote

 

#supportraidgroup="yes"

............

............
support_syno_hybrid_raid="yes"
supportphoto="yes"

 

 

Y listo ya funciona en DMS 6.2 el Raid en SHR despues de reinciar.

 

 

 

SHR.PNG

  • Thanks 2
Link to comment
Share on other sites

  • 6 months later...

Sobre este tema Bluesnow, podrías ayudarme a recuperar habilitar el SHR (cuando armé el NAS con DSM6.2.3 estaba habilitado el SHR, pero entones opté por JBOD, ahora me doy cuenta que necesitaría re-configurar a SHR , pero ya no me sale la opción . Pues parece que hay que editar estas lineas y tengo miedo de estropear todo. -Como accedo al synoinfo? mi DSM está en un USB y uso MAC, es decir no PUTYY. Puedo editar con el Windows Wordpad o Linux virtualidad en Mac el fichero de arranque?  Muchas gracias de anticipo!

Link to comment
Share on other sites

Mac es UNIX así que tienes un comando en el propio terminal como es ssh

Por tanto:

 

  1. abre un terminal en Mac
  2. ejecuta: ssh admin@IP_de_tu_NAS 
  3. Introduce la contraseña de admin
  4. una vez en el terminal del NAS tendrás que editar los archivos /etc.defaults/synoinfo.conf (y en DSM 6.2 tambien /etc/synoinfo.conf) con el comando vi 
  5. MUCHO CUIDADO!! vi es un poco raro de usar
  6. pulsa "i" (tecla i) para insertar / editar el archivo y comenta la línea supportraidgroup="yes" (añadiendo una almohadilla delante de la línea #)
  7. añade una nueva línea (justo debajo por ejemplo) habilitando SHR support_syno_hybrid_raid ="yes"
  8. guarda y sal de la edición de vi pulsando :wq
  9. reinicia el nas

Si no has usado antes vi, prueba primero en el terminal o con otro archivo, porque puedes cargarte el archivo de configuración y tener que volver a instalar DSM.

 

Un video (largo) y explicativo 

 

Edited by bluesnow
  • Like 1
Link to comment
Share on other sites

Bueno, lo intenté, pero no logré editar, no llegue a hacer ningun desastre el dsm 6.2 sigue funcionando, pero no logro habilitar el Raid SHR, y tengo 8 discos de distinta capacidad, con el Raid 5 pierdo mucho. Intenté con PITTY, Terminal de Mac y Linux, son los mismos comandos, pero parece que algo mal hice, porque no me deja "escribir y grabar" los cambios en las lineas. Sucede que la primera vez lo intenté, salí del Terminal de una forma poco ortodoxa, con un escape, y como no sabía bien como salir , muchas veces cerré el terminal Ahora me sale que "Can't open file for writing" , y esto podría ser porque 1) quedaron abiertas en el editor (de Linux, Windows y Mac) intentos infructuosos de "editar" el .conf ... , eliminar esos archivos .swp que están ocultos ya es una tarea títanica para mi. Hay otras posibilidades más "amigables" para editar el "config??" . 

Edited by Mary Andrea
Link to comment
Share on other sites

21 hours ago, bluesnow said:

Gracias bluesnow!!  funcionó !! 🥰 lararara !! La explicación tuya ha sido ejemplar . Me llevó un día entender los comandos de VIM y me complicó bastante el tema que no me dejaba "grabar" la edición del fichero. La Solución fue "usar el root" en vez del "admin", pues cuando entraba como admin@192.x.x.x me salía la bendita .swp file can't open writing ! > Entonces en otro post me enseñaron que simplemente , desde la linea de admin@ en el terminal, con escribir sudo-i entraba a operar como root@ y así fue que pude, editar las swp o bien delete, en fin, pude guardar/grabar las synoinfo sin problemas , maravilla!!! 

 

 

Link to comment
Share on other sites

bluesnow, como seguí tus pasos, hice pruebas con el editor VIM antes de tocar el synoinfo, con un archivo no muy importante. Hice pruebas con el etc/ups , y entre aperturas, saves, edit y closes... quedó vacío !! >> si bien no es un archivo importante, quisiera "recuperar" el archivo original o colocarles las lineas que corresponden para cuando le coloque un ups al NAS, tienes algún tips para ese archivo? recuerdo q no eran muchas líneas de instrucciones que había allí dentro? Podría hacer copy/paste/write y dejarlo operativo?

Link to comment
Share on other sites

  • 3 weeks later...

Bueno la regla máxima dice que antes de tocar hay que hacer un backup, así puedes recuperar el contenido sin más problemas después de destrozar algo. jeje.

 

Te pego el contenido del archivo ups.conf que yo tengo: 

# Network UPS Tools: example ups.conf
#
# --- SECURITY NOTE ---
#
# If you use snmp-ups and set a community string in here, you
# will have to secure this file to keep other users from obtaining
# that string.  It needs to be readable by upsdrvctl and any drivers,
# and by upsd.
#
# ---
#
# This is where you configure all the UPSes that this system will be
# monitoring directly.  These are usually attached to serial ports, but
# USB devices and SNMP devices are also supported.
#
# This file is used by upsdrvctl to start and stop your driver(s), and
# is also used by upsd to determine which drivers to monitor.  The
# drivers themselves also read this file for configuration directives.
#
# The general form is:
#
# [upsname]
#       driver = <drivername>
#         port = <portname>
#       < any other directives here >
#
# The section header ([upsname]) can be just about anything as long as
# it is a single word inside brackets.  upsd uses this to uniquely
# identify a UPS on this system.
#
# If you have a UPS called snoopy, your section header would be "[snoopy]".
# On a system called "doghouse", the line in your upsmon.conf to monitor
# it would look something like this:
#
#       MONITOR snoopy@doghouse 1 upsmonuser mypassword master
#
# It might look like this if monitoring in slave mode:
#
#       MONITOR snoopy@doghouse 1 upsmonuser mypassword slave
#
# Configuration directives
# ------------------------
#
# These directives are common to all drivers that support ups.conf:
#
#  driver: REQUIRED.  Specify the program to run to talk to this UPS.
#          apcsmart, bestups, and sec are some examples.
#
#    port: REQUIRED.  The serial port where your UPS is connected.
#          /dev/ttyS0 is usually the first port on Linux boxes, for example.
#
# sdorder: optional.  When you have multiple UPSes on your system, you
#          usually need to turn them off in a certain order.  upsdrvctl
#          shuts down all the 0s, then the 1s, 2s, and so on.  To exclude
#          a UPS from the shutdown sequence, set this to -1.
#
#          The default value for this parameter is 0.
#
#  nolock: optional, and not recommended for use in this file.
#
#          If you put nolock in here, the driver will not lock the
#          serial port every time it starts.  This may allow other
#          processes to seize the port if you start more than one by
#          mistake.
#
#          This is only intended to be used on systems where locking
#          absolutely must be disabled for the software to work.
#
# maxstartdelay: optional.  This can be set as a global variable
#                above your first UPS definition and it can also be
#                set in a UPS section.  This value controls how long
#                upsdrvctl will wait for the driver to finish starting.
#                This keeps your system from getting stuck due to a
#                broken driver or UPS.
#
#                The default is 45 seconds.
#
#
# Anything else is passed through to the hardware-specific part of
# the driver.
#
# Examples
# --------
#
# A simple example for a UPS called "powerpal" that uses the megatec
# driver on /dev/ttyS0 is:
#
# [powerpal]
#       driver = megatec
#       port = /dev/ttyS0
#       desc = "Web server"
#
# If your UPS driver requires additional settings, you can specify them
# here.  For example, if it supports a setting of "1234" for the
# variable "cable", it would look like this:
#
# [myups]
#       driver = mydriver
#       port = /dev/ttyS1
#       cable = 1234
#       desc = "Something descriptive"
#
# To find out if your driver supports any extra settings, start it with
# the -h option and/or read the driver's documentation.

pollinterval = 5

[ups]
        driver = usbhid-ups
        port = auto
        #community = name
        #snmp_version = v2c
        #mibs = auto
        #secName = Synology
        #secLevel = noAuthNoPriv
        #authProtocol = MD5
        #authPassword = 111111111111
        #privProtocol = DES
        #privPassword = 222222222222

 

  • Thanks 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...