Question about disk partitioning

pll at lanminds.com pll at lanminds.com
Wed Jun 12 16:30:19 CEST 2002


Hi all,

According to the docs, it appears that a '-' in a disk config script results in 
a file system which is not mounted.  Does that mean it is also not 
added to the /etc/fstab file?

I have a few systems which have 4 drives in them.  What I want to do 
is build them such that:

	/dev/hda	has the OS installed on them
	/dev/hdb-d	are each one huge partition containing the entire disk
			then use an 'md' device to mount them as a raid 5
			reiserfs stripe.

I was planning on this for my config file:

	disk_config hdb
	primary -	80000	;

	disk_config hdc
	primary -	80000	;

	disk_config hdd
	primary -	80000	;

Then I'd set up a template /etc/raidtab file and a template /etc/
fstab file which would contain these 3 80GB drives as a giant raid 5 
stripe with a single ReiserFS file system on it.

The question I have now, is how do I get the file system 
auto-formatted?  Would this be where I'd write a hook/script 
somewhere and have it create that file system?

Thanks,

-- 

Seeya,
Paul
----
	It may look like I'm just sitting here doing nothing,
   but I'm really actively waiting for all my problems to go away.

	 If you're not having fun, you're not doing it right!




More information about the linux-fai mailing list