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!
Thanks for any suggestions!
In Installation
Share this post:
Responses (4)
-
Accepted Answer
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!
. -
Accepted Answer
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. -
Accepted Answer
-
Accepted Answer
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:
It really depend on how you had it structured before. To make it permanent you have to edit /etc/fstab with something like:mount --bind /raid_name/homes /home
mount --bind /raid_name/flexshares /var/flexshare/shares
The Storage Manager has good doc links./raid_name/homes /home bind
/raid_name/flexshares /var/flexshare/shares bind
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.
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »