Sponsored Content
Top Forums UNIX for Beginners Questions & Answers CentOS 6 ran out of space, need to reclaim it Post 303038173 by Neo on Tuesday 27th of August 2019 12:05:02 PM
Old 08-27-2019
Dear DannyBoyCentOS,

My apologies, could you please repost your solution.

I made a mistake on mobile and accidentally edited your posts (and lost your info) instead of replying and quoting.

Was on mobile and made a mistake, my bad. Sorry.
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Ran out of space on /dev/root partition

hi, I have a SCO unix server which has a 36gb hard drive, but the IT company who supplied it assigned 1gb to /dev/root, 15mb to /dev/boot and 33gb to /dev/u. The /dev/root partition is now full, is there a way I can use the 33gb assigned to /dev/u without loosing any data, preferably... (2 Replies)
Discussion started by: Martyn
2 Replies

2. Shell Programming and Scripting

which user ran which command

can we come to know all the command ran bya user for last 1 day (1 Reply)
Discussion started by: narang.mohit
1 Replies

3. UNIX for Dummies Questions & Answers

Reclaim deleted disk space

I have a disk space issue on one of my unix servers. it is showing 98% full.. i found the offending folder and removed it. but i have not reclaimed the disk space. is there another command that i need ? thank you in advance for any assistance. (4 Replies)
Discussion started by: JanSP
4 Replies

4. Shell Programming and Scripting

Identify if ran by su or sudo?

Recently I was on an operational call and heard the people running my code placing the code in the /tmp directory and running as root. I had not planned on that. So I want to add some checks to my code (using ksh93): # ---------- ---------- ---------- # root not allowed to run this #... (3 Replies)
Discussion started by: ericdp63
3 Replies

5. Shell Programming and Scripting

how to find whether a script ran or not

Hi, I have written a script and placed in an application and the script can be executed manually only. But somehow one of the method in the script is being called and bringing the application down. But we are not able to find any instance of script running. Is there a way to findout whether the... (1 Reply)
Discussion started by: Satyak
1 Replies

6. Linux

How to reclaim the space which i used to increse the swap space on Xen,

Hi, i have done a blunder here, i increased the swap space on Xen5.6 server machine using below steps :- 1056 dd if=/dev/zero of=/root/myswapfile bs=1M count=1024 1057 ls -l /root/myswapfile 1058 chmod 600 /root/myswapfile 1059 mkswap /root/myswapfile 1060 swapon /root/myswapfile ... (1 Reply)
Discussion started by: apm
1 Replies

7. Red Hat

On CentOS, moving space from large free directory to another

Hi. My "/usr" folder is running out of space. My "/home" folder is quite large and has a lot of free space. As follows: Filesystem Type Size Used Avail Use% Mounted on ... /dev/sda5 ext3 9.7G 2.6G 6.7G 28% / /dev/sda7 ext3 152G 16G 128G 11% /home /dev/sda3 ... (7 Replies)
Discussion started by: pkiula
7 Replies

8. Red Hat

How to Upgrade Centos 5.7 using Centos 5.8 ISO image on Vmware workstation

Dear Linux Experts, On my windows 7 desktop with the help of Vmware workstation (Version 7.1), created virtual machine and installed Centos 5.7 successfully using ISO image. Query : Is this possible to upgrade the Centos 5.7 using Centos 5.8 ISO image to Centos version 5.8?.. if yes kindly... (2 Replies)
Discussion started by: Ananthcn
2 Replies

9. AIX

How to reclaim hard disks and IP's in AIX?

Hello I recently received a request to reclaim hard disks and IP addresses within an AIX system(s). THe file systems are no longer in use and the client has indicated that it is OK to remove them and reclaim the disks and release the IP's. Now, since the file systems belong to a Volume group I... (8 Replies)
Discussion started by: Joseph Sabo
8 Replies

10. UNIX for Beginners Questions & Answers

Safe way to shrink lvm vg_*-lv_swap partition and reclaim freed space on Linux?

Hello, # lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sr0 11:0 1 1024M 0 rom sda 8:0 0 38.2G 0 disk ├─sda1 8:1 0 500M 0 part /boot └─sda2 8:2 ... (2 Replies)
Discussion started by: centosadmin
2 Replies
SYNCE_INFO_NEW(3)					       http://www.synce.org/						 SYNCE_INFO_NEW(3)

NAME
synce_info_new - allocate a new SynceInfo struct SYNOPSIS
#include <synce.h> SynceInfo *synce_info_new(const char *device_name); void synce_info_destroy(SynceInfo *info); const char *synce_info_get_name(SynceInfo *info); bool synce_info_get_os_version(SynceInfo *info, int os_major, int os_minor); int synce_info_get_build_number(SynceInfo *info); int synce_info_get_processor_type(SynceInfo *info); const char *synce_info_get_os_name(SynceInfo *info); const char *synce_info_get_model(SynceInfo *info); const char *synce_info_get_device_ip(SynceInfo *info); const char *synce_info_get_local_ip(SynceInfo *info); int synce_info_get_partner_id_1(SynceInfo *info); int synce_info_get_partner_id_2(SynceInfo *info); const char *synce_info_get_object_path(SynceInfo *info); pid_t synce_info_get_dccm_pid(SynceInfo *info); const char *synce_info_get_transport(SynceInfo *info); const char *synce_info_get_password(SynceInfo *info); int synce_info_get_key(SynceInfo *info); DESCRIPTION
The synce_info_new() function returns a pointer to a newly allocated and populated SynceInfo struct for a mobile device. If device_name is non-NULL, the returned struct relates to a mobile device with that name, or NULL if no device of that name is connected. If device_name is NULL, the exact behaviour depends on the flavour of dccm daemon in use. When using vdccm(1) or the deprecated dccm(1), the current active device is selected. This is usually the last device connected, specifically that described in the active_connection file which is by default in the ~/.synce/ directory. With odccm(1) the first device connected will be returned. With synce-hal this depends on the device(s) in question, and should be considered undefined. This struct should be freed with synce_info_destroy(3). typedef struct _SynceInfo { pid_t dccm_pid; /* process id of dccm daemon */ char* device_ip; /* device ip address */ char* local_iface_ip; /* local interface ip address */ char* password; /* device password */ int key; /* device pass key */ int os_major; /* device OS major version */ int os_minor; /* device OS minor version */ int build_number; /* OS build number */ int processor_type; /* device processor */ int partner_id_1; /* first sync partner id number */ int partner_id_2; /* second sync partner id number */ char* name; /* device name */ char* os_name; /* device OS name eg. PocketPC */ char* model; /* device hardware name */ char* transport; /* interface type */ char* object_path; /* path to device's information */ } SynceInfo; These fields must be accessed with the synce_info_get_ functions. The particular fields populated depend on the flavour of dccm daemon in use. The use of dccm(1) is deprecated. When using vdccm(1) all fields are populated except for local_iface_ip and os_minor. With odccm(1) and synce-hal, dccm_pid, password, key, build_number, partner_id_1 and partner_id_2 are not used. odccm(1) also does not populate local_iface_ip. RETURN VALUE
The synce_info_new() function returns a pointer to the allocated SynceInfo struct, or NULL if an error occured. SEE ALSO
synce(7), odccm(1), vdccm(1) The SynCE Project 2007-08-26 SYNCE_INFO_NEW(3)
All times are GMT -4. The time now is 08:05 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy