12-29-2012
Swap space related issues, how to recognise the newly attached disk
hi!
i got a problem....
i got several disks in my diskarray. I attached new disk to allocate it to the swap space.
The problem is : how to recognise the newly attached disk?
I've one more requirement -
- i want to run dns service on another port number.how can i do that ?
==Thanks in advance==
10 More Discussions You Might Find Interesting
1. Solaris
Hi experts,
In my solaris system when i run the command df -h i got the below response.I have some confusion which i want to share with you guys.1)there are two SWAP file system shows are they same or different?2)if i want to count the total disk space should i take both the swap space or only... (2 Replies)
Discussion started by: rafiassam
2 Replies
2. Programming
Hi all,
i just started started learning system programming and want to pursue a career in the sys prog area.
below is the program that use a fork() call.
i read in one of the tutorials that parent process and child process uses different address spaces and runs concurrently.
that meas each... (2 Replies)
Discussion started by: MrUser
2 Replies
3. UNIX for Dummies Questions & Answers
Hi
I have checked the output of top command in which there is a difference shown between the swap of top command for a process with total swap memory usage of the top command.
Swap usage of process is higher than the total swap memory usage.
top - 18:28:21 up 7:13, 5 users, load... (2 Replies)
Discussion started by: gagan2914
2 Replies
4. Linux
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
5. Red Hat
Hi Everyone,
I have added new Virtual disk to OS. The main point is I need to bring this whole Disk into LVM control, is it necessary to partition the disk using fdisk command and assign partition type as '8e', or can I directly add that disk into LVM, by running pvcreate command with out... (2 Replies)
Discussion started by: bobby320
2 Replies
6. Solaris
Hi folks,
How can I scan newly attached network interfaces to server without reboot?
Is there any command or something to scan without reboot.
Thanks (5 Replies)
Discussion started by: snchaudhari2
5 Replies
7. SuSE
Hi,
I'm trying to migrate the content of disk 'A' to disk 'B', that they belong to the same vg 'data'_vg'. Whe using pvmove, I get the following error: 'device-mapper: suspend ioctl failed: Interrupted system call'. I put down the whole trace:
pvmove -v "source_disk" "sink_disk"
... (0 Replies)
Discussion started by: Begnux
0 Replies
8. Linux
Hi
I need to identify a newly attached LUN from NetApp on a linuxserver running uname -o
GNU/Linux
I have first run the df -h and got the following:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg_outsystemdb-lv_root
50G 2.7G 45G ... (3 Replies)
Discussion started by: fretagi
3 Replies
9. Solaris
I am working on VM host and collecting data to identify the type of storage attached to the server which will be migrated to VNX.
it has one ldom created on it
luxadm probe output ---
No Network Array enclosures found in /dev/es
Found Fibre Channel device(s):
Node... (7 Replies)
Discussion started by: kpatel786
7 Replies
10. Emergency UNIX and Linux Support
Oflate we are finding a few servers experiencing severe slowness. What would be the commands that I need to try to postmortem the situation? (3 Replies)
Discussion started by: ggayathri
3 Replies
LEARN ABOUT LINUX
disksup
disksup(3erl) Erlang Module Definition disksup(3erl)
NAME
disksup - A Disk Supervisor Process
DESCRIPTION
disksup is a process which supervises the available disk space in the system. It is part of the OS_Mon application, see os_mon(7) . Avail-
able for Unix and Windows.
Periodically checks the disks. For each disk or partition which uses more than a certain amount of the available space, the alarm
{{disk_almost_full, MountedOn}, []} is set.
On Unix :
All (locally) mounted disks are checked, including the swap disk if it is present.
On WIN32 :
All logical drives of type "FIXED_DISK" are checked.
Alarms are reported to the SASL alarm handler, see alarm_handler(3erl) . To set an alarm, alarm_handler:set_alarm(Alarm) is called where
Alarm is the alarm specified above.
The alarms are cleared automatically when the alarm cause is no longer valid.
CONFIGURATION
The following configuration parameters can be used to change the default values for time interval and threshold:
disk_space_check_interval = int()>0 :
The time interval, in minutes, for the periodic disk space check. The default is 30 minutes.
disk_almost_full_threshold = float() :
The threshold, as percentage of total disk space, for how much disk can be utilized before the disk_almost_full alarm is set. The
default is 0.80 (80%).
See config(5) for information about how to change the value of configuration parameters.
EXPORTS
get_disk_data() -> [DiskData]
Types DiskData = {Id, KByte, Capacity}
Id = string()
KByte = int()
Capacity = int()
Returns the result of the latest disk check. Id is a string that identifies the disk or partition. KByte is the total size of the
disk or partition in kbytes. Capacity is the percentage of disk space used.
The function is asynchronous in the sense that it does not invoke a disk check, but returns the latest available value.
Returns [{"none",0,0}] if disksup is not available.
get_check_interval() -> MS
Types MS = int()
Returns the time interval, in milliseconds, for the periodic disk space check.
set_check_interval(Minutes) -> ok
Types Minutes = int()>=1
Changes the time interval, given in minutes, for the periodic disk space check.
The change will take effect after the next disk space check and is non-persist. That is, in case of a process restart, this value is
forgotten and the default value will be used. See Configuration above.
get_almost_full_threshold() -> Percent
Types Percent = int()
Returns the threshold, in percent, for disk space utilization.
set_almost_full_threshold(Float) -> ok
Types Float = float(), 0=<Float=<1
Changes the threshold, given as a float, for disk space utilization.
The change will take effect during the next disk space check and is non-persist. That is, in case of a process restart, this value
is forgotten and the default value will be used. See Configuration above.
SEE ALSO
alarm_handler(3erl) , os_mon(3erl)
Ericsson AB os_mon 2.2.5 disksup(3erl)