Menu

Tree [r3488] / experimental / diskconfig /
 History

HTTPS access


File Date Author Commit
 readme.txt 2007-11-12 votdev [r2208] Rename attribute.

Read Me

Current config:
---------------

	<disks>
		<disk>
			<name>da0</name>
			<fullname>/dev/da0</fullname>
			<harddiskstandby>0</harddiskstandby>
			<acoustic>0</acoustic>
			<apm>0</apm>
			<udma>auto</udma>
			<type>SCSI</type>
			<desc>VMware, VMware Virtual S 1.0</desc>
			<size>103MB</size>
			<fstype>geli</fstype>
		</disk>
		<disk>
			<name>da1</name>
			<fullname>/dev/da1</fullname>
			<harddiskstandby>0</harddiskstandby>
			<acoustic>0</acoustic>
			<apm>0</apm>
			<udma>auto</udma>
			<type>SCSI</type>
			<desc>VMware, VMware Virtual S 1.0</desc>
			<size>103MB</size>
			<fstype>geli</fstype>
		</disk>
		<disk>
			<name>da2</name>
			<fullname>/dev/da2</fullname>
			<harddiskstandby>0</harddiskstandby>
			<acoustic>0</acoustic>
			<apm>0</apm>
			<udma>auto</udma>
			<type>SCSI</type>
			<desc>VMware, VMware Virtual S 1.0</desc>
			<size>103MB</size>
			<fstype>ufsgpt</fstype>
		</disk>
	</disks>
	<geli>
		<vdisk>
			<aalgo>none</aalgo>
			<ealgo>AES</ealgo>
			<fullname>/dev/da0.eli</fullname>
			<desc>Encrypted disk</desc>
			<name>da0</name>
			<size>103MB</size>
		</vdisk>
		<vdisk>
			<aalgo>none</aalgo>
			<ealgo>AES</ealgo>
			<fullname>/dev/da1.eli</fullname>
			<desc>Encrypted disk</desc>
			<name>da1</name>
			<size>103MB</size>
		</vdisk>
	</geli>
	<gstripe>
		<vdisk>
			<name>RAID0</name>
			<type>0</type>
			<diskr>/dev/da0</diskr>
			<diskr>/dev/da1</diskr>
			<desc>Software gstripe RAID 0</desc>
			<fullname>/dev/stripe/RAID0</fullname>
		</vdisk>
	</gstripe>

New config:
-----------

	<disks>
		<!-- Real disks. -->
		<disk>
			<name>da0</name>
			<devicename>/dev/da0</devicename> // Convert: fullname -> devicename
			<harddiskstandby>0</harddiskstandby>
			<acoustic>0</acoustic>
			<apm>0</apm>
			<udma>auto</udma>
			<type>SCSI</type>
			<desc>VMware, VMware Virtual S 1.0</desc>
			<size>103MB</size> // Size on MB. (Convert: Remove MB from string).
			<fstype>geli</fstype>
		</disk>
		<!-- Virtual disks. -->
		<vdisk>
			<name>xxx</name>
			<devicename>xxx</devicename> // Device name, e.g. /dev/stripe/RAID0, /dev/da0.eli or /dev/da1.eli
			<class>gvinum|gmirror|gconcat|gstripe|graid5|geli</class> // Class of virtual disk
			<fstype>ufs|ufsgpt|ext2|msdos|...</fstype>
			// Additional attributes, depending on 'class'. They are only added for the specific class.
			// geli:
			<aalgo>none</aalgo>
			<ealgo>AES</ealgo>
			// gstripe:
			<type>0</type>
			<diskr>/dev/da0</diskr>
			<diskr>/dev/da1</diskr>
		</vdisk>
	</disks>


Alternative solution: (The preferred one from votdev)
---------------------

<disks>
	<disk>
		<name>xxx</name> // da0 RAID0
		<devicespecialfile>xxx</devicespecialfile> // Device name, e.g. /dev/ad0 /dev/stripe/RAID0, /dev/da0.eli or /dev/da1.eli
		<class>physical|gvinum|gmirror|gconcat|gstripe|graid5|geli</class> // Class of disk
		<size>150000</size> // Size on MBytes.
		<desc>QUANTUM FIREBALL EX6.4A/A0A.0D00</desc>
		<fstype>ufs|ufsgpt|ext2|msdos|...</fstype> // File system
		<volumelabel>xxx</volumelabel> // Volume label

		// Additional attributes, depending on 'class'. They are only added for the specific class.
		// physical:
		<harddiskstandby>0</harddiskstandby>
		<acoustic>0</acoustic>
		<apm>0</apm>
		<udma>auto</udma>
		<type>IDE|SCSI</type>
		// geli:
		<aalgo>none</aalgo>
		<ealgo>AES</ealgo>
		// gstripe:
		<type>0</type>
		<device>/dev/da0</device>
		<device>/dev/da1</device>
	</disk>
</disks>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.