Ir al centro de documentación
Contact technical support
...
Para almacenar los metadatos en un almacenamiento conectado a la red (NAS),
...
siga estos pasos:
En el servidor del SO Linux, cree la carpeta netdir. Por ejemplo, en la carpeta /media
On the Server in Linux OS, create the netdir folder. For example, in the /media folder:
Code Block |
---|
sudo mkdir /media/netdir |
Install the Instale la herramienta cifs-utils utility.
Code Block |
---|
sudo apt-get install cifs-utils |
Attach the shared network folder to the created netdir folderAdjunte la carpeta de red compartida a la carpeta netdir que ha creado.
Code Block |
---|
sudo mount -t cifs //IP-address/common /media/netdir -o user=User,password=123,uid=1001,gid=1002,vers=2.0 |
wheredonde,
uid, gid − id of the user and ngp group; they can be obtained using the following commanddel usuario y grupo ngp; se pueden obtener usando el siguiente comando:
Code Block |
---|
id ngp |
After you restart Linux OS, the attached folder will be deleted. To configure the network folder to be attached on the OS loading, do the following:
La carpeta adjuntada se eliminará tras haber reiniciado el SO Linux. Para configurar la carpeta de red a vincular en la carga del SO, siga estos pasos:
Abra el fichero /etc/fstabOpen the /etc/fstab file.
Code Block |
---|
sudo nano /etc/fstab |
Add the following string to the fileAñada la siguiente cadena al fichero:
Code Block |
---|
//IP-address/common /media/netdir cifs user=User,password=123,uid=1001,gid=1002,vers=2.0 0 0 |