5 Website Development Tips To Boost Your Business Growth Exponentially

Hi  I ran into an issue where my Of  needed to reinstall.  I didn’t repartition so I was able to keep all  the data.  I  installed a  new copy of OpenFiler using Free space on the server.

After Reinstalling and SSH into the box  I have  tried to locate my partition from my old installation,   I knew it was between 7-8 GB so in my case it was mounted here


So I made a temp folder and mounted it

mkdir /mnt/of2

mount -t ext2 /dev/cciss/c0d1p2 /mnt/of2

Then after that I was just able to copy files…      but I did edit  2 files  to avoid  conflicts with new partitions.

  1. /opt/openfiler/etc/volumes.xml
    1. My “/mnt/of2/opt/openfiler/etc/volumes.xml” had this
      1. <volume id=”cyfordservers” name=”Cyford Servers” mountpoint=”/mnt/sata/cyfordservers/” vg=”sata” fstype=”ext4″ />
        <volume id=”officeshare” name=”Office File Server” mountpoint=”/mnt/sata/officeshare/” vg=”sata” fstype=”xfs” />
        <volume id=”cyford-software” name=”Cyford-Software” mountpoint=”/mnt/sata/cyford-software/” vg=”sata” fstype=”ext4″ />
        <volume id=”cyford-backups” name=”Cyford Backups” mountpoint=”/mnt/sata/cyford-backups/” vg=”sata” fstype=”ext3″ />
        <volume id=”configfiles” name=”ConfigFiles” mountpoint=”/mnt/ssd/configfiles/” vg=”ssd” fstype=”xfs” />
        <volume id=”cyford-database” name=”Cyford-Database” mountpoint=”/mnt/ssd/cyford-database/” vg=”ssd” fstype=”xfs” />
    2. Which added to the Live file “/opt/openfiler/etc/volumes.xml”
  2. /etc/fstab
    1. I added from /mnt/of2/etc/fstab ( my example)
      1. /dev/sata/cyfordservers /mnt/sata/cyfordservers ext4 defaults,usrquota,grpquota,acl 0 0
        /dev/sata/officeshare /mnt/sata/officeshare xfs defaults,usrquota,grpquota 0 0
        /dev/sata/cyford-software /mnt/sata/cyford-software ext4 defaults,usrquota,grpquota,acl 0 0
        /dev/sata/cyford-backups /mnt/sata/cyford-backups ext3 defaults,usrquota,grpquota,acl,user_xattr 0 0
        /dev/ssd/configfiles /mnt/ssd/configfiles xfs defaults,usrquota,grpquota 0 0
        /dev/ssd/cyford-database /mnt/ssd/cyford-database xfs defaults,usrquota,grpquota 0 0
      2. Added that too “/etc/fstab
      3. After that all was simple, made backups of the following folders then copy the old ones.
        1. mv /etc /etc-BK | mv /opt/openfiler/ /opt/openfiler-BK
        2. mkdir “/etc” | mkdir “/opt/openfiler”
        3. cp -r /mnt/of2/etc/* /etc | cp -r /mnt/of2/opt/openfiler /opt/openfiler

{jcomments on}

Published on: Mar 03, 2021

Categories: Web Development

    No Comments yet! Be the first one to write.

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    user IP : | Server_IP: | IP_Score: