DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 3rd October 2008
tad1214 tad1214 is offline
Real Name: Thomas Donnelly
Fdisk Soldier
 
Join Date: Jun 2008
Location: Houston, TX
Posts: 60
Default growfs

So I have googled a fair amount of times and read the man page and I am very confused.

I have a sparc Netra T1 AC 200, running FBSD 6-stable. It had dual 18GB disks in a gmirror raid 1, As can be imagined, ran out of space quickly. I purchased 2 73GB scsi drives. I removed 1 of the 18GBs, placed 73GB in, rebuild the mirror, removed the other 18GB, inserted 73GB, rebuilt mirror. Ok, so I have 2 73GB drives in there in a mirror (/dev/mirror/gm0) they are partitioned as such:

Code:
Otter# df -h
Filesystem          Size    Used   Avail Capacity  Mounted on
/dev/mirror/gm0a    501M     70M    392M    15%    /
devfs               1.0K    1.0K      0B   100%    /dev
/dev/mirror/gm0e    501M    356K    461M     0%    /tmp
/dev/mirror/gm0f     11G    9.8G    771M    93%    /usr
/dev/mirror/gm0d    1.9G    165M    1.6G     9%    /var
I want to grow only the, /usr partition to fill the rest of the disk. How do I go about doing. Every how to I see tells me to use fdisk, which isn't a program on sparc64. I have the original 18GB drives still so if all goes to hell, I can stick those back in and have all my data, not to mention it wouldn't be the end of the world if everything went away.

What do I need to do? I have console access to this box via Lights Out Management and another box with a serial port on the network (best part about this server hands down) so single user mode is easy to get to.

tl;dr: How do I use growfs to expand my /usr partition?

Thanks!!!!
-=Tom
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:08 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick