tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

raidframe questions

Hi everybody,

I was using two 500Go disks on raid1 setup. One of my disk died. I replace it 
with a bigger disk (600Go) and rebuilt raid. Then, the second 500Go disk died. 
I replace it also with a 600go disk and rebuilt raid. Now, I've two 600Go disk 
on my raid1 but size is always shrunk to 500Go. I made a mistake when creating 
RAID label on 600Go disks: It take entire disk.

I want to know if I can recover my lost 100Go...

disklabel for sd0:
 a: 1172123505        63       RAID                     # (Cyl.      0*- 
disklabel for sd1:
 a: 1172123505        63       RAID                     # (Cyl.      0*- 
disklabel for raid0:
 d: 976772992         0      unused      0     0        # (Cyl.      0 - 

And raidframe message for shrinking:
Warning: truncating spare disk /dev/sd1a to 976772992 blocks (from 1172123441)

I read that changing raid size is not possible. But can I change label size for 
sd0a and sd1a to the same size as raid0d (from 1172123505 to 976772992), and 
then, can I use the recovered space for a second raid array ?

Thank you.


Home | Main Index | Thread Index | Old Index