Smart questions
Smart answers
Smart people
Join Tek-Tips Forums
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • 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!

Join Tek-Tips
*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.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

snapshot (TechnicalUser) (OP)
7 Feb 06 9:39
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 ?
Annihilannic (MIS)
7 Feb 06 10:42
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.

Annihilannic.

snapshot (TechnicalUser) (OP)
7 Feb 06 12:16
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!
Annihilannic (MIS)
7 Feb 06 12:27
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.

Annihilannic.

snapshot (TechnicalUser) (OP)
7 Feb 06 12:45
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!
coffeysm (MIS)
7 Feb 06 13:08
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.
tuka (TechnicalUser)
7 Feb 06 13:23


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
solution.
KenCunningham (TechnicalUser)
8 Feb 06 3:20
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.

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!

Back To Forum

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