growfs questions

Thread Tools Search this Thread
Operating Systems Solaris growfs questions
# 1  
Old 02-10-2006
growfs questions

I have a pretty old Sun box (Ultra2 to be specific) with an A1000 storage attached. It's running Solaris 2.6 and has DiskSuite 4.2 installed. There's a filesystem that's almost out of disk space, and I have a free LUN on the A1000 that I can use to expand it by creating a concatenation. I've never done this before, but the procedure in DiskSuite manual seems straight-forward. However, I have a couple of questions:

1. Will this work on Solaris 2.6 with DiskSuite 4.2? Especially the growfs part? Is there anything I should watch out for, considering I have such old software versions?

2. How long time the growfs might take? I'm expanding 72 GB partition to double the size.

3. What are my chances of failure/losing data? Just trying to get an idea. I do have a backup.

Any other suggestions/recommendations will be very helpful! Thanks in advance!
# 2  
Old 02-10-2006
1. Why wouldn't it work (growfs)? Just make sure the space isn't already used (raw devices being used by a Oracle/Sybase/other product) - as long as the space isn't used by something else, you shouldn't have any issues otherwise.

2. No clue (that was helpful, wasn't it). I think it's the same amount of time it takes to newfs a new 72GB filesystem (again, really helpful info here)

3. Very doubtful you would lose anything - growfs automatically locks the filesystem so no writes can happen while it working. From the 4.2 docs:
The growfs(1M) command will "write-lock" (see lockfs(1M)) a mounted file system when expanding. The length of time the file system is write-locked can be shortened by expanding the file system in stages. For instance, to expand a 1 Gbyte file system to 2 Gbytes, the file system can be grown in 16 Mbyte stages using the -s option to specify the total size of the new file system at each stage.

During the expansion, the file system is not available for write access because of write-lock. Write accesses are transparently suspended and are restarted when growfs(1M) unlocks the file system. Read accesses are not affected, though access times are not kept while the lock is in effect.
# 3  
Old 02-13-2006
Originally Posted by RTM
1. Why wouldn't it work (growfs)? Just make sure the space isn't already used (raw devices being used by a Oracle/Sybase/other product) - as long as the space isn't used by something else, you shouldn't have any issues otherwise.
Thanks - already checked, it doesn't seem that we're using any database s/w on that box that would use a raw disk partition.

I'm just being a bit uncomfortable since everything on that box is such an old version, even the DiskSuite is ancient... hopefully it will work Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Vi questions

Hello, I would like to know how we can highlight/select a section of a file in vi and delete that section if we don't want to use the dd command to delete one line at at time. There is one where we don't want to delete the whole line , but up to a certain word. (2 Replies)
Discussion started by: Pouchie1
2 Replies

2. Homework & Coursework Questions

Print questions from a questions folder in a sequential order

1.) I am to write scripts that will be phasetest folder in the home directory. 2.) The folder should have a set-up,phase and display files I have written a small script which i used to check for the existing users and their password. What I need help with: I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies

3. Shell Programming and Scripting

More ps questions.

Hey all, Thanks for all the help you have given me. Two more things I am trying to figure out. I need to issue a command..example ps -ef | grep <process> This would return about 10-15 running processes. I need to verify that there are x amount of processes running. What is... (7 Replies)
Discussion started by: jeffs42885
7 Replies

4. Solaris

GROWFS in solaris

Hi Gurus Im workin in solaris platform..Actually i just want to kno the procedure that is followed before growing a file system using growfs command.V are having SAP installed in our server and its in cluster..v logged into our storage and created volumes now v need to map the luns and... (1 Reply)
Discussion started by: madanmeer
1 Replies

5. Solaris

growfs failed

OS: Solaris 10 Issue: metastat shows 12GB /var, df shows 3 GB /var. Solution: growfs Error: # growfs -M /var /dev/md/rdsk/d6 /dev/md/rdsk/d6: Unable to find Media type. Proceeding with system determined parameters. failed to disable logging. I think the "unable to find Media type" is... (8 Replies)
Discussion started by: aixlover
8 Replies

6. Programming

two questions

hey all, I have question when am writing simple shell... in the child am calling execvp, i want the parent to know when execvp returns - 1. how can i let the parent know the result of execvp thanks in advance (9 Replies)
Discussion started by: joey
9 Replies

7. UNIX for Advanced & Expert Users

can any one help me out this questions.....

How do you locate all nonblank lines that don't begin with #, /* ,or // ? (3 Replies)
Discussion started by: pulsar2587
3 Replies

8. Solaris

2 Questions

Hello Everbody I hope you can give me a hand, I have some questions The first one itīs about some message that I donīt know what means, I was looking about it. but nothing. This is the message rsh: connection from bad port bsd-gw: Error reading from connection: Bad file number And my... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies

9. Programming

C questions

What does "extern" do? ex. extern int x; and another question, what about using static in functions? like: static void foo(), why? (2 Replies)
Discussion started by: Esaia
2 Replies
Login or Register to Ask a Question

Featured Tech Videos