Sponsored Content
Full Discussion: How to check LDEV in server?
Operating Systems Linux Red Hat How to check LDEV in server? Post 302936870 by Maddy123 on Sunday 1st of March 2015 04:40:46 AM
Old 03-01-2015
Hi Peasant,

That was very well explained.Thanks for that.
I am able to see the new device created as below.

Code:
$ ls -alrt /dev/mapper/HDS_K1_0390_41
lrwxrwxrwx. 1 root root 8 Feb 27 16:40 /dev/mapper/HDS_K1_0390_41 -> ../dm-45

$ ls -lrt /dev/mapper/*
crw-rw----. 1 root root 10, 58 Feb 12 08:36 /dev/mapper/control
lrwxrwxrwx. 1 root root      8 Feb 27 16:40 /dev/mapper/HDS_K1_0390_41p1 -> ../dm-46
lrwxrwxrwx. 1 root root      8 Feb 27 16:40 /dev/mapper/HDS_K1_0390_41 -> ../dm-45

How to determine the new device was created with 50 GB size in OS level ?I am able to see the size of new device in the database instance.

Code:
SQL> select path,os_mb ,header_status from v$asm_disk where header_status in ('CANDIDATE','FORMER') order by 2;

PATH                                OS_MB HEADER_STATUS
------------------------------ ---------- ------------------------------------
/dev/raw/raw41                      51199 CANDIDATE
/dev/raw/raw36                     102398 CANDIDATE
/dev/raw/raw35                     102398 CANDIDATE

Quote:
If you are using multipath.conf for naming your devices (which i recommend), now is the time to change the name to your liking and restart the deamon.
Yes, we are using multipath.conf i guess and i am scared to change the name of the device since i don't know what is daemon and the command to restart and the impact if i restart and hence can't do it Smilie
Quote:
If you used your custom name in multipath.conf, it will be created under /dev/mapper/yourname.
I don't have any name created in OS.
Quote:
Rescan the fabric (all ports) using echo or 3rd party utilities.
multipath -ll should now show the new lun, else restart the deamon.
I dont't know how to rescan the fabric and the impact of it.Hence can't do it Smilie

Regards,
Maddy

Last edited by Maddy123; 03-01-2015 at 05:49 AM..
 

10 More Discussions You Might Find Interesting

1. Cybersecurity

check ports on server

Hi All, I've been using this to verify if ports is open on a server. For example I would like to check port 5887, "telnet ip.of.server 5887" using on dos. If there's response on it then I can say it's open, if not then it's close. Is that assumption accurate? Thanks for any comments you... (4 Replies)
Discussion started by: itik
4 Replies

2. AIX

ldev Number

Hi, can some one tell me how to find the ldev number associated with a disk. Is there any command to know it? (4 Replies)
Discussion started by: anoopraok
4 Replies

3. UNIX for Dummies Questions & Answers

How can I check UDP connection to other server?

Hi, My network dep. telles me that they have opened the FW but my application still can not get through to other server. If it was TCP I could simply test it myself with "telnet", but how can I check it when the connection is UDP? Tnx (1 Reply)
Discussion started by: mehrdad68
1 Replies

4. UNIX for Dummies Questions & Answers

How to check if the server is on a Cluster

Hi im connecting to a datacenter remotely. is there a command to know if the server is on a cluster? i want to know the command to use in these OS(hp-ux,solaris,linux) Thanks (6 Replies)
Discussion started by: jinslick25
6 Replies

5. Red Hat

how do i check i/o in server?

Hello, I am using linux OS. I want to check I/0 performance and CPU load on the server. CPU load can be seen by using TOP command. How do i check the I/O performance? I want to see which file system is hitting more I/O wait.. How do i see this... I tried to use iostat? Above first... (2 Replies)
Discussion started by: govindts
2 Replies

6. Shell Programming and Scripting

check for file in another server

Hi, I want to check for existence of a file in another server. Is it possible to use if loop and check for the file existence after connecting via ftp. After connecting via ftp in the script if I use if command it is throwing an error saying invalid command.if command is also not there in... (1 Reply)
Discussion started by: ashwin3086
1 Replies

7. Shell Programming and Scripting

to check if a remote server is up

I need to check if a remote server is up before i send a file to it through FTP. I thought of using "ping" command to check it. But the problem is, my script needs to run from 2 different servers, one is Solaris and other is HP-UX. And ping works in different way in each of them when I do -... (3 Replies)
Discussion started by: Vidhyaprakash
3 Replies

8. Shell Programming and Scripting

Linux Server Check

Hi, Is there a way to check linux server is up or not from my desktop (windows 7)? from the command prompt or powershell script. I have about 100 servers which I have to check daily..right now, i ssh to terminal with my login to verify. Thanks, vasu (2 Replies)
Discussion started by: myguess21
2 Replies

9. Shell Programming and Scripting

Check fastest server and using it

hello we have upload some data in 15 servers in usa asia ... i consider to add new feature , script can detect download speed between localhost and destination and use fastest server, i have cut this part from a script which have this feature, download a xx MB file from all its source and... (0 Replies)
Discussion started by: nimafire
0 Replies

10. Shell Programming and Scripting

Script to check server-name and come out

Hello, I am not efficient in script, so need some help to create a small script. I have file, which have list of all IPs. All those IPs can be connected from a gateway server with "sudo ssh 10.63.xx.xx". We do not have reverse lookup for IPs, so I want script to login to each server, return... (1 Reply)
Discussion started by: solaris_1977
1 Replies
GEARMAN_TASK_TAKE_DATA(3)					     Gearmand						 GEARMAN_TASK_TAKE_DATA(3)

NAME
gearman_task_take_data - Gearmand Documentation, http://gearman.info/ SYNOPSIS
#include <libgearman/gearman.h> gearman_task_st void gearman_task_free(gearman_task_st *task) void *gearman_task_context(const gearman_task_st *task) void gearman_task_set_context(gearman_task_st *task, void *context) const char *gearman_task_function_name(const gearman_task_st *task) const char *gearman_task_unique(const gearman_task_st *task) const char *gearman_task_job_handle(const gearman_task_st *task) bool gearman_task_is_known(const gearman_task_st *task) bool gearman_task_is_running(const gearman_task_st *task) uint32_t gearman_task_numerator(const gearman_task_st *task) uint32_t gearman_task_denominator(const gearman_task_st *task) void gearman_task_give_workload(gearman_task_st *task, const void *workload, size_t workload_size) size_t gearman_task_send_workload(gearman_task_st *task, const void *workload, size_t workload_size, gearman_return_t *ret_ptr) const void *gearman_task_data(const gearman_task_st *task) size_t gearman_task_data_size(const gearman_task_st *task) void *gearman_task_take_data(gearman_task_st *task, size_t *data_size) size_t gearman_task_recv_data(gearman_task_st *task, void *data, size_t data_size, gearman_return_t *ret_ptr) const char *gearman_task_error(const gearman_task_st *task) New in version 0.21. gearman_return_t gearman_task_return(const gearman_task_st *task) New in version 0.21. Link with -lgearman DESCRIPTION
A gearman_task_st represents a task. Work that is sent by a client to a gearman server is seen as a task (a worker recieves a task in the form of a job. Tasks, i.e. gearman_task_st are created by calling either gearman_execute(), gearman_client_add_task(), or gearman_client_add_task_back- ground(). gearman_client_add_task_status() can also create gearman_task_st, these tasks will be used to monitor a previously created gearman_task_st. gearman_task_free() is used to free a task. This only needs to be done if a task was created with a preallocated structure or if you want to clean up the memory of a specific task. gearman_task_set_context() sets the given context of the gearman_task_st. The context can be used to pass information to a gearman_task_st. gearman_task_context() returns the context that was used in the creation of the gearman_task_st (or that was set with gearman_task_set_context(). gearman_task_data() returns the current data that has been returned to the task. gearman_task_data_size() will give you the size of the value. gearman_task_take_data() is the same as gearman_task_data() but the value that is returned must be freed by the client (free(3)). gearman_task_recv_data() can be used with pre-allocated buffers. gearman_task_is_known(), gearman_task_is_running(), gearman_task_numerator(), and gearman_task_denominator(), return values related to the last status update that was made to the gearman_task_st. They do not cause the gearman_task_st to update itself. gearman_task_error() return the last error message that the gearman_task_st encountered. gearman_task_return() return the last gear- man_return_t stored. A value of GEARMAN_UNKNOWN_STATE means that the task has not been submitted to server yet, or that no function was available if the job has been submitted. RETURN VALUE
Various. Values that are returned by gearman_task_take_data() must have free(3) called on them. HOME
To find out more information please check: http://gearman.info/ SEE ALSO
gearmand(8) libgearman(3) AUTHOR
Data Differential http://www.datadifferential.com/ COPYRIGHT
2012, Data Differential, http://www.datadifferential.com/ 0.33 May 04, 2012 GEARMAN_TASK_TAKE_DATA(3)
All times are GMT -4. The time now is 07:54 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy