Sponsored Content
Operating Systems Linux Ubuntu Scan and create file systems in new LUNs Post 302956364 by Peasant on Tuesday 29th of September 2015 07:56:30 AM
Old 09-29-2015
Have you checked the messages log after issuing lip ?
Messages there should give you some clue what is going on.

There is no need for it btw, this is how you rescan, but lip will also work (this is mostly used when new storage is added to machine)
Code:
echo "- - -" > /sys/class/fc_host/hostN/scan

Where N is the number you know from previous output.

Are you using multipath ?
You should not use those devices directly (/dev/sd....) but their multipath name (/dev/mapper/...) or else you risk if one card dies multipath will not work.

Check out this document :
https://help.ubuntu.com/lts/servergu...h-devices.html
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Creating create mirrored disk files systems using mkfs command

What is the correct mkfs syntax to create mirrored disk files systems? I need to make the file system 20gb. For example: machine# mkfs -F ufs /dev/md/dsk/d40 size not specified ufs usage: mkfs special size(sectors) \ -m : dump fs cmd line used to make this partition -V : print this... (4 Replies)
Discussion started by: GLJ@USC
4 Replies

2. Shell Programming and Scripting

File Scan

Hi everyone , i m working on Sun solaris and i have a file "smsapp.cur" which has information like this paragraph given below , there are millions of such paragraphs From:923212802736 To:923222326807 logMessage: 07-04-08 17:34:29 Getting message topup from code page default in language English... (2 Replies)
Discussion started by: Dastard
2 Replies

3. Solaris

how to create luns in A1000

hi friends how we can create luns in A1OOO storage ..plzhelp its very urgent when ever i am connect to A1000 raid controller through laptop with console cable with the help of hyperterminal..i isued serial port parameters which i mentioned below.. Set serial port parameters to: �... (1 Reply)
Discussion started by: tv.praveenkumar
1 Replies

4. Shell Programming and Scripting

Log File Scan

I need to read the last line of a log file and save it, sleep for X minutes and read the last line again. If the line is the same, exit 1, otherwise sleep for X minutes until the last line contains 'Status: Process completed'. Can anyone offer advice here? Thanks. (2 Replies)
Discussion started by: mode09
2 Replies

5. Red Hat

Scan For new LUNS

In Solaris the administrator has to update /kernel/drv/sd.conf file to tell the sd driver to scan for a broader range of scsi devices. Can someone please tell me what file needs to be update in Redhat Linux 5 for the same. Second part of the question is WWN for HBA's can be found (atleast in my... (1 Reply)
Discussion started by: Tirmazi
1 Replies

6. Shell Programming and Scripting

Help with create multiple directories under diff file systems

Hi, Need help ...I want to create multiple directories in different /file systems using for loop..eg.../ORCL_data01/oradata/orcl/ctl. ../ORCL_data01/oradata/orcl/data. ../ORCL_data01/oradata/orcl/redo. Script :- ========= for dir in `ls -d... (8 Replies)
Discussion started by: Linux6.5
8 Replies

7. Red Hat

Scan for new LUN and create a new file system

Hi Please I dont have a lot of redhat skills, but I need some help on creating a file system. I need to rescan for this new LUN, so I try to check existing LUNs: fdisk -l Disk /dev/sda: 299.4 GB, 299439751168 bytes 255 heads, 63 sectors/track, 36404 cylinders Units = cylinders of... (8 Replies)
Discussion started by: fretagi
8 Replies

8. Solaris

How to scan for LUNs in SunOS sun4v sparc?

Hi everyone, We have the below sun Operating system, Now our storage team have Create a 500GB LUN for this server, How can i scan and mount the shared LUN ? Could anyone help me to resolve this issue. SunOS my_hostname.com 5.10 Generic_150400-09 sun4v sparc sun4v Update: -------- I... (9 Replies)
Discussion started by: babinlonston
9 Replies

9. Shell Programming and Scripting

Scan directories and create a list of files

Gents, Please can you help. I want to create a list which contends the complete patch of the location of some directories with the size of each file. need to select only .txt file In this case I am try to find the subdirectories tp1 and tp2 and create the output list. jd175-1 tp1... (3 Replies)
Discussion started by: jiam912
3 Replies

10. Shell Programming and Scripting

Create automated scan of specific directory using bash

I am trying to use bash to automate the scan of a specific directory using clamav. Having this in place is a network requirement. The below is an attempt to: 1. count the extensions (.txt, .jpeg) in a directory and write them to a virus-scan.log (section in bold) 2. scan each folder in the... (6 Replies)
Discussion started by: cmccabe
6 Replies
MULTIPATHD(8)						      System Manager's Manual						     MULTIPATHD(8)

NAME
multipathd - multipath daemon SYNOPSIS
multipathd [options] DESCRIPTION
The multipathd daemon is in charge of checking for failed paths. When this happens, it will reconfigure the multipath map the path belongs to, so that this map regains its maximum performance and redundancy. This daemon executes the external multipath config tool when events occur. In turn, the multipath tool signals the multipathd daemon when it is done with devmap reconfiguration, so that it can refresh its failed path list. OPTIONS
-d Forground Mode. Don't daemonize, and print all messages to stdout and stderr. -v level Verbosity level. Print additional information while running multipathd. A level of 0 means only print errors. A level of 3 or greater prints debugging information as well. -k multipathd will enter interactive mode. From this mode, the available commands can be viewed by entering "help". When you are fin- ished entering commands, press CTRL-D to quit. COMMANDS
The following commands can be used in interactive mode: list|show paths Show the paths that multipathd is monitoring, and their state. list|show paths format $format Show the paths that multipathd is monitoring, using a format string with path format wildcards. list|show maps|multipaths Show the multipath devices that the multipathd is monitoring. list|show maps|multipaths format $format Show the status of all multipath devices that the multipathd is monitoring, using a format string with multipath format wildcards. list|show maps|multipaths status Show the status of all multipath devices that the multipathd is monitoring. list|show maps|multipaths stats Show some statistics of all multipath devices that the multipathd is monitoring. list|show maps|multipaths topology Show the current multipath topology. Same as "multipath -ll". list|show topology Show the current multipath topology. Same as "multipath -ll". list|show map|multipath $map topology Show topology of a single multipath device specified by $map, e.g. 36005076303ffc56200000000000010aa. This map could be obtained from "list maps". list|show wildcards Show the format wildcards used in interactive commands taking $format list|show config Show the currently used configuration, derived from default values and values specified within the configuration file /etc/multi- path.conf. list|show blacklist Show the currently used blacklist rules, derived from default values and values specified within the configuration file /etc/multi- path.conf. list|show devices Show all available block devices by name including the information if they are blacklisted or not. list|show status Show the number of path checkers in each possible state, the number of monitored paths, and whether multipathd is currently handling a uevent. add path $path Add a path to the list of monitored paths. $path is as listed in /sys/block (e.g. sda). remove|del path $path Stop monitoring a path. $path is as listed in /sys/block (e.g. sda). add map $map Add a multipath device to the list of monitored devices. $map can either be a device-mapper device as listed in /sys/block (e.g. dm-0) or it can be the alias for the multipath device (e.g. mpath1) or the uid of the multipath device (e.g. 36005076303ffc56200000000000010aa). remove|del map $map Stop monitoring a multipath device. resize map|multipath $map Resizes map $map to the given size switch|switchgroup map $map group $group Force a multipath device to switch to a specific path group. $group is the path group index, starting with 1. reconfigure Reconfigures the multipaths. This should be triggered automatically after any hotplug event. suspend map|multipath $map Sets map $map into suspend state. resume map|multipath $map Resumes map $map from suspend state. fail path $path Sets path $path into failed state. reinstate path $path Resumes path $path from failed state. disablequeueing maps|multipaths Disable queueing on all multipath devices. restorequeueing maps|multipaths Restore queueing on all multipath devices. disablequeueing map|multipath $map Disable queuing on multipathed map $map restorequeueing map|multipath $map Restore queuing on multipahted map $map quit|exit End interactive session. SEE ALSO
multipath(8) kpartx(8) hotplug(8) AUTHORS
multipathd was developed by Christophe Varoqui, <christophe.varoqui@opensvc.com> and others. Linux Administrator's Manual November 2009 MULTIPATHD(8)
All times are GMT -4. The time now is 08:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy