Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How do I increase disk space available to a directory? Post 87179 by blowtorch on Thursday 20th of October 2005 09:46:46 PM
Old 10-20-2005
Check the output of the format command to check if the filesystem is smaller than the slice that it is mounted on. If it is, then you can use growfs to do your job. The man page will be available on any solaris system or you can go here. If the filesystem is already occupying the entire slice, then you may have to create a new filesystem on a new slice, possibly a new disk.
 

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

disk space used for files with in a directory structure.

Hello, I am new to shell scripting and would really appreciate if someone could help me with this question. I have a directory structure as follows.. main directory is DATA under which i have different directories names fileserver01, fileserver02 ... till fileserver 15. under each... (8 Replies)
Discussion started by: kasala
8 Replies

2. AIX

Increase in space in mount point.

I am working in AIX 4.3.3 , here when we are doing one activity we ran out of space in one mount point, we need to increase the space in that mout point by reducing it in another mount point, can anybody help me out in carrying this activity. Vipin (3 Replies)
Discussion started by: vipin77
3 Replies

3. UNIX for Advanced & Expert Users

How can I increase the disk quota for a directory?

I know very basic Unix commands s I would really appreciate the assistance of a Unix guru. I am installing an application on a Sun server, when attempting to install I get an error that says I do not have enough space allocated for my install directory (/ACEMS). Error says it has 7235m but needs... (1 Reply)
Discussion started by: rhack
1 Replies

4. AIX

how do I increase the storage space I am new to AIX

Host Name - xxxxxxx IP Address - xxxxxxxxx Alert Msg - The percentage of available storage space (DMXMemory) is low (49.54374442289481 percent). Time received - 14:23 Time Logged - 14:55 Suggested Group - MR-UNIX (5 Replies)
Discussion started by: Nyiko
5 Replies

5. Programming

C++: how to check my directory disk space

I have a directory, and I write some files in to that. How to throw the error exception when my directory is full. i.e. there is no disk space (2 Replies)
Discussion started by: SamRoj
2 Replies

6. Filesystems, Disks and Memory

how to increase space NCR 4.0

Hello, I have a little problem, I would like to know how to add disk space on an NCR version 4 and above all whether it still contains vdisk space smp001-4 4.0 3.0 /dev/dsk/vdisk15 3940505 3807833 132672 97% /data in the dktab : /dev/dsk/vdisk15 mirror 2 ... (0 Replies)
Discussion started by: magnetic
0 Replies

7. AIX

Increase for the Page space

Guy's This is our page space , i want some information about page space and I want the good way to how to increase the page space and what's the recommended page space that need to be configured Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum hd6 hdisk0... (8 Replies)
Discussion started by: Mr.AIX
8 Replies

8. Solaris

how to increase space in directory without reboot

hi friends, i am a new system adminstrator and i had a directory /h03 getting full at 95%, how do i give more space to bring down it to about 70% ? i cannot delete any files inside as it is all important to the applications /dev/dsk/c1t3d0s0 64G 60G 3.8G 95% /h03 any idea ? (4 Replies)
Discussion started by: Exposure
4 Replies

9. Solaris

Increase space in /var

Hi Please can I have some help in increasing /var in my solaris 10 server. At the moment the size configured is small and I need to expand it: df -h Filesystem size used avail capacity Mounted on /dev/dsk/c1t0d0s0 869M 510M 307M 63% / /devices ... (16 Replies)
Discussion started by: fretagi
16 Replies

10. Solaris

How to use space in /tmp to increase root?

Hello All, I have solaris server running, uname -a SunOS host 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Fire-280R Filesystem Size Used Available Capacity Mounted on /dev/md/dsk/d0 9.8G 8.7G 1.0G 90% / /dev/dsk/c1t1d0s3 4.3G 7.7M 4.2G ... (17 Replies)
Discussion started by: gull05
17 Replies
CURLOPT_UNIX_SOCKET_PATH(3)				     curl_easy_setopt options				       CURLOPT_UNIX_SOCKET_PATH(3)

NAME
CURLOPT_UNIX_SOCKET_PATH - set Unix domain socket SYNOPSIS
#include <curl/curl.h> CURLcode curl_easy_setopt(CURL *handle, CURLOPT_UNIX_SOCKET_PATH, char *path); DESCRIPTION
Enables the use of Unix domain sockets as connection endpoint and sets the path to path. If path is NULL, then Unix domain sockets are dis- abled. An empty string will result in an error at some point, it will not disable use of Unix domain sockets. When enabled, curl will connect to the Unix domain socket instead of establishing a TCP connection to a host. Since no TCP connection is created, curl does not need to resolve the DNS hostname in the URL. The maximum path length on Cygwin, Linux and Solaris is 107. On other platforms it might be even less. Proxy and TCP options such as CURLOPT_TCP_NODELAY(3) are not supported. Proxy options such as CURLOPT_PROXY(3) have no effect either as these are TCP-oriented, and asking a proxy server to connect to a certain Unix domain socket is not possible. The application does not have to keep the string around after setting this option. DEFAULT
Default is NULL, meaning that no Unix domain sockets are used. PROTOCOLS
All protocols except for file:// and FTP are supported in theory. HTTP, IMAP, POP3 and SMTP should in particular work (including their SSL/TLS variants). EXAMPLE
Given that you have an nginx server running, listening on /tmp/nginx.sock, you can request a HTTP resource with: curl_easy_setopt(curl_handle, CURLOPT_UNIX_SOCKET_PATH, "/tmp/nginx.sock"); curl_easy_setopt(curl_handle, CURLOPT_URL, "http://localhost/"); If you are on Linux and somehow have a need for paths larger than 107 bytes, you could use the proc filesystem to bypass the limitation: int dirfd = open(long_directory_path_to_socket, O_DIRECTORY | O_RDONLY); char path[108]; snprintf(path, sizeof(path), "/proc/self/fd/%d/nginx.sock", dirfd); curl_easy_setopt(curl_handle, CURLOPT_UNIX_SOCKET_PATH, path); /* Be sure to keep dirfd valid until you discard the handle */ AVAILABILITY
Since 7.40.0. RETURN VALUE
Returns CURLE_OK if the option is supported, and CURLE_UNKNOWN_OPTION if not. SEE ALSO
CURLOPT_OPENSOCKETFUNCTION(3), unix(7), libcurl 7.54.0 December 21, 2016 CURLOPT_UNIX_SOCKET_PATH(3)
All times are GMT -4. The time now is 06:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy