Add removable media to SEP sesam

From SEPsesam

Jump to: navigation, search

Add removable media to SEP sesam under Linux

In this example 3 USB-media are added to the Sesam environment. With the usage of Storage Pools it is possible, to mount the USB hardware into the filesystem with SEP sesam (dynamic mount).

Attention

If the Automount Funktion of the OS makes problems, this should possibly be disabled!


Configuration

1. Create a Mountpoint in the Linux-System

mkdir /media/usbdisk

2. Connect the first USB-media

3. Create a Media Pool for example USB_DISK_POOL

  • Size: At min. the size of all Hd's belonging to that Pool (for example for 3 Hd's a 100GB min. 300GB)
  • Directory: /opt/sesam (to be used as a dummy value), since the control is managed over the respective Storage Pools



4. After saving the Media Pool-definition, reopen this Media Pool for further edits and mark the option use Storage Pools



5. Create a Storage Pool for every USB-media and configure it as shown below:

Note

Please start the configuration of the Storage Pool with the New button!

Name:                SP1 (first Storage Pool)
Path:                /media/usbdev (the path [mount point] for the USB-media)
Capacity:            102400 (max. capacity for that USB-media (100GB)
Load command:        mount
Unload command:      umount
Device path:         /dev/sdb1 (the path which is the given device name of that USB-media by the OS)


Note

The creation of further Storage Pools of the same type can be done Copy button.

Add the created Storage Pools to the Media Pool from the pick list as shown below.



6. If neccesary add a new media type to the Sesam DB (in this case we add a 100GB IBM USB HDD)


Go to “NEW” an add a new media type with the following properties

7. Then the USB-media can be attached successively via Components->Media->Initialize as media. For that the appropriate media must be connected to the system. During the implementation of the USB media a directory is cretated in the root-path of the media.

The USB-media is mounted dynamic to the filesystem with the mount and unmount function. If the dynamic mount function should not be used, the fields Load command, Unload command and Device path can be left blank.

Personal tools