Feb 15

AIX and CIFS

Category: AIX

Precisamos instalar os seguintes filesets:

bos.cifs_fs.rte
bos.cifs_fs.smit

Verificando a instalação:

# lslpp -l | grep -i cifs
bos.cifs_fs.rte 5.3.0.50 COMMITTED Runtime for SMBFS
bos.cifs_fs.smit 5.3.0.0 COMMITTED SMIT Interface for SMBFS



Após isto, basta realizar a montagem do compartilhamento Windows no AIX Server.

Montagem atavés  do Smitty

# smitty cifs_fs

Depois Add/Mount a CIFS FileSystem

Montagem através da linha de comando

  • Monta compartilhamento CIFS

# mkcifsmnt -f '/MOUNT/POINT' -d 'SHARE NAME' -h 'IP ADDRESS' -c 'USER NAME' -p 'PASSWORD' -t rw -u 0 -g 0 -x 755 -w WORKGROUP -N

  • Monta compartilhamento CIFS e adiciona entrada em /etc/filesystems

# mkcifsmnt -f '/MOUNT/POINT' -d 'SHARE NAME' -h 'IP ADDRESS' -c 'USER NAME' -p 'PASSWORD' -t rw -u 0 -g 0 -x 755 -w WORKGROUP -B

  • Não monta compartilhamento CIFS e adiciona entrada em /etc/filesystems

# mkcifsmnt -f '/MOUNT/POINT' -d 'SHARE NAME' -h 'IP ADDRESS' -c 'USER NAME' -p 'PASSWORD' -t rw -u 0 -g 0 -x 755 -w WORKGROUP -I

  • Desmonta compartilhamento CIFS

# /usr/sbin/rmcifsmnt -f '/MOUNT/POINT' '-N'

  • Desmonta compartilhamento CIFS e remove entrada em /etc/filesystems

# /usr/sbin/rmcifsmnt -f '/MOUNT/POINT' '-B'

  • Montagem do compartilhamento via “Mount”

# mount -v cifs -n IPADDRESS/USERNAME/PASSWORD -o wrkgrp=WORKGROUP,uid=0,gid=0,fmode=755 SHARENAME /MOUNT/POINT

Share this on Orkut!
Comments are off for this post

Comments are closed.