Visit Open-E website
Results 1 to 7 of 7

Thread: Move "Shares" between Logical Volumes

  1. #1

    Default Move "Shares" between Logical Volumes

    How can I move an existent "Share" to another "Logical Volume"?
    P.S.: This move must be performed "online" -> No downtime possible.

    Thanks a lot!

  2. #2
    Join Date
    May 2008
    Location
    Hamburg, Germany
    Posts
    108

    Default

    Quote Originally Posted by StefanMosleitner
    How can I move an existent "Share" to another "Logical Volume"?
    P.S.: This move must be performed "online" -> No downtime possible.

    Thanks a lot!
    I have not seen any mechanisms to transfer logical volume *contents* online from one logical volume to another. IMO this would require another access layer above the file system, which I have not seen yet.

    So just for clarification: Do you not only want to move the share, but its data as well? And "online" means not only the DSS has to remain online, but the share and it's using clients as well?

    Even with (temporary) read-only access to the share, I only see a disruptive way of moving the share:
    - make the original share r/o
    - copy the share's content to the new location
    - change the share's storage location
    - delete the data at the share's original location

    But I would expect this to disrupt the share's clients connections.

    Regards,
    Jens

  3. #3

    Default

    Hi JMO!

    The backround is as follows:

    - Clients which are using an existent share "Datashare1".
    -> I would like to move this "Datashare1" to another Logical Volume (at another VolumeGroup with more disc space).
    - Users/Clients which are mounting the share "Datashare1" should not notice any change!
    -> I can do that move at night (no user online) but i can not restart the whole server/using knoppixx etc.

  4. #4
    Join Date
    May 2008
    Location
    Hamburg, Germany
    Posts
    108

    Default

    Quote Originally Posted by StefanMosleitner
    Hi JMO!

    The backround is as follows:

    - Clients which are using an existent share "Datashare1".
    -> I would like to move this "Datashare1" to another Logical Volume (at another VolumeGroup with more disc space).
    - Users/Clients which are mounting the share "Datashare1" should not notice any change!
    -> I can do that move at night (no user online) but i can not restart the whole server/using knoppixx etc.
    Hi Stefan,

    now that actually does sound easy:
    - make the "old" share r/o (just to make sure no one interferes with the following actions)
    - create a temporary share for the new LV/path (if not available via an already defined share for some up-level directory) with write permissions
    - at some client, mount both shares
    - move the content from old share to new share
    - change the "old share" definition to point to the new directory and re-enable r/w

    Done. Oh, and YMMV

    Regards,
    Jens

  5. #5

    Default

    > - change the "old share" definition to point to the new directory and re-enable r/w
    -> How can I do this? "NAS Resources" -> "Path" could not edited after initial creation.

  6. #6
    Join Date
    May 2008
    Location
    Hamburg, Germany
    Posts
    108

    Default

    Quote Originally Posted by StefanMosleitner
    > - change the "old share" definition to point to the new directory and re-enable r/w
    -> How can I do this? "NAS Resources" -> "Path" could not edited after initial creation.
    Oops, I don't have access to an DSS at the moment, so I couldn't check in advance. According to the manual this should be possible, see section 5.2.2.3.1:
    --- cut here ---
    You will find all existing shares organized below. You can edit them with a simple click. All
    parameters except the name are modifiable.
    --- cut here ---

    If it really won't work, then you'll have to delete the old share and recreate it, including the permission settings

    With regards,

    Jens

  7. #7

    Default

    Hi Jens,

    My fault... manual edit of the path destination is not possible but with mouse-action you can browse to the designated lv/folder.

    I will create a "temp" share with the destination folder (at destination lv/vg), move files, and than edit the path of the original share to the new folder and delete "temp" share.

    Thanks a lot for your assistance!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •