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