Adding RAID array LSI 150-6 to exisiting Debian install
(Yes, i've searched, yes, I've googled.)
I've just put in a 5x250GB SATA RAID 5 array into my Debian (unstable) system. I'm a bit new to linux, I'm familiar with it as a server, but it's new to me as a desktop OS. That being said, I've never added a drive. so far, I fdisk'd it to create a primary partition: Code:
Command (m for help): p Next, I should use mke2fs, correct? I tried it (with the j switch to it's ext3) and it said that it was not a partition, but rather an entire device. Rather than screw something up, here I am. I do want to mke2fs -j /dev/sdb, right? After that, I need to edit /etc/fstab, correct? Here is what it currently reads: Code:
alpha:/etc# cat fstab So the entry I should add should read: Code:
/dev/sdb /tb ext3 defaults,errors=remount-ro 0 1 Thanks! EDIT: If Debian has some automagic way to do this (which would rock) I'd like to go that way. I know Debian has it's own ways of doings things sometimes. |
Replace every /dev/sdb with /dev/sdb1 and you are in business.
The /dev/sdb represents the whole drive, /dev/sdb1 is first partition in it. With fdisk you have successfully created the partition (containing the whole drive). Now you have to create a filesystem for the partition: 'mke2fs -j /dev/sdb1' should do it. Next, to have a permanent mountpoint, you have to create a directory /tb (eg. mkdir /tb) and have a line in fstab; similar to the one you suggested, but with /dev/sdb1. In fact, creating a partition is not necessary in a strict sense in linux, but *strongly* recommended. If you have a one TB of space, I would recommend using LVM and reiserfs with it. YMMV. |
Thanks for the info, that clears things up. I'll give it a shot once I get back home.
|
All times are GMT -5. The time now is 02:30 AM. |