Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


Growfs on /

Growfs on /

Growfs on /

I need to "grow" /.  I know that I can't run a growfs on / as it is mounted but if I was to boot from CD would / be mounted (I don't think so) in which case could I successfully run growfs ?

RE: Growfs on /

Before running growfs you will need to increase the size of the slice it is sitting on, have you done that?

Usually that would be difficult for the / filesystem because it either already occupies all of the disk, or it has other filesystems after it on the disk.

You can move the other filesystems around, but it's manual and fiddly.


RE: Growfs on /

Thanks Annihilannic

Yes I've done that, it's mirrored so I grew my slice on one mirror, then the other, that all went OK but I hadn't realised (or read the man page properly) that I couldn't growfs root.  hence the question about booting from CD to do so!

RE: Growfs on /

I wasn't aware that you couldn't growfs root either... what's the error message?

In that case doing it from CD should be fine.


RE: Growfs on /

Error message?  you don't get an error message!  No, it justs locks root so you can't write anything to it and that's that! Had to reboot to get out of it.  You can't growfs on /usr either!

RE: Growfs on /

How are your partitions layed out?  Just about everything on / is linked to another area.  My / slice is usually only about < 100MB total....  You could break your mirror and re-partition the secondary disk and then run ufsdumps onto the new drive partitions...that should work for you.

RE: Growfs on /

The growfs's command write locks the mounted filesystem , which the time can be adjusted.   See the man pages for growfs.
This is probably the reason growing root is not a workable

RE: Growfs on /

Strangely, and possibly fortunately, it worked for me and I got away with it. Like snapshot, I missed it in the docs. Perhaps they should include something to check whether you're trying to growfs / and issue a warning or better still, refuse to proceed.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close