Moving /media to RAID1
I am trying to build a web server. It has one SSD for the OS and a pair of drives that are a RAID1 array created with mdadm (/mnt/md0). The single drive has to remain the boot drive, apparently the RAID1 array is not recommended to be a boot drive and it also contains another OS. In particular, /media needs to be on the RAID1 array. If I use
Code:
mv /media /mnt/md0/media Thanks in advance for any replies. scott |
Your post is a bit confusing and it isn't entirely clear what you want to accomplish?
I do not understand what you mean by /media needs to be on the RAID? Is there any data on /media currently? Typically /media is for external drives like CD/DVDs and USB drives. Is the RAID automatically being mounted on /media versus /mnt? |
Thanks for the reply. I'm going to do a reinstall with different mount points for the RAID array to solve my concern. Apologies for being confused/confusing.
scott |
If the RAID is separate from the main operating system drive then it is unclear why you want to reinstall. Just unmount and mount where ever. Change the /etc/fstab file as desired.
|
Probably too late now, but the easiest way to make all references to /media to point to /mnt/md0/media would be a symlink:
Code:
cd / |
All times are GMT -5. The time now is 12:15 PM. |