I'm using FreeBSD 8.3.
I haveHW raid hardware RAID and I choose using this rather than ZFS mostly for my ability to grow and rebuild my RAID6 setup which ZFS cannot do within the same array according to documentation.
I started with five drives of 1.5 TB in RAID6 giving one disk of 4 TB as far as FreeNAS is concerned. I created a UFS volume and filled it with data. Then I added six more drives and rebuilt the array. This gave me a 12 TB drive but my volume was still 4 TB, which is to be expected as I still had to extend the partition and file system which apparently is not something people do.
Some of you might be critical of the choices above but what I'm really looking for here rather than what I should have done is what I should do now.
Here's what I did after reading posts like this one:
http://bsdbased.com/2009/11/30/grow-freebsd-ufs-filesystem-on-vmware-hdds
That's where I am at now the volume does not mount anymore. The data on the disk could not possibly be conveniently backed up due to the size. I backed what could not be replaced so it is not ultra critical for me to recover it but it would be very nice to and would save me a lot of time.
Does anyone have an idea of how I can recover from this sorry state and how to grow properly? I have room for eight more disks and even if I say goodbye to my data and start from scratch I will want to grow in the future.
Thanks for any light you guys can shed.
P
I have
I started with five drives of 1.5 TB in RAID6 giving one disk of 4 TB as far as FreeNAS is concerned. I created a UFS volume and filled it with data. Then I added six more drives and rebuilt the array. This gave me a 12 TB drive but my volume was still 4 TB, which is to be expected as I still had to extend the partition and file system which apparently is not something people do.
Some of you might be critical of the choices above but what I'm really looking for here rather than what I should have done is what I should do now.
Here's what I did after reading posts like this one:
http://bsdbased.com/2009/11/30/grow-freebsd-ufs-filesystem-on-vmware-hdds
- I booted in single user mode
- I ran some checks with gpart which told me the table was corrupted
- I recovered with gpart:
# gpart recover mfid2
- Then I resized the partition:
# gpart resize -i2 mfid2
- Ran a check and now have a full 12 TB partition
- Tried to extend the UFS filesystem:
# growfs mfid2
, which returned the error:
Code:superblock not recognized
That's where I am at now the volume does not mount anymore. The data on the disk could not possibly be conveniently backed up due to the size. I backed what could not be replaced so it is not ultra critical for me to recover it but it would be very nice to and would save me a lot of time.
Does anyone have an idea of how I can recover from this sorry state and how to grow properly? I have room for eight more disks and even if I say goodbye to my data and start from scratch I will want to grow in the future.
Thanks for any light you guys can shed.
P