Shared Folders: Difference between revisions

From Wiki
Jump to navigation Jump to search
Line 41: Line 41:
  User folder: mount -t cifs -o username=iciq/username //iciqfs01.iciq.es/username$  /home/username/disk
  User folder: mount -t cifs -o username=iciq/username //iciqfs01.iciq.es/username$  /home/username/disk
  Common folder: mount -t cifs -o username=iciq/username //iciqfs01.iciq.es/comu  /home/username/disk1
  Common folder: mount -t cifs -o username=iciq/username //iciqfs01.iciq.es/comu  /home/username/disk1
  Group folder: mount -t cifs -o username=iciq/username //iciqfs01.iciq.es/depart/Grup_Dr_XX  /home/username/disk2
  Group folder: mount -t cifs -o username=iciq/username //iciqfs01.iciq.es/depart /home/username/disk2  
then look for your group inside the depart folder


* You will need to use root or sudo rights to mount these folders.  
* You will need to use root or sudo rights to mount these folders.  
Line 47: Line 48:
* The command above will mount the comu or username$ directory to the folders disk, disk1 and disk2 in your home. You can change that by another name or another directory (i.e. /media/ICIQ_COMU/). You should create the directories before trying to mount them.
* The command above will mount the comu or username$ directory to the folders disk, disk1 and disk2 in your home. You can change that by another name or another directory (i.e. /media/ICIQ_COMU/). You should create the directories before trying to mount them.


* Some users are unable to mount //iciqfs01.iciq.es/depart/Grup_Dr_XX, but they are able to mount //iciqfs01.iciq.es/depart and have access to the directories of the grup from there. So try: mount -t cifs -o username=iciq/username //iciqfs01.iciq.es/'''depart'''  /home/username/disk2
* Most users are unable to mount //iciqfs01.iciq.es/depart/Grup_Dr_XX, but they are able to mount //iciqfs01.iciq.es/depart and have access to the directories of the grup from there.  


* Some other users have to put "depart" in upper case letter to mount the depart directory, like this: DEPART
* Some users need to type depart in capital letters, so try: mount -t cifs -o username=iciq/username //iciqfs01.iciq.es/'''DEPART'''  /home/username/disk2

Revision as of 08:37, 12 May 2009

Windows, MAC and Linux

The shared folders can be found typing the following in your filebrowser:

The general:
smb://iciqfs01.iciq.es/comu
For each group
smb://iciqfs01.iciq.es/depart/Grup_Dr_Maseras
smb://iciqfs01.iciq.es/depart/Grup_Dr_Bo
smb://iciqfs01.iciq.es/depart/Grup_Dr_Lopez
For each user (2GB Max. disk space):
smb://iciqfs01.iciq.es/username$

It will ask for:

Username => iciq/username (your username as in the e-mail)
domain =>  (delete it)
password => the same as for your e-mail.

BACKUPs

The user folders backups are made weekly and monthly. Being able to back down in the time a year more or less.

In order to recover information of backups is needed to generate a GIDIC.

Linux only

Within Linux we can use "smbclient" to access the shared folders in a ftp-like client mode. For example:

smbclient  //iciqfs01.iciq.es/comu -U iciq/username

Moreover, we also can mount the shared folders on our pc. Firstly you need to get "smbfs" package, what will install in your system the CIFS filesystem (this is the sucessor of the SMB protocol). To install in Debian:

aptitude install smbfs

To mount an exported windows folder on a Linux box:

mount -t cifs -o username=iciq/username //iciqfs01.iciq.es/what_you_want_to_mount  /Where_you_want_to_mount_it
Examples:
User folder: mount -t cifs -o username=iciq/username //iciqfs01.iciq.es/username$  /home/username/disk
Common folder: mount -t cifs -o username=iciq/username //iciqfs01.iciq.es/comu  /home/username/disk1
Group folder: mount -t cifs -o username=iciq/username //iciqfs01.iciq.es/depart /home/username/disk2 
then look for your group inside the depart folder
  • You will need to use root or sudo rights to mount these folders.
  • The command above will mount the comu or username$ directory to the folders disk, disk1 and disk2 in your home. You can change that by another name or another directory (i.e. /media/ICIQ_COMU/). You should create the directories before trying to mount them.
  • Most users are unable to mount //iciqfs01.iciq.es/depart/Grup_Dr_XX, but they are able to mount //iciqfs01.iciq.es/depart and have access to the directories of the grup from there.
  • Some users need to type depart in capital letters, so try: mount -t cifs -o username=iciq/username //iciqfs01.iciq.es/DEPART /home/username/disk2