On 10/11/2012 04:28 PM, Bob Cochran wrote:
Greetings,

I have a system which is essentially a network attached storage server. It has
FreeNAS 8.2.0 running on it from a USB flash drive, and approximately 12 Tb of
RAIDed storage across 9 hard drives. These drives are connected to two (2) IBM
M1015 SAS host adapters. (Forgive me, I'm still new to network storage and
didn't understand I can use an SAS expander in combination with the SAS HBAs
until yesterday.)

There is a 10th hard drive which is an SSD drive and which is not connected to
anything right now -- not to the SAS HBAs and not to the SuperMicro
motherboard's SATA ports.

I want to connect this SSD drive to the box and then use Cobbler to install
Fedora 17 specifically to the SSD. The Fedora installation will become a
virtual machine host and will run a bunch of guests that do various things. In
fact I want to turn FreeNAS into a vm.

My question is, do I need to disconnect all the NAS hard drives in order to
make certain that anaconda won't decide to format and use a storage drive
instead of the SSD? I would rather not risk the data that is on those storage
drives. Or is there a kickstart option to show me a list of the enumerated
hard drives and let me pick the one for the Fedora 17 install?

If I plug the SSD into the motherboard's SATA connector, will that
automatically be assigned /dev/sda if no other SATA ports on the motherboard
are in use? What if I plug in an SAS host adapter line instead?

Use /dev/disk/by-path (or -id/-uuid) addresses.  E.g. for my disk servers I do:

clearpart --linux --drives=/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0,/dev/disk/by-path/pci-0000:00:1f.1-scsi-1:0:0:0
part raid.1 --size=200 --ondisk=/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0
part raid.2 --size=200 --ondisk=/dev/disk/by-path/pci-0000:00:1f.1-scsi-1:0:0:0
part raid.3 --size=40000 --grow --ondisk=/dev/disk/by-path/pci-0000:00:1f.1-scsi-0:0:0:0 part raid.4 --size=40000 --grow --ondisk=/dev/disk/by-path/pci-0000:00:1f.1-scsi-1:0:0:0

This ensures that the install does to the disk you want. The trick is to find out the path names. You can boot the installer or live image to do some poking around.

--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder Office                  FAX: 303-415-9702
3380 Mitchell Lane                       or...@nwra.com
Boulder, CO 80301                   http://www.nwra.com
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Reply via email to