Forums

Resolved
0 votes
Hi, I am facing the following issue. I had a configuration with 1 160GB disc and two 2TB discs in RAID1. Clear OS was running on the small disc and the RAID1 discs were used for the flexshares and home directories. I now did a fresh install on another 160GB disc and plugged in the RAID1 discs after the install. Now I would need to configure the flexshares and home directories in such a way that the server connects again with the original shares and directories. Is this possible? How should I do this?
Thanks for any suggestions!
Wednesday, April 05 2017, 06:21 PM
Share this post:
Responses (4)
  • Accepted Answer

    Tuesday, May 02 2017, 08:28 PM - #Permalink
    Resolved
    0 votes
    Hi Nick, just to give you an update on the situation. It appeared there was an issue with duplicate VG name. After I solved this I was indeed able to mount the raid1 and access all data (quite a relief, altough all relevant data was backed up). Indeed, mounting the old home folders to /home and the old flexshares to var/flexshare/shares (i did this in fstab but did not use "bind") allowed me to access them via windows systems (after fixing the ownerships). Still need to complete the configuration of the server as gateway and install a dlna server but that should be relatively easy.
    Thanks again for the support!
    .
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 06 2017, 04:26 PM - #Permalink
    Resolved
    0 votes
    I haven't a clue as I've never used RAID or the LVM. I know for RAID to use mdadm but I don't know how. I don't know the lvm utilities. Have you preserved any setup from your prior installation? I think you did a config back up and restore so you should be able to see the entries in the old fstab to mount the discs. I don't know where you find the mdadm of LVM config files but I'd have thought they would also be in the back up but may need tweaking in the new instalation.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 06 2017, 03:32 PM - #Permalink
    Resolved
    0 votes
    Hi Nick,
    Last time I did the configuration directly with the installation using LVM. But this was back in 2012.
    How can I identify the raid name? This is not the md code, is it? I've been looking around with winscp but have not found the original shares or home folders yet.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, April 05 2017, 06:41 PM - #Permalink
    Resolved
    0 votes
    Can you remember how you did it before? Did you use the Storage Manager or do it manually?
    To do it manually, if you have /raid_name/homes and /raid_name/flexshares on your RAID array you can do something like:
    mount --bind /raid_name/homes /home
    mount --bind /raid_name/flexshares /var/flexshare/shares
    It really depend on how you had it structured before. To make it permanent you have to edit /etc/fstab with something like:
    /raid_name/homes /home bind
    /raid_name/flexshares /var/flexshare/shares bind
    The Storage Manager has good doc links.

    As this is a new installation, if you did not do a backup and restore (I can't remember) you may also have to sort out file ownerships.
    The reply is currently minimized Show
Your Reply