UFS Increasing partition size

  • Thread starter Thread starter Deleted member 67029
  • Start date Start date
Status
Not open for further replies.
D

Deleted member 67029

Guest
I need to increase the partition size of a HDD through FreeBSD 12.2-RELEASE. How can it be done?
 
You can resize the partition with gpart(8)'s resize. Then extend an UFS partition with growfs(8). If you use ZFS it should pick up the resized partition if you have autoexpand property turned on.
 
Thanks.

I figured out I need to use a command including:

Code:
gpart resize


... and then it says to use a geom, what ever that is. I can't find it's definition in the handbook. Now I am lost. Any ideas?
 
Yeah I saw that, but the ": Modular Disk Transformation Framework" made it sound like an extension to the technology so I didn't look into it. I will look into it now.

Thanks
 
Ok, I went over the topic of every section. None of them are related to telling me what a GEOM us. I am still lost.
 
You're going to see GEOM a lot on FreeBSD. It's basically an entire framework of classes dealing with I/O (mostly disk based I/O). GEOM classes can often be 'stacked' on top of each other allowing for some really complicated configurations. GEOM_PART_GPT on top of a GEOM_MIRROR on top of a GEOM_ELI for example.

geom(4) and geom(8) will provide a bit more technical details.
 
This is getting ridiculous. 7 hours and I haven't got a working system. Can someone tell me how I can resize my disk so I can move on to fixing the next broken out of box problem, please!
 
SirDice, I'm not going to see lot's of it because FreeBSD is for my web server, and once I set it up I will look after updates and never think of anything more. I actually hate computers.
 
Here is the specific page section you need. The instructions are clear.
What you need to do is familiarize yourself with gpart show.
It shows you the index numbers of the partitions.
Toggle that and gpart show -p which shows the name instead of index number.

The instructions will be different depending on MBR or GPT disk scheme.(Whatever you chose on installation).
 
Thanks, but I don't have time for this bull shit anymore. You know when you are sitting there and realising your getting sucked into a black hole? I've just had one of those epiphanies.
 
It is not a task for newbies.
gparted LiveCD supports UFS but not grow and shrink.
So you have no alternative but command line.
If you post your gpart show output we could help more.
You sound stubborn frustrated.
 
It's got nothing to do with me being new. I followed the installation and setup in accordance with the handbook, therefore the problem is with FreeBSD.

Using the command line is not a problem. Finding the information I need to use it is the problem.

I am frustrated because I need to find an open source operating that isn't a piece of crap and I am having a hard time finding one.
 
I have bigger problems with my FreeBSD installation right now. I will come back to this problem once the other one is sorted.
 
I mean index numbers is the only curveball here.
They simply use a partition number instead of a partition name to resize.
The rest is straightforward.
 
It's got nothing to do with me being new. I followed the installation and setup in accordance with the handbook, therefore the problem is with FreeBSD.

Using the command line is not a problem. Finding the information I need to use it is the problem.

I am frustrated because I need to find an open source operating that isn't a piece of crap and I am having a hard time finding one.
Yes. It's everyone and everything else. Not you.
 
Why are you dealing with Gnome or any other kind of GUI if you only need a webserver?

Start with a clean install (no X, no packages during the installation, nothing fancy), then pkg install apache24, sysrc apache24_enable="YES". Put your Apache virtual host configuration in /usr/local/etc/apache24/Includes/default.conf for example:
Code:
<VirtualHost _default_:80>
 ServerName my.web.site
 ServerAdmin my@email.example.com

 DocumentRoot /usr/local/www/mysite

 <Directory /usr/local/www/mysite>
  Require all granted
 </Directory>
</VirtualHost>

Put your website in /usr/local/www/mysite/. Start Apache: service apache24 start.

Done. Shouldn't take more than 30 minutes.
 
drhowarddrfine: There is a reason FreeBSD has such little marketshare, and it's got nothing to do with it being 'difficult'.
 
SirDice. My server will be a laptop with services running in multiple VirtualBox instances. I need a desktop enviornment to manage them all. Plus, desktop environments are practical.
 
Phishfry. What have I done to be apart of this problem? I haven't even used the system yet. You are beyond delusional.
 
Status
Not open for further replies.
Back
Top