03-29-2010
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.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how can i make more space in my /opt (1 Reply)
Discussion started by: CreamHarry
1 Replies
2. HP-UX
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
3. Post Here to Contact Site Administrators and Moderators
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
4. AIX
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
5. Filesystems, Disks and Memory
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
6. Solaris
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
7. Shell Programming and Scripting
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
8. Red Hat
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
9. AIX
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
10. Red Hat
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
LEARN ABOUT OSF1
createlabel
createlabel(3) Library Functions Manual createlabel(3)
NAME
createlabel - Creates a disk label structure for a disk device
LIBRARY
Standard C Library (libc.a)
SYNOPSIS
#include <sys/types.h>
#include <sys/disklabel.h>
int createlabel( char *devname, char *name, struct disklabel *disk, char *boot, int boot_len);
PARAMETERS
Specifies the device special file name of the device. Specifies the name entry in the /etc/disktab file that is to be used for the label
information. Otherwise, specify NULL to indicate that the name entry either is not in the /etc/disktab file, or, if it is, that it should
be ignored. Points to the disk label structure that is filled in with the returned disk description on successful completion of the func-
tion. Points to the buffer that the function may use to contain the (optional) primary and secondary bootstrap names for the disk label.
Specifies the length of the boot buffer. The value must be set to the value of the BUFSIZ constant.
DESCRIPTION
The function fills in the disk label structure pointed to by the disk parameter. The resulting disk label can then be written to the disk
in order to label it.
The function queries the device, using the devname parameter, to obtain the disk's geometry, capacity, and any default partition informa-
tion.
The function checks the name parameter. If name is non-null, the function looks for an entry in the /etc/disktab file that matches the
name string and initializes the disk label structure from that entry. The function then overrides the device data and initializes the disk
label structure from the entry in the /etc/disktab file.
If the name string is NULL, or has no matching entry in the /etc/disktab file, the function queries the device (using the devname parame-
ter) to obtain the device's name string. The function then looks for an entry in the /etc/disktab file that matches that name string, and
if it finds a match, initializes the disk label structure from that entry.
If an /etc/disktab entry indicates that the device has a dynamic geometry, the function queries the device (using the devname parameter) to
obtain the disk's true geometry and capacity and to override any value given in an /etc/disktab entry associated with the device. In this
case, any -1 lengths encountered in the partition specifications for the entry are replaced by a value equal to the device's total capacity
minus the starting offset of the partition.
RETURN VALUES
Upon successful completion of the createlabel function, a value of 0 is returned and the contents of the disk label structure are updated.
Upon error, a value of -1 is returned and errno is set to [EINVAL].
ERRORS
Either disk or boot is NULL, or boot_len is not equal to BUFSIZ.
FILES
Table of disk partition sizes for supported disks.
RELATED INFORMATION
Commands: disklabel(8)
Functions: getdiskbyname(3).
Files: disklabel(4), disktab(4) delim off
createlabel(3)