LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Virtualization and Cloud (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/)
-   -   FreeNAS on Xen - Storage Setup (https://www.linuxquestions.org/questions/linux-virtualization-and-cloud-90/freenas-on-xen-storage-setup-4175592825/)

straightexhaust 11-03-2016 01:23 PM

FreeNAS on Xen - Storage Setup
 
To start I am a linux newbie/hobbyist.

I have Xen server 7 running with a FreeNAS 9.10.1 VM

My server is a supermicro with X8DTN+ board, 836E16-R1200B chassis, Dual Xeon L5630 Quad Core 2.13Ghz and 24GB DDR3 ECC REG Memory

Just to be clear I am not running a RAID card

I have installed 5 1TB drives that I want to use to create a RAIDZ2 and 3 6TB drives that I want to create a RAIDZ1

In the FreeNAS web utility I successfully created a RAID with the five drives with the other 3 not installed, once I reinstall them into the bays and reboot FreeNAS the dataset I've created under the volume disappears and when I go under "view disks" only 3 of the 1TB drives are displayed and now 2 of the 6TB drives. It never shows all 8.

Initially in Xen I did the following:


xe sr-create name-label=Local_ISO type=iso device-config:legacy_mode=true device-config:location=/opt/Local_ISO content-type=iso

cd physicaldrives/hdd/

ln -s /dev/sdb
ln -s /dev/sdc
ln -s /dev/sdd
ln -s /dev/sde
ln -s /dev/sdf
ln -s /dev/sdg
ln -s /dev/sdh
ln -s /dev/sdi

xe sr-create name-label="Physical HDDs" type=udev content-type=disk device-config:location=/srv/physicaldrives/hdd

I am open to any suggestions or changes.

My plans are to eventually run additional VMs for iSpy and Plex among others

Also to note I have a 500gb drive plugged directly into the mobo running Xen and FreeNAS

Thanks for all of your help!

straightexhaust 11-03-2016 10:11 PM

Also in Xen in the SR I created "Physical HDDs" the drives shift around. Meaning in the screenshot below the drives are labeled and have descriptions that correspond with the way I have my bays labled however upon a xen reboot they shuffle around. I believe the way I am "passing" them to xen is wrong. This is making tracking issues with this very troublesome.

http://i112.photobucket.com/albums/n...t%20around.jpg


All times are GMT -5. The time now is 12:10 AM.