Results 1 to 4 of 4

Thread: Mount /opt onto new array

  1. #1
    carnold is offline Advanced Member
    Join Date
    Jul 2007
    Rep Power

    Default Mount /opt onto new array

    I am trying to move the existing /opt folder and all its files onto a new array. The new physical drive is partittioned and formatted (reiserfs). I have edited the fstab and added /dev/sdb1 /opt reiserfs acl,user_xattr 1 2. Basically, what i would like to know is, can i move the existing /opt folder and all its files onto a new drive without messing with file permissions......will zimbra still work? Should zimbra be shut down when trying to move the files and folders? Anyone that has done this, could you offer so help?

    ps using zimbra beta1 OSS on SLES10

  2. #2
    modeerf is offline New Member
    Join Date
    May 2007
    Rep Power


    I went through this a couple weeks ago. On our test server I screwed up initially and didn't replicate the file permissions..let me just say..copy i with the file permissions intact.

    My process was

    Mount new file system at /newopt
    shutdown zimbra
    copy /opt to /newopt
    unmount new filesystem
    Mount new file system to /opt
    resart zimbra

    It worked with no problem and we are now up and running on 1.5 TB of wonderfully fast storage.

  3. #3
    Klug's Avatar
    Klug is offline Moderator
    Join Date
    Mar 2006
    Beaucaire, France
    Rep Power


    If you have a permission problem (after moving files arround for example), you can fix it with a tool provided by Zimbra :
    su -root
    chown -R zimbra:zimbra /opt/zimbra
    cd /opt/zimbra/libexec

  4. #4
    pgienger is offline Active Member
    Join Date
    Apr 2007
    Rep Power


    Or use the venerable tar commands...

    # cd /newopt
    # tar -cf - -C /oldopt zimbra | tar -xvf -
    While it might not be the quickest thing in the world, it works and file perms/owners/etc. all come over fine.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Fat Distribution Decision
    By paintbuoy in forum Users
    Replies: 19
    Last Post: 03-20-2014, 03:48 AM
  2. Can't use smbclient to mount a windows share
    By nbpc in forum Installation
    Replies: 3
    Last Post: 07-23-2007, 08:18 PM
  3. Replies: 1
    Last Post: 02-17-2006, 07:59 PM

Posting Permissions

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