Debian Partitioning for use with iSCSI
Hello again, my friendly brains!
I am current an intern at a networking company and I have been tasked with building a simple Debian-based SAN with iSCSI Targets. I am to use two servers, one running DebianSqueeze 6.0.6 as the iSCSI Initiator and another using the same Debian distro, but running on top of Xen (Dom0) as the SAN. This SAN must have two iSCSI Targets that point to two different partitions. LUN0 needs to be block storage and LUN1 needs to be file storage.
The setup of the two iSCSI Targets on the SAN I believe I understand (we'll see...), but the initial Debian installation of partitioning & configuring LVM on the SAN is where I am stuck. Without having to change partitioning later, I would like to partition this correctly during the installation. I also don't know how to create individual partitions for file storage.
It is my understanding that there should be:
1 primary volume as ext3 /boot (500MB)
1 primary volume as LVM (the rest of the HDD)
1 Volume Group
1 LV volume as ext3 / (10GB)
1 LV volume as ext3 /home (10GB)
1 LV volume as swap (2GB)
1 LV volume as ext3 LUN0 (60GB) - Block-level Storage on SAN
1 LV volume as ext3 LUN1 (60GB) - File Storage on SAN
Does this sound correct? If it does, does LUN1 have to be set as something else to provide for file storage?
Any help you can give on the subject will be much appreciated! And thanks for taking the time to read this!
_____________________________________________________________
I put the "sh" in IT.
|