DemoniK
Cadet
- Joined
- May 30, 2011
- Messages
- 4
Hoping someone can help me out here..
I installed FreeNAS 8 from ISO to my USB Drive. A nice fast 8GB drive.
However, it's only using 1GB of the usable space, and am running into issue as I try to add packages/ports for various software I need/want to run on there.
So I'd really like to increase the / partition from 499MB to 6GB and the /data from 498MB to 1GB.
If this was Linux I'd have this sorted in a jiffy, but am having difficulties removing, adding partitions in freeNAS/BSD and hoe someone can steer me right here...
So what have I done so far...
First off - I installed FreeNAS to 2 USB Drives. DriveA is a 16GB drive which I just want to use to create a proper installation on DriveB which is an 8GB device..
So I boot DriveA, all is good and I can see da1 appearing once I add in DriveB.
I have a 3rd drive which I use for storage, mount it and then dd partitions/slices s2, s3 & s4 to it..
Now I want to move the 3 paritions to their rightful places, and grow the / and /data filesystems.
I gpart delete the s2, s3 & s4 partitions..
I resize the s1 partition to 6GB.
Now I try to resize the filesystem using growfs and it won't let me.
fdisk still reports that there are unused partitions at the original entries
I've tried gpart commit, rebooting, etc.. Still fdisk reports the original 4 partitions, but now there are inconsistencies since partition s1 goes beyond the other 4.
I'm lost at this point. Clearly I've missed a step or just gone completely down the wrong direction.
I've googled and googled and found nothing about helping me to move paritions around.. Plenty on creating partions - but I can't remove them, or move them..
Anyone got any ideas?
Should I maybe consider a freeNAS build environment and maybe change the scripts for creating the images?
I installed FreeNAS 8 from ISO to my USB Drive. A nice fast 8GB drive.
However, it's only using 1GB of the usable space, and am running into issue as I try to add packages/ports for various software I need/want to run on there.
So I'd really like to increase the / partition from 499MB to 6GB and the /data from 498MB to 1GB.
If this was Linux I'd have this sorted in a jiffy, but am having difficulties removing, adding partitions in freeNAS/BSD and hoe someone can steer me right here...
So what have I done so far...
First off - I installed FreeNAS to 2 USB Drives. DriveA is a 16GB drive which I just want to use to create a proper installation on DriveB which is an 8GB device..
So I boot DriveA, all is good and I can see da1 appearing once I add in DriveB.
I have a 3rd drive which I use for storage, mount it and then dd partitions/slices s2, s3 & s4 to it..
Now I want to move the 3 paritions to their rightful places, and grow the / and /data filesystems.
I gpart delete the s2, s3 & s4 partitions..
I resize the s1 partition to 6GB.
Now I try to resize the filesystem using growfs and it won't let me.
fdisk still reports that there are unused partitions at the original entries
I've tried gpart commit, rebooting, etc.. Still fdisk reports the original 4 partitions, but now there are inconsistencies since partition s1 goes beyond the other 4.
I'm lost at this point. Clearly I've missed a step or just gone completely down the wrong direction.
I've googled and googled and found nothing about helping me to move paritions around.. Plenty on creating partions - but I can't remove them, or move them..
Anyone got any ideas?
Should I maybe consider a freeNAS build environment and maybe change the scripts for creating the images?