Growing /opt


 
Thread Tools Search this Thread
Operating Systems Solaris Growing /opt
# 1  
Old 03-29-2010
Tools Growing /opt

Hi,

/opt on my disk is almost 90%. I thought of growing it. I followed the below procedure:

1. added a new hard disk
2. formatted the same with ufs
3. created a slice and tried to label it as "opt" with "wm" permissions.

but got stuck at 3 as it is not allowing me to label the slice as "opt". It is asking me "Ready to label disk, continue ?" When i typed "yes" nothing is happening.........Can somebody help me on this? Am i on the right path ?

Thanks.
# 2  
Old 03-29-2010
maybe choose another label name like /opt1.
# 3  
Old 03-29-2010
There is no "/opt" label and even less "/opt1". Anyway, these tags have had no purpose since ages.
# 4  
Old 03-29-2010
Thanks for the replies.

My intension is to grow the /opt filesystem. But I am getting the following error....

Quote:
Part Tag Flag Cylinders Size Blocks
0 unassigned wm 3 - 2562 5.00GB (2560/0/0) 10485760
1 unassigned wm 0 0 (0/0/0) 0
2 backup wu 0 - 4091 7.99GB (4092/0/0) 16760832
3 unassigned wm 0 0 (0/0/0) 0
4 unassigned wm 0 0 (0/0/0) 0
5 unassigned wm 2563 - 4091 2.99GB (1529/0/0) 6262784
6 unassigned wm 0 0 (0/0/0) 0
7 unassigned wm 0 0 (0/0/0) 0
8 boot wu 0 - 0 2.00MB (1/0/0) 4096
9 alternates wm 1 - 2 4.00MB (2/0/0) 8192

Okay to make this the current partition table[yes]? y
Enter table name (remember quotes): "new"

Ready to label disk, continue? yes

partition> l
Ready to label disk, continue? "opt1"
`opt1' is not expected.
Ready to label disk, continue?
# 5  
Old 03-29-2010
The following example will grow “/test” to the maximum size available on the meta device d100:

$ growfs -M /test /dev/md/rdsk/d100

To see how many sectors will be available on d100 after the grow operation completes, you can run newfs with the “-N” option, and compare that with the current value of df (1m):

$ newfs -N /dev/md/dsk/d100
/dev/md/rdsk/d0: 232331520 sectors in 56944 cylinders of 16 tracks, 255 sectors
113443.1MB in 2191 cyl groups (26 c/g, 51.80MB/g, 6400 i/g)

This will report the number of sectors, cylinders and MBs that would be allocated if a new file system was created on meta device d100. As always, test everything on a non critical system prior to making changes to critical boxen.
# 6  
Old 03-29-2010
@incredible: I don't think the OP is using Solaris Volume Manager.

@EmbeUx: can you clarify exactly what you did with mode details.

Your steps are in the wrong order, "2." (creating a filesystem) should be after "3." (labeling, i.e. partitioning the disk) and there is no point in labeling anything as "opt".
Quote:
1. added a new hard disk
2. formatted the same with ufs
3. created a slice and tried to label it as "opt" with "wm" permissions.
# 7  
Old 03-30-2010
Thank you all for the replies. My purpose didn't solve. May be i'll explain the scenario again.

/opt on my server filled up upto almost 92%. I need to install a software which is directed to this path. So I intended to add another hard disk, format, create partition and grow the size of opt with this partition.

So please suggest if this is possible. if yes, how? if no, then what is the alternative.
Here's what I did till now.
1. Added a new hard disk.
2. created a slice of 3GB. Now I tried labeling this slice which is not happening. though labeling doesnt effect growing file system i tried.

Please help me out.
Thanks.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-la

Have no idea on what the below error message is: Process not running: /opt/java15/jdk/bin/java -classpath /opt/apache/apache-ant-1.7.0-mod/lib/ant-launcher.jar org.apache.tools.ant.launch.Launcher -buildfile build.xml dist. Any help? (3 Replies)
Discussion started by: gull05
3 Replies

2. AIX

Help growing fs

Hello, I have a filesystem that I'm trying to grow but it's giving me the error: 0516-404 allocp: This system cannot fulfill the allocation request. There are not enough free partitions or not enough physical volumes to keep strictness and satisfy allocation requests. The... (5 Replies)
Discussion started by: bbbngowc
5 Replies

3. Red Hat

Growing filesystem using LVM

Hi, I have a LUN presented to a Linux system and would like to ask if someone can advise if the logical volume /dev/mapper/VGOra-LVOra 12G 11G 659M 95% /usr/app/oracle can be extended. Is there any free space to allocate.... The LUN (25G) has been configured as follows: LUN - ROOT...... (4 Replies)
Discussion started by: jamba1
4 Replies

4. Shell Programming and Scripting

growing files

I am trying to be pro-active and prevent FS from filling up. I know about the df/du command also find -size -mtime ....... What I want to know is there a way I can do a find to see which files have been accessed or modified after a specifc YYYYMMDD-HHMMSS. What I am really looking for is to... (4 Replies)
Discussion started by: BeefStu
4 Replies

5. Solaris

Help with Growing FS

Ok so I just installed Solaris 10 on my x86 laptop. But I too the defaults and now all of the FS's are very small. I can't install anything. The drive is a 40GB but only about 11GB is being seen and used. How can I get the OS to see and use the rest of the drive? I was just going to reinstall, but... (3 Replies)
Discussion started by: bbbngowc
3 Replies

6. Filesystems, Disks and Memory

Growing a FS over 1T - can it be done ?

Greeting Forumers! I've been asked to increase space in a FS that is currently 740G in size: Filesystem size used avail capacity Mounted on /dev/md/dsk/d664 740G 424G 308G 58% /ora_back My SAN administrator has allocated 5 LUNs of 200G each - this will make... (3 Replies)
Discussion started by: bluescreen
3 Replies

7. AIX

Help growing iscsi lun

Hi, I have an iSCSI LUN of 200GB. I increased it to 250GB and when I try to increase the size of the vg, I'm getting an error that none of the volumes have increased in size. How can I get the OS to see the additional 50GB? ---------- Post updated at 03:22 PM ---------- Previous update... (9 Replies)
Discussion started by: bbbngowc
9 Replies

8. Post Here to Contact Site Administrators and Moderators

Opt out selection

Maybe I'm missing something but when I go to CP->Options, I see the box for selecting which forum to opt out of but no way to set it. (5 Replies)
Discussion started by: drhowarddrfine
5 Replies

9. HP-UX

/opt/langtools

hi@all, I have a problem during compilation of c code with gcc. The linker always tries to link against /opt/langtools/lib/libcomp.sl, but I don't have installed this library. Can someone say me, where I can get the langtools? thx!!! (1 Reply)
Discussion started by: Dom_Cyrus
1 Replies

10. UNIX for Dummies Questions & Answers

opt

how can i make more space in my /opt (1 Reply)
Discussion started by: CreamHarry
1 Replies
Login or Register to Ask a Question