LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Linux Software RAID 0 dumb mistake (http://www.linuxquestions.org/questions/linux-general-1/linux-software-raid-0-dumb-mistake-605529/)

edong23 12-09-2007 12:58 AM

Linux Software RAID 0 dumb mistake
 
OK.. here is what i did. i had a system that had software RAID 0 setup on 2 western digital 160GB hard drives... and was working. i decided that i needed the 2 drives for another reason, and pulled one and put it in another computer and proceeded to fdisk the partition and deleted it cause it reported it was too big (something like, last block is after disk ends?) Makes since.. however.. all i have now is a hard drive that reports it is 8 gigs. how do i make the disk realize its size again? there has to be a way to do this. I am just lost on this one.. I havent messed with software RAID that much. Thanks in advance.

trickykid 12-09-2007 07:32 AM

What does fdisk -l provide you with? At least then you can see if the program is only seeing 8GB.

trickykid 12-09-2007 07:37 AM

And you do know how RAID 0 works right? If you had data on the drives, you probably lost some of it.

RAID 0 works this way with two disks:
Code:

Disk 0    Disk 1
A1        A2
A3        A4
A5        A6

A good definition of RAID 0: Striped set without parity. It provides improved performance and additional storage but no fault tolerance. Any disk failure destroys the array, which becomes more likely with more disks in the array. A single disk failure destroys the entire array because when data is written to a RAID 0 drive, the data is broken into fragments.

edong23 12-09-2007 10:18 AM

yes, i know how it works, and i didnt have iimportant data on there anyway.. i just needed the hard drive space. fdisk and even the western digital data lifeguard tools only sees it as 8.5 GB. the master boot record partition table shows that everything is fine, but the lba sectors shows 8.59 GB. i am lost.

trickykid 12-09-2007 02:23 PM

Low level format the drive then..


All times are GMT -5. The time now is 02:52 AM.